Base solution for your next web application

Activities of "ismcagdas"

Hi,

Yes, we are working on a aspnet core template <a class="postlink" href="https://github.com/aspnetboilerplate/aspnet-core-template">https://github.com/aspnetboilerplate/as ... e-template</a>

Thanks for the suggestion. There are really nice angular libraries.

Since it's easy to include such libraries we dont want to include a specific library.

Hi,

Instead of this line

await _organizationUnitManager.UnitOfWorkManager.Current.SaveChangesAsync();

just inject IUnitOfWorkManager in your domain service, start a new unitOfWork and use SaveChangesAsync method of it. <a class="postlink" href="http://aspnetboilerplate.com/Pages/Documents/Unit-Of-Work">http://aspnetboilerplate.com/Pages/Docu ... it-Of-Work</a>

Answer

Hi,

I agree that this feature will be very useful. But it's hard to calculate row count.

It is related to angular ui grid rather than aspnet zero, there is a similar issue for angular ui grid, they might develop this. <a class="postlink" href="https://github.com/angular-ui/ui-grid/issues/2746">https://github.com/angular-ui/ui-grid/issues/2746</a>

Answer

Hi,

I think it's better to get your data with an ajax request. That way, you can easily refresh only the select list.

Do you work on multiple AspNet Zero projects or just a single one ?

Please see this document <a class="postlink" href="https://aspnetzero.com/Documents/Extending-Existing-Entities">https://aspnetzero.com/Documents/Extend ... g-Entities</a>

Answer

Hi,

If you want to show soft deleted records to some specific users, you can disable soft delete filter. Filter name is AbpDataFilters.SoftDelete. You can add a permission like "CanSeeSoftDeletedEntities", and according to this permission, disable AbpDataFilters.SoftDelete filter. <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Data-Filters#DocDisableFilters">http://www.aspnetboilerplate.com/Pages/ ... bleFilters</a>

For reverting soft delete and permenant delete, you can use custom repository and execute sql in it. <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/EntityFramework-Integration#DocCustomRepositoryMethods">http://www.aspnetboilerplate.com/Pages/ ... oryMethods</a>

Answer

In Domain Driven Design, it's suggested to put your bussiness logic in domain layer which is *.Core project in AspNet Zero solution. But it's not always easy to do that :)

I couldn't reproduce your scenario. Roles collection is either an empty array or filled with items, it was never null in my tests.

Can you share your project and database to simulate same scenario if it is possible.

You can send it privately to our info email address.

Showing 12491 to 12500 of 12681 entries