Base solution for your next web application

Activities of "rvanwoezik"

Thnx!

'landing' is much better then 'public'

Is it possible i can take a look at a copy of sourcecode of your angular site?

Kind regards, Rene van Woezik [email protected]

ASP.NET CORE & Angular (single solution) .NET 5.0 v10.2.0

Hi, instead of the seperate public site i would like to add a public available page without users have to login first, to the Angular site.

So when users are not authorized i want them to go to a new public landing page in Angular site, and when they want more direct them to the account login page

I was thinking about making a new folder in the root of the src folder besides 'app' and 'account' and name it public

do i have to alter the appguard? is this possible? can you give me some pointers how to do it?

Kind Regards, Rene van Woezik

SetCellDataFormat(sheet.GetRow(i).Cells[3], "[h]:mm");

Thanks a lot! Very clear description, it works!

Only one more thing, after payment is succeeded i want to present them a temporary secure link where they can download the E-Book. Just like on the asp.net zero website where you can download the project.

Any suggestions, flow how to do this?

Thanks in advance! Rene van Woezik

Hi,

Do you happen to have some document/description of the entire flow, this would help me a lot instead of reverse enginering.

I will, should i also create a seperate Stripe Controller for Payment?

ASP.NET CORE & Angular (single solution) .NET 5.0 v10.2.0

Hi,

We would like to sell ebooks to our tenant subscribers. Where after received payment (webhook) they get a download link to the ebook. I was thinking of adding products to our Stripe dashboard and set all options Make a StripeProductsAppService, or should i use the current StripePaymentAppservice and make a function to get all products and displays them in Angular, then on buy go to the stripe checkout page.

Any advice on this? Point me in the right directions. Maybe someone already build this?

Kind regards, Rene van Woezik

Please try this:

public interface IBudgetVersionsAppService : IApplicationService
{
    public Task UpdateBudgetVersion(BudgetVersionDto input, string newName);
    public Task<PagedResultDto<BudgetVersionDto>> GetBudgetVersions(GetBudgetVersionInput input);
}

Kind regards, Rene

ASP.NET CORE & Angular (single solution) .NET 5.0 v10.2.0

I have the situation where i create a tenant for each subcribed

In the host i would like to get a list of all users across all tenants including there tenant name, so i made a private function to fill tenant names, but this gives an error, can't find tenant

 [HttpPost]
        public async Task<PagedResultDto<UserListDto>> GetUsers(GetUsersInput input)
        {
            if (AbpSession.MultiTenancySide == MultiTenancySides.Host)
            {
                using (UnitOfWorkManager.Current.DisableFilter(AbpDataFilters.MayHaveTenant))
                {
                    var query = GetUsersFilteredQuery(input);

                    var userCount = await query.CountAsync();

                    var users = await query
                        .OrderBy(input.Sorting)
                        .PageBy(input)
                        .ToListAsync();

                    var userListDtos = ObjectMapper.Map<List<UserListDto>>(users);
                    await FillRoleNames(userListDtos);
                    await FillTenantNames(userListDtos);
                    
                    return new PagedResultDto<UserListDto>(
                        userCount,
                        userListDtos
                    );
                }
            }
            else
            {
                var query = GetUsersFilteredQuery(input);

                var userCount = await query.CountAsync();

                var users = await query
                    .OrderBy(input.Sorting)
                    .PageBy(input)
                    .ToListAsync();

                var userListDtos = ObjectMapper.Map<List<UserListDto>>(users);
                await FillRoleNames(userListDtos);

                return new PagedResultDto<UserListDto>(
                    userCount,
                    userListDtos
                );
            }
        }
private async Task FillTenantNames(IReadOnlyCollection<UserListDto> userListDtos)
        {
            foreach (var user in userListDtos)
            {
                if (user.TenantId > 0)
                {
                    var tenant = await TenantManager.GetByIdAsync(user.TenantId);
                    user.TenantName = tenant.TenancyName;
                }
                else
                {
                    user.TenantName = "HOST";
                }
            }
        }

Please advice

Thanks for your reply. Is it better to switch from asp.net zero to abp.io in the future?

Kind regards, Rene van Woezik

Showing 21 to 30 of 179 entries