I was implementing AntiXSS library for cross scripting in my asp.net mvc application. When I had uploaded online server it is getting the following error: System.Security.SecurityException: That assembly does not allow partially trusted callers.

how to convert list object to JSON string in asp.net using c#, vb.net with example or how to convert JSON string to generic list in c#, vb.net with example or convert list of objects to JSON string in asp.net using c#, vb.net with example. By using newtonsoft.json reference in our asp.net applications we can easily convert list object to JSON string or JSON string to list object based on our requirements.

I have a DataTable with multiple columns and 5+ rows.I need to export DataTable values into an Excel file.Can anyone please help with the C# code.I need each column value to be in a cell.To be precise,I need the exact looking copy of DataTable in an Excel File.Please help.

Update and Reset Password in MVC using Membership.

generate token for reset password in mvc membership.using Token Based Authentication and generate token for reset password in mvc

how to validate email address using jquery in mvc, While validating email textbox using regex and jquery on chtml page, error showing in regex as it contains "@" in the regex.

how to get current action in mvc on razor view.

I am new in mvc, How can I get the controller Action name on the razor view.

I am new in mvc, How can I get the controller name on the razor view.

i am not able to send request to server with parameter on button click using ajax.

Page 1 of 2