آموزش راهنمای جامع و قطعی ASP.NET Core Web API [ویدئویی] - آخرین آپدیت

دانلود The Definitive ASP.NET Core Web API Guide [Video]

نکته: ممکن هست محتوای این صفحه بروز نباشد ولی دانلود دوره آخرین آپدیت می باشد.
نمونه ویدیوها:
توضیحات دوره: در این دوره، شما دانش عمیقی در زمینه توسعه ASP.NET Core Web API، از آماده‌سازی محیط تا استقرار یک API کاملاً کاربردی کسب خواهید کرد. با شروع از مبانی، اصول ASP.NET Core را می‌آموزید، نحوه پیکربندی محیط توسعه را یاد می‌گیرید و گزینه‌های مختلف تنظیم پروژه را بررسی می‌کنید. سپس دوره به بررسی معماری RESTful APIها می‌پردازد و به شما می‌آموزد چگونه نقاط انتهایی (Endpoints) قدرتمند ایجاد کنید، متدهای HTTP را مدیریت نمایید و امنیت را از طریق مکانیزم‌های احراز هویت و تعیین سطح دسترسی تامین کنید. همچنین به مباحث پیشرفته‌ای مانند Entity Framework Core برای مدیریت پایگاه داده، کشینگ (Caching) برای افزایش عملکرد، محدود کردن نرخ درخواست‌ها (Rate Limiting)، لاگ‌گذاری ساختاریافته و نسخه‌بندی API خواهید پرداخت. علاوه بر این، نحوه پیاده‌سازی Health Checks و ایجاد مستندات دقیق API با استفاده از Swagger را می‌آموزید. این دوره شامل بهترین روش‌ها برای مدیریت خطاها، پیاده‌سازی متد PATCH و بهینه‌سازی عملکرد برای برنامه‌های در مقیاس بزرگ است. در پایان دوره، شما نه‌تنها مهارت ایجاد APIها را خواهید داشت، بلکه در طراحی، ایمن‌سازی و استقرار Web APIهای آماده تولید در Microsoft Azure مسلط خواهید شد. با مثال‌های عملی و تمرین‌های دست‌اول، شما برای توسعه ASP.NET Core Web APIهای مقیاس‌پذیر و با کارایی بالا کاملاً آماده خواهید بود. توسعه ASP.NET Core Web APIهای آماده برای محیط تولید درک و به‌کارگیری اصول طراحی RESTful پیاده‌سازی احراز هویت و تعیین سطح دسترسی امن در API یکپارچه‌سازی پایگاه داده و مدیریت Migrationها با Entity Framework Core بهینه‌سازی عملکرد API با استفاده از کشینگ، محدودیت نرخ و لاگ‌گذاری استقرار APIها در Microsoft Azure و مدیریت بهینه آن‌ها این دوره برای توسعه‌دهندگان، مهندسان بک‌اِند یا هر کسی که علاقه‌مند به یادگیری توسعه ASP.NET Core Web API است، ایده‌آل است. داشتن درک پایه از برنامه‌نویسی و توسعه وب توصیه می‌شود، اما هیچ دانش قبلی از ASP.NET Core مورد نیاز نیست. پوشش جامع طراحی و توسعه ASP.NET Core Web API * بررسی عمیق امنیت، احراز هویت و بهینه‌سازی عملکرد * راهنمای گام‌به‌گام استقرار APIها در Microsoft Azure و مدیریت پایگاه داده

سرفصل ها و درس ها

مقدمه Introduction

  • مقدمه Introduction

شروع کار با ASP.NET Core و APIها Getting Started with ASP.NET Core and APIs

  • مرور کلی بخش Section Overview

  • دات‌نت (.NET) چیست؟ What Is .NET?

  • ASP.NET Core چیست؟ What Is ASP.NET Core?

  • API چیست؟ What Is an API?

  • استفاده از ASP.NET Core API Using ASP.NET Core API

  • مرور بخش Section Review

پیکربندی محیط Environment Configuration

  • مرور کلی بخش Section Overview

  • نصب Visual Studio 2026 Install Visual Studio 2026

  • نصب Visual Studio Code و .NET SDK (برای تمامی سیستم‌عامل‌ها) Install Visual Studio Code and .NET SDK (Any OS)

  • معرفی JetBrains Rider JetBrains Rider

  • ساخت حساب کاربری GitHub Setup GitHub Account

  • مرور بخش Section Review

