Cargando…

The complete ASP.NET Core 3 API tutorial : hands-on building, testing, and deploying /

Use this ASP.NET Core API tutorial and straightforward step-by-step guide to build, test, and deploy an ASP.NET Core API to Azure. It will help you code confidently and efficiently, and provides just what you need for context. The book starts with detailing how to set up your development environment...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Jackson, Les
Formato: Electrónico eBook
Idioma:Inglés
Publicado: [United States] : Apress, 2020.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Intro
  • Table of Contents
  • About the Author
  • About the Technical Reviewer
  • Acknowledgments
  • Chapter 1: Introduction
  • Why I Wrote This Book
  • Apress Edition
  • The Approach of This Book
  • Where Can You Get the Code?
  • Main Solution Repository (API and Unit Tests)
  • Secure Daemon Client Repository
  • Conventions Used in This Book
  • Version of the .net Core Framework
  • Contacting the Author
  • Defects and Feature Improvements
  • Chapter 2: Setting Up Your Development Environment
  • Chapter Summary
  • When Done, You Will
  • The Three Amigos: Windows, Mac, and Linux
  • Your Ingredients
  • Links to the Software and Sites
  • Install VS Code
  • C# for Visual Studio Code
  • Insert GUID
  • Install .NET Core SDK
  • Install GIT
  • Name and Email
  • Install Docker [Optional]
  • What Is Docker?
  • Docker Desktop vs. Docker CE
  • Post-installation Check
  • Docker Plugin for VS Code
  • Install PostgreSQL
  • Install DBeaver CE
  • DBeaver vs. pgAdmin
  • Install Postman
  • Trust Local Host Development Certs
  • Wrapping It Up
  • Chapter 3: Overview of Our API
  • Chapter Summary
  • When Done, You Will
  • What Is a REST API?
  • Our API
  • Payloads
  • Five Minutes On JSON
  • Anatomy of a Simple JSON Object
  • A (Slightly) More Complex Example
  • A Final Example
  • Chapter 4: Scaffold Our API Solution
  • Chapter Summary
  • When Done, You Will
  • Solution Overview
  • Scaffold Our Solution Components
  • Creating Solution and Project Associations
  • Anatomy of An ASP.NET Core App
  • The Program and Startup Classes
  • The Program Class
  • The Startup Class
  • ConfigureServices
  • Configure
  • Chapter 5: The "C" in MVC
  • Chapter Summary
  • When Done, You Will
  • Quick Word on My Dev Setup
  • Start Coding!
  • Call the Postman
  • What Is MVC?
  • Model-View-Controller
  • Models, Data Transfer Objects, Repositories, and Data Access
  • What's the Distinction?
  • Why Decoupling Is Good?
  • Bringing It Together
  • Our Controller
  • 1. Using Directives
  • 2. Inherit from Controller Base
  • 3. Set Up Routing
  • 4. APIController Attribute
  • 5. HttpGet Attribute
  • 6. Our Controller Action
  • Synchronous vs. Asynchronous?
  • Source Control
  • Git and GitHub
  • What's the difference?
  • Setting Up Your Local Git Repo
  • gitignore file
  • Track and Commit Your Files
  • Set Up Your GitHub Repo
  • Create a GitHub Repository
  • So What Just Happened?
  • Chapter 6: Our Model and Repository
  • Chapter Summary
  • When Done, You Will
  • Our Model
  • Data Annotations
  • Our Repository
  • What Is an Interface?
  • What About Implementation?
  • Our Mock Repository Implementation
  • Dependency Injection
  • Back to the Start (Up)
  • Applying Dependency Injection
  • Constructor Dependency Injection
  • Update Our Controller
  • Chapter 7: Persisting Our Data
  • Chapter Summary
  • When Done, You Will
  • Architecture Progress Check
  • PostgreSQL Database
  • Using Docker
  • Docker Command Prompt
  • Connecting with DBeaver
  • Connection Issues