Posts by Eduardo Vieira • 3 points
2 posts
-
0
votes0
answers31
viewsQ: Session is null and void
I’m trying to set up a session, but it always gets null, look: public class AutenticacaoModel : PageModelBase { public void OnGet() { HttpContext.Session.SetString("Teste", "Quero ver esse valor");…
-
0
votes1
answer262
viewsQ: Consume via Jquery-Ajax, an API on localhost:28033, from a page on localhost:7545
I’m trying to do one thing, but it’s not working. I have two projects . Net Core 2.0 , an API, and an MVC. I want to run ajax calls from the MVC project, to API project controllers. I open two…