Steps to Create and Run Asp.Net Core Application
Blogs • Published on 2022-05-19
img
We need to have a strong understanding of the .NET framework, .NET Core, and one.NET before moving on to ASP.NET Core 5. So, starting with the concept of the .Net framework, A software development platform that provides a common platform to build and run an application using different programming languages like C#, VB, F#, etc., Dot Net framework is built for windows, which means you can only use it to build applications on the Windows platform, i.e., .NET is not cross-platform.
Well, the first version of .NET framework was released on 13 February 2002, that is .net framework 1.0 and since then it has gone through many updates and enhancements. Dot Net framework 4.8 is the last version that was released by Microsoft in April 2019; however, support will be continued.
img
Next, what is .Net core?
A new and open-source version of the .Net framework that runs on Windows, Linux and MacOS. Unlike the .Net framework, .Net core is cross-platform. We can use it to build and run software not just on the Windows platform but on Linux and MacOS as well. The first version .Net core 1.0 was released in June 2016, since then updates and new versions of .net core were released. On 3rd December 2019, Microsoft released the last version of .net core as .net core 3.1.
img
What is .NET 5?
.NET 5 is the next major release of .NET core following .net core 3.1, well at this point you might be wondering, why is it not called .NET Core 4.0? Why Microsoft named this new release .NET 5 instead of .NET core 4.

 Basically, there are two major reasons for this. Version 4.x is skipped to avoid confusing this .NET 5.0 with the traditional 4.x, the word core is dropped from the name to emphasize and reinforce that this .NET 5.0 is the main and one implementation of .NET going forward. Just like .NET Core, .NET 5.0 is also cross platform but the key point to keep in mind is that this new .NET 5.0 supports many more types of apps and platforms than .NET framework or .NET Core.
What is one .NET?
Microsoft wants to create one unified .NET platform instead of separate tools, runtimes and framework like .NET framework, .NET Core, Xamarin, .NET standard etc. they want to consolidate taking best from these different frameworks and create one unified .NET platform that everyone can use. The stepping stone towards this bigger and bold goal is .net 5.0.
img
And finally, here you can find steps to create and run the ASP.NET core application.
Pre-requisites:
Images are crucial for boosting the user experience of your site’s visitors. Large images make your web pages load slowly, resulting in a poor user experience. Appropriate use of images can improve the site’s overall SEO and increase organic traffic to your organic website.
  • Install Visual Studio 2022(https://visualstudio.microsoft.com/vs/) updated version
  • Install .NET SDK 6.0
1. Go to Start and search for “Visual Studio 2022” and click to open.
img
2. Once you click on open, it looks like the below screen, where you find options to get started.
img
3. Click on “Create a new project” to create a new project as in the above screen and search for “asp.net core web app” then click on next, as in the below screen.
img
4. Give a name to your first asp.net core application like “myfirstcoreapp”, you may change the project location to any of your favorite directories as shown below screen.
img
5. Choose framework .NET 6.0, select Authentication type to “Individual Account” and click on Create button.
img
6. Your application is created, and it is ready to build and run.
img
7. Go to the page folder in Solution Explorer, then open index.cshtml, make some changes, and run the project to see your changes.
img

Similar Blogs To Read

img
8 Simple SEO Tips to Help you Rank your Website.

The rider can send requests anytime when he/she wants to go for a trip under a certain zone by adding their drop-off location. As a result, the app will show a flat rate of .....

img
Django Channel and WebSockets.

The built-in capabilities of Django are extended with Django Channels, allowing Django projects to handle protocols like WebSockets, MQTT (IoT), chatbots, radios, and other real-time....

log
Solutions
Blogs
Copyright © 2024 Dhuni Software LLC. All rights reserved.