I'm building my site, and I want to restrict a part of my site (The admin parts) from normal public display.

  • I am using LINQ for database access.
  • I have a Service class to handle calls to the database through LINQ
  • I have the whole site running, except for the Login part.

So far I have only been able to find examples using MembershipProvider and/or RoleProviders etc. And to be honest, it does seem like too much work for what I want. All this has to do is to let you in if you type the correct password in the input fields.

Can i really not avoid the Providers?

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top