Click here to Skip to main content
13,829,868 members


A compilation of ASP.NET MVC development tutorials to help you get started (and beyond) with developing web sites and applications.

Table of Contents

Basics of ASP.NET MVC

While Model-View-Controller (MVC) is not a new concept, it does require a certain degree of understanding of "what goes where". These articles will help you understand the three main components of an MVC web site, why the design is important, and show you how it differs from other ways of working with ASP.NET.

Working with Models

Models are classes within your ASP.NET MVC applications that are responsible for managing data. Typically they are responsible for communicating with databases or other storage used. They also provide a place for business logic for your application.

Working with Views

Views are files that allow the user to interact with your ASP.NET MVC application. They may be written in HTML, or another markup language, such as Razor.

Working with Controllers

Controllers are classes within your ASP.NET MVC application that are responsible for managing the communication between the views and models. They provide the main flow logic for your applications.


Every web application requires security, and ASP.NET MVC applications are no exception. These articles show you some of the main topics in securing your applications.


Because all the main functionality of an ASP.NET MVC application is provided by classes, routing provides the mapping between URLs and the methods of the classes. Understanding routing helps you understand how users will interact with your application.

Other Topics

This section contains articles on ASP.NET MVC topics that don't fit into any of the other categories, but are still of use by developers.

Latest Discussions

cube=int(input(' enter a vlue to find it cube root,(vlue must be >1):')) epsilon=0.01 num_guess=0 low=0 high=cube guess=(high+low)/2.0 while abs(guess**3-cube)>=epsilon: if guess**3=guess high=guess guess=(high+low)/2.0 num_guess+1 if(high==low):...
I have the following class written to describe a Platypus date type and am having problems when trying to display results. This is the main function where I am having a problem displaying the output. #include "Platypus.h" #include #include #include using namespace...
by a__pal
I am new to AngularJs. I am trying to use Service.js to call Web Api. It is working if I directly call from controller. But when I try to segregate the code by using Service.js I am getting lost. Any help will be appreciated. getSubs function call is working in APIService. But not able to run...
by Tesouro
Hello all, My program needs to write configuration files and some data files somewhere. I know that writing files to my program's .EXE path (which will be within C:\Program Files) can cause issues related to permissions. So, I'm doing this: ProgramDataPath =...
by alpacaheng
I want to upload a file from client side(.html) using ajax to server side(.aspx.cs) but i dunno how to pass the file from client side to server side, and also how to get file passed from client side in webmethod and upload to server. What I have tried: index.html function uploadFile(){ ...

Advertise | Privacy | Cookies | Terms of Service
Web06 | 2.8.190114.1 | Last Updated 10 Apr 2015
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid