C # Advanced Programming, 11th Edition - XXXI

navigation

XXXI ASP.NET Core MVC

31.1 for the ASP.NET Core MVC establish 758 service

31.2 define the route 760

31.2.1 Add Route 760

31.2.2 Use routing constraints 761

31.3 Creating the Controller 761

31.3.1 appreciated that operation 762 Method

31.3.2 Use parameter 762

31.3.3 return data 762

31.3.4 using Controller Controller 763 base classes and POCO

31.4 create a view 765

31.4.1 Data passes to the views 765

31.4.2 Razor syntax 766

31.4.3 create strongly typed view 766

31.4.4 defined layout 767

31.4.5 770 is defined by part-view content

31.4.6 view components 773 using

31.4.7 dependency injection in the view 774

31.4.8 import namespace 775 is a plurality of views

31.5 submit data from the client 775

31.5.1 Model Binder 777
31.5.2 Annotations and verification 778

31.6 Use HTML Helper 779

31.6.1 Simple Helper 779

31.6.2 use model data 779

31.6.3 define HTML attributes 780

31.6.4 Create a list 780

31.6.5 strongly typed Helper 781

31.6.6 editor extension 782

31.6.7 achieve Template 782

31.7 days Helper 783

31.7.1 activate Tag Helper 783

31.7.2 Use anchor Tag Helper 783

31.7.3 Use Label Tag Helper 784

31.7.4 Use Input Tag Helper 785

31.7.5 using forms for authentication 786

31.7.6 environment Tag Helper 787

31.7.7 Creating a Custom Tag Helper 788

31.7.8 creates an element 790 with the Tag Helper

Action filter 792 implemented 31.8

31.9 Creating data-driven applications of 793

31.9.1 Definition Model 794

31.9.2 Creating a database 795

31.9.3 Creating service 796

31.9.4 Creating the Controller 798

31.9.5 create a view 800

31.10 for authentication and authorization 803

31.10.1 store and retrieve user information 803

31.10.2 start Identity System 804

31.10.3 perform user registration 804

31.10.4 Setting the user logs 806

31.10.5 authenticate users 807

31.10.6 use Azure Active Directory to authenticate users 807

31.11 Razor page 812

31.11.1 Razor create a 812 page project

31.11.2 data access 813

31.11.3 inline code 814 using

31.11.4 Use inline code model and page 816

31.11.5 Using the code-behind file 817

31.11.6 Parameters page 817

31.12 Summary 818

Guess you like

Origin www.cnblogs.com/zenronphy/p/ProfessionalCSharp7Chapter31.html