ASP.NET MVC Using C#(VS2013)

Course Description

This course provides a practical hands-on introduction to developing Web applications using ASP.NET MVC 5 and C#. This Web development framework from Microsoft emphasizes separation of concerns in the architecture and testability of applications. The course includes coverage of the Razor View Engine, Entity Framework 6 and ASP.NET Web API 2. It also introduces Windows Azure and the deployment of ASP.NET MVC applications to the Azure cloud.
3 days
Contact us for pricing
Contact us for dates
Contact us for dates

Prerequisites

The student should have a good working knowledge of C# and the .NET Framework. Basic knowledge of ASP.NET and HTML is also required.

LEARNING OBJECTIVES

· 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 ASP.NET MVC 5 and Visual Studio 2013
· Access databases using ADO.NET, LINQ, and Entity Framework 6
· Perform automated testing of Web applications created using ASP.NET MVC and the built-in Visual Studio Unit Test Framework
· Implement security in ASP.NET MVC applications
· Combine ASP.NET MVC and Web Forms when appropriate
· Create HTTP services using ASP.NET Web API 2
· Deploy ASP.NET MVC applications to the Windows Azure cloud

Introduction to ASP.NET MVC

Review of ASP.NET Web Forms
Advantages and Disadvantages of Web Forms
Model-View-Controller Pattern
ASP.NET MVC
Advantages and Disadvantages of ASP.NET MVC
Unit Testing

Getting Started with ASP.NET MVC

Installing ASP.NET MVC
Using Visual Studio
Hello World for ASP.NET MVC
Rendering Views
Razor View Engine
Dynamic Output

ASP.NET MVC Architecture

The Controller in ASP.NET MVC
The View in ASP.NET MVC
The Model in ASP.NET MVC
Helper Methods for HTML
Form Submission
Model Binding
Input Validation

The Model

Microsoft Technologies for the Model
ADO.NET
LINQ
ADO.NET Entity Framework 6
CRUD Operations
NuGet Package Manager

The Controller

IController Interface
Controller Base Class
Actions
Retrieving Data from a Request
Action Results
Action Attributes
Filters
Asynchronous Controllers

The View

View Responsibility
Using ViewBag
Using Dynamic Objects
Html Helpers
Validation Attributes

Routing

Routing in ASP.NET MVC
Properties of Routes
Parameters in Routing
Registering Routes
Debugging Routes
Areas

Unit Testing

Test-Driven Development
Test Automation
Refactoring
Visual Studio Unit Test Framework
Test Cases
Test Classes
Test Runners
Testing ASP.NET MVC Applications
Dependency Injection
Mocking Frameworks
Inversion of Control Containers

Security

Input Forgery
Cross-Site Scripting
Session Hijacking
Cross-site Request Forgery
SQL Injection
Using the MVC Framework Securely

Combining ASP.NET MVC and Web Forms

Using Web Forms in an MVC Application
Using MVC in a Web Forms Application

ASP.NET Web API

ASP.NET Web API
Representational State Transfer
REST and Web API
HTTP Services Using Web API
Using Fiddler
ASP.NET Web API Clients
CRUD Operations

Deployment on Windows Azure

What Is Windows Azure?
A Windows Azure Testbed
Deploying an Application to Azure
Updating an Application on Azure

ASPasp dotnetasp.netC#Visual StudioVisual Studio 2013Microsoft Visual StudioMicrosoft Visual Studio 2013VS2013Ms Visual StudioMS Visual Studio 2013