راه‌اندازی و تنظیمات پروژه Project Setup and Configurations

  • مرور کلی بخش Section Overview

  • ایجاد پروژه ASP.NET Core API با Visual Studio Create ASP.NET Core API Project with Visual Studio

  • ایجاد پروژه ASP.NET Core API با Visual Studio Code Create ASP.NET Core API Project with Visual Studio Code

  • مقایسه Controllers در مقابل Minimal APIs Controllers vs. Minimal APIs

  • تور و توضیح فایل‌های پروژه Project Files Tour and Explanation

  • تست کردن API Testing the API

  • مرور بخش Section Review

درک APIهای RESTful و استانداردها Understanding RESTful APIs and Standards

  • مرور کلی بخش Section Overview

  • اصول APIهای RESTful RESTful API Principles

  • کدهای پاسخ HTTP HTTP Response Codes

  • تمرین: پیاده‌سازی Endpointsهای GET Activity: Implement GET Endpoints

  • تمرین: پیاده‌سازی Endpointsهای PUT, POST و DELETE Activity: Implement PUT, POST, and DELETE Endpoints

  • تست نقطه انتهایی جدید API Testing New API Endpoint

  • بهترین روش‌ها و توصیه‌ها Best Practices and Recommendations

  • مرور بخش Section Review

کار با GitHub (مدیریت کنترل نسخه) Working with GitHub (Source Control Management)

  • مرور کلی بخش Section Overview

  • مدیریت کنترل نسخه (SCM) چیست؟ What Is Source Control Management?

  • معرفی Git و GitHub Introducing Git and GitHub

  • ثبت‌نام در GitHub Sign Up for GitHub

  • افزودن به کنترل نسخه (در Visual Studio) Add to Source Control (Visual Studio)

  • افزودن به کنترل نسخه (در Visual Studio Code) Add to Source Control (Visual Studio Code)

  • انجام Commit Making a Commit

  • درک عملیات Git Understanding Git Operations

  • مرور بخش Section Review

مدل‌سازی پایگاه داده با Entity Framework Core Database Modelling with Entity Framework Core

  • مرور کلی بخش Section Overview

  • درک Entity Framework Core Understanding Entity Framework Core

  • راه‌اندازی Entity Framework Core در پروژه API Setup Entity Framework Core in API Project

  • افزودن مدل‌های داده Adding Data Models

  • افزودن Database Context Adding a Database Context

  • اختیاری: راه‌اندازی SQL Server روی Docker Optional: Setup SQL Server on Docker

  • افزودن Connection String و تنظیمات Adding a Connection String and Configurations

  • درک Migrationها Understanding Migrations

  • انجام Migrationها و به‌روزرسانی پایگاه داده Performing Database Migrations and Updates

  • ساخت خودکار (Scaffolding) دیتابیس Scaffolding a Database

  • مرور و افزودن تغییرات به GitHub Review and Add Changes to GitHub

  • مرور بخش Section Review

ساخت خودکار نقاط انتهایی API مبتنی بر دیتابیس (کشورها) Scaffolding Database-Driven API Endpoints (Countries)

  • مرور کلی بخش Section Overview

  • معرفی Scaffolding Introducing Scaffolding

  • ساخت خودکار کنترلر API کشورها Scaffold Countries API Controller

  • بررسی کنترلر کشورها Review Countries Controller

  • تست نقاط انتهایی API کشورها Testing Countries API Endpoints

  • بازنویسی (Refactoring) کدهای کنترلر ساخته شده Refactoring Scaffolded Controller Code

  • مرور بخش Section Review

ساخت خودکار نقاط انتهایی API مبتنی بر دیتابیس (هتل‌ها) Scaffolding Database-Driven API Endpoints (Hotels)

  • مرور کلی بخش Section Overview

  • ساخت و تست کنترلر API هتل‌ها Scaffold and Test Hotels API Controller

  • درک داده‌های مرتبط Understanding Related Data

  • بهبود Endpoint مربوط به GET برای دریافت داده‌های مرتبط - بخش اول Improve GET Endpoint to Fetch Related Data – Part 1

  • رفع خطا: خطای چرخه در آبجکت JSON Fix: JSON Object Cycle Error

  • بهبود Endpoint مربوط به GET برای دریافت داده‌های مرتبط - بخش دوم Improve GET Endpoint to Fetch Related Data – Part 2

  • مرور بخش Section Review

