From the course: Microsoft Entra ID for .NET Developers

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Author an API project

Author an API project

- [Instructor] I have an app registration ready to go. This app registration allows me to act as an API's app registration. Next, I'm going to write some code in Visual Studio that makes use of this app registration and exposes an API. So let's go to Visual Studio and choose to create a new project. I'm going to pick the world's simplest template, which is ASP.NET core empty. Is there something like that that we have here? Yes. Even though I misspelled it, it matches this. It didn't used to work like that. That is nice. The struggle was a lot harder earlier. But anyway, let's move forward. So I'm going to create a new project based on the ASP.NET Core Empty template. Click on Next. I'm going to call this WebAPI. And click on Next. And I'll go with the latest version of .NET Core available, I'll go with HTTPS, and choose to click on Create. And wait for the project to get created. A few brief seconds later, my project is created. So first, I will go ahead and take a dependency on a…

Contents