وب سایت تخصصی شرکت فرین
دسته بندی دوره ها

Minimal Web API Fundamentals in .NET 6/7

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

Learn Minimal Web API, Security, CRUD, CORS, Swagger and Reusability.


1. Introduction
  • 1. Introduction

  • 2. Web API Fundamentals
  • 1. What is a Web API
  • 2. HTTP Status Codes and Verbs
  • 3. ASP.NET and Its Components
  • 4. Routes, Endpoints and Dependency Injection
  • 5. Middleware Fundamentals
  • 6. Minimal Web API Overview
  • 7. MVC Web API Overview
  • 8. Test your knowledge of Web APIs.html

  • 3. Create a Web API Project and Test using SwaggerPostman
  • 1. Create a Minimal API Project Using VS Code
  • 2. Create a Minimal API Project Using Visual Studio 2022
  • 3. Using Postman to Test APIs
  • 4. Add SwaggerOpen API Support to VS Code
  • 5. Add SwaggerOpen API Support to Visual Studio 2022
  • 6. Comment the Program.cs File for Better Readability
  • 7. Test your knowledge of creating and testing a Web API project..html
  • 8. Lab Create a Minimal Web API Project.html
  • 9.1 CreateWebAP-Labs-Finished.zip
  • 9. Finished Lab Samples.html
  • 10.1 CreateWebAPI-Samples.zip
  • 10. Sample Code Demonstrated in this Section.html

  • 4. Routes and Return Types
  • 1. Creating Your First Minimal APIs
  • 2. Specifying Return Types
  • 3. Return an Object
  • 4. Return a List of Product Objects
  • 5. Return a Single Product from Repository
  • 6. Return a 404 Not Found for a Single Product
  • 7. Return a 404 Not Found for List of Products
  • 8. Grouping APIs
  • 9. Documenting Return Values
  • 10. Test your knowledge of Routes and Return Types.html
  • 11. Lab Create Routes and Return Types.html
  • 12.1 Routing-Labs-StartingCode.zip
  • 12. Lab Starting Code.html
  • 13.1 Routing-Labs-Finished.zip
  • 13. Finished Lab Samples.html
  • 14.1 Routing-Samples.zip
  • 14. Sample Code Demonstrated in this Section.html

  • 5. Using Dependency Injection
  • 1. Dependency Injection Overview
  • 2. Service Lifetimes
  • 3. Create a Settings Class and Use as a Scoped Lifetime
  • 4. Differences Between Scoped and Singleton Settings
  • 5. Using an Interface in Dependency Injection
  • 6. Test your knowledge of Dependency Injection.html
  • 7. Lab Using Dependency Injection.html
  • 8.1 DependencyInjection-Labs-Finished.zip
  • 8. Finished Lab Samples.html
  • 9.1 DependencyInjection-Samples.zip
  • 9. Sample Code Demonstrated in this Section.html

  • 6. Organize your APIs Using Router Classes
  • 1. Using a Router Class
  • 2. Create Router Base Class and Product API Router Class
  • 3. Get Single Product in Router Class
  • 4. Injecting Into Router Classes
  • 5. Create the Simple API Router Class
  • 6. Create the Settings API Router Class
  • 7. Test your knowledge of using Router classes..html
  • 8. Lab Organize your APIs Using Router Classes.html
  • 9.1 RouterClasses-Labs-Finished.zip
  • 9. Finished Lab Samples.html
  • 10.1 RouterClasses-Samples.zip
  • 10. Sample Code Demonstrated in this Section.html

  • 7. Add Logging to Web API Calls
  • 1. How Logging Works in Web API Projects
  • 2. Logging Messages to the Console Window
  • 3. Setting the Log Level Through the Configuration File
  • 4. Logging an Object Using the JSON Serializer
  • 5. Logging to a Text File Using Serilog
  • 6. Test your knowledge of Logging..html
  • 7. Lab Logging.html
  • 8.1 Logging-Labs-Finished.zip
  • 8. Finished Lab Samples.html
  • 9.1 Logging-Samples.zip
  • 9. Sample Code Demonstrated in this Section.html

  • 8. Add Exception Handling to Web API Calls
  • 1. Built-In Exception Handling
  • 2. Exception Router Class
  • 3. Development and Production Exception Handling
  • 4. Different Profiles for Development and Production
  • 5. Handling 404 Status Codes
  • 6. Log Exceptions Into a Different File
  • 7. Log Exceptions in a Catch Block
  • 8. Test your knowledge of Exception Handling.html
  • 9. Lab Exception Handling.html
  • 10.1 ExceptionHandling-Labs-Finished.zip
  • 10. Finished Lab Samples.html
  • 11.1 ExceptionHandling-Samples.zip
  • 11. Sample Code Demonstrated in this Section.html

  • 9. Modify RouterBase Class to Reduce Duplicate Code
  • 1. Add Properties to Router Base Class
  • 2. Add Exception Handling to RouterBase
  • 3. Add a Serialize Entity Method
  • 4. Test your knowledge of the RouterBase class.html
  • 5. Lab Modify RouterBase Class.html
  • 6.1 BaseRouter-Labs-Finished.zip
  • 6. Finished Lab Samples.html
  • 7.1 BaseRouter-Samples.zip
  • 7. Sample Code Demonstrated in this Section.html

  • 10. Reading Configuration Settings Efficiently
  • 1. Configuration Providers and JSON Files
  • 2. Reading Settings Individually
  • 3. Read Settings into a Class
  • 4. Assign Config Settings Directly to Object
  • 5. Read Settings in Program.cs
  • 6. Test your knowledge of Configuration Settings.html
  • 7. Lab Read Configuration Settings.html
  • 8.1 Configuration-Labs-Finished.zip
  • 8. Finished Lab Samples.html
  • 9.1 Configuration-Samples.zip
  • 9. Sample Code Demonstrated in this Section.html

  • 11. Configure and Format JSON Data
  • 1. Formatting JSON Using Attributes
  • 2. Format JSON Using Configuration Options
  • 3. Ignore Read-Only Properties & Customer Formatters
  • 4. Test your knowledge of Formatting JSON data..html
  • 5. Lab Formatting JSON.html
  • 6.1 Formatters-Labs-Finished.zip
  • 6. Finished Lab Samples.html
  • 7.1 Formatters-Samples.zip
  • 7. Sample Code Demonstrated in this Section.html

  • 12. Call Mimimal Web APIs From Client-Side and Setup CORS
  • 1. Create an MVC Website
  • 2. Call a Web API from JavaScriptjQuery
  • 3. Add CORS to Enable Cross Domain Calls
  • 4. Test your knowledge of CORS.html
  • 5. Lab CORS.html
  • 6.1 CORS-Labs-Finished.zip
  • 6. Finished Lab Samples.html
  • 7.1 CORS-Samples.zip
  • 7. Sample Code Demonstrated in this Section.html

  • 13. Organizing the Program.cs File for Readability
  • 1. Create a Constants Class
  • 2. Create Extension Methods
  • 3. Extension Methods for JSON and Serilog Configuration
  • 4. Extensions for Settings, Repository, and Router Classes
  • 5. Lab Organizing Program.cs.html
  • 6.1 Organization-Labs-Finished.zip
  • 6. Finished Lab Samples.html
  • 7.1 Organization-Samples.zip
  • 7. Sample Code Demonstrated in this Section.html

  • 14. Securing Web APIs with JSON Web Tokens
  • 1. Security in ASP.NET
  • 2. Add and Configure Authentication and Authorization
  • 3. An Explanation of JSON Web Tokens
  • 4. Add JWT to your Web API Project
  • 5. Register JWT Authentication with ASP.NET
  • 6. Create Security Classes
  • 7. Create Security Manager Class for Authentication
  • 8. Generate JWT and Authenticate User
  • 9. Display Contents of JWT at jwt.io
  • 10. Add JWT Support in Swagger
  • 11. Secure an Endpoint Using Claims
  • 12. Handling 401 and 403 Status Codes
  • 13. Test your knowledge of ASP.NET security.html
  • 14. Lab Security in ASP.NET.html
  • 15.1 Security-Labs-Finished.zip
  • 15. Finished Lab Samples.html
  • 16.1 Security-Samples.zip
  • 16. Sample Code Demonstrated in this Section.html

  • 15. Get Data From a Database Using the Entity Framework
  • 1. Install the Entity Framework into your Project
  • 2. Add Data Annotations to Product Class
  • 3. Create DbContext Class and Add Connection String
  • 4. Add DbContext Class to Services Container
  • 5. Get Products from the SQL Server Table
  • 6. Get a Product from the SQL Server Table
  • 7. Test your knowledge of the Entity Framework.html
  • 8. Lab Entity Framework.html
  • 9.1 EntityFramework-Labs-Finished.zip
  • 9. Finished Lab Samples.html
  • 10.1 EntityFramework-Samples.zip
  • 10. Sample Code Demonstrated in this Section.html

  • 16. Adding, Editing, Deleting, and Validating Data
  • 1. Add Modification Methods to Repository Class
  • 2. Add Insert Method to Product Classes
  • 3. Add Update Method to Product Classes
  • 4. Add Delete Method to Product Classes
  • 5. Add Validation Data Annotations to Product Class
  • 6. Add a Validation Helper Class
  • 7. Modify the Insert() Method to Check Validation
  • 8. Modify the Update() Method to Check Validation
  • 9. Lab Modify and Validate.html
  • 10.1 Modify-Validate-Labs-Finished.zip
  • 10. Finished Lab Samples.html
  • 11.1 Modify-Validate-Samples.zip
  • 11. Sample Code Demonstrated in this Section.html

  • 17. Create Reusable Searching Methods
  • 1. Create a SearchBase and ProductSearch Class
  • 2. Add BindAsync() Method to Search Class
  • 3. Add Search Methods to Product Repository
  • 4. Add Search Methods to IRepository Interface
  • 5. Add Search Route and Test
  • 6. Lab Searching.html
  • 7.1 Searching-Labs-Finished.zip
  • 7. Finished Lab Samples.html
  • 8.1 Searching-Samples.zip
  • 8. Sample Code Demonstrated in this Section.html

  • 18. Making Asynchronous API Calls
  • 1. Introduction to Asynchronous
  • 2. How Asynchronous Web API Calls Work
  • 3. Introduction to async, await and TaskT
  • 4. A Simple SyncAsync Demonstration
  • 5. Getting All Products Asynchronously
  • 6. Get a Single Product Asynchronously
  • 7. Add all Other CRUD Asyncronous Calls
  • 8. Test your knowledge of Asynchronous programming.html
  • 9. Lab Asynchronous Programming.html
  • 10.1 Asynchronous-Labs-Finished.zip
  • 10. Finished Lab Samples.html
  • 11.1 Asynchronous-Samples.zip
  • 11. Sample Code Demonstrated in this Section.html
  • 139,000 تومان
    بیش از یک محصول به صورت دانلودی میخواهید؟ محصول را به سبد خرید اضافه کنید.
    افزودن به سبد خرید
    خرید دانلودی فوری

    در این روش نیاز به افزودن محصول به سبد خرید و تکمیل اطلاعات نیست و شما پس از وارد کردن ایمیل خود و طی کردن مراحل پرداخت لینک های دریافت محصولات را در ایمیل خود دریافت خواهید کرد.

    ایمیل شما:
    تولید کننده:
    مدرس:
    شناسه: 10607
    حجم: 2248 مگابایت
    مدت زمان: 265 دقیقه
    تاریخ انتشار: ۸ اردیبهشت ۱۴۰۲
    طراحی سایت و خدمات سئو

    139,000 تومان
    افزودن به سبد خرید