Base solution for your next web application

Activities of "zepan"

Sorry,I use .net Framew 4.6.1.Thanks.

How to set Session expire time.If the user does not have any action for 2 hours, the user will exit the login status.Thanks.

It will be available .Net Framework (4.6+), not .net Core 2.0. Thanks!

How to integrate AD with asp.net zero Core ? Thanks.

How can I user migration tools update multi database: For I have two database:

  1. Host database "Portal" as default connect string; 2.Sync database "PortalSync" as another connect string; User Migration Tools can success update host database, but how can I update Sync database? Thanks.

Thanks for you Reply,

I config web.config <add key="WebSiteRootAddress" value="http://localhost:9901/{TENANCY_NAME}" /> It doesn't work(Visited <a class="postlink" href="http://localhost:9901/demo">http://localhost:9901/demo</a>, get Error 404).

The asp.net zero vision: 4.3 asp.net 5.x & angular 1.x.

Thanks.

I have two TENANTS (A,B), I want bind A to <a class="postlink" href="http://www.contoso.com/A,and">http://www.contoso.com/A,and</a> bind B to <a class="postlink" href="http://www.contoso.com/B.Thanks">http://www.contoso.com/B.Thanks</a>.

Hello, I configure my app to run with HangFire(Asp.net zero 4.3, I use HangFire sync. between DB1 and DB2). I can see a job being enqueued. The job is making use of the NotificationPublisher to send a notification to a specific user (testing purpose). The user is never receiving those notifications.

I debugged the code and it works fine.

I also checked the AbpTenantNotifications, it seems those notifications used are not added to the DB.

WebModule Configuration.BackgroundJobs.UseHangfire(configuration => { configuration.GlobalConfiguration.UseSqlServerStorage("Default"); });

Startup app.UseHangfireDashboard("/hangfire", new DashboardOptions { Authorization = new[] { new AbpHangfireAuthorizationFilter(AppPermissions.Pages_Administration_HangfireDashboard) } });

Code: Select all public class TestingHangFireDomainService : DrcAppDomainServiceBase, ITestingHangFireDomainService { private readonly IAppNotifier _appNotifier; private readonly IUnitOfWorkManager _unitOfWorkManager; private readonly UserManager _userManager;

    public TestingHangFireDomainService(IAppNotifier appNotifier, UserManager userManager, IUnitOfWorkManager unitOfWorkManager)
    {
        _appNotifier = appNotifier;
        _unitOfWorkManager = unitOfWorkManager;
        _userManager = userManager;
    }

    public async Task NotifyUser()
    {
        using (_unitOfWorkManager.Begin())
        {
            var user = _userManager.Users.Where(u => u.Id == 2).FirstOrDefault();
            await _appNotifier.SendMessageAsync(user.ToUserIdentifier(), "Testing HangFire", Abp.Notifications.NotificationSeverity.Info);
        }
    }
}

Regards, zepan

I mean I have two tenants (A, B) : A released a news NewsA, B released a news NewsB, news is visible to all people, because the data stored in the same database, I hope the terminals to access the A website to only see NewsA, but not NewsA, NewsB. How do data on public pages be filtered through tenantId when multi tenant is used?

How do you bind different tenants to different domains? There are users not logged in, how to judge is under different tenants? Example: some public external pages can be viewed without user login, but their respective tenants cannot see each other.

Showing 1 to 10 of 10 entries