Tag: asp.net-mvc-4

66 votes
9 answers
1.1K views
How to pass json POST data to Web API method as an object?

ASP.NET MVC4 Web API application defines post method to save customer. Customer is passed in json format in PO

avatar
Wilfredo
0 1 0 9
asked 07 September, 2021
70 votes
4 answers
2.7K views
ValidateAntiForgeryToken purpose, explanation and example

Could you explain ValidateAntiForgeryToken purpose and show me example about ValidateAntiForgeryToken in MVC 4

avatar
Tuan
0 1 0 9
asked 07 September, 2021
62 votes
9 answers
961 views
How to add Web API to an existing ASP.NET MVC 4 Web Application project?

I wish to add an ASP.NET Web API to an ASP.NET MVC 4 Web Application project, developed in Visual Studio 2012.

avatar
Eddie
0 1 0 9
asked 07 September, 2021
48 votes
8 answers
2.6K views
Styles.Render in MVC4

In a .NET MVC4 project how does @Styles.Render works? I mean, in @Styles.Render("~/Content/css") which file i

avatar
Lynette
0 1 0 9
asked 07 September, 2021