aspnet-core-jwt-authentication-api
aspnet-core-jwt-authentication-api copied to clipboard
HTTP ERROR 404
Hi,
When I run your sample I got a HTTP ERROR 404
The browser open at : http://localhost:58267/
I have also try with postman and everything looks empty ! I have put breakpoint but they don't stop !
Do you have a C# sample for the client too ? It will be helpful :-)
Hello vd3d,
You can make it work in 2 ways:
First (simple but only as long as your browser opens at http://localhost:58267)
- Go into Program.cs
- Change in line 17 his 4000 into your 58267
Second (the real solution)
- Rightclick WebApi, select properties
- Select Debug in the new screen
- Change Profile into WebApi
- Change App URL into http://localhost:4000
- Save
- Run but not with the default ISSExpress options but with the WebApi options
Good luck.
