Top "Asp.net-mvc-4" questions

ASP.

Passing data between different controller action methods

I'm using ASP.NET MVC 4. I am trying to pass data from one controller to another controller. I'm not getting …

c# asp.net asp.net-mvc asp.net-mvc-3 asp.net-mvc-4
No connection string named 'MyEntities' could be found in the application config file

I am using entity framework and ASP.NET MVC 4 to build an application My solution is split into two projects; …

c# entity-framework asp.net-mvc-4
ASP MVC href to a controller/view

I have this: <li><a href="/Users/Index)" class="elements"><span>Clients</span&…

asp.net asp.net-mvc asp.net-mvc-4 razor href
Using partial views in ASP.net MVC 4

I have recently started playing around with ASP.net MVC (4), but I can't wrap my head around this one issue …

c# asp.net-mvc razor asp.net-mvc-4 partial-views
How to allow only numbers in textbox in mvc4 razor

I have 3 text box which takes values postal code & mobile number & residential number. I got the solution for …

asp.net-mvc asp.net-mvc-3 asp.net-mvc-4
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 …

asp.net-mvc asp.net-mvc-4 asp.net-web-api visual-studio-2012
The required anti-forgery form field "__RequestVerificationToken" is not present Error in user Registration

I am using Membership.create user function, then the following error is occurring, The required anti-forgery form field "__RequestVerificationToken" is …

asp.net-mvc-4 asp.net-membership
URL.Action() including route values

I have an ASP.Net MVC 4 app and am using the Url.Action helper like this: @Url.Action("Information", "Admin") …

asp.net-mvc asp.net-mvc-4 html-helper
ValidateAntiForgeryToken purpose, explanation and example

Could you explain ValidateAntiForgeryToken purpose and show me example about ValidateAntiForgeryToken in MVC 4? I could not find any examples which …

c# asp.net-mvc asp.net-mvc-4