What Was I Thinking?

Follies & Foils of .NET Development
posts - 95 , comments - 352 , trackbacks - 0

November 2017 Entries

Generating a SAS token for Service Bus in .Net Core
Microsoft has decided to separate the queue/topic send/receive functionality from the queue/topic management functionality. Some of these separations make sense, while others, like the inability to auto-provision new queues/topics does not. In any event, we can still create these objects using the service bus REST API, but it requires some special handling, especially for authorization. The send/receive client library uses a connection string for authentication. This is great. Its easy to use, and ......

Posted On Wednesday, November 29, 2017 4:16 PM | Comments (0) | Filed Under [ .NET Azure Messaging ]

Swashbuckle Swagger UI– Prompt for Access Token (.net Core)
I use swagger to document my API endpoints. I like the descriptive nature, and find the swagger UI to be a great place for quick testing and discovery. The swagger UI works great out of the box for unsecured API endpoints, but doesn’t seem to have any built-in support for requiring users to supply an access token if its required by the endpoint. Based on my research, it appears we can add an operation filter to inject the parameter into the swagger ui. Using the code at https://github.com/domaindr... ......

Posted On Wednesday, November 22, 2017 11:21 AM | Comments (1) | Filed Under [ Visual Studio ]

Powered by: