.NET 6.0 Getting Started

You can get started using .NET 6.0 by signing up for a free account at FreeASPHosting.net and instantly upload your project. All you need is Visual Studio 2022 or Visual Studio Code to get started.

In order to help you get started quickly, we will show you how to create and deploy a simple web application on FreeASPHosting.net which uses .NET 6.0 and C#10.

1Launch Visual Studio

First, open Visual Studio and select ‘Create a New Project’. Search for ‘ASP.NET Core Web App’, select the first option, and click Next.

.NET 6.0


2 Enter a project name, location and click Next.
.NET 6.0
3Select ‘.NET 6.0’ as the framework and click Next.
.NET 6.0
4 A new project will be created. The pages will be templates that can be modified later on to fit your needs.
.NET 6.0

5 First, let’s confirm that the web application is runnable! Select Debug > Start Debugging. The application, which is currently a blank website with no content, will open in a browser.
.NET 6.0

6 Next, we will publish this website. Close the browser so that the project will exit debugging mode, and then right-click the project and select Publish.
.NET 6.0

7 Select ‘Folder’ and click Next.
.NET 6.0

8 Enter the location where you want the files to extract and click Next.
.NET 6.0

9 Once it says Ready to publish, click Publish.
.NET 6.0

10 After publishing, we now have the files ready to be zipped. Click Open folder and you will see all the files you need.
.NET 6.0

11 Select all the files and send to a compressed (zipped) folder.
.NET 6.0

12 We’re now ready to upload the files to the web hosting service. Log in to your dashboard and select ‘My Files’.
.NET 6.0

13 Select ‘Upload and Unzip’.
.NET 6.0

14 Upload the zip file we created. The site will extract the files to the directory.
.NET 6.0

15 Once done, you will be redirected back to the file manager. As seen below, all your files have been unzipped to the webhost. To test that the site has been successfully published, click the link on the upper left.
.NET 6.0

16The project we created should open in a new window.
.NET 6.0

Congratulations, you’ve just created your .NET 6.0 web application and successfully published it online!