Posts by André Soares Gomes • 63 points
3 posts
- 
		0 votes1 answer38 viewsA: My JWT+Bearer token always returns me unauthorized (401) C#I found out, I don’t know for what exact reason, but leaving: public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { app.UseAuthentication(); if (env.IsDevelopment()) {… 
- 
		0 votes1 answer38 viewsQ: My JWT+Bearer token always returns me unauthorized (401) C#I have a system for studies, totally decoupled the front-end of the back-end. I implemented JWT+Bearer, however I log in by the controller and it returns the information with the token: But when I… 
- 
		6 votes1 answer138 viewsQ: Why do auto properties exist in C#?I have a doubt, because in C# there are auto properties that are usually used like this: public double price {get; private set;} and because she’s a public she can be accessed directly and on top I…