
Day Five
URL and Ajax Helper Methods
Creating Basic Links and URLs
Using MVC Unobtrusive Ajax
Creating the Synchronous Form View
Preparing the Project for Unobtrusive Ajax
Creating an Unobtrusive Ajax Form
Preparing the Controller
Creating the Ajax Form
Understanding How Unobtrusive Ajax Works
Setting Ajax Options
Ensuring Graceful Degradation
Providing the User with Feedback While Making an Ajax Request
Prompting the User Before Making a Request
Creating Ajax Links
Ensuring Graceful Degradation for Links
Working with Ajax Callbacks
Working with JSON
Adding JSON Support to the Controller
Processing JSON in the Browser
Preparing Data for Encoding
Detecting Ajax Requests in the Action Method
Model Binding
Understanding Model Binding
Using the Default Model Binder
Binding to Simple Types
Binding to Complex Types
Binding to Arrays and Collections
Manually Invoking Model Binding
Dealing with Binding Errors
Customizing the Model Binding System
Creating a Custom Value Provider
Creating a Custom Model Binder
Registering the Custom Model Binder
Model Validation
Explicitly Validating a Model
Displaying Validation Errors to the User
Displaying Validation Messages
Displaying Property-Level Validation Messages
Using Alternative Validation Techniques
Performing Validation in the Model Binder
Defining Self-Validating Models
Performing Client-Side Validation
Enabling Client-Side Validation
Using Client-Side Validation
Understanding How Client-Side Validation Works
Performing Remote Validation
Bundles
Profiling Script and Style Sheet Loading
Using Script and Style Bundles
Adding the NuGet Package
Defining the Bundles
Applying Bundles
Optimizing the JavaScript and CSS Files
Web API and Single-page Applications
Understanding Single-page Applications
Creating the Model
Adding the Controller
Adding the Layout and Views
Setting the Start Location and Testing the Example Application
Using Web API
Creating the Web API Controller
Testing the API Controller
Understanding How the API Controller Works
Understanding API Controller Action Selection
Mapping HT T P Methods to Action Methods
Using Knockout for Single-page Applications
Adding the JavaScript Libraries to the Layout
Implementing the Summary
Implementing the Create Feature
Completing the Application
Simplify the Home Controller
Manage Content Visibility
Subscribe to our Newsletter for latest news.
If the pdf download does not work, try a different browser
© 2004+
Back to top