官术网_书友最值得收藏!

  • 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.

主站蜘蛛池模板: 诸城市| 宜城市| 石柱| 寿光市| 黄浦区| 沙河市| 武清区| 平凉市| 昭平县| 河南省| 四平市| 石渠县| 翁牛特旗| 阿瓦提县| 龙州县| 营口市| 泌阳县| 东丰县| 寻乌县| 乌恰县| 叙永县| 汪清县| 临澧县| 广河县| 阿城市| 石阡县| 体育| 唐河县| 隆化县| 蒙阴县| 南雄市| 通海县| 谢通门县| 措美县| 陕西省| 项城市| 黔江区| 三穗县| 亚东县| 榕江县| 防城港市|