Top "Asp.net-mvc-5" questions

ASP.

Log Queries executed by Entity Framework DbContext

I'm using EF 6.0 with LINQ in MVC 5 project. I want to log all the SQL queries executed by the Entity …

c# linq entity-framework asp.net-mvc-5 entity-framework-6
Server Cannot Append Header After HTTP headers have been sent Exception at @Html.AntiForgery

I'm developing an asp.net mvc 5 application in which I was trying to redirect to the ReturnUrl by applying the …

asp.net-mvc-5 razorengine
MVC Bundling and CSS relative URLs

MVC's bundling is returning the wrong URL in CSS images when using CssRewriteUrlTransform: I have an intranet application whose URL …

css asp.net-mvc relative-path asp.net-mvc-5 bundling-and-minification
Updating records using a Repository Pattern with Entity Framework 6

I'm writing a simple blog application and trying to establish CRUD operations in my generic repository pattern but I'm getting …

c# asp.net-mvc-5 entity-framework-6 asp.net-identity repository-pattern
How to sync model after using Code First from Database using Entity Framework 6.1 and MVC 5?

Assumptions Using EF 6.1, MVC 5, VS 2013, C# I have an existing database model designed in Toad DM for SQL Server and …

c# asp.net-mvc-5 ef-code-first entity-framework-6 ef-database-first
click event not firing within a bootstrap radio button group

I create radio buttons dynamically and using a on() function try to capture the click and do something with it. …

jquery asp.net-mvc twitter-bootstrap twitter-bootstrap-3 asp.net-mvc-5
MVC model validation for date

Is there any default validation for MVC 5 where I can set min and max value of date? In my model …

c# asp.net-mvc asp.net-mvc-5 model-validation
To allow GET requests, set JsonRequestBehavior to AllowGet

I have bound bulk records in a Kendo UI grid. The response is returned from Json. I am getting Error …

asp.net-mvc asp.net-mvc-4 asp.net-mvc-3 razor asp.net-mvc-5
How to change type of id in Microsoft.AspNet.Identity.EntityFramework.IdentityUser

(ASP.NET MVC 5, EF6, VS2013) I'm trying to figure out how to change the type of the "Id" field from …

asp.net-mvc entity-framework asp.net-mvc-5 owin asp.net-identity
Razor 2 to Razor 3 MVC 5

I've been working on an MVC 4 solution, and I've been trying to upgrade it to MVC 5. I've followed the steps …

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