'Adding asp.net membership provider to a razor project ( vs 2022 asp.net 6)
I apologize if this is a question that has been asked before or if this is not an appropriate question but i am struggling to find documentation that explains how to add it to a razor project clearly.
I am creating a project in asp.net razor and I would like to add the asp.net membership provider to my project for login purposes.
all of the documentation refers to projects with a web.config file but im unsure which file that would be in my razor project or any example on how it needs to be implemented. I use my program.cs to add services ( decency injection) so i was assuming it would be added there but have not found any reference to refer to.
if any one would be kind enough to explain how i would apply this in my razor project or any guidance on where i should look to implement it in a razor project id be very grateful.
I have created my db for the membership provider but am now unsure on how to connect it to my login without a web.config file.
or does it needed to be added to my appsettings.json file?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
