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

Activities of "mdframe"

Is it possible for each tenant to have a different language file to allow them to rename screen labels and information? I have a situation where two tenants use the same fields however their business model has a different name for some of the screen labels.

Thanks,

Matt

I am using AspNet-Core with Angular version 5.6.2 with a new project. When I try to Generate from the RAD Tool I keep getting the following error message. All messages have been included for clarity:

-> WarehousesAppService.cs is being generated. -> IWarehousesAppService.cs is being generated. -> WarehouseConsts.cs is being generated. -> CreateOrEditWarehouseDto.cs is being generated. -> WarehouseDto.cs is being generated. -> GetAllForLookupTableInput.cs is being generated. -> GetAllWarehousesInput.cs is being generated. -> GetWarehouseForView.cs is being generated. -> GetWarehouseForEditOutput.cs is being generated. -> Warehouse.cs is being generated. -> AppPermissions.cs is being modified. -> AppAuthorizationProvider.cs is being modified. -> SKUHiveDbContext.cs is being modified. -> CustomDtoMapper.cs is being modified. Running add-migration... System.Exception: Could not find content root folder! at F2TEK.SKUHive.Web.WebContentDirectoryFinder.CalculateContentRootFolder() in D:\Projects\C-Sharp\SKUHive\aspnet-core\src\F2TEK.SKUHive.Core\Web\WebContentFolderHelper.cs:line 30 at F2TEK.SKUHive.EntityFrameworkCore.SKUHiveDbContextFactory.CreateDbContext(String[] args) in D:\Projects\C-Sharp\SKUHive\aspnet-core\src\F2TEK.SKUHive.EntityFrameworkCore\EntityFrameworkCore\SKUHiveDbContextFactory.cs:line 15 at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(Func1 factory) at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(String contextType) at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.AddMigration(String name, String outputDir, String contextType) at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigrationImpl(String name, String outputDir, String contextType) at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_01.b__0()

at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action) Could not find content root folder! -> warehouses.component.ts is being generated. -> warehouses.component.html is being generated. -> create-or-edit-warehouse-modal.component.html is being generated. -> create-or-edit-warehouse-modal.component.ts is being generated. -> view-warehouse-modal.component.html is being generated. -> view-warehouse-modal.component.ts is being generated. -> main.module.ts is being modified. -> main-routing.module.ts is being modified. -> app-navigation.service.ts is being modified. -> service-proxy.module.ts is being modified. -> SKUHive.xml is being modified.

Code generation is complete. Press ENTER to exit...

I never received this message with my demo application so I am confused on why it is occuring on my branded project.

I am looking to set my menu groups to be collapsed by default insted of expanded. I found an older question asking the same thing https://support.aspnetzero.com/QA/Questions/4403 which was identified as a bug? then corrected in version 5. Has this reappeared in this version and shouldn't or is their a setting where I can default all menu categories to collapsed.

My application is using ASP.Net Core 2.1 and Angular 6 (v5.6.0).

Thank you,

Matt

We are attempting our fist simple deployment to understand the solution and best methods. We created our project as two separate projects in Angular and ASP.NET Core. The documentation we have found seems to prefer a single solution for deployment so our first question is should we have two projects for separation? We felt this was the best solution for our team but could be wrong.

For deployment, we have many options between app.config, appsettings.json, appsettings.staging.json, appsettings.production.json and web.config. Is there documentation or recommendations on each and what the settings perform? I understand some of this is outside of the community however it is challenging us. We get the server side is deployed from the publish process and the Angular is done after compile command however we are not have any success in getting the basic application to work on the hosting provider and we feel its our misinterpretation of deployment details.

Would anyone be able to share your best practices and guidelines for setup and deployment?

Thank you very much!

Matt Frame

How difficult would it be to have a QA environment with MySQL and production environment with SQL Server? We are looking to save some dollars on our hosting where MySQL is free and then pay for a SQL Server license in production. Anyone done something like this already or have any advice?

I have a situation where a tenant has multiple warehouses. Users can work in a single warehouse or change periodically based on duties and needs. I am looking for insight with ASPNET.Zero on how best to implement. I was thinking they could sign in and set a warehouse id and add that to the session or extend the user entity. I prefer not to make customs to Abp if possible but if the community feels this is the best method then I must. I also wonder if a user wants to set this every time they log in as well.

Thoughts on how to approach this solution with the great framework?

Thanks,

Matt

I want to verify I am thinking Organization Unit is what I think it should support. If I have a tenant with multiple warehouses then the Organization Unit could be used to support each warehouse under the tenant as a separate controllable facility for users and products.

An example of what I am trying to accomplish. Tenant ID 1 has an East coast warehouse A and a West coast warehouse B. Users defined for Tenant 1 will have permissions to work in both warehouses. If I define specific users in each warehouse they can only work within that warehouse or Organization Unit. The product master would be available to each warehouse however actual stock only exists in Organization Unit, warehouse, A and Organization Unit, warehouse B.

Would someone verify I am thinking of Organization Unit correctly in this instance? If this is incorrect please elaborate on how I should support this type of business case with ASP.Net Boilerplate.

Thank you for your help.

Matt

Hi, I am a new to ASPNET.Zero and have been working on some samples for understanding the architecture. I created a Contacts application from the RAD Tool with ASP.NET Core and Angular. When I look at the change logs I see the details of which fields were changed from their old value to the new one however I do not see a Reason description as I set in the service module.

I have the entity class defined as:

[Table("Contacts")]
    [Audited]
    public class Contact : FullAuditedEntity , IMayHaveTenant
    {
		public int? TenantId { get; set; }

Then in my ApplicationService I have the following:

        [AbpAuthorize(AppPermissions.Pages_Contacts_Edit)]       
        private async Task Update(CreateOrEditContactDto input)
         {
            var contact = await _contactRepository.FirstOrDefaultAsync((int)input.Id);

            var reason = string.Format("User: {0} was updated!", input.UserId.ToString());            
            using (_reasonProvider.Use(reason))
            {
                ObjectMapper.Map(input, contact);                
            }
            
         }

I do not have the UnitOfWork defined per the sample as I am assuming the DTO Mapper is taking care of the actual data layer so I made an assumption on how to set the Reason. What should I do and where would I see the Reason once it is recorded correctly?

Thank you,

Matt

Showing 21 to 28 of 28 entries