Activities of "Spospisil"

@gterdem

Is there a way to programitically set the abp.apppath?

Any update for this?

By the way, when I log in as a Host user I do not get an error. It's only when I log in as a Tenant user.

At the top of the DBContext class are the following class attributes which were put there by the generated ABP solution. With all the ABP module tables being in the one Host DB do I need to also put attribute lines in for each DBContext interface's from all the other modules as well?

[ReplaceDbContext(typeof(IIdentityProDbContext))]
[ReplaceDbContext(typeof(ISaasDbContext))]
[ConnectionStringName("Default")]

This below link in the documentation ended up being the solution I went with to display a list of tenant users based on the selected tenant in the screenshots tenant dropdown.

https://docs.abp.io/en/abp/latest/Multi-Tenancy#change-the-current-tenant

Hi,

Yes I need a way to take the tenant guid value as selected by the dropdown (highlighted in red) and have the list of users for that tenant display in the list. However, I would like to use the IdentityUserAppService (Volo.Abp.Identity.Pro.Application project) or extend this class and/or it's existing UserRepository to select users from the underlying database that are for the selected tenant

Screenshot included

Hi,

I'm a little confused. In what way does the EmailSendDemo actually use the ABP framework? There are no references to any of the ABP framework libraries and the code uses base the .net system.net.mail library directly.

The good news though is that I've validated I can send an email within our network using the smtp settings I'm specifying, however I still do not know why I can't use the Volo.Abp.Emailing to send an email nor can I actually step through it's code as described above.

Hi,

All I'm trying to do is to step through the Volo.Abp.Emailing source code to determine what the core issue is as to why my web project cannot send a 'forgot my password' email. I don't need to override any service, just trying to troubleshoot why email is not being sent.

When I have tried manually grabbing the Volo.Abp.Emailing source code from github and adding a project reference to it in my ABP generated source code for a MVC project, it does not step into the source and rather just runs the line of code without stepping into it's source.

Please advise.

Hi,

I get the following error when I run the abp add-package Volo.Abp.Emailing --with-source-code --add-to-solution-file comma

[09:54:36 INF] Successfully installed. [09:54:36 INF] Downloading source code of Volo.Abp.Emailing [09:54:36 INF] Version: 4.4.2 [09:54:36 INF] Output folder: C:\Projects\TestWEB\src\TestWebSaas\packages\Volo.Abp.Emailing [09:54:36 ERR] Package is not found or downloadable! System.Exception: Package is not found or downloadable! at Volo.Abp.Cli.ProjectBuilding.NugetPackageInfoProvider.GetAsync(String name) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\NugetPackageInfoProvider.cs:line 41 at Volo.Abp.Cli.ProjectBuilding.NugetPackageProjectBuilder.GetPackageInfoAsync(ProjectBuildArgs args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\NugetPackageProjectBuilder.cs:line 107 at Volo.Abp.Cli.ProjectBuilding.NugetPackageProjectBuilder.BuildAsync(ProjectBuildArgs args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\NugetPackageProjectBuilder.cs:line 46

Below is my overridden OnPostAync method. The .IsAuthenticated is returning true when I supply the improper credentials now. Please tell me how this code block should look like for me to interrogate the result of the base.OnPostAsync method and to determine if authentication was successful or not so I can redirect the application to the appropriate page.

Thanks.

public override async Task<IActionResult> OnPostAsync(string action)
{
    ReturnUrl = "../HostDashboard";

    var result = await base.OnPostAsync(action);

    var user = await GetIdentityUser(LoginInput.UserNameOrEmailAddress);

    if (user != null)
    {
        using (CurrentPrincipalAccessor.Change(await SignInManager.CreateUserPrincipalAsync(user)))
        {
            if (CurrentUser.IsAuthenticated)
            {
                return RedirectToPage(ReturnUrl);
            }
        }
    }

    return Page();
}
Showing 161 to 170 of 191 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13