Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "aaron"

Show code.

Answer

https://gist.github.com/hikalkan/67469e05475c2d18cb88

Answer

Do you mean MVC 5?

Yes, if you want to use the code from the documentation. Otherwise, you can write your own join query.

You can set SendAllExceptionsToClients = true.

https://aspnetboilerplate.com/Pages/Documents/Startup-Configuration#configuring-modules

var organizationUnits = await _organizationUnitRepository
    .GetAllIncluding(ou => ou.Children)
    .Where(ou => organizationUnitIds.Contains(ou.Id))
    .ToListAsync();

Throw UserFriendlyException.

https://aspnetboilerplate.com/Pages/Documents/Handling-Exceptions#showing-exceptions

Answer

You can set Name when creating Role.

You should get users in Role by Name, not DisplayName.

Answer

You should not change claims dynamically. Do it when ClaimsPrincipal is created:

https://gist.github.com/ismcagdas/6f2a9a3b5d7b907cb8d94a72124d59a1

Showing 361 to 370 of 1543 entries