Activities of "salih"

Hi, can you try this way?

public override void OnApplicationInitialization(ApplicationInitializationContext context) 
{ 
    var configuration = context.GetConfiguration(); 
    var SelfUrl = configuration["App:SelfUrl"]; 
    var app = context.GetApplicationBuilder(); 
    var env = context.GetEnvironment();
    using (var scope = app.ApplicationServices.CreateScope()) 
    { 
        var serviceProvider = scope.ServiceProvider; 
        var buses = context.ServiceProvider.GetServices<ServiceBusProcessor>(); 
        foreach (var processor1 in buses) 
        { 
            processor1.ProcessMessageAsync += (ProcessMessageEventArgs args) => ProcessMessageHandler(context, args);
            processor1.ProcessErrorAsync += ErrorHandler;
            processor1.StartProcessingAsync().GetAwaiter().GetResult();
        }
    }
    
} 
    
private async Task ProcessMessageHandler(ApplicationInitializationContext context, ProcessMessageEventArgs args) 
{ 
    var serviceProvider = context.ServiceProvider ;
    using (var scope = serviceProvider.CreateScope()) 
    { 
        var handler = serviceProvider.GetService<TraineeProfileUpdateJobHandler>();
         // this is throws an error var handler2 = scope.ServiceProvider.GetService<TraineeProfileUpdateJobHandler>(); // this is throws an error await handler.ExecuteAsync(parsed); 
    } 
}
<abp-date-picker asp-for="CreateTransaction.SendDate" min-date="new DateTime()" date-format="MM/DD/YYYY" auto-update-input="true" />
<abp-date-picker asp-for="CreateTransaction.SendDate" min-date="new DateTime()" date-format="MM/DD/YYYY" />

use it like this

BTW how can I see my previous tickets? and why I cannot submit a new ticket although I still have 14 remaining tickets?!

You can easily see your own tickets

this is the link for creating new question: https://support.abp.io/QA/Questions/New
if you cannot navigate to this URL, it means your permissions have recently been updated. try re-login to refresh your permissions.

I can navigate to that url but I cannot see any submit button as in the following screenshot:

Have you tried logging out and logging in?

Hi, I recommend you to use unit of work when you get error about Context dispose. You can review the document. My suggestion is to use IUnitOfWorkManager. https://docs.abp.io/en/abp/latest/Unit-Of-Work#iunitofworkmanager

Hello, would you like to try adding the permissions in your PermissionDefinitionProvider class using the following code: group.AddPermission(MyPermission.Permission, L("Permission:Permission")).RequireFeatures(MyFeature.Enable);?

Hi, can you check out these community posts? https://community.abp.io/posts/deploying-abp-angular-application-to-azure-and-app-insights-integration-4jrhtp01 https://community.abp.io/posts/deploying-abp-applications-to-azure-ztvp6p57

Is the LastModificationTime column null or data?

Can you share the bas class of dbcontext?

What is the base class of your classes?

Zobrazeno od 11 do 20 z celkem 39 záznamů
Made with ❤️ on ABP v8.2.0-preview Updated on března 25, 2024, 15:11