aspnetcore icon indicating copy to clipboard operation
aspnetcore copied to clipboard

[RazorComponents] - how to change RazorComponents default startup parameters?

Open furoraest opened this issue 7 years ago • 4 comments

Description

there is a method describing how to change default signalR buffer size for Blazor in https://github.com/aspnet/Blazor/issues/1614

How to do same in RazorComponents?

furoraest avatar Feb 01 '19 10:02 furoraest

@furoraest Your question is about Razor components and not SignalR, right? If so, could could you update the title? Thanks.

cc @danroth27

muratg avatar Feb 01 '19 17:02 muratg

I pointed out SignalR as a current need to modify transport buffer, but yes if there is need to change something in configuration, what would be the proper way, currently all is neatly packaged in: public void ConfigureServices(IServiceCollection services) { services.AddRazorComponents<App.Startup>(); }

furoraest avatar Feb 02 '19 04:02 furoraest

I think it is related to the same topic... how to let notifications to UI side using already existing connection. I know how to make connection from UI side but it seems bit excessive, since there is already connection up and running. I think some additional documentation or examples would be appreciated.

furoraest avatar Feb 02 '19 12:02 furoraest

Thanks for contacting us, @furoraest. We're going to provide some samples regarding configuring the ComponentHub and we track that work as part of https://github.com/aspnet/AspNetCore/issues/8277.

mkArtakMSFT avatar Mar 12 '19 20:03 mkArtakMSFT