Quantcast
Channel: DexPage » asp.net-mvc
Browsing all 10 articles
Browse latest View live

Scaffolding Error – Building with Database First

Provided Error No connection string named ‘Entities’ could be found in the application config file. Explanation and Inquiry I know this question has been asked, but I have found that none of the...

View Article



MVC5 Dapper Identity User Register error: UserId not found?

VS 2013 Pro MVC 5 Dapper IdentityFramework Core with ClaimsPrincipal I have an MVC5 with Dapper/IdentityFramework with IUser < int > already, but ever since the default MVC Web app has changed,...

View Article

ActionLink parameter shows me length [duplicate]

This question already has an answer here: Razor actionlink autogenerating ?length=7 in URL? 2 answers I’m using Action Link on my view and then it clicked it needs to go update view with Id.But it...

View Article

MvcSiteMapProvider MVC4 Nuget installation failure Visual Studio 2013

Installation of MvcSiteMapProvider MVC4 fails when trying to install using Visual Studio 2013 Express edition. It installs fine in Visual Studio 2012. The error message I’m getting is: Error: “Updating...

View Article

Bootstrap modal window instead of JQuery modal window

I’m new in web. I wrote this Jquery modal window: <div id="dialog" title="Basic dialog" class="modal-body" style="display:none;"> <p>@Html.TextArea("commentForDecline")</p> <button...

View Article


convert one type to another in MVC

I have two references: in .Core reference I have one class with business functions. in another one – models, views and controllers. I want to make a simple Crete function, but can not convert types....

View Article

After altering a migration file’s table, how do I update my database?

I have my initial migrations file that has all the entity tables in it and the database is updated and has all tables. Now I want to alter a table and change the clustered index from the primary key to...

View Article

How to make a default value as selected in an @Html.DropdownList in mvc

controller : List<SelectListItem> li = new List<SelectListItem>(); DataSet ds = new DataSet(); li.Add(new SelectListItem { Text = "--Select--", Value = "-1" }); foreach (DataRow item in...

View Article


How can I output errors when using .less programmatically?

I’ve written an ASP.NET MVC action method that receives a .less file name, processes it via Less.Parse(<filename>) and outputs the processed css file. This works fine as long as the .less code is...

View Article


Could not load file or assembly WebGrease,dll Version Clash

This problems is nagging me from last night ,I can’t figure out its solution. Well let me explain the structure of my project,In a single solution file I have three projects two are asp.net mvc 4...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images