I am struggling to find any manual to make minimal asp-net application, based on .aspx WebForms template with ms-sql used for ROLES.
When I create new asp-net site (.aspx pages with register, login etc), I don't see any "roles" pages there.
Also it seems that by default feature of having different roles in such template is turned off.
then when I try to add roles, I've got errors that I need some "roles provider".
But I'ld like to use built-in default roles provider. I don't need custom tables for users, and their roles, and table non need of non-standard ms-sql-table which matches users and roles tables.
then why I need custom role provider?
I can't find any good manual on this. Either roles manager examples are too big (and thus not running, especially MVC), or they seem to be old (use .aspx). Thus I cannot even make simple app with roles management.
Worst thing is that when I add in web.config allow only admin user, and deny other users, this works only for .aspx pages, but files of any other kind are available to any non-admin user... is this because I use so-called "old" .aspx/WebForms technology? Should I use Non-visual technology (cshtml)? I thus don't see any reason for Visual Studio to be called "Visual", if there are no .aspx visual designer of .cs pages ("back-code", code on back-end on server - "runat=server").
I cannot find hello-world app on Microsoft MSDN site for making roles project for aspx pages (using mssql).
please if you have any good hello-world manual for aspx user-roles, post it here (hope with source code, I need just very basic mssql db with default roles, user roles, and simply use c# functions to access roles, to add new roles, remove roles, show them, check who is in which role, I mean CRUD operatins on MSSQL user/roles tables)
if there is possible to get any simplest "hello-world" MVC template to for roles-editing (CRUD operations for asp-net user roles tables) - it is even better. If this MVC crud editor for roles can work with .aspx webForms - it is still even more wanted and welcome.
Thank you in advance