F
F
forven2014-11-02 17:18:18
ASP.NET
forven, 2014-11-02 17:18:18

How to create roles in ASP.NET MVC?

Complete newbie to asp.net
Can't find anywhere how to create roles. How?
I want to make it so that when entering a page with one address, depending on the role, different functionality appears, for example, deleting, adding messages. This can only be done by putting views with the same names in different folders and setting up roles for them?
This is the first thing I decided to start with and I see a bunch of all sorts of settings, classes, and there is no end to them. Maybe you should start by trying to write a normal authorization without roles?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
wkololo_4ever, 2014-11-02
@forven

I advise you to read metanit.com/sharp/mvc5/12.1.php
In particular metanit.com/sharp/mvc5/12.4.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question