Cross middleware did not perform service registration verification
Open
area-middleware
feature-cors
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 281
Description
``` c#
var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
app.UseCors();
app.Run();
```
error
``` bash
Multiple constructors accepting all given argument types have been found in type 'Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware'. There should only be one applicable constructor.
```
Contributor guide
Assessment
This issue has not been assessed yet.