Learn ASP.Net (MVC)

The Model-View-Controller (MVC) architectural pattern separates an application into three main components: the model, the view, and the controller. The ASP.NET MVC framework provides an alternative to the ASP.NET Web Forms pattern for creating Web applications. The ASP.NET MVC framework is a lightweight, highly testable presentation framework that (as with Web Forms-based applications) is integrated with existing ASP.NET features, such as master pages and membership-based authentication. The MVC framework is defined in the System.Web.Mvc assembly.

ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that enables a clean separation of concerns and that gives you full control over markup for enjoyable, agile development. ASP.NET MVC includes many features that enable fast, TDD-friendly development for creating sophisticated applications that use the latest web standards.

COURSE DURATION

  • 20 Hours

COURSE GOALS

  • Gain a thorough understanding of the philosophy and architecture of Web applications using ASP.NET (MVC)
  • Acquire a working knowledge of Web application development using Web Forms and Visual Studio 2008
  • Optimize an ASP.NET (MVC) Web application using configuration, security, and caching
  • Access databases using ADO.NET and LINQ
  • More recent ASP .NET features
  • Implement rich client applications using ASP.NET AJAX
  • Customize Web applications through the use of HTTP handlers and modules

PREREQUISITES

Students should have a good working knowledge of C#, MSSQL, HTML

COURSE FORMAT

This is a hands-on course. We apply a powerful learning cycle of short lecture, examples and labs on each topic. Each student gets lab code.

COURSE OUTLINE

  • Introduction of different Web Technology
  • What is ASP.NET MVC
  • Role of Model, View, and Controller
  • How ASP.NET MVC Works
  • Benefits of using ASP.NET MVC
  • Installing Internet Information Server
  • Installation of ASP.NET MVC
  • Application Setting in IIS.
  • Overview of SQL Server 2012
  • Installation of SQL Server 2012
  • ASP.NET MVC project templates
  • Understanding the structure of an ASP.NET MVC project
  • Naming conventions
  • Creating views
  • Defining controllers
  • Defining a data model
  • Overview of coding standards follows during programming
  • Creating strongly-typed views
  • Understanding URLs and action methods
  • Using HTML helpers
  • Handling form post-backs
  • Data validation
  • Razor Basics
  • Razor design goals
  • Implementation of Razor view
  • Razor syntax
  • Accessing Model Data in Razor views
  • Defining and using custom HTML Helpers
  • Defining a layout / MVC Master Page
  • Using Styles
  • Defining and using partial views
  • Razor Helper Method syntax
  • Defining view-model classes
  • Implementing Data Filtering in a Controller
  • Understanding the Routing mechanism
  • Adding custom entries to a route table
  • Defining defaults, parameters, and validation
  • Generating URLs and Hyperlinks
  • Custom Route constraints
  • Using hidden fields
  • Session and Application State
  • Custom model bindings
  • Overview of AJAX and ASP.NET MVC
  • Unobtrusive AJAX
  • Using AJAX Action Links
  • Overview of jQuery
  • jQuery Techniques
  • Using jQuery UI
  • Designing email panel
  • How to send an email to various users
  • Sending auto emails
  • Deploying application on Web Server
  • Getting customer’s requirements
  • Preparing database and business logics
  • Developing application

BENEFITS:

It makes it easier to manage complexity by dividing an application into the model, the view, and the controller.

It does not use view state or server-based forms. This makes the MVC framework ideal for developers who want full control over the behavior of an application.

It uses a Front Controller pattern that processes Web application requests through a single controller. This enables you to design an application that supports a rich routing infrastructure.

Visual Studio is an IDE, or integrated development environment. Just like you use Microsoft Word to write documents, you’ll use an IDE to create applications. In Visual Studio there’s a list along the bottom showing various options available to you.

It works well for Web applications that are supported by large teams of developers and for Web designers who need a high degree of control over the application behavior.

It provides better support for test-driven development (TDD).