O'Reilly logo

ASP.NET Core Essentials by Shahed Chowdhuri

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hello, ASP.NET - your first ASP.NET application

Most programming books and tutorials help you get started with a Hello World application. This refers to a simple application that has all the basic elements of an application to get it up-and-running in your environment. If the words Hello World can be displayed on a screen by the application, you have succeeded in setting it up correctly.

Create a new ASP.NET web application project and select the Empty template as described earlier this chapter. This should provide a basic template for your Hello World application.

Writing a response

By default, the empty template includes a Startup.cs class with a Configure() method in it. This method should have a line of code that writes Hello World to the HTTP ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required