add-api-project #29

Merged
jleicher merged 8 commits from add-api-project into master 2020-12-22 14:01:59 +01:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit de8b1e6e21 - Show all commits

View File

@ -68,7 +68,7 @@ namespace Api
services.AddControllers(o =>
{
o.Filters.Add(new AuthorizeFilter());
o.Filters.Add(new AuthorizeFilter()); // Ou MapControllers().RequireAuthentication()
});
services.AddSwaggerDocument(d =>

View File

@ -3,7 +3,8 @@
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
"Microsoft.Hosting.Lifetime": "Information",
"Microsoft.EntityFrameworkCore": "Information"
}
}
}