0
sumitshah created
We are using the latest version on aspnetzero and are not using Signalr at all. In the developer tool we do observe that instances of signalr even at the login screen.
we want to ensure that the SignalR/Chat related code doesn't load/add overhead when it's not going to be used at all.
Can someone please share the steps to disable/remove Signalr completely.
3 Answer(s)
-
0
Hi @sumitshah
Are you using Angular 8 version or jQuery version ?
Thanks,
-
0
We are using Angular 8 version.
-
0
Hi,
- You need to start removing SignalR usages in https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Host/Startup/Startup.cs
- Then, search with notepad++ in your solution directory in *.csproj files for "SignalR" and remove those nuget package references.
- Then, remove https://github.com/aspnetzero/aspnet-zero-core/blob/dev/angular/src/shared/helpers/SignalRHelper.ts and it's usages.
- You also need to remove files in https://github.com/aspnetzero/aspnet-zero-core/tree/dev/angular/src/app/shared/layout/chat and their usages.
Probalby there will be some additional files to remove but if you delete those files, the build errors will lead you.