ASP.NET MVC Using C#
This course provides a practical hands-on introduction to developing Web applications using ASP.NET MVC 2 and C#. This new Web development framework from Microsoft emphasizes separation of concerns in the architecture and testability of applications.The course covers the fundamentals of the Model-View-Controller design pattern and its implementation in ASP.NET MVC. This technology is compared with classical ASP.NET Web Forms. The two technologies share a common ASP.NET infrastructure. Visual Studio 2010 is used as a productive platform for creating ASP.NET MVC applications. Numerous programming examples and exercises are provided. Participants will receive a comprehensive set of notes and all the programming examples.
- Cost: Price on application
- Duration: 3 Days
- This course is not available as part of our public schedule but can be provided on a customised client specific basis.
The student should have a good working knowledge of C# and the .NET Framework. Basic knowledge of ASP.NET and HTML is also required.
· 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 and Visual Studio 2010
· Access databases using ADO.NET, LINQ, and Entity Framework 4.0
· Perform automated testing of Web applications created using ASP.NET MVC
· Implement security in ASP.NET MVC applications
· Combine ASP.NET MVC and Web Forms when appropriate
· Deploy ASP.NET MVC applications
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
Installing ASP.NET MVC
Using Visual Studio
Hello World for ASP.NET MVC
Rendering Views
Dynamic Output
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
Microsoft Technologies for the Model
ADO.NET
LINQ
ADO.NET Entity Framework 4.0
IController Interface
Controller Base Class
Actions
Retrieving Data from a Request
Action Results
Action Attributes
Filters
Asynchronous Controllers
View Responsibility
Using ViewData
Loosely-Typed Views
Strongly-Typed Views
Using Dynamic Objects
Html Helpers
Routing in ASP.NET MVC
Properties of Routes
Registering Routes
Debugging Routes
Areas
Visual Studio Unit Testing Framework
Test Cases
Test Classes
Test Runners
ASP.NET MVC Test Projects
Testing with Mocking
Refactoring
Test-Driven Development
Inversion of Control Containers
Input Forgery
Cross-Site Scripting
Session Hijacking
Cross-site Request Forgery
SQL Injection
Using the MVC Framework Securely
Using Web Forms in an MVC Application
Using MVC in a Web Forms Application
Server Requirements
Continuous Integration
Environment Configurations
XCOPY
Web Deploy