skip to Main Content

Custom URLs for actions in NetCore 3.1 – SEO

Suppose I have these actions - http://thesite.com/Cats/product/1 - http://thesite.com/Cats/1 My customer wants a dynamic way to define custom URL for these actions because of SEO things. So I cant use Redirects! Ex. http://thesite.com/aaaaaa to open http://thesite.com/Cats/product/1 http://thesite.com/bbbbbb to open http://thesite.com/Cats/product/1,…

VIEW QUESTION

ASP.NET Core Ajax returns null – Jquery ajax

function addTeam() { var teamName = $("teamField").val(); $.ajax({ type: "POST", url: 'AddTeam', contentType: "application/json;", data: { team: "HELLO PLEASE WORK" }, success: function () { alert("URA"); }, error: function (error) { alert(error); } }); }; [HttpPost] public JsonResult AddTeam(string team)…

VIEW QUESTION
Back To Top
Search