پیاده‌سازی DTOها برای شکل‌دهی داده‌ها، اعتبارسنجی و امنیت Implementing DTOs for Data Shaping, Validation, and Security

  • مرور کلی بخش Section Overview

  • اهمیت اعتبارسنجی (Validation) The Importance of Validation

  • بررسی و پیاده‌سازی قوانین اعتبارسنجی Explore and Implement Validation Rules

  • درک DTOها و شکل‌دهی داده‌ها (Data Shaping) Understanding DTOs and Data Shaping

  • افزودن DTOها برای اعتبارسنجی و شکل‌دهی داده‌ها Adding DTOs for Data Validation and Data Shaping

  • افزودن DTOها برای اعتبارسنجی و شکل‌دهی داده‌های کشور Adding DTOs for Country Data Validation and Data Shaping

  • بازنویسی کنترلر هتل‌ها برای استفاده از DTOها Refactor Hotels Controller to Use DTOs

  • بازنویسی کنترلرهای کشور برای استفاده از DTOها Refactor Country Controllers to Use DTOs

  • مرور بخش Section Review

پیاده‌سازی لایه سرویس (Service Layer) Implementing a Service Layer

  • مرور کلی بخش Section Overview

  • لایه سرویس چیست؟ What Is a Service Layer?

  • افزودن لایه سرویس - بخش اول Adding the Service Layer – Part 1

  • درک تزریق وابستگی (Dependency Injection) Understanding Dependency Injection

  • استفاده از تزریق وابستگی Using Dependency Injection

  • افزودن لایه سرویس - بخش دوم Adding the Service Layer – Part 2

  • معرفی AutoMapper Introducing AutoMapper

  • پیاده‌سازی AutoMapper Implementing AutoMapper

  • معرفی الگوی Results (Results Pattern) Introducing the Results Pattern

  • پیاده‌سازی الگوی Results Implementing Results Pattern

  • بازنویسی کنترلر برای استفاده از Results Refactor Controller to Use Results

  • بهبودها و بهینه‌سازی‌ها Refinements and Optimizations

  • تست و تایید برنامه و تغییرات Test and Verify Application and Changes

  • مرور بخش Section Review

پیاده‌سازی امنیت API Implementing API Security

  • مرور کلی بخش Section Overview

  • مقدمه‌ای بر احراز هویت و تعیین سطح دسترسی Introduction to Authentication & Authorization

  • انواع مکانیزم‌های احراز هویت API Types of API Authentication Mechanisms

  • راه‌اندازی Identity در ASP.NET Core API Setting Up Identity in ASP.NET Core API

  • سفارشی‌سازی جداول Identity Customizing Identity Tables

  • افزودن نقاط انتهایی پیش‌فرض Identity Add Default Identity Endpoints

  • افزودن نقاط انتهایی سفارشی احراز هویت Add Custom Authentication Endpoints

  • افزودن سرویس کاربر و بازنویسی نقاط انتهایی Add User Service and Refactor Endpoints

  • احراز هویت پایه (Basic Authentication) Basic Authentication

  • پیاده‌سازی احراز هویت پایه Implementing Basic Authentication

  • تست احراز هویت پایه Testing Basic Authentication

  • احراز هویت با API Key API Key Authentication

  • پیاده‌سازی احراز هویت API Key Implementing API Key Authentication

  • تست و بهبودهای API Key API Key Testing and Improvements

  • احراز هویت با JWT JWT Authentication

  • پیاده‌سازی پارامترهای JWT Auth Implement JWT Auth Parameters

  • پیاده‌سازی طرح (Scheme) احراز هویت JWT Implement JWT Auth Scheme

  • درک Claims (ادعاها) Understanding Claims

  • پیاده‌سازی صدور توکن JWT Implement JWT Issuing

  • تست احراز هویت JWT Testing JWT Auth

  • درک نقش‌ها (Roles) Understanding Roles

  • تزریق نقش‌های پیش‌فرض و تخصیص به کاربران Seeding Default Roles and Assigning to Users

  • تست نقاط انتهایی محافظت شده با نقش Testing Role-Protected Endpoints

  • پشتیبانی از چندین طرح احراز هویت Supporting Multiple Authentication Schemes

  • مرور بخش Section Review

