dodyg / dodyg/practical-aspnetcore
Investigate AddController options
- Dominant language
- C#
- Stars
- 10.4k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
e.g.
```
services.AddControllers(config =>
{
// using Microsoft.AspNetCore.Mvc.Authorization;
// using Microsoft.AspNetCore.Authorization;
var policy = new AuthorizationPolicyBuilder()
.RequireAuthenticatedUser()
.Build();
config.Filters.Add(new AuthorizeFilter(policy));
});```
Contributor guide
Research direction
Start by searching the samples for services.AddControllers and compare how controller options are currently demonstrated. Determine which AddControllers option or authorization configuration this issue is asking to document, then update the relevant sample and verify that it builds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- authorization, backend
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100