Second, the project to build the back-end

The project to build the backend

Why learn .net core?



Micro-channel payment .net core with








several writing middleware

use, not only provides context context, the next parameter is also provided. next is the control method we can enter the next middleware.

Want to use the cookie, you must open the session middleware.

Map branch routing can be customized

Start creating project




A database configured to use authentication, choose not to use here.


Command line to create project

Input current which can be seen dotnet new template can be created.


dotnet new webapi -n demo



and VS2017 project created to do comparison

dotnet some commonly used commands

initiated profile




deletion of iis


wwwroot

Can manually to create wwwroot folder.



 

End




 

Guess you like

Origin www.cnblogs.com/wangjunwei/p/12591733.html