Base solution for your next web application

Activities of "ismcagdas"

Hi,

1 ) Why don't you create another Entity for public users, for example PublicUser ? Do you need to check some permissions for public users ?

2 ) You can create an angular app similar to one defined in app.js. Just copy it, change name from "app" to something else. Remove unnecessary lines. Use it in the html file of public page like

<html lang="en" data-ng-app="publicApp"

of course you need to include angular.js and other angular javascript files you will be using in your new public angular app into public html page.

Can you share the stacktrace of this exception ?

Can you share user update method of UserAppService including method name and method input ?

Hi,

You can inject IUnitOfWorkManager in UserStore, then use UnitOfWorkManager.Begin method: <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Unit-Of-Work#iunitofworkmanager">http://www.aspnetboilerplate.com/Pages/ ... orkmanager</a> _unitOfWorkManager.Begin() accepts TransactionScope and you can set it to Suppress.

So, inside the using statement, you will use a new non-transactional uow.

Hi,

AspNetZero solution contains two version of same application. One is single page, other is multi page. Multi page application is under Mpa area.

By default Account controller redirects you to single page application.

If you want to redirect users to multi page version by default, you need to change some part of account controller.

For example change this

return Redirect(Url.Action("Index", "Application"));

to

return Redirect(Url.Action("Index", "Home", new {area="Mpa"}));

or change this

returnUrl = Url.Action("Index", "Application");

to

returnUrl = Url.Action("Index", "Home", new {area="Mpa"})

I hope this helps.

Hi,

Where do you use IncrementAccessFailedCountAsync method of your UserStore ?

Hi,

You can create a complex type to keep same data as DbGeography, but in that case you need to replace the functionality as well, like Distance method in your example. I think that will be much harder.

I think the problem is, Roles collection of user is null. Can you share your dto you used when updating user ?

We will consider your thoughts and I will let you know if we can find a good way to do it. Thank you for sharing your idea :)

Hi,

TenantRoleAndUserBuilder class gives all permisisons to admin user. Can you debug and see if PermissionFinder finds any permission in CreateRolesAndUsers method of TenantRoleAndUserBuilder class.

Showing 12601 to 12610 of 12775 entries