Activities of "viswajwalith"

I found one work around. If we use the below option then it is getting sorted

but in our microservice template if we do the same in SwaggerConfigurationHelper.cs this is not working out, we had to define the same in every micro service. are we missing anything?

hi

Is there any possibility to refresh user to update claims in CurrentUser

This seems impossible, you can consider accessing these dynamic values in the cache

Thanks for the update.

I have no experience nor knowledge about Azure APIM. Token is sent on the header automatically when you start the request from the application. If gateway doesn't manipulate the request headers and just redirects; there shouldn't be any problem.

Ok, can you refer a code or sample if we would like to pass additional headers while redirecting to webapi

HI

Can you check the web.config?

https://docs.microsoft.com/en-us/aspnet/core/fundamentals/environments?view=aspnetcore-6.0#windows---use-webconfig

By default we don't have any value for "environment" defined in web.config. If we add the below additional settings in web.config the environment is picking as defined in the file

Setting the deployment environment in a web.config is one of the option but ideally it should pick from Environment Variable right? also for us defining in every microservice is bit lengthy process. can u check the same at ur end and let me know the possible fix for the same.

Hi I found the issue, I made a silly mistake. created the user environment variable insisted of system environment variable. Once I created the ASPNETCORE_ENVIRONMENT under system environment variable it worked perfectly.

Thanks for the support.

HI

Can you check the web.config?

https://docs.microsoft.com/en-us/aspnet/core/fundamentals/environments?view=aspnetcore-6.0#windows---use-webconfig

By default we don't have any value for "environment" defined in web.config. If we add the below additional settings in web.config the environment is picking as defined in the file

Setting the deployment environment in a web.config is one of the option but ideally it should pick from Environment Variable right? also for us defining in every microservice is bit lengthy process. can u check the same at ur end and let me know the possible fix for the same.

Answer

Are u call the WriteTo.Elasticsearch method?

.WriteTo.Elasticsearch( 
    new ElasticsearchSinkOptions(new Uri(configuration["ElasticSearch:Url"])) 
    { 
        AutoRegisterTemplate = true, 
        AutoRegisterTemplateVersion = AutoRegisterTemplateVersion.ESv6, 
        IndexFormat = "MyProjectName-log-{0:yyyy.MM}" 
    }) 

That means we need to add the custom code to write to elastic search right? But when using SerilogConfigurationHelper it it taking care automatically by the respective helper right?

Added references to HttpApi layer of the microservice in Web. Now it is generating Dynamic Proxies.

Already there are microservice HttpApi reference in web gateway like product service. if we give web gateway reference in HttpApi layer of the microservice, there will be circular dependency. Dynamic proxies generating for product service with existing references but not for our other microservices.

hi

https://blog.abp.io/abp/ABP.IO-Platform-v5-1-Has-Been-Released

If we understand correctly, Lepton X is not yet part for ABP 5.1 for MVC version. Please let us know

Yes It worked, I think this is an issue at your end and we expect a refund of ticket

Showing 121 to 130 of 242 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30