Best Practices in ASP.NET: Entities, Validation, and View Models
MP4 | AVC 265kbps | English | 1024x768 | 15fps | 2h 37mins | AAC stereo 192kbps | 551 MB
Genre: Video Training
When you're developing an ASP.NET project, knowing how to handle data and validation can be confusing. Phrases like view-models, data transfer objects and entities are thrown about casually and some developers can be confused about what to use when. In this course, Shawn Wildermuth will attempt to clarify the best practices by showing you how entities, validation, and view models work together in ASP.NET MVC and ASP.NET Web API.
Entities
Introduction
What Are Entities?
Entity Relational Model
Keys
Foreign Keys and Relations
Attributes
Demo: Simple Entities
Demo: Collection Attributes
Demo: Complex Modeling
Demo: Results
Persistence
Summary
View Models
Introduction
View Model Basics
The MVC in MVC
Demo: Passing Data to Views
Demo: View Models in Views
Demo: View Models in Form Creation
Demo: View Models in Form Submission
Demo: Mapping of View Models for Views
Demo: Mapping of View Models for Forms
Summary
Validation
Introduction
What Is Data Validation?
Adding Validation Attributes
Model Binding and Validation
Model Validation in MVC Forms
Custom Validation
Client-side Validation
Summary
Models in ASP.NET Web API
Introduction
Role of View Models in Web API
Models and Web API
Designing Your API
Demo: Using Models in Your API
Demo: Using Validation in Your API
Demo: Collections of View Models in Your API
Demo: Model Versioning
Summary
发布日期: 2016-11-12