Ritu

Ritu

  • 1.4k
  • 347
  • 42.6k

Authenticating .net console applications with .net core web API c#

Nov 1 2022 12:50 PM

I'm using .net core 3.1 and I have  controller and want to add Authentication with the help of username and password before call the controller. how to Secure a .NET Core API using Bearer Authentication c#

please help.

public class BookController : ControllerBase


Answers (1)