Last post Oct 07, 2019 10:34 AM by mywatermelon
Oct 05, 2019 09:09 AM|mywatermelon|LINK
I made two projects, one is asp.net core 3.0 and the other is .net core 3.0 Blazor.
As we know, I can't combine these into the one project yet. And also they are not in the same solution yet. Now they are communicating with each other by SignalR.
Two projects are running in the same server and the hostname is the same also. For example:
The Blazor one is blazor.microsoft.com
The asp.net core one is www.microsoft.com
I am worrying about it will cause unnecessary loss of performance while separated into two projects.
If it will, how to solve this? If not, why it won't cause unnecessary loss of performance.
Oct 05, 2019 05:41 PM|bruce (sqlwork.com)|LINK
Not enough information to know. Need to know if the blazer app is server hosted or client (web assembly) hosted. Also need to know if web sockets are supported, or falling back to polling.
if the blazor app is running in webassembly then the blazor server site is just a static site, and the webassemply app is using the browser to SignalR to the SignalR server directly
Oct 06, 2019 11:08 AM|mywatermelon|LINK
Thanks for helping me. I am using the server-side blazor now. It seems it won't low the performance, right?
Oct 07, 2019 09:45 AM|Xing Zou|LINK
As we know, I can't combine these into the one project yet. i
Why can't you integrate the two projects? https://visualstudiomagazine.com/articles/2019/05/01/integrating-blazor-aspnet-core.aspx
In my opinion there's no big difference.
What do you mean loss of performance?CPU, memory consumption or response speed? How do you judge that?
Oct 07, 2019 10:34 AM|mywatermelon|LINK
I have read about this:https://forums.asp.net/t/2146824.aspx?HOWTO+Add+Blazor+to+existing+ASP+NET+Core+app+
What it said it can't integrate together.
The loss of performance means what you said, including CPU, memory consumption or response speed.
And also, I have read about the article you provided. I think I should separate them while there is no big difference for it seems complex to integrate together yet.