This branch in a work in progress. I am converting over 200 samples from previous versions to 3.1. If you are starting on ASP.NET Core, you can start from the samples from the master branch.
Continue to scroll down to find materials for absolute beginners to ASP.NET Core.
To run these samples, simply open your command line console, go to each folder and execute dotnet watch run
.
-
This is the simplest ASP.NET Core application you can create. An ASP.NET Core application includes a super fast web server called Kestrel. In a few lines of code we set up the web server and a simple app.
In this sample we use a
Startup
class to configure your application. This is the canonical way of doing thing. -
This is the equivalent of the previous Hello World sample except that in this case we don't use a
Startup
class. This way of configuring things is not common.
-
This server will send a 'hello world' greeting forever.