skip to Main Content

Passing multiple POST parameters in ASP.NET Core controller – Jquery ajax

I have the following controller method: [HttpPost] public IActionResult AddNewMessage(string recipientUserId, string message) { var currentLoggedInUserId = this.User.FindFirstValue(ClaimTypes.NameIdentifier); _chatMessageRepository.AddNewMessage(currentLoggedInUserId, recipientUserId, message); return Ok(); } And I am trying to send data to it, using the following JQuery code: var data…

VIEW QUESTION

Google OAuth Redirect Uri in Apache Reverse Proxy

I'm trying to setup a web server using Apache as reverse proxy connected to a ASP.NET CORE web application hosted by kestrel. I've followed the tutorial here: https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-apache?view=aspnetcore-3.1 The website uses the Google Calendar Api to get a users calanedar…

VIEW QUESTION
Back To Top
Search