MarwaAhmed
MarwaAhmed
I've the same problem. I'm using Azure redis cache as a session provider: "Exception": { "ClassName": "StackExchange.Redis.RedisConnectionException", "Message": "No connection is available to service this operation: EXISTS xxxx, "Data": {...
I want to add the: "AddAuthorizationHeaderParameterOperationFilter" to specific service methods. for ex: api/students ---> uses that certain header key-value. and i want to add the basic authentication in a certain...
okay, i've figured it out. I'm just writing the solution in case if anyone faced it. in "AddAuthorizationHeaderParameterOperationFilter"; "Apply" method: ``` javascript var myTokenAttribute = apiDescription.GetControllerAndActionAttributes().Any(); ``` //note: i wrote...
@domaindrivendev: Yes, MyToken is an attribute which checks if the api's user is logged in & has a sessionId. Waiting for your documentation example; this is going to be very...
Yes, correction: 'Authorization Basic' and 'Authorization: Basic' are not valid HTTP header fields names. This work out if: ``` javascript name = "Authorization" ``` but in the swagger UI, the...
@domaindrivendev :+1: Thank you. it works! http://localhost:15073/swagger