更新时间:2021-06-10 19:38:21
coverpage
Title Page
PacktPub.com
Why subscribe?
Packt.com
Contributors
About the authors
About the reviewers
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Becoming a Full-Stack .NET Developer
The full-stack developer
Full-stack development
Backend fundamentals
Hypertext Transfer Protocol
HTTP is a stateless protocol
HTTP/2
Representational State Transfer
ASP.NET Core
Frontend fundamentals
Hypertext Markup Language
CSS
JavaScript
TypeScript
JavaScript frontend frameworks
Angular
React
Vue.js
Summary
Setting Up Your Development Environment
Visual Studio
Installing Visual Studio Community
Node.js and npm
Installing Node.js
Installing TypeScript
Google Chrome
Fiddler
Installing Fiddler
Creating a Web Application with ASP.NET Core
ASP.NET Core overview
.NET Core
Open source
Lightweight and fast
Modular
Host anywhere
Creating an ASP.NET Core application
Default files in an ASP.NET Core project
Predefined project templates
The Startup class
Code execution order
Different startups for different environments
Changing the Startup class name
Serving static files
The content root and web root folders
Setting the server to serve static files
Serving default documents
Configuring the available MIME types
Getting familiar with the ASP.NET Core MVC framework
The MVC pattern
MVC in SPAs
Adding MVC to ASP.NET Core
Controllers
Views
View files and their location
Creating a view
Routing
Adding routes
Adding routes via UseMvc
Adding routes via route attributes
Routing in SPAs
Building REST APIs with ASP.NET Core Web API
Overview — REST APIs with ASP.NET Core API
Creating a simple API
Inspecting your APIs using Fiddler and Postman
Postman
Conventional routing
Defining a new route template
Attribute-based routing
Parameterizing the route template
Default values
Constraints
The model
Model binding
Query strings
Message body
Header values
Model validation