Base solution for your next web application

Activities of "Jorahealth"

Question

I have hosted my apllication on Azure and configured SignalR on it while publishing it from Visual Studio. The connection strings are in place. The chat function in my angular app keeps saying 'Chat is connecting' could you help me resolve. Many Thanks

Answer

Hi, This is what I found in application log: (Could you recommend steps) FATAL 2020-07-02 17:07:26,211 [1 ] Microsoft.AspNetCore.Hosting.Diagnostics - Hosting startup assembly exception System.InvalidOperationException: Startup assembly Microsoft.Azure.SignalR failed to execute. See the inner exception for more details. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Azure.SignalR, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. File name: 'Microsoft.Azure.SignalR, Culture=neutral, PublicKeyToken=null' at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, RuntimeAssembly assemblyContext, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, AssemblyLoadContext assemblyLoadContext) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, StackCrawlMark& stackMark, AssemblyLoadContext assemblyLoadContext) at System.Reflection.Assembly.Load(AssemblyName assemblyRef, StackCrawlMark& stackMark, AssemblyLoadContext assemblyLoadContext) at System.Reflection.Assembly.Load(AssemblyName assemblyRef) at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices(AggregateException& hostingStartupErrors)

I have configured SignalR in Azure but do not see the connection string or access key in aspsettings.json. I added this but it fails to connect. I do not have a technical background but am looking for steps to advise my developers

We are getting a 404 error when looking up documenation for Customizable Angular dashboard, could you kindly fix this please

Could you kindly advise me how to fix this exception error I get when I leave the solution logged in and idle for some time? I cannot seem to find what the issue is.

Answer

Thank you, it was a CORS and SignalR configuration issue and once we configured it correctly, it worked.

Thank you

Also gtting the same error occasioanly when trying to impersonate accounts i.e. log in via linked accounts.

Its v8.9.2.0

Prefetching lazy loaded modules produces an error while navigating.

To reduce the loading time of the lazy loaded modules, I had to enable prefetching of lazy loaded modules. I noticed an error which occurred as a result of it. Whenever i tried navigating to a different route before the notify info message is closed, it resulted in freezing of the UI after navigating to the new route and threw an error in the console.

Enabled preloading of modules.

Navigation after showing the message

The notify info does not close and throws an error

Its v8.9.2.0

Showing 1 to 10 of 43 entries