Web API Development for the Absolute Beginner A Step by step Approach to Learning the Fundamentals of Web API Development with NET 7 1st Edition by Irina Dominte – Ebook PDF Instant Download/Delivery: 978-1484293478, 1484293479
Full download Web API Development for the Absolute Beginner A Step by step Approach to Learning the Fundamentals of Web API Development with NET 7 1st Edition after payment

Product details:
ISBN 10: 1484293479
ISBN 13: 978-1484293478
Author: Irina Dominte
If you are a developer who wants to learn the basic skills of web and application programming interfaces (APIs) with .NET, this book is your complete introduction. The book takes a learn-by-experience approach. You will hit the ground running with a sample project that has everything you need to be wired up.
As you follow along, you will learn simple and intuitive conventions that will free you from some of the more tedious decisions and work, in order to allow you to focus on the business requirements required by your team. Certain components of the framework should always appear in certain folders in the solution to speed up development while others need a name that follows particular conventions. You will learn the building blocks of Web API and how to leverage them to have a well-rounded API. Understanding these small but important tricks will make development faster, easier, and more pleasant, and will prevent time-consuming errors.
Part I introduces you to the basics of Web. Part II gets you started creating an API that you will use and build upon throughout the book until you have a complete project. All companion code is available via GitHub. Part III covers more advanced concepts, including how to override out-of-the-box conventions to customize an API to meet your specific business needs. By the end of the book you will have a fully functional API, and you will be better prepared for an interview for a .NET backend developer job.
What You Will Learn
Build a start-to-finish Web API
Know the main concepts of the Web
Apply best practices in API development to your own projects
Know the fundamentals of Web API development
Know the fundamentals of a RESTful API
Leverage Web API constructs to implement a clean and extensible API
Get hands-on experience to unit test a Web API
Gain the skills required to apply for a junior or entry-level .NET Web developer job
Who This Book Is For
Developers who want to learn API development with .NET. It is helpful to have some basic C# programming knowledge because it is used in API development in .NET, but it is not mandatory. Readers should be familiar with a programming language to be able to understand code and examples. Experience with web development is not necessary.
Table of contents:
Part I: The Basics
Chapter 1: Introducing Web API
What Is an API?
Categorizing APIS
Types of APIs
Push/Stream APIs
Native APIs…..
SDKS
REST
RPC APIs
The Look and Feel of Web Apps.
What Is a WEB API?
When to Use WEB API
The World of Web Applications..
Summary
Chapter 2: Introduction to the Web
How the Internet Works.
Protocols..
Client-Server Architecture
What Is a URL: The Building Blocks.
Schema..
Domain
Path
Query String
Fragment
Request and Response
Request
Response.
Request versus Response
Headers..
Accept
Content-Type
Cache-Control.
HTTP Methods.
GET
POST
PUT
DELETE
HEAD…
OPTIONS
Idempotent versus Safe Methods.
Status Codes
1xx – Informational..
2xx – Success
3xx – Redirects.
4xx – Client Errors
5xx – Server Errors.
Cookies
Summary…
Chapter 3: Setting Up the Environment
Installing Visual Studio…..
Postman
What Is Postman?
Exploring the Postman Interface
Your First Web API Project..
Creating a Project.
Exploring the Project Structure
Running the Project….
Issuing Your First Request.
Summary…
Chapter 4: Web API: Building Blocks
Convention Over Configuration
MVC
Model.
View.
Controller..
The API Request Pipeline
Controllers & Actions…
Controllers
Actions….
Action Return Types.
Model
DTO
Validating Models
Using Models
Model Binding
Middleware
Using Map…
Using MapWhen
Using UseWhen..
Routing….
What Is the Routing Mechanism?.
Convention-based Routing
Attribute Routing
Dependency Injection..
What Is a Dependency?
Types of Dependencies.
Dependency Injection Container.
Dependency Injection in ASP.NET Web API
Service Lifetimes.
Cleaning Up DI Registrations
Summary
Part II: Implementing an API
Chapter 5: Getting Started with Web API
A Short Introduction to REST.
Client-Server.
Stateless.
Caching..
Uniform Interface.
Layered System…
Code on Demand
Your First RESTful API
Introducing CRUD
Getting to Know the Project
Implementing a GET Request
Implementing GET and Using an ID
Implementing a POST Request…
Implementing a HEAD Request
Implementing a PUT Request.
Implementing a DELETE Request.
Best Practices for API Design…
Summary….
Chapter 6: Introducing an ORM
What Is an ORM?.
Introducing Entity Framework…
Entity Framework Core Building Blocks
Configuring Relations Between Entities
Ways of Working with a Database.
Database First
Model First..
What Are Migrations?.
How Do Migrations Work?
Installing SQL Management Studio…
Linking Our Project to a Database
Generate Tables from Our Project.
Scaffold Entities from an Existing Database
Querying Data
Interfaces Used for Query Results
Loading Related Data
Executing Raw SQL
Summary.
Chapter 7: Getting Organized
Splitting Code into Layers
Domain Layer
Data Layer, Implementing a Repository
Service Layer
Introducing AutoMapper.
Installing AutoMapper.
Wire Everything…
Implement SpeakersRepository
Implement SpeakersService
Make SpeakersController Changes
Try It Out
Summary.
Chapter 8: Routing.
What Is a Route?
Route Templates
Route Segments
Route Parameters.
Route Tokens
Route Values.
Convention-based Routing…
Attribute Routing
Route Template Precedence
How to Customize Routing.
Route Constraints..
Creating a Custom Route Constraint
Available Constraints..
Creating Hierarchical Routes
Summary…
Chapter 9: Middleware
Middleware Usage Scenarios..
Introducing Custom Middleware
Create Your Own Middleware to Add Headers
Making an Extension Method for Our Middleware..
Understanding the Security Headers We Added..
X-Content-Type-Options
X-Frame-Options
X-Permitted-Cross-Domain-Policies
X-XSS-Protection…
Summary..
Part III: Beyond Basics
Chapter 10: Model Binding
What Is Model Binding?
Model-binding Sources
Attribute Scope…….
Binding-related Attributes
Selectively Bind Properties…
Create a Custom Model Binder
Using the Custom ModelBinder.
Value Providers
When to Use a Value Provider…
Implement a Custom Value Provider.
Value Provider Factory
Apply the Value Provider Globally
Apply the Value Provider Selectively Using an Attribute
Summary.
Chapter 11: Versioning the API.
Versioning-related Libraries.
Getting Started
Preparing the Project…
API Version Options.
Ways of Versioning…
Versioning in QueryString.
Versioning in Headers..
Versioning with Media Types.
Versioning in the URL Path
Combining Versioning Strategies.
General Rules about Versioning
Deprecating Versions
Summary..
Chapter 12: Documenting the API
Introducing OpenAPI
Introducing Swashbuckle..
Working with Swashbuckle..
Documentation Steps……
Define Supported Request Content Types
Define the Possible Status Codes…..
Define the Content Type of the Response
Describing Endpoints..
API Conventions
Creating an API Convention
Summary..
Chapter 13: Testing the API
Why Is Testing an API Important?
Terminology
Test Doubles
SUT
Mock .
Stub
Test Types
Unit Tests.
Anatomy of a Unit Test.
Library Types You Might Encounter
Creating Our First Unit Tests
Testing the Controller
Testing a Service
Other Useful Attributes
Integration Tests…
What Is a Fixture?.
Creating a Custom WebApplicationFactory
Writing an Integration Test
Unit versus Integration Tests
Summary
People also search for:
mdn web api
web development service near me
web api development in .net core
website development service near me
rest api development with node js
Tags: Irina Dominte, Web API Development, Absolute Beginner, Approach to Learning


