Simple Steps to Launch a .NET App Locally

NitinNitin
1 min read

Prerequisites:

  1. An Azure account (Free is enough)

  2. A working application

  3. dotnet-sdk-6.0.422-win-x64.exe from https://dotnet.microsoft.com/en-us/download/dotnet/6.0

Dotnet SDK

  1. VS Code from https://code.visualstudio.com/download

VS Code

  1. Install VS Code extensions:

    • C# dev kit

C# Dev Kit

  • Azure tools

Azure Tools

Open the Project in VS Code

  • Navigate to the Catalog folder (as shown in the screenshot below)

Catalog Navigation

  • Click on the navigation bar for the Catalog folder

  • Type cmd and hit enter

  • Make sure if command line window is open

  • Type code . and hit enter

This will open the code in VS Code. (Alternatively, you can open the project in VS Code using the application interface if set up on your machine.)

VS Code

Running the App Locally

To run the app locally, press F5. (If you have a separate function key, use Function key + F5.)

Local App Launch

Once launched, you should see a working copy of the app on your local machine.

Local App

Local App

Continued...

In the next write-up, I will list the steps to deploy this app to Azure.

0
Subscribe to my newsletter

Read articles from Nitin directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Nitin
Nitin

A Seasoned gate keeper for software quality (Manual / Automation (Web + Mobile native + API) / Performance test) with 13 years of experience, An automation🤖 lover and a continuous📚 learner. A test automation geek and a DevOps engineer using and exploring cloud☁️. Looking for opportunities in Cloud DevOps for mutual growth. (Working remotely since last 5 years with teams in Europe / USA and Canada)