Skip to content

Releases: Kros-sk/Kros.AspNetCore

appinsights-v3.0.2

12 Jul 07:31
00cf0e1
Compare
Choose a tag to compare

What's Changed

Kros.Swagger.Extensions 3.1.0

01 Jul 09:44
5096796
Compare
Choose a tag to compare

Support authorization in Swagger

  • SwaggerDocumentation section is no longer required in configuration (appsettings.json).
  • New class SwaggerSettings for settings is created. It inherits OpenApiInfo, so everything what worked before still works. It just introduces new properties to properly setup authorization.
  • If client sets up authorization in configuration, it must also add some operation filter, which will add security requirement for operations which will use authorization.
    • No global operation filter is setup. Until now, there was global operation filter added and so all operations (even anonymous) were using authorization.
    • there are 2 operation filters defined, which can be used in when configuring client:
      • ClearSecurityRequirementsFromAnonymousEndpoints: this is suitable for APIs, where by default all endpoints are authorized and the anonymous ones are marked with AllowAnonymous attribute.
      • SetSecurityRequirementsToAuthorizedEndpoints: this is suitable for APIs, where by default all endpoints are anonymous and the authorized ones are marked with Authorize attribute.

Kros.AspNetCore 4.1.1

26 Mar 14:32
5b4c49f
Compare
Choose a tag to compare

Kros.AspNetCore 4.1.0

26 Mar 13:13
558440a
Compare
Choose a tag to compare
  • #195 Added extension method MapSignalRHubWithOptions to utilize setting it @bakosk

Kros.Swagger.Extensions 3.0.1

20 Mar 06:36
79c8e1d
Compare
Choose a tag to compare

Fixes

  • Could not connect to Azure Service Bus with standard connection string. By @Mikado3780 in #194.

Kros.MassTransit.AzureServiceBus 3.0.0

21 Dec 06:30
5f65563
Compare
Choose a tag to compare

Kros.Swagger.Extensions 3.0.0

20 Dec 16:10
f83cb77
Compare
Choose a tag to compare

Kros.ProblemDetails.Extensions 3.0.0

20 Dec 16:09
f83cb77
Compare
Choose a tag to compare

Kros.MediatR.Extensions 3.0.0

20 Dec 16:08
f83cb77
Compare
Choose a tag to compare

Kros.AspNetCore 4.0.0

20 Dec 09:08
f50a3a7
Compare
Choose a tag to compare