|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/asp-net-core-developing-web-api-functionalities/
课程评论:没有评论
课程名称:ASP.NET Core. API 用户身份与更多 + Azure 云部署 课程概述: .NET Core平台是微软最新推出的一款工具,能够创建跨平台应用程序,包括Web和Web API。由于其高性能、开源代码以及对多种系统的支持,它正变得越来越受欢迎。本课程介绍如何使用ASP.NET Core创建一个Web API应用程序,该应用程序能够被单页面应用(SPA)、移动应用、IoT应用或任何通过HTTP协议进行通信的应用程序所消费。课程首先将展示如何按照REST架构构建应用程序,并讨论良好的实践,例如依赖注入、自动映射、错误日志记录、模型验证以及对象关系映射的使用。 在课程中,您将学习: - 通过JWT令牌进行用户身份验证 - 创建您自己的授权策略 - 授权用户 - 创建用户和角色实体表 - 哈希用户密码 - 根据用户声明及其值进行授权 - 配置Entity Framework关系 - 验证传入模型,并在出现错误时返回适当信息 - 使用内置容器注入依赖项 - 将错误或特定信息记录到文本文件中 - 基于用户角色进行授权 - 限制资源访问 - 根据自定义需求进行授权 - 使用Postman消费Web API 该课程将帮助学员掌握ASP.NET Core以及云部署的相关技能,适合希望在Web开发领域提升能力的学员。
The.NET Core platform is the latest tool from Microsoft enabling the creation of cross-platform applications, including web and web APIs. Due to its high performance, open-source code, and the possibility of implementation on various systems, it is becoming more and more popular.The course presents how using ASP.NET Core a web API application is created, which ultimately can be consumed by SPA (single page application), mobile applications, IoT applications, or any application where communication takes place via the HTTP protocol. First of all, the course will show you how to build applications in accordance with the REST architecture. Good practices will be discussed, such as dependency injection, auto-mapping, error logging, model validation, use of object-relational mapping.During the course you will:- authenticate users via JWT tokens- create your own authorization policies- authorize users- create a user and role entities tables- hash users passwords- authorize based on users claim and their value- configure entity framework relationships- validate incoming models and return appropriate messages in case of incorrectness- use the built-in container to inject dependencies- log errors or specific information to a text file- authorize based on user role- restrict resource access- authorize based on custom requirement- use the built-in container to inject dependencies- log errors or specific information to a text file- use the Postman to consume the web API