Creating a simple ASP.NET web application using .NET 8.0 and Visual Studio Code on Windows 11 OS

Venki
Urban Devops
Published in
4 min read6 days ago

Start working with simple ASP.NET Application in under 5 minutes using .NET 8.0 and VSCode

Photo by Fotis Fotopoulos on Unsplash

👋 Hey, Venki here! Welcome to another 🔓medium story 🔓. Each day I focus on 1 story that are making a difference to me when am working in the financial services technology space. Coupled with things worth learning & most important !! Get shit done. it’s the only publication (Urban DevOps) you need for all things when DevOps meets Cloud.

If you’re not a follower, Don’t miss out and join the community here pls👇🏼

Note

You'll need a Windows 11 OS based desktop/ laptop / virtual machine along
with administrator rights to install the softwares.

Without further ado, let’s get moving..😉

  1. Download and install .NET 8.0 SDK from Microsoft website 👉 .NET 8.0
    Follow the on screen instructions to have it installed.👇

2. Download and install Visual Studio Code from Visual Studio Website
👉 VSCode . Follow the on screen instructions to have it installed.👇

3. Install the C# Dev Kit Visual Studio Code extension.👇

4. Close and Open the Visual Studio Code.
click on the search bar on the top of the vscode screen as shown below and click Show and Run Commands.👇

5. You should now see .NET: New project, click on it👇

6. Select the ASP.NET Core Web App (Model-View-Controller)👇

7. Type the web application name that you desire.👇

8. Select the default directory or any other directory that you want the web application to hold the files.👇

9. Click Create Project👇

10. Your ASP.NET Web application is now shown as below in VSCode along with File view and Solution Explorer.👇

11. Right the Web Application from the solution explorer tab and Click on Debug , then Select Start New Instance.👇

12. This will build the .NET Web Application and spin the localhost url for you.👇

13. Your ASP.NET Web Application is now displayed in your default browser. 👇

14. To close out / stop the Web Application, simply click the stop button as shown below. 👇

Now that you know how to create a simple ASP.NET Web Application using VSCode and .NET 8.0 SDK, go enjoy your Coffee! ☕ or Beer! 🍺 and start building your .NET Applications in a breeze..😎

Until then Peace! ✌️✌️

Continue reading by following to Urban DevOps Publication stories. You will receive fresh contents about DevOps with hot takeaways every day.

***

About: I am DevOps enthusiast . My adventure in the tech world began over a decade ago. With a background in computer science, I started my career as a systems engineer. The thrill of building applications and solving complex problems captivated me, but I quickly realized that coding was just one piece of the puzzle. The real challenge — and reward — lay in ensuring that the software worked seamlessly in production, scaled effectively, and was robust against failures.

This realization led me to the world of DevOps. I immersed myself in the principles of continuous integration, continuous deployment, and infrastructure as code. The more I learned, the more I appreciated the profound impact DevOps practices could have on both development speed and operational reliability.

If you’ve enjoyed this piece, don’t hesitate to press clapping hands 👏, comment on what you think, and share the story with others 😀. Let’s spread the knowledge together!!

For more, hit the follow button🔥🚀

--

--