In Visual Studio
Chapter - 1 (Setting up the base)
1. Create a new project in C# -> Web -> Chose Asp.Net Core Web Application
Enter a Project name and choose Location
2. Choose the Web Application template to start from scratch (or Empty under ASP.Net Core 2.1)
It starts from Main method, It has a function called "CreateWebHostBuilder()" and the function is defined below, which creates a default builder using the "Startup" class.
5. Lets look at the Startup.cs class
It has two methods, ConfigureServices method gathers the services required and Configure method initiates the services.
Comments
Post a Comment