基本信息
源码名称:微软官方推荐书籍:《Programming ASP.NET Core》.epub
源码大小:15.61M
文件格式:.epub
开发语言:C#
更新时间:2019-07-23
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):78630559
本次赞助数额为: 2 元×
微信扫码支付:2 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
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