Base solution for your next web application

Activities of "mentium"

Hi ismcagdas

It was exactly what I needed, thanks.

Hi

Is there a solution for adding new language translations without seeding them into the datbase, as xml for these sources:

0 : {name: "Abp", type: "MultiTenantLocalizationSource"} 1 : {name: "AbpWeb", type: "MultiTenantLocalizationSource"} 2 : {name: "AbpWebExt", type: "MultiTenantLocalizationSource"} 3 : {name: "AbpZero", type: "MultiTenantLocalizationSource"} 4 : {name: "VikarProgram", type: "MultiTenantLocalizationSource"}

Answer

Hi @alper

Thanks for your answer.

It could be nice to have a generic tool to handle that.

Today i'm using my own function to map from aggregate root dto to entity, but when it is more than one level i have to write a lot of code to handle it.

protected void UpdateNavigationProps<TKye, TDto, TEntity>(List<TDto> dtos, ICollection<TEntity> entities)
            where TEntity : Entity<TKye>, new()
            where TDto : EntityDto<TKye>
        {
            if (dtos == null)
                return;

            if (entities == null)
                entities = new List<TEntity>();

            foreach (var entity in entities.ToList())
            {
                if (!dtos.Any(c => c.Id.Equals(entity.Id)))
                {
                    //Remove
                    entities.Remove(entity);
                }
            }

            foreach (var dto in dtos)
            {
                var entity = entities.FirstOrDefault(p => p.Id.Equals(dto.Id) && !p.Id.Equals(default(long)));
                if (entity == null)
                {
                    //Add
                    entities.Add(ObjectMapper.Map<TEntity>(dto));
                }
                else
                {
                    ObjectMapper.Map(dto, entity);
                }
            }
        }
Question

Hi

I have an large graph I theat like an aggregare root, how does aggregate root work in abp zero, can it update (add, update, delete) the whole graph?

@kythor, wierd, i've actualy tried that also.

Hi

I've tryed these steps but i stil getting error.

I'm using asp.net core / angular

2018-03-01T11:35:07.3784052Z ============================================================================== 2018-03-01T11:35:07.3784278Z Task : Command Line 2018-03-01T11:35:07.3784373Z Description : Run a command line with arguments 2018-03-01T11:35:07.3784465Z Version : 1.1.3 2018-03-01T11:35:07.3784594Z Author : Microsoft Corporation 2018-03-01T11:35:07.3784696Z Help : [More Information](<a class="postlink" href="https://go.microsoft.com/fwlink/?LinkID=613735">https://go.microsoft.com/fwlink/?LinkID=613735</a>) 2018-03-01T11:35:07.3784825Z ============================================================================== 2018-03-01T11:35:07.3889844Z ##[command]D:\a\3\s\node_modules.bin\ng.cmd build -prod 2018-03-01T11:35:07.4077115Z The system cannot find the path specified. 2018-03-01T11:35:08.4407169Z ##[error]Process completed with exit code 1.

Steps: 1: Use Yarn 2: Yarn 3: npm build (working folder: "$/PROJECTNAME/Master", npm command: install, arguments: -g @angular/cli) 4: CLI (Tool: $(Build.SourcesDirectory)\node_modules.bin\ng.cmd, arguments: build -prod)

Anybody knows what i'm missing?

Answer

I haven't set it up on azure yet, so I don't know. I just thought i would be a problem.

Answer

Yes, but it us used for frontend/sales website, do you know if there is a way to map for example admin.site.com to the hot part of the site?

Question

Hi

How can I logon as host when i use subdomain to define tenant name?

Question

Hi

When are you planing to release the next version of ASP.NET Zero Angular?

Showing 1 to 10 of 14 entries