ASP.NET MVC 4 Hosting :: Introduction to ASP.NET MVC 4

ASP.NET MVC 4 NuGet Packages

One good news is that MVC 4 is also available via NuGet. To install MVC 4 via NuGet, type following in the Package Manager Console.

For more detail regarding NuGet package please visit http://www.nuget.org/List/Packages/AspNetMvc

ASP.NET MVC 4 for Visual Studio 2010

If you are using Visual Studio 2010 then you can use MVC 4 with . . . → Read More: ASP.NET MVC 4 Hosting :: Introduction to ASP.NET MVC 4

ASP.NET MVC 3.0 Hosting :: Getting your ASP.NET MVC Application to return 404 HTTP Status Code

ASP.NET MVC3 includes a new class HttpNotFoundResult in  System.Web.Mvc namespace.

HttpNotFoundResult: Instance of HttpNotFoundResult class indicates to client(browser) that the requested resource was not found. It returns a 404 HTTP status code to the client. Generally we return 404 status code if a requested webpage is not available. In case of MVC applications we return 404 status . . . → Read More: ASP.NET MVC 3.0 Hosting :: Getting your ASP.NET MVC Application to return 404 HTTP Status Code

ASP.NET MVC 3 Hosting :: Working with ASP.NET MVC 3 WebGrid (get selected row)

Every website has to display data and every website has a Grid control. In ASP.NET MVC 3 there’s the WebGrid, which is part of the Microsoft Web Helpers library. This can be downloaded through NuGet (formerly NuPack). NuGet is a free open source package manager that makes it easy for you to find, install, and use . . . → Read More: ASP.NET MVC 3 Hosting :: Working with ASP.NET MVC 3 WebGrid (get selected row)

ASP.NET MVC 3.0 Hosting :: Working with Microsoft Chart Controls

Introduction

The Microsoft Chart controls are a series of classes in the System.Web.UI.DataVisualization.Charting namespace that allow web developers to ability to add charts to their ASP.NET applications. The most pertinent charting-related class is the Chart class, which contains information about the chart’s appearance, series, charting areas, and so forth. In most of the demos and code samples . . . → Read More: ASP.NET MVC 3.0 Hosting :: Working with Microsoft Chart Controls

ASP.NET MVC 3 Hosting :: Working with Razor Syntax RenderSection, RenderBody and RenderPage

Everybody knows Razor is the new view engine ASP.NET Web Pages, so we thought we could write about some Razor syntax you may not be aware of. The three methods we’ll be focusing on today are RenderBody, RenderPage and RenderSection. You’ll need to understand how each of these work if you want to get know the . . . → Read More: ASP.NET MVC 3 Hosting :: Working with Razor Syntax RenderSection, RenderBody and RenderPage

ASP.NET Hosting :: How To Scroll To Validation Summary

ASP.net by default calls the function window.scrollTo(0,0) after the validation failure from ASP.net validators but not always we have the validation summary control placed at the top. There are instances where we need to place validation summary at some other location but by doing this, instead the user being scrolled to see the validation error, he . . . → Read More: ASP.NET Hosting :: How To Scroll To Validation Summary

ASP.NET MVC 3 Hosting :: Working with AllowHtml Attribute in ASP.NET MVC 3

Let’s say we are creating a simple form in our ASP.NET MVC 3 web application and there is a Body field on the form where we want to allow HTML Tags.

If we do not disable request validation in some manner for this Body field, we will get the dreaded error – A potentially dangerous Request.Form value . . . → Read More: ASP.NET MVC 3 Hosting :: Working with AllowHtml Attribute in ASP.NET MVC 3

ASP.NET MVC Hosting :: Working with Custom Authorisation in ASP.NET MVC Framework

The whole advantage with MVC over webforms is extensibility at every point. Extensibility, Extensibility, Extensibility.

Authorization is a very important and every web project has there own needs and requirements. Full customisation is paramount.

Here I will show you a simple way to customise your authorization.

In MVC attributes are used to protect a controller method, so we to . . . → Read More: ASP.NET MVC Hosting :: Working with Custom Authorisation in ASP.NET MVC Framework

ASP.NET MVC 3 Hosting :: Web Forms in ASP.NET MVC3 and Razor

ASP.NET MVC3 builds the capabilities of Web forms found in the previous versions and adds exciting new capabilities. When combined with the new Razor view engine, MVC3 allows you to create sophisticated Web forms faster than ever before with even cleaner separation between your model and your views.

MVC3 data entry forms are designed to allow you . . . → Read More: ASP.NET MVC 3 Hosting :: Web Forms in ASP.NET MVC3 and Razor

ASP.NET MVC 3.0 Hosting :: ASP.NET MVC 3.0 Validation and IValidatableObject

p>I was working with ASP.NET MVC 3 validation today and was tickled to learn of the support for IValidatableObject. I mainly like to use the Enterprise Library Validation Application Block in my projects, but System.ComponentModel.DataAnnotations has come a long way in .NET Framework 4.

[Aside: Note in the following post I interchange “object“, “model“, and “self” validation.] . . . → Read More: ASP.NET MVC 3.0 Hosting :: ASP.NET MVC 3.0 Validation and IValidatableObject

Sponsors

Advertise Here

Best Blog Hosting Provider

Cheap Reseller Hosting

Best European ASP.NET 4.0 Hosting Provider