c# .net Adsense ADO.NET Linq Viruses/security asp.net MVC JQuery Angular-js Node-js SEO Java C++ SQL API Networking vb.net .Net Css JavaScript Generics c#.Net entity framework HTML Website host Website Construction Guide HTTP tutorial W3C tutorial Web Services JSON Psychology Ionic framework Angular ReactJS Python Computer Android

Latest posts on "asp.net MVC"

unable to retrieve metadata for unrecognized element providers in asp.net MVC

| | Category: asp.net MVC

I recently updated entity framework version 5, afterwards whenever tried to add a controller with the entity framework template I got this error message.

Unable to retrieve metadata for ‘models.classname’. unable to cast object of type System.Data.Entity.Core.Objects.ObjectContext to type System.Data.Objects.ObjectContext.

| | Category: asp.net MVC

Entity framework 6 or above version is not supported for asp.net MVC. So we need to uninstall it by using Package manager console.

[solved]Could not load file or assembly 'System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.

| | Category: asp.net MVC

I got this error that the web.config was referencing System.Web.WebPages.Razor, Version=2.0.0.0. Later I changed it to System.Web.WebPages.Razor, Version=3.0.0.0.

Load html page in ASP.NET MVC view

| | Category: asp.net MVC

In this example, I will show you how to load an html page in asp.net MVC view. You can call an html page from your view using Html.Action helper method.

How to update nuget package manager?

| | Category: asp.net MVC

Go to tool menu in visual studio and select Library package manager and click Package manager console. If you want to check whether new updates are available for the installed package

[A]System.Web.WebPages.Razor. Configuration.HostSection cannot be cast to [B]System.Web.WebPages.Razor.Configuration. HostSection.

| | Category: asp.net MVC

I found the cause of this error that the web.config was referencing System.Web.WebPages.Razor, version=2.0.0.0. Later I changed it to System.Web.WebPages.Razor, version=3.0.0.0 it works fine problem was resolved.

asp .net mvc query string

| | Category: asp.net MVC

We can retrieve data from URL to controller action method by two methods in asp.net mvc such as parameter of action method function and Query string. We can get Query string value just like web forms as Request.QueryString.

[Solved] The parameters dictionary contains a null entry for parameter 'id' of non-nullable type 'System.Int32' for method 'System.String Index(Int32)'

| | Category: asp.net MVC

The function is expecting an id parameter it was not supplied. Otherwise we need to change the parameter function as optional like below function; it will not throw an error.

set viewbag in jquery

| | Category: asp.net MVC

In this example I will show you how to bind viewbag value to an html control using jQuery in mvc.

Radio button mvc

| | Category: asp.net MVC

Radio button allows user to select one option from series of choices. In this example I will show you how to generate a radiobuttonlist in mvc using Html.RadioButtonFor.

Page 10 of 15