skip to Main Content

Seo – how to Map multiple .net core controller routes

I currently map my controller routes like this: var webApplication = builder.Build(); webApplication.MapControllerRoute("default", "{controller=Home}/{action=Index}/{id?}"); This works great for my default scenario where I don't provide action name or id in the parameters. So for example the following routes work: https://example.com.com…

VIEW QUESTION

Call aspx.cs file function from jquery

I have button in aspx file as below : <asp:Button ID="btnSave" Style="display: none;" runat="server" OnClick="btnSave_Click" /> Now in aspx.cs file I have below function. protected void btnSave_Click(object sender, EventArgs e) { //some code } Now I want to call this…

VIEW QUESTION
Back To Top
Search