Open davidbuckleyni opened 3 years ago
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
thus seems to be covered by what @davidfowl did for blazor
Most apis cannot do without this day and age but to add a Bearer token and swagger documentation to the structure of their web api.
I think an option to be added to the new project screen for webapi. It seems very mundan code having to recreate it each time in a web api project and would create more continuity for the api to be standard.
*bFile New WIndowb Project Type: Web Api
Checkbox for Swagger Docs Checkbox for Bearer Tokens
Upon chosen this option the system should be smart enough to add the code to our header calls for httpclient
It should add the following code as default to the configure section.
Also as I am implementing swagger we should configure it as well in the configure section.
I understand that Microsoft are re doing web apis at present maybe this could all be replaced with a simple call.
webpi->setupbarrerToken()