PROGRAM AREA
NetCore Top questions
Post
New Post
Find by name:
NetCore
First Name
PostDate
What is .NET Core?
NET Core is a newer version of .NET, which is cross-platform, supporting Windows, MacOS and Linux, and can be used in device, cloud, and embedded/IoT scenarios.
What does CreateDefaultBuilder in program.cs in Asp.netCore?
It Configures Kestrel server as the web server using the app's hosting configuration providers. CreateDefaultBuilder enables IIS Integration, which configures the app's base address and port. IIS Integration also configures the app to capture startup errors.
What ConfigureServices() method does in Startup.cs?
This method is optional. It is the place to add services required by the application. For example, if you wish to use Entity Framework in your application then you can add in this method.
Page 5 of 7
«
1
2
3
4
5
6
7
»
Full Page