Web API in ASP.NET Core 5 with a real project

th_KY5oKm5oXHDgyTcWlx4xdNoltOHUecR3

在本教程中,我们将在.NET Core 5中实现与API相关的主题。我们从一个具有服务器端和客户端的真实项目开始培训。这两个部分通过API进行通信。在本教程中,我们将介绍重要的问题,并避免您所知道的问题。

在服务器端,我们实现ApiConntrollers,如Post,PUT,Get和Delete之类的方法。我们还可以使用JWT(JSON WEB令牌)对用户进行身份验证。我们还实现了如何通过API保存照片或文件。我们还将实现分页,响应和内存缓存,验证,存储库登录和注册API之类的功能。另外,我们可以更改HTTP的标头,并将我们使用的信息放入客户端部分。

相比之下,在客户端,我们创建一个带有新闻模板的项目。我们将通过API从服务器接收和发送信息。为此,我们在登录时从服务器接收令牌,然后将其存储在客户端中,并将其与请求一起发送到API。另外,在客户端,我们有一个用于管理信息的部分,该部分经过授权,以便未授权用户无法操纵信息。最后,对于所有API,我们使用Swagger创建对开发人员很重要的文档。

MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English + srt | Duration: 32 lectures (6h 53m) | Size: 3.42 GB

In a real project (Server & Client side) you will be familiar the concepts of API’s


What you’ll learn:
Login and Register API
Delete, Select, Insert, Update (CURD)
Submit a form with images of files
Repository Pattern
Memory and Response Caching
Authentication with JWT (JSON Web Token)
Validation
Client and Server Side
Authentication
Swagger (Documentation)
Paging
Manage HTTP Headers
Seed Data

Requirements
ASP NET
C#
Entity Framework

Description
In this tutorial, we will implement API related topics in .NET Core 5. We start the training with a real project that has a server and client-side. The two sections communicate via the API. In this tutorial, we will cover important issues and avoid issues that you know about.

On the Server-side, we implement the ApiConntrollers, methods such as Post, PUT, Get and Delete. We can also authenticate users using JWT (JSON WEB Token). We also implement how to save photos or files via the API. We will also implement things like Paging, Response, and Memory Caching, Validation, Repositories Login, and Register API. In addition, we can change the header for HTTP and put information that we use in the client section.

In contrast on the Client-side, we create a project with a news template. And we will receive and send information from the server through the API. To do this, we receive the token from the server at login time, then store it in the client and send it to the APIs along with the requests. Also, on the Client-side, we have a section for managing information, which is Authorized so that unauthorized users cannot manipulate the information. Finally, for all APIs, we use Swagger to create documentation that is important to developers.

Who this course is for
Middle-level developers

Pq1RKCJnVIoMNUeqPJlDQEOf7b8hatzf

资源下载此资源仅限VIP下载,请先
本站资源仅限VIP会员下载点击购买VIP会员

原创文章,作者:steven,如若转载,请注明出处:https://rr3d.cn/10985.html

赞 (0)
steven的头像steven
上一篇 2021年5月26日
下一篇 2021年5月26日

相关推荐

发表回复

登录后才能评论
分享本页
返回顶部