skip to Main Content

Passing the serialized data to the controller in MVC through AJAX – Jquery ajax

I have a view : @{ ViewBag.Title = "Home Page"; } <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <link href="~/Content/themes/base/jquery-ui.css" rel="stylesheet" /> <link href="~/Scripts/datatable/DataTables-1.10.20/css/dataTables.jqueryui.min.css" rel="stylesheet" /> @section Scripts{ <script src="~/Scripts/datatable/DataTables-1.10.20/js/jquery.dataTables.min.js"></script> <script src="~/Scripts/datatable/DataTables-1.10.20/js/dataTables.jqueryui.min.js"></script> <script> $(document).ready(function () { $("#contenttable").DataTable({ }); $("#submitdata").click(function () { var datatabledata…

VIEW QUESTION

How do I make and use JWT role based authentication?

I follow the tutorial link below. https://fullstackmark.com/post/13/jwt-authentication-with-aspnet-core-2-web-api-angular-5-net-core-identity-and-facebook-login I am trying to understand how it works and I want to use role-based authentication using this token. so I made another policy in the Startup.cs file as below. And I tried to…

VIEW QUESTION
Back To Top
Search