Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "mahendra"

Hi musa.demir,

Thanks for your reply

As you can see in the above screenshot in the header, cache control and x-powerd-by properties are like below : cache-control: public, max-age=0 cache-control: no-cache="set-cookie" x-powered-by: Express

The requirment is below :

  1. Either the http header cache-control is removed in all the http request (e.g. css, js etc) or we can set the cache-control value like below cache-control: public, max-age=31536000
  2. http header x-powered-by is removed in all the http request.

As explained earlier, We have hosted our asp.net zero web application(.net core + angular) on AWS Beanstalk-LINUX based node.js environment.

We tried to put the web.config in root folder. And when we test in chrome, "x-powered-by" is not removed.

Could you please help us in acheiving this.

Any help would be much appriciated.

Thanks,

Noted....Thanks....

No I am not getting any error when I enable this line...

Regards, Mahendra

you are right. The signalR connection doesn't get created and hence the realtime notification also won't work.

The question is how to disble the chat completely and not the realtime notification.

Regards, Mahendra

Hi @ismcagdas,

It worked in my project as well.....Thanks....

SignalR is being used for:

  1. Realtime Notification
  2. Chat

In the app.cpmponent.ts file in the following code block If I comment this._chatSignalrService.init(); then my real time notification also stops working.. `if (this.appSession.application) { SignalRHelper.initSignalR(() => {

            //this._chatSignalrService.init(); 
        });
    }`
    

All I wanted is, keep realtime notification but get rid of chat. Could you please help me how can I disable the chat feature completely while keeping the real time notification intact.

Regards, Mahendra

Hi @ismcagdas,

I had downloaded the base product 10.3 (in which the Abp Version was 6.3), the Realtime notifcation (such as the status of user import) was not working. As per your suggestion, I updated the ABP package in all the projects of the above downloaded solution and now the real time notification (such as the status of user import) is working fine.

But when I do the same in my project (which is verrsion 10.3) and Abp packageupgraded to version 6.3.1, the real time notification (such as the status of user import) is not working.....

I mean while Realtime notification is now working on base product, it is not working in our project.

Please advise what else can I check...

Regards, Mahendra

Answer

Hi,

Don't return the datetime directly. Let me mention the steps again.

  1. Create a Dto having a property of type Datetime
  2. Create a AppService and simply create and return the new object of above Dto from the AppService.
  3. Check the returned Dto in angular. Here, you will see different value of datetime property in case using moment and luxon.

My bad....I had not included service proxy module in my component's module...

It seems that AbpInterceptor is not working somehow..... But interestingly for calls other than GraphQL (that is service call) is working fine and the HTTP Headers are being set by the interceptor.

Its only the GrpahQL call in which HTTP Headrs and not getting set...

Hi musa.demir,

Thanks for your reply.

As we have mentioned in our earlier post: We understand that we do get the “ServiceName” and “MethodName” in the auditInfo object. But, this is insufficient because the same service and the method is being called from many places in the whole project

Also, we have multiple screens/steps to complete one process on GUI and in the backend multiple services and methods are being called.

We need one common identifier in the audit log to identify all these services and methods belong to one process on GUI.

Could you please help us in achieving this.

Thanks Best Regards,

Thanks for your help

Showing 31 to 40 of 123 entries