- Mastering ASP.NET Web API
- Mithun Pattankar Malendra Hurbuns
- 196字
- 2021-07-02 20:52:32
Selecting authentication type
Every application needs some type of authentication to prevent unauthorized access to the application. In the preceding screenshot, Change Authentication will provide the following authentication options:
- No Authentication: Choosing this option will not add any authentication packages to the application. However, we can add such packages to completely safeguard our application data when required.
- Individual User Accounts: Connecting to an Azure AD B2C application will provide us with all the authentication and authorization data.
- Work or School Accounts: Enterprises, organizations, and schools that authenticate users with Office 365, Active Directory, or Azure Directory services can use this option.
- Windows Authentication: Applications used in the Intranet environment can use this option.
In the Change Authentication option, select No Authentication, as shown in this screenshot:

Select Authentication Type for Web API
Click on OK to create an ASP.NET Core Web API project; Visual Studio tooling will immediately start restoring the packages needed.
The dotnet restore command is executed to restore all the NuGet packages.
We saw how the Visual Studio IDE tooling helps us to create ASP.NET Core applications on Windows OS. This is similar to that when creating ASP.NET (MVC 4/5 and ASPX) applications.
推薦閱讀
- FreeSWITCH 1.6 Cookbook
- 看透JavaScript:原理、方法與實(shí)踐
- 從程序員到架構(gòu)師:大數(shù)據(jù)量、緩存、高并發(fā)、微服務(wù)、多團(tuán)隊(duì)協(xié)同等核心場(chǎng)景實(shí)戰(zhàn)
- Learning Python Design Patterns(Second Edition)
- Asynchronous Android Programming(Second Edition)
- Python圖形化編程(微課版)
- Python項(xiàng)目實(shí)戰(zhàn)從入門(mén)到精通
- Visual Studio Code 權(quán)威指南
- 讓Python遇上Office:從編程入門(mén)到自動(dòng)化辦公實(shí)踐
- JavaScript全棧開(kāi)發(fā)
- 微信小程序開(kāi)發(fā)圖解案例教程:附精講視頻(第3版)
- Python網(wǎng)絡(luò)運(yùn)維自動(dòng)化
- PHP面試一戰(zhàn)到底
- Python大數(shù)據(jù)與機(jī)器學(xué)習(xí)實(shí)戰(zhàn)
- 深入理解C++11:C++11新特性解析與應(yīng)用