简体   繁体   English

从外部数据库登录 ASP.NET Core 2.2

[英]Login from external database ASP.NET Core 2.2

I'm a rookie with just a few months of training in programming, so please don't be harsh on me.我是一个新手,只有几个月的编程培训,所以请不要对我苛刻。

Right now I'm working on a simple MVC web app using ASP.NET Core 2.2.现在我正在使用 ASP.NET Core 2.2 开发一个简单的 MVC web 应用程序。 My problem is that I have to implement login, with users, that are already provided in a external database.我的问题是我必须使用已经在外部数据库中提供的用户来实现登录。

I have read a number of articles and forums and I can't quite find what I'm looking for.我已经阅读了许多文章和论坛,但我找不到我想要的东西。 Most of the articles are about extending the built-in authentication of ASP.NET Core which I can't use.大多数文章都是关于扩展我无法使用的 ASP.NET Core 的内置身份验证。 The ones that implement fully custom login from external database are written based on older versions of ASP.NET Framework - so I have troubles understanding it, being a newbie at this.从外部数据库实现完全自定义登录的那些是基于旧版本的 ASP.NET 框架编写的 - 所以我很难理解它,作为一个新手。

I will be grateful for any kind of directions, suggestions, step by step tutorials etc.我将不胜感激任何类型的指示、建议、分步教程等。

Thank you in advance!先感谢您!

You must need you googled but first i found some post for this problem like this,你一定需要你用谷歌搜索,但首先我找到了一些类似这样的问题的帖子,

this post about CRUD operations with sql server 2017 -Basic CRUD这篇关于 sql 服务器 2017 的 CRUD 操作的帖子 -基本 CRUD

possible you know this web site here for understand .net core or folder structure .net Core Tutorial可能你知道这个 web 站点在这里了解 .net 核心或文件夹结构.net 核心教程

I absolutely recommend this man for every topic about .net core/ .net this post basic Simple API for Authentication对于有关 .net 核心/ Z2D50972FECD376129545507F1062089Z 的每个主题,我绝对推荐这个人,这篇文章基本简单 API 用于身份验证

Authentication and Authorization last 2 post for basic login基本登录的身份验证和授权最后 2 个帖子

https://www.c-sharpcorner.com/article/asp-net-core-razor-pages-simple-login-using-entity-framework-database-first-app/ https://www.c-sharpcorner.com/article/asp-net-core-razor-pages-simple-login-using-entity-framework-database-first-app/

http://future-shock.net/blog/post/creating-a-simple-login-in-asp.net-core-2-using-authentication-and-authorization-not-identity http://future-shock.net/blog/post/creating-a-simple-login-in-asp.net-core-2-using-authentication-and-authorization-not-identity

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 没有外部登录提供程序的 ASP.NET Core MVC 2.2 登录 - ASP.NET Core MVC 2.2 login without external login providers ASP.NET Core 2.2 是否支持使用微软账号进行外部登录? - Does ASP.NET Core 2.2 support external login with a Microsoft account? Asp.Net Core 2.2 - 了解身份验证中间件和外部登录 - Asp.Net Core 2.2 - Understanding Authentication Middleware and External Logins 成功登录后,asp.net core 2.2重定向到登录 - asp.net core 2.2 redirects to login after successful sign in 如何按角色进行不同的登录ASP.NET Core 2.2 - How to do different login by roles ASP.NET Core 2.2 无法将文件从Angular 8上传到Asp.net Core 2.2 - Unable to File Upload From Angular 8 to Asp.net Core 2.2 Serilog无法使用asp.net core 2.2 API中的配置 - Serilog not working from configuration in asp.net core 2.2 API 外部登录不工作身份服务器 4 asp.net 核心 - External login not working Identity server 4 asp.net core asp.net core 2.2 razor 页面登录不持久。 很快用户必须重新登录 - asp.net core 2.2 razor page login not persistent. very soon user must re login Asp.Net Core 1.0授权:无法从外部登录提供程序获取用户数据 - Asp.Net Core 1.0 Authorization: Cannot get Userdata from external Login Provider
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM