تبلیغات

آموزش ایجاد و ایمن سازی RESTful APIs در ASP.NET Core

دسته بندی ها: دات نت ، آموزش های لیندا (Lynda) ، آموزش طراحی وب ، آموزش REST API ، آموزش ASP.NET Core ، آموزش ASP.NET
آیا این نوشته را دوست داشتید؟
Building and Securing RESTful APIs in ASP.NET Core Publisher:Lynda Author:Nate Barbettini Duration:3h 53m Level:Intermediate

Learn how to build RESTful APIs to serve modern web and mobile clients. Learn the basics of REST architecture and how to build fast, secure APIs with ASP.NET Core.
Released: 6/28/2017

Most people have heard of RESTful APIs, but the underlying concept'REST or representational state transfer'still causes confusion. REST is all about modeling resources and how those resources can change. RESTful APIs use this architecture along with HTTP requests to transfer data and changes in application state between clients and servers. This course will break down the principles of RESTful design and show how to build secure RESTful APIs on top of ASP.NET Core. Nate Barbettini answers questions such as: What is RESTful design? How do you perform RESTful routing? How can you build reusable classes to represent resources? What role does caching play? And how do you secure RESTful APIs? He also covers topics such as data modeling, hypermedia relationships, and authentication and authorization. By the end of the course, you should know not only the basics'how to properly use HTTP verbs and return JSON data from ASP.NET Core'but also the best practices for building secure and scalable APIs to serve web clients, mobile clients, and beyond.

Topics include:
REST vs. RPC
Using HTTP methods (aka verbs)
Returning JSON
Creating a new API project
Building a root controller
Routing to controllers with templates
Requiring HTTPS for security
Creating resources and data models
Returning data and resources from a controller
Representing links (HREFs)
Representing collections
Sorting and searching collections
Creating forms
Caching and compression
Authentication and authorization for RESTful APIs

Introduction
Welcome
53s
What you should know
58s
Example API introduction
26s
How to use the exercise files
34s
1. REST API Concepts
What is REST?
2m 37s
REST vs. RPC
3m 24s
Self-documentation and HATEOAS
3m 25s
HTTP methods
5m 4s
Full and partial updates
1m 47s
Returning JSON
2m 4s
The ION specification
1m 25s
2. Building a Basic API
Create a new project
1m 6s
Configure MVC
1m 57s
Create a root controller
2m 22s
Test with Postman
49s
Update the media type
2m 38s
Versioning the API
2m 48s
Add versioning support
3m 27s
Routing to controllers with templates
2m 31s
Serialize exceptions as JSON
5m 29s
3. Securing the API
Transport security in ASP.NET Core
1m 52s
Require HTTPS
4m 19s
Test HTTPS locally
1m 23s
Add the HSTS header
2m 12s
4. Representing Resources
Create a resource class
2m 19s
Load data from configuration
1m 37s
Return data from a controller
2m 36s
Set up an in-memory database
2m 24s
Create data model classes
1m 42s
Seed the database with test data
2m 6s
Return a resource from a controller
5m 11s
Move data access to a service
4m 16s
Map models automatically
3m 6s
5. Representing Links
Create a Link class
4m 42s
Rewrite Links with a filter
8m 37s
Rewrite resource HREFs
3m 19s
6. Representing Collections
Create a Collection class
42s
Return all resources in a collection
3m 39s
Add pagination
7m
Paging defaults and validation
4m 6s
Add navigation to paged collections
4m 41s
7. Sorting Collections
Design collection sort
44s
Add sort attributes
3m 12s
Validate sort parameters
6m 58s
Build sort expressions dynamically
4m 52s
Add a default sort term
2m 44s
8. Searching Collections
Design collection search
41s
Add search attributes
2m 58s
Validate search parameters
7m 42s
Build search expressions dynamically
4m 37s
Extend search to other types
5m 21s
Add comparison operators
3m 30s
9. Forms and Modifying Data
Forms in ION
1m 34s
Create a POST action
10m 22s
Delete a resource
2m 46s
Serialize the form metadata
3m 54s
Discoverable queries using forms
3m 18s
10. Caching and Compression
Compress responses
1m 32s
How HTTP caching works
4m 20s
Add the Cache-Control header
1m 52s
Support the ETag header
5m 1s
Add server-side caching
3m 17s
11. Authentication and Authorization
How HTTP authentication works
3m 46s
Authentication for REST APIs
3m 21s
Add identity
3m 30s
Add a test user
2m 48s
Create a users collection
3m 38s
Create a registration route
4m 35s
Add OpenIddict
2m 49s
Add a token endpoint
1m 54s
Create a me route
3m 35s
Authorization using policies
4m 11s
Conclusion
Summary
59s

پیشنهاد فرادرس

لینک های دانلود حجم فایل: 679.0MB همراه با زیرنویس انگلیسی Lynda Building and Securing RESTful APIs in ASP.NET Core_git.ir.rar
بنیامین در 1397/03/21 ساعت 13:28

سلام.
بسیار ممنون از زحماتی که میکشید.
اگه میشه فایل‌های تمرین این آموزش رو اضافه کنید.
فایل تمرین همراهش نیست.
تشکر.