Web API provides support for REST based services which can be used in conjunction with web applications to improve performance of web applications. The JBI approach is to first introduce the basics of the Model, View and Controller approach before moving on to the many features which allow enhancing of this architecture. This course focuses on MVC 5, whilst another course focuses on MVC 6 with integrated Web API approach and its new features using Visual Studio 2015.
The labs lead the developer through the development of an MVC application progressively using features to enhance this application for performance and responsive user interface. Labs to illustrate the ability to create single page applications will make use of Web API.
This course also takes a tour of the some of the new features introduced with MVC 6.
What and Why use ASP.NET MVC 6?
Discuss the rapid development and evolution of ASP.NET MVC including these features/approaches already deprecated! Will the current implementation provide all of the features required?
Responsibilities of the Model, View and Controller
Introduction to Configuration within Startup class
Support for Dependency Injection
Creating your first ASP.NET MVC web Application
Building a Responsive Web Site and support for Mobile and Table using ‘bootstrap’
Visual Studio Tooling including project structure
Working with Parameters
How actions are mapped to methods
Action Result Types & Helper Methods
Understanding Model Binders
Task Asynchronous Pattern
Asynchronous actions with async/await
Responsibilities of a View and View Engines
Creating Razor Views
Layout Page (Razor)
Strongly Typed Views
Html Helper methods and Tag Helpers
Creating Tag Helpers
Using Bootstrap to provide a Responsive User Interface
Layout using Bootstrap
Change appearance with Theming
MVC AJAX and JQuery Support
When to use AJAX
Making AJAX Calls
Using Partial Views with AJAX/JQuery
Built in Filters
Authorize, Handle Error and OutputCache
Creating Custom Filters
Dealing with common security threats in ASP.NET MVC
Securing controllers and actions
Authorize and NonAction attributes
Introduction and motivation
Building your routes
Attribute Routing and Friendly Urls
CLR Types and Strongly Typed Views
Introduction to Entity Framework 7
Using Entity Framework 7
Extending Entities and validation rules
Testing and Patterns for MVC Development
Writing Tests for ASP.NET MVC
Test Driven Development (TDD)
Unit Testing best practices
Enforcing Isolation of tests
Partitioning Large Web Applications
Navigation between Areas
Rest Based services using Web API
What is ASP.NET Web API?
Using HTTP verbs (GET, POST, PUT and DELETE)
Previous options for action and new ObjectResult
Using GET, POST, PUT, DELETE
Creating Single Page Applications
Introduction to Single Page Applications
Introduction to AngularJS
Ajax calls to Web API Controllers
Open Web Interface for .NET (OWIN)
Introduction to OWIN
Introduction to SignalR and Real-time updates
Creating and Configuring a Hub
Calling All, Group or Caller
Client side event handling
At the end of this course you will be able to:
1. Understand when and why to use ASP.NET MVC 6?
2. ASP.NET support for hosting and use of ‘Middleware’
3. Use of packages (NuGet) and creation of packages
4. Use Separation to provide Model, View and Controller
5. Use MVC Routing including Attribute Routing
6. Develop for multiple platforms including mobile and tablet using ‘Bootstrap’
7. Apply testing / prototyping principals
8. Use ASP.NET MVC in the context of AJAX and jQuery
9. Understand security considerations
10. Use Web API to provide REST Based Services
11. Use Single Page Application concepts
12. Use SignalR to create Web Applications with Real-time updates
See why people choose JBI
31/07/2018: Since the first release of .NET (in 2002) much has changed, both in the .NET Framework and the .NET languages. Notable language features added...
16/01/2018: React vs Angular which framework best for my organisation Speed, security and extensibility are the hallmarks of a great web service, and your...
12/01/2018: ASP.NET Core 2 is the successor to ASP.NET Core 1 and continues the theme of providing a framework for rapid creation of Web Applications making...
15/01/2018: A development team had developed a range of applications using a number of .NET technologies over many years. However, in recent years the challenge...
19/10/2017: Over many years the members of this Software Engineering team have developed web applications using the popular .NET technology of ASP.NET WebForms....
13/10/2017: This organisation needed their Supply Chain department to get fully involved with Microsoft’s Power BI reporting product as soon as possible....
Bring a JBI course to your office
and train a whole team onsite
0800 028 6400 or request quote
Get in touch
0800 028 6400
Excellent feedback, consistently !
"great tips help reduce build times"
"we got access to exclusive content"
"Short course meant less time off"
"what an inspiring trainer !"
"colleagues at 2 sites joined via web"
"I passed my exam the next day"