رزرو هتل‌ها Hotel Bookings

  • مرور کلی بخش Section Overview

  • نیازمندی‌های قابلیت‌ها Feature Requirements

  • ایجاد مدل‌های داده جدید Creating New Data Models

  • افزودن تنظیمات و Migrationها Adding Configurations and Migrations

  • درک طراحی RESTful: سلسله‌مراتب منابع و متن (Context) Understanding RESTful Design: Resource Hierarchy & Context

  • پیاده‌سازی نقاط انتهایی ایجاد رزرو Implementing Create Booking Endpoints

  • پیاده‌سازی منطق تجاری مدیریت رزرو - بخش اول Implementing Booking Management Business Logic – Part 1

  • پیاده‌سازی منطق تجاری مدیریت رزرو - بخش دوم Implementing Booking Management Business Logic – Part 2

  • پیاده‌سازی نقاط انتهایی و منطق تجاری مدیریت رزرو کاربر Implementing User Booking Management Endpoints and Business Logic

  • پیاده‌سازی نقاط انتهایی و منطق تجاری مدیریت رزرو ادمین هتل Implementing Hotel Admin Booking Management Endpoints and Business Logic

  • پیاده‌سازی پالیسی‌های تعیین سطح دسترسی (Authorization Policies) Implementing Authorization Policies

  • فیلترهای پیشرفته احراز هویت Advanced Authentication Filters

  • اعتبارسنجی پیشرفته Advanced Validation

  • بازنویسی و پاکسازی کد Refactoring and Code Cleanup

  • تست و تایید دقیق Thorough Testing and Validation

  • مرور بخش Section Review

مفاهیم پیشرفته معماری Advanced Architecture Concepts

  • مرور کلی بخش Section Overview

  • درک الگوهای چیدمان پروژه (Layout Patterns) Understanding Project Layout Patterns

  • جداسازی لایه Core یا Common Separate Core or Common Layer

  • افزودن الگوی Options Adding the Options Pattern

  • جداسازی لایه داده (Data Layer) Separate Data Layer

  • جداسازی لایه اپلیکیشن (Application Layer) Separate Application Layer

  • تست و تایید عملکرد Test and Validate Functionality

  • مرور بخش Section Review

جستجو، فیلتر کردن و صفحه‌بندی Searching, Filtering, and Paging

  • مرور کلی بخش Section Overview

  • درک صفحه‌بندی (Paging) Understanding Paging

  • راه‌اندازی مدل‌های صفحه‌بندی Setup Paging Models

  • افزودن Extension نتایج صفحه‌بندی شده Add Paged Results Extension

  • به‌روزرسانی سرویس رزرو برای پشتیبانی از صفحه‌بندی Update Booking Service to Support Paging

  • به‌روزرسانی کنترلر رزرو برای پشتیبانی از صفحه‌بندی Update Booking Controller to Support Paging

  • چالش: به‌روزرسانی سرویس‌ها و کنترلرهای هتل Challenge: Update Hotels Services and Controllers

  • تست پیاده‌سازی صفحه‌بندی Test Paging Implementation

  • درک فیلتر کردن (Filtering) Understanding Filtering

  • راه‌اندازی مدل‌های فیلتر Setup Filtering Models

  • پیاده‌سازی فیلتر کردن - بخش اول Implement Filtering – Part 1

  • پیاده‌سازی فیلتر کردن - بخش دوم Implement Filtering – Part 2

  • تست فیلتر کردن Testing Filtering

  • برخی از بهترین روش‌ها Some Best Practices

  • مرور بخش Section Review

پیاده‌سازی متد HTTP PATCH Implementing the PATCH HTTP Verb

  • مرور کلی بخش Section Overview

  • درک متد HTTP PATCH Understanding the PATCH HTTP Verb

  • پیاده‌سازی نقاط انتهایی PATCH Implementing PATCH Endpoints

  • بهترین روش‌های استفاده از PATCH PATCH Best Practices

  • مرور بخش Section Review

بهینه‌سازی‌های عملکرد EF Core EF Core Performance Tweaks

  • مرور کلی بخش Section Overview

  • مرور کلی عملکرد Entity Framework Core Entity Framework Core Performance Overview

  • بهینه‌سازی‌های عملکرد EF Core EF Core Performance Tweaks

  • ملاحظات تکمیلی Additional Considerations

  • مرور بخش Section Review

