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

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

主站蜘蛛池模板: 南开区| 岳阳市| 区。| 沾化县| 三穗县| 禄丰县| 武定县| 安陆市| 石景山区| 桂平市| 瓮安县| 新宾| 柳河县| 阿拉善左旗| 仙桃市| 宜宾县| 苏尼特左旗| 唐山市| 新乡县| 手游| 闽清县| 临朐县| 眉山市| 杂多县| 宜春市| 阳江市| 乌鲁木齐县| 龙泉市| 资溪县| 许昌县| 苍溪县| 洛浦县| 基隆市| 南溪县| 肇州县| 广平县| 邢台市| 伽师县| 古蔺县| 大英县| 任丘市|