Tag: ASP.NET MVC

How to retrieve the URL of the current Page in ASP.NET MVC 4 Controller ?

If you want to retrieve the URL of the current Page in a ASP.NET MVC 4 Controller , you can get it by using the AbsoluteUri property defined in the Request.Url class. How to retrieve the URL of the current Page in ASP.NET MVC 4 Controller ? using System; using System.Linq; using System.Web; using System.Web.Mvc; namespace MvcApplication1.Controllers { public class EmployeeController : Controller { //…

Date DisplayFormat for Textbox in ASP.NET MVC

If you want to apply date display format to the textbox in ASP.NET MVC , you can achieve this through Data Annotations in the model. Date DisplayFormat for Textbox in ASP.NET MVC Below is a sample sourecode demonstrating the Date DisplayFormat for Textbox in ASP.NET MVC Razor View Model and Data Annotations The above annotations will display the textbox in the specified datetime format .

What are the Advantages of the ASP.NET MVC Framework ?

ASP.NET MVC has some advantages over the traditional ASP.NET Web Forms development . In this article , we will have a look at some of the advantages of the ASP.NET MVC Framework . What are the Advantages of the ASP.NET MVC Framework ? SoC – Separation of Concerns Separation of Concern is one of the core advantages of ASP.NET MVC . The MVC framework provides…

Installing ASP.NET MVC and Prerequisites

To develop ASP.NET MVC Applications , you need Visual Studio to be installed . The Visual Studio contains all the necessary stuffs to get started . You can download Visual Studio 2012 or Visual Studio 2010 and install it from Microsoft Download Center. Download Visual Web Developer 2012 from Visual Studio website The Visual Studio 2012 has the necessary and latest ASP.NET MVC templates to…

ASP.NET MVC Tutorials

The ASP.NET MVC Tutorials section in the Abundantcode.com will help the developers understand the ASP.NET MVC Framework. The ASP.NET MVC Tutorials section will explain some of the basic stuffs related to the ASP.NET MVC and also provides sample sourecode , demo explaining the functionality of the MVC Framework. Any developer who have some basic knowledge of .NET Framework 3.5 and higher as well as Visual…

Creating the first ASP.NET MVC Project

In this article , we will explore how to create the first “Hello World” ASP.NET MVC Project. How to Create an ASP.NET MVC Project ? Follow the below steps to create the first ASP.NET MVC Project. 1. Launch Visual Studio 2012 . 2. Click New -> Project 3. This will show the list of all available templates available currently in Visual Studio 2012. Select Web…

Liked this content?. Please spread the word :)