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

Activities of "aaron"

Can you give a concrete example?

How to solve the problem right now?

Just make the changes in login.component.html and login.component.ts.

Should I download the project again and replace the previous project? Then transfer the my codes to the new project?

How to migrate existing solution: https://github.com/aspnetzero/aspnet-zero/issues/96#issuecomment-268093697

You can do it like this:

var propertyBlock = await _propertyBlockRepository.GetAsync(input.Id);

await _propertyBlockRepository.EnsurePropertyLoadedAsync(propertyBlock, p => p.Propertymaster);

This may make an additional call to the database.

Alternatively:

var propertyBlock = await _propertyBlockRepository
    .GetAllIncluding(p => p.Propertymaster)
    .FirstOrDefaultAsync(p => p.Id == input.Id);
Answer

I couldn't reproduce that error with:

var tenant = new Tenant("", "")
{
    Edition = new Edition()
};

var dto = ObjectMapper.Map<TenantLoginInfoDto>(tenant);

But you can try changing this line in CustomDtoMapper.cs:

- configuration.CreateMap<Edition, EditionInfoDto>().Include<SubscribableEdition, EditionInfoDto>();
+ configuration.CreateMap<Edition, EditionInfoDto>(MemberList.Source).Include<SubscribableEdition, EditionInfoDto>();
Answer

Show the error in Logs.txt.

Answer

What's the error?

Do this in YourWebCoreModule:

Configuration.Modules.AbpAspNetCore()
    .CreateControllersForAppServices(
        typeof(YourNewApplicationModule).GetAssembly()
    );

.NET Framework 4.6.1 on ASP.NET Core or MVC 5.x?

Answers were given for both.

Showing 971 to 980 of 1543 entries