[.Net core] 1, asp.net advantages and characteristics of the core

1. Cross-platform 

Support windows, linux .macOS

You can host iis, apache, Docker, or from places in its own process

 

2. Powerful IDE visual studio or visual studio Code, or other

 

3. asp.net core and asp.net Web API use unified programming model, a school science equal to two

MVC's controller and web api controller class, all derived from the same base class controller, all return IActionReslut.

Two IactionReslut implementation IViewResult (MVC) and IJsonResult (Json)

 

4. asp.net core support dependency injection

Dependency injection means testability

 

5. Open source, open source means more security, and better service

 

6. The modular middleware,

Requests and responses are accomplished through the middleware

.net core has built a wealth of middleware, we can also customize some middleware

 

Guess you like

Origin www.cnblogs.com/nocanstillbb/p/11295107.html