Running Asp.net Core in Console Mode

satish1v
1 min readJun 5, 2018

--

Asp.net Core as a technology is host agnostic in nature which means you can run a Web Server in any process and any operating system. With that said I want to experiment with running the Asp.net Core in Console mode and here are the steps to do the same.

Open the Project Properties and select debug and you will observe that the default settings is to run in IIS Express

You can select the Profile and change the Launch type to Project which allow the application to run in the console mode .

That’s it and you can choose the profile Name and run the project and it will run as console .

Why Console

  1. Most of the inbuilt frameworks has a good logging infrastructure which spits out the log .
  2. You can understand the bare minimum which you require to run the code anywhere .

--

--

satish1v
satish1v

Written by satish1v

I build intelligent Web Apps

No responses yet