Top "Asp.net-mvc-4" questions

ASP.

How to pass IEnumerable list to controller in MVC including checkbox state?

I have an mvc application in which I am using a model like this: public class BlockedIPViewModel { public string IP { …

c# asp.net-mvc asp.net-mvc-4 razor model-binding
MVC 4 client side validation not working

Can anyone tell me why client side validation is not working in my MVC 4 application. _layout.schtml @Scripts.Render("~/bundles/…

jquery asp.net-mvc-4 jquery-validate unobtrusive-validation
MVC4 HTTP Error 403.14 - Forbidden

I have build a .net4.5 ASP.NET MVC4 web app which works fine locally (IIS Express & dev server) but …

.net asp.net-mvc asp.net-mvc-4 iis http-status-code-403
MVC4 StyleBundle not resolving images

My question is similar to this: ASP.NET MVC 4 Minification & Background Images Except that I want to stick with …

css jquery-ui asp.net-mvc-4 bundle asp.net-optimization
How to add an image to an svg container using D3.js

I've created a sample Asp.Net MVC 4 application where I've used D3.js to append an SVG element and then …

javascript asp.net-mvc-4 svg d3.js
How to update a claim in ASP.NET Identity?

I'm using OWIN authentication for my MVC5 project. This is my SignInAsync private async Task SignInAsync(ApplicationUser user, bool isPersistent) { …

c# asp.net asp.net-mvc asp.net-mvc-4 asp.net-web-api
Logging request/response messages when using HttpClient

I have a method that does a POST like below var response = await client.PostAsJsonAsync(url, entity); if (response.IsSuccessStatusCode) { // …

c# .net asp.net-mvc-4 asp.net-web-api
WebApi's {"message":"an error has occurred"} on IIS7, not in IIS Express

I'm working with ASP.NET MVC 4 WebApi and am having a lot of fun with it running it on my …

iis-7 asp.net-mvc-4 asp.net-web-api
MVC Form not able to post List of objects

so I have an MVC Asp.net app that is having issues. Essentially, I have a View that contains a …

c# asp.net-mvc asp.net-mvc-4 asp.net-mvc-partialview
Updating PartialView mvc 4

Ey! How I could refresh a Partial View with data out of the Model? First time, when the page loads …

c# asp.net-mvc-4 partial-views viewbag