ASP.NET Core in Action

Book description

ASP.NET Core in Action is for C# developers without any web development experience who want to get started and productive fast using ASP.NET Core 2.0 to build web applications.



About the Technology

The dev world has permanently embraced open platforms with flexible tooling, and ASP.NET Core has changed with it. This free, open source web framework delivers choice without compromise. You can enjoy the benefits of a mature, well-supported stack and the freedom to develop and deploy from and onto any cloud or on-prem platform.



About the Book

ASP.NET Core in Action opens up the world of cross-platform web development with .NET. You'll start with a crash course in .NET Core, immediately cutting the cord between ASP.NET and Windows. Then, you'll begin to build amazing web applications step by step, systematically adding essential features like logins, configuration, dependency injection, and custom components. Along the way, you'll mix in important process steps like testing, multiplatform deployment, and security.



What's Inside

  • Covers ASP.NET Core 2.0
  • Dynamic page generation with the Razor templating engine
  • Developing ASP.NET Core apps for non-Windows servers
  • Clear, annotated examples in C#


About the Reader

Readers need intermediate experience with C# or a similar language.



About the Author

Andrew Lock has been developing professionally with ASP.NET for the last seven years. His focus is currently on the ASP.NET Core framework.



Quotes
Comprehensive coverage of the latest and greatest .NET technology.
- Jason Pike, Atlas RFID Solutions

A thorough and easy-to-read training guide to the future of Microsoft cross-platform web development.
- Mark Harris, Microsoft

An outstanding presentation of the concepts and best practices. Explains not only what to do, but why to do it.
- Mark Elston, Advantest America

Superb starting point for .NET Core 2.0 with valid and relevant real-world examples.
- George Onofrei, Devex

Publisher resources

View/Submit Errata

Table of contents

  1. Copyright
  2. Brief Table of Contents
  3. Table of Contents
  4. Preface
  5. Acknowledgments
  6. About this book
  7. About the author
  8. About the cover illustration
  9. Part 1. Getting started with MVC
    1. Chapter 1. Getting started with ASP.NET Core
    2. Chapter 2. Your first application
    3. Chapter 3. Handling requests with the middleware pipeline
    4. Chapter 4. Creating web pages with MVC controllers
    5. Chapter 5. Mapping URLs to methods using conventional routing
    6. Chapter 6. The binding model: retrieving and validating user input
    7. Chapter 7. Rendering HTML using Razor views
    8. Chapter 8. Building forms with Tag Helpers
    9. Chapter 9. Creating a Web API for mobile and client applications using MVC
  10. Part 2. Building complete applications
    1. Chapter 10. Service configuration with dependency injection
    2. Chapter 11. Configuring an ASP.NET Core application
    3. Chapter 12. Saving data with Entity Framework Core
    4. Chapter 13. The MVC filter pipeline
    5. Chapter 14. Authentication: adding users to your application with Identity
    6. Chapter 15. Authorization: securing your application
    7. Chapter 16. Publishing and deploying your application
  11. Part 3. Extending your applications
    1. Chapter 17. Monitoring and troubleshooting errors with logging
    2. Chapter 18. Improving your application’s security
    3. Chapter 19. Building custom components
    4. Chapter 20. Testing your application
  12. Appendix A. Getting to grips with .NET Core and .NET Standard
  13. Appendix B. Useful references
  14. Useful .NET CLI (dotnet) commands. Use --help to see all the optional arguments
  15. Overview of an MVC request using ASP.NET Core
  16. Index
  17. List of Figures
  18. List of Tables
  19. List of Listings

Product information

  • Title: ASP.NET Core in Action
  • Author(s): Andrew Lock
  • Release date: June 2018
  • Publisher(s): Manning Publications
  • ISBN: 9781617294617