Ice_
❔ Creating a JWT through terminal and use it in production (webapi)
This is just for educational purposes so I want it in a very basic form. So I guess I can just add the JWT into appsettings.json then?
I'm not sure how to add the JWT though. Looking into the UserSecrets the JWT comes in two .JSON files. Is that the data I want to add into appsettings.json somehow and if, how would I do that?
17 replies
✅ Building a web api release. No HTTPS and how do I change ports?
Debugging works, it's using the ports in the appsettings.development.json file. When I switch from Debug to Release and build it, it will simply use port 5000.
There are no settings where this is defined. So it's most automatically defined. I've tried several things to include ssl etc. but it doesn't work. At one point it didn't even accept my HTTP anymore. There has to be a simple fix to this rater than adding 10 lines of code?
89 replies