کشینگ برای افزایش عملکرد Caching for Performance

  • مرور کلی بخش Section Overview

  • درک کشینگ (Caching) Understanding Caching

  • گزینه‌های مختلف کشینگ Different Caching Options

  • افزودن In-Memory Cache برای متد GET Add In-Memory Cache – GET

  • باطل کردن کش حافظه برای متدهای POST, PUT, DELETE Invalidating Memory Cache – POST, PUT, DELETE

  • تست کش حافظه Testing Memory Cache

  • پیاده‌سازی Output Caching Implement Output Caching

  • ملاحظات تکمیلی Additional Considerations

  • مرور بخش Section Review

محدود کردن نرخ درخواست‌ها برای عملکرد و امنیت Rate Limiting for Performance and Security

  • مرور کلی بخش Section Overview

  • درک محدود کردن نرخ درخواست (Rate Limiting) Understanding Rate Limiting

  • پیاده‌سازی Rate Limiting Implementing Rate Limiting

  • بهترین روش‌ها Best Practices

  • مرور کلی بخش Section Overview

لاگ‌گذاری ساختاریافته و مدیریت جهانی استثناها Structured Logging and Global Exception Handling

  • مرور کلی بخش Section Overview

  • درک لاگ‌گذاری (Logging) Understanding Logging

  • نصب Serilog و راه‌اندازی Bootstrapper Install Serilog and Setup Bootstrapper

  • لاگ‌گذاری ساختاریافته و کارآمد با Serilog Efficient Structured Logging with Serilog

  • نصب Seq Install Seq

  • راه‌اندازی لاگ‌گذاری درخواست‌ها، فرمت‌بندی و غنی‌سازی Setup Request Logging, Formatting, and Enrichment

  • انتخاب سطح لاگ (Log Level) مناسب Choosing the Correct Log Level

  • مدیریت جهانی استثناها (Global Exception Handling) Global Exception Handling

  • پیاده‌سازی Problem Details در تمامی پاسخ‌های خطا Implement Problem Details in All Error Responses

  • مرور بخش Section Review

بررسی سلامت سیستم (Health Checks) Health Checks

  • مرور کلی بخش Section Overview

  • درک بررسی‌های سلامت (Health Checks) Understanding Health Checks

  • افزودن Health Check برای سرویس‌های API Add API Service Health Checks

  • افزودن Health Check برای وابستگی‌های API Add Health Checks for API Dependencies

  • افزودن داشبورد UI برای Health Check Add Health Check UI Dashboard

  • مرور بخش Section Review

نسخه‌بندی و مستندسازی API Versioning and Documenting the API

  • مرور کلی بخش Section Overview

  • چرا نسخه‌بندی API اهمیت دارد؟ Why API Versioning Matters

  • پیاده‌سازی نسخه‌بندی API Implement API Versioning

  • منسوخ کردن نقاط انتهایی (Deprecating Endpoints) Deprecating Endpoints

  • چرا مستندسازی اهمیت دارد؟ Why Documentation Matters

  • پیاده‌سازی Swagger Implementing Swagger

  • اطلاع‌رسانی مستندات Swagger با استفاده از کد Informing the Swagger Doc Using Code

  • تست API با Swagger Testing the API with Swagger

  • مرور بخش Section Review

انتشار در Microsoft Azure Publish to Microsoft Azure

  • مرور کلی بخش Section Overview

  • Microsoft Azure چیست؟ What Is Microsoft Azure?

  • شروع کار با Microsoft Azure Get Started with Microsoft Azure

  • بررسی سهمیه‌های سرویس (Service Quotas) Checking Service Quotas

  • ایجاد منابع Azure SQL Database Create Azure SQL Database Resources

  • اسکریپت کلی استقرار SQL General SQL Deployment Script

  • به‌روزرسانی شمای پایگاه داده Update Database Schema

  • انتشار با استفاده از Visual Studio Publishing Using Visual Studio

  • تست API مستقر شده Testing the Deployed API

  • مرور بخش Section Review

جمع‌بندی Conclusion

  • مرور کلی دوره Course Review

  • گام‌های بعدی و پیشنهادات Next Steps and Suggestions

نمایش نظرات

آموزش راهنمای جامع و قطعی ASP.NET Core Web API [ویدئویی]
جزییات دوره
18h 54m
211
Packtpub Packtpub
(آخرین آپدیت)
از 5
ندارد
دارد
دارد
جهت دریافت آخرین اخبار و آپدیت ها در کانال تلگرام عضو شوید.

Google Chrome Browser

Internet Download Manager

Pot Player

Winrar