Hi,
Just wanted to know how to disable it from entire application.
regards, Harshit
9 Answer(s)
-
1
AspNetZero - I also need the answer to it.
-
1
I had to do the same. There is no easy way to do it, you must edit a number of files. Working from memory, but here goes:
- Remove the chat icon from the top bar.
- Remove signalr from Startup.cs
- Remove signalr and chat javascript files so that your js does not try to make a signalr request.
- Remove any other .cs files that mention chat. This one is optional.
-
0
see https://support.aspnetzero.com/QA/Questions/3713 https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Features-Angular-Chat#chat-features
-
0
@maliming - the first link you mentioned gives the direction: "you can remove it's codes from your project." Is there more information on how to remove chat all together other than "Just remove it"
Is @tinytownsoftware's answer the easiest way to do that and is that the extent of the changes in order to remove Chat as a whole?
-
0
It worked well for me. It's a bit more involved than changing permissions, but it actually removes signalr calls.
-
0
Would that also inadvertently kill all page notifications, or is it only the chat-notifications that it gets rid of?
There was a post that asked about SignalR (https://support.aspnetzero.com/QA/Questions/8300) So, it seems we'd lose 'Real-Time' notification and I wanted to make sure that I understood that 'Chat notifications' and 'Real-time notifications' were synonymous and there was nothing else using real time notifications
-
0
Ah, yeah, that is probably the case. I disabled notifications too, so it works for me.
-
1
Hi @smry
Ther eis no feature related to Notifications like Chat.
-
0
This issue is closed because of no recent activity. Please create a new issue if you are still having this problem.