Base solution for your next web application

Activities of "globalbilgi"

Hi, After creating two different tenants : We give "Feature of chatting with other customers" as a package .

But the tenants in this feature can't see different users and add as a friend.

What should we do to activate ? Is this a general problem or there is another option ?

Best regards

Merhaba,

.Net Core & Angular projesinde sol menüyü dinamik hale getirmek istiyorum. Gerekli servisleri .net ve angular tarafında yazdım ve SideBarMenuComponent 'inde menu:AppMenu değişkenini :

this._appNavigationService.GetUserMenu().subscribe(res => { this.menu = res; console.log("res,appmenu this.menu", res, this.menu); });

Yukarıdaki gibi set ediyorum fakat sayfa load olana kadar 74 kere aşağıdaki gibi menu items bulunamadı hatası veriyor. Bende bunu çözmek için ngif="menu" yapıyorum bu seferde sol menu hiç dolmuyor. Sadece mouse ile üzerine geldiğimde doluyor.

Bu sorunu çözmek için ne yapmalıyım ?

Hayır, sadece mouse ile sol menu üzerine geldiğimde menu yu tetikleyip dolduruyor diğer turkü arkada menu içeriğini ne kadar değiştirirsem değiştireyim ekrana yansımıyor. Neyin engellediğini bir türlü bulamadık.

  ngAfterViewInit(): void {
        this._appNavigationService.GetUserMenu().pipe(finalize(() => setTimeout(() => {
            this.layoutRefService.addElement('asideLeft', this.el.nativeElement);
        })))
            .subscribe(res => {
                this.menu = res;
            });
    }
yukarıdaki gibi ya da direkt olarak subscribe içerisine menuyu set ettikten sonra setTimeout konudu çalıştrdım ama bir fark olmadı. Html tarafta ngif kullandığımda hiç bir şekilde tetiklemiyor. Ngif kullanmadığımdada sürekli hata veriyor menu items null olduğu için.
  this._appNavigationService.GetUserMenu()
            .subscribe(res => {
                this.menu = res;
                setTimeout(() => {
                    this.layoutRefService.addElement('asideLeft', this.el.nativeElement);
                });
            });

Bu şekilde de bir fark olmadı maalesef.

Merhaba, Bu sorunu hala çözemedik.

İyi çalışmalar.

Merhaba,

ChangeDetectionStrategy.Default olarak yaptığımızda sorun düzeldi.

Teşekkürler

Merhaba,

Abp.Quartz ile oluşturduğum schedule IIS timeout süresi dolduğunda aşağıdaki gibi kendini kapatıyor.

INFO 2019-05-31 12:44:39,214 [45 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 POST http://127.0.0.1:40864/iisintegration 0 INFO 2019-05-31 12:44:39,215 [45 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 0.6502ms 202 DEBUG 2019-05-31 12:44:39,222 [50 ] Abp.Modules.AbpModuleManager - Shutting down has been started DEBUG 2019-05-31 12:44:39,225 [50 ] Abp.BackgroundJobs.BackgroundJobManager - Stop background worker: Abp.BackgroundJobs.BackgroundJobManager DEBUG 2019-05-31 12:44:39,225 [50 ] Abp.Quartz.QuartzScheduleJobManager - Stop background worker: Abp.Quartz.QuartzScheduleJobManager

Benim schedule ortalama 4 saat çalışmaktadır. IIS timeout süresini arttırmadan bu sorunu nasıl çözebiliriz ?

İyi çalışmalar

Merhaba, Ayrı bir console uygulaması bizim için daha iyi fakat projeyi başka bir projede resolve edemediğimiz için içerde çalıştırmıştık. Yollamış olduğunuz örnekteki gibi entity framework ü tekrar entegre edip kullanmak mı mantıklı yoksa Core katmanında oluşturduğumuz manager ve repository sınıflarını direkt kullanamak mı daha doğru olur sizce ?

Merhaba, Schedule için bir console uygulaması oluşturuyorum. GoCoreModule deki maanger ve repository kullanacak şekilde. Fakat IHostingEnvironment gibi katmanlar resolve olamıyor. Aşağıdaki şekilde hata alıyorum. Nerede hata yapıyorum yardımcı olabilir misiniz ?

[DependsOn(typeof(GoCoreModule))]
public class GoScheduleModule : AbpModule
{
    public override void Initialize()
    {
        IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly());
    }

    public override void PostInitialize()
    {
        //Configuration.IocManager.Resolve<GoJobScheduler>().Start();
    }
}

----------------Program.cs---------------------

 class Program
{
    static void Main(string[] args)
    {
        using (var bootstrapper = AbpBootstrapper.Create<GoScheduleModule>())
        {
            bootstrapper.Initialize();

            using (var jobs = bootstrapper.IocManager.ResolveAsDisposable<GoJobScheduler>())
            {
                jobs.Object.Start();
            }
            Console.WriteLine("Press enter to exit...");
            Console.ReadLine();
        }
    }
}


   public class GoJobScheduler : ISingletonDependency
{
    //private readonly IQuartzScheduleJobManager _jobManager;
    //private readonly IConfigurationRoot _appConfiguration;
    //public GoJobScheduler(IQuartzScheduleJobManager jobManager, IHostingEnvironment env)
    //{
    //    _jobManager = jobManager;
    //    _appConfiguration = env.GetAppConfiguration();
    //}
  }
    
    Fakat IHostingEnvironment gibi katmanlar resolve olamıyor. AŞağıdaki şekilde hata alıyorum.
    
    ![11.JPG](/QA/files/72d4f3ee9c9db59fff2839ee6d424e23.JPG)
Showing 1 to 10 of 15 entries