实例介绍
【实例简介】
【实例截图】
【核心代码】
Chapter 3 Bootstrapping ASP.NET MVC Enabling the MVC Application Model Registering the MVC Service Enabling Conventional Routing Configuring the Routing Table Anatomy of a Route Advanced Aspects of Routing Map of ASP.NET MVC Machinery The Action Invoker Processing Action Results Action Filters Summary Chapter 4 ASP.NET MVC Controllers Controller Classes Discovering the Controller Name Inherited Controllers POCO Controllers Controller Actions Mapping Actions to Methods Attribute-based Routing Implementation of Action Methods Basic Data Retrieval Model Binding Action Results Action Filters Anatomy of Action Filters Little Gallery of Action Filters Summary Chapter 5 ASP.NET MVC Views Serving HTML Content Serving HTML from Terminating Middleware Serving HTML from Controllers Serving HTML from Razor Pages The View Engine Invoking the View Engine The Razor View Engine Adding a Custom View Engine Structure of a Razor View Passing Data to a View Built-in Dictionaries Strongly Typed View Models Injecting Data through the DI System Razor Pages Discovering the Rationale behind Razor Pages Implementation of Razor Pages Posting Data from a Razor Page Summary Chapter 6 The Razor Syntax Elements of the Syntax Processing Code Expressions Layout Templates Partial Views Razor Tag Helpers Using Tag Helpers Built-in Tag Helpers Writing Custom Tag Helpers Razor View Components Writing a View Component The Composition UI Pattern Summary PART III CROSS-CUTTING CONCERNS Chapter 7 Design Considerations The Dependency Injection Infrastructure Refactoring to Isolate Dependencies Generalities of the ASP.NET Core DI System Aspects of the DI Container Injecting Data and Services in Layers Collecting Configuration Data Supported Data Providers Building a Configuration Document Object Model Passing Configuration Data Around The Layered Architecture The Presentation Layer The Application Layer The Domain Layer The Infrastructure Layer Dealing with Exceptions Exception Handling Middleware Exception Filters Logging Exceptions Summary Chapter 8 Securing the Application Infrastructure for Web Security The HTTPS Protocol Dealing with Security Certificates Applying Encryption to HTTPS Authentication in ASP.NET Core Cookie-based Authentication Dealing with Multiple Authentication Schemes Modeling the User Identity External Authentication Authenticating Users via ASP.NET Identity Generalities of ASP.NET Identity Working with the User Manager Authorization Policies Role-based Authorization Policy-based Authorization Summary Chapter 9 Access to Application Data Toward a Relatively Generic Application back end Monolithic Applications The CQRS Approach Inside the Infrastructure Layer Data Access in .NET Core Entity Framework 6.x ADO.NET Adapters Using Micro O/RM Frameworks Using NoSQL Stores EF Core Common Tasks Modeling a Database Working with Table Data Dealing with Transactions A Word on Async Data Processing Summary PART IV FRONTEND Chapter 10 Designing a Web API Building a Web API with ASP.NET Core Exposing HTTP Endpoints File Servers Designing a RESTful Interface REST at a Glance REST in ASP.NET Core Securing a Web API Planning Just the Security You Really Need Simpler Access Control Methods Using an Identity Management Server Summary Chapter 11 Posting Data from the Client Side Organizing HTML Forms Defining an HTML Form The Post-Redirect-Get Pattern Posting Forms Via JavaScript Uploading the Form Content Refreshing Portions of the Current Screen Uploading Files to a Web Server Summary Chapter 12 Client-side Data Binding Refreshing the View via HTML Preparing the Ground Defining Refreshable Areas Putting It All Together Refreshing the View via JSON Introducing the Mustache.JS Library Introducing the KnockoutJS Library The Angular Way to Building Web Apps Summary Chapter 13 Building Device-friendly Views Adapting Views to the Actual Device The Best of HTML5 for Device Scenarios Feature Detection Client-side Device Detection Client Hints Coming Soon Device-friendly Images The PICTURE Element The ImageEngine Platform Resizing Images Automatically Device-oriented Development Strategies Client-centric Strategies Server-centric Strategies Summary PART V THE ASP.NET CORE ECOSYSTEM Chapter 14 The ASP.NET Core Runtime Environment The ASP.NET Core Host The WebHost Class Custom Hosting Settings The Embedded HTTP Server Selection of the HTTP Server Configuring a Reverse Proxy Kestrel Configuration Parameters The ASP.NET Core Middleware Pipeline Architecture Writing Middleware Components Packaging Middleware Components Summary Chapter 15 Deploying an ASP.NET Core Application Publishing the Application Publishing from within Visual Studio Publishing Using CLI Tools Deploying the Application Deploying to IIS Deploying to Microsoft Azure Deploying to Linux Docker Containers Containers vs. Virtual Machines From Containers to Microservice Architecture Docker and Visual Studio 2017 Summary Chapter 16 Migration and Adoption Strategies In Search of Business Value Looking for Benefits Brownfield Development Greenfield Development Outlining a Yellowfield Strategy Dealing with Missing Dependencies The .NET Portability Analyzer The Windows Compatibility Pack Postponing the Cross-platform Challenge Moving Towards a Microservice Architecture Summary Index Code Snippets i ii iii iv
好例子网口号:伸出你的我的手 — 分享!
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论