你的位置: 码友网首页 / 资讯源列表 / Simple Authentication In Razor Pages Without A Database

关于[Simple Authentication In Razor Pages Without A Database]的摘要:

Sometimes, using the full ASP.NET Core Identity framework is overkill for small, one-user applications that require some form of authentication. I'm thinking about blog applications, or web-based utilities that have admin areas that only you should be allowed to reach. All you really want to do is authenticate against a user name and password stored in a config file or similar. You really don't need the ceremony of a database, EF Core, ApplicationDbContexts, SignInManagers, UserManagers etc. This article provides a step-by-step guide to implementing simple authentication using just cookies, while storing credentials securely without a database.

原文地址: https://www.mikesdotnetting.com/article/335/simple-authentication-in-razor-pages-without-a-database

收录时间: 2019-05-09 浏览量: 1992 分类: ASP.NET Core

| 0 收藏 | 0