Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

421
Views
What purpose does the app.UseAuthorization() default serve?

When I create a new .net project, the startup.cs automatically gets the following code line:

app.UseAuthorization();

Without app.UseAuthentication(), what purpose does the above line serve?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

With app usе сommands are activated or added so-called middleware through which the http request passes before reaching its end point (controller method, page handler ...), these middleware can be global or decorate pieces of code in the form of attributes. In this case, user authorization activates the authorization for the application and its attributes. You can read more about here: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/middleware/?view=aspnetcore-6.0

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!