Book description
Imagine the boost in business if you can build large, rich web applications with little code and built-in Windows authentication. With this book, you can gain skills to develop real-world applications with ASP.NET Core 2.
Key Features
- Adopts the application-centric approach to explain core concepts
- Covers industry-best practices to build flexible, robust applications
- Shows how to enhance your applications by adding more functionalities
Book Description
The book sets the stage with an introduction to web applications and helps you build an understanding of the tried-and-true MVC architecture. You learn all about views, from what is the Razor view engine to tagging helpers. You gain insight into what models are, how to bind them, and how to migrate database using the correct model. As you get comfortable with the world of ASP.NET, you learn about validation and routing. You also learn the advanced concepts, such as designing Rest Buy (a RESTful shopping cart application), creating entities for it, and creating EF context and migrations. By the time you are done reading the book, you will be able to optimally use ASP.NET to develop, unit test, and deploy applications like a pro.
What you will learn
- Work with basic programming constructs using the Razor view engine
- Use flexibility and data compartmentalization of ViewModel
- Build a custom route for ASP.NET MVC applications for SEO
- Optimize applications with performance analysis and improvement steps
- Improve application performance, security, and data access to optimize the overall development process
- Deploy an ASP.NET MVC application in a non-Windows environment
Who this book is for
If you are looking to build web applications using ASP.NET Core or you want to become a pro in building web applications using the Microsoft technology, this is the ideal book for you. Prior exposure and understanding of C#, JavaScript, HTML, and CSS syntax is assumed.
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
- Setting the Stage
- Controllers
- Views
-
Models
- Introduction to Models
- Model Binding
- Entity Framework
- Using Entity Framework in ASP.NET MVC Applications
- Database Migration
- Summary
- Validation
- Routing
-
Rest Buy
- Designing Rest Buy
- Creating the Entities
- Create EF Context and Migrations
- Summary
-
Adding Features, Testing, and Deployment
-
Adding the Registration Feature
- Sign In and Sign Out Mechanism
- Creating the Application Layer
- Performing Implementations in the Infrastructure Project
- Defining our ViewModel for Registration
- Defining our Controllers
- Creating the Post-Registration Landing Page
- Creating a Query for the Registration Service
- Validating the Registration
- Creating a Unit Test
- Upgrading Our Project to Bootstrap 4
- Deploying RestBuy to Azure
- Summary
-
Adding the Registration Feature
- Other Books You May Enjoy
Product information
- Title: ASP.NET Core 2 Fundamentals
- Author(s):
- Release date: August 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789538915
You might also like
book
Customizing ASP.NET Core 5.0
A guide to discovering the hidden behaviors of ASP.NET Core that can be customized to optimize …
book
ASP.NET Core 3 and React
Build modern, scalable, and cloud-ready single-page applications using ASP.NET Core, React, TypeScript, and Azure Key Features …
book
ASP.NET Core: Cloud-ready, Enterprise Web Application Development
Create fast, scalable, and high-performance applications with C# and ASP.NET Core About This Book Get first-principle …
book
ASP.NET Core 5 for Beginners
Learn how to build web applications efficiently using ASP.NET Core 5 with the C# programming language …