-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing NuGet for latest Microsoft.AspNetCore.Http.Abstractions preview #9611
Comments
Probably related If you look at |
@neven10 thanks for pointing me in the right direction. I have managed to make it work by just adding a Example
|
This is the correct thing to do if you need to reference However, I'm a little concerned if you end up needing libraries from the server side framework in a general-purpose component library. This is going to negatively impact app size for client-side Blazor. I'd be interested to know what your needs are, and if we can address them in some other way. |
Weren't there plans to implement some sort of tree shaking in client side blazor? Like JS SPAs do? |
We already have support for running the mono linker - that's not a cure-all though. Suppose that you're using part of HttpAbstractions that has a really thick set of real dependencies (Span, Memory, vectorized string operations) - those won't be linked out because they are needed. We're trying to avoid you needing our server-side stack inside a client-side app. |
@rynowak The only thing that I need from By using In the following example you can see how I register some of the components for Bootstrap implementation:
and then I call it on the application Startup:
This way I can have same usage for both Blazor(client-side) and for RC(server-side). I could create extension methods based on
|
PS. This is the configuration for my project(s) now adjusted for .Net Core 3-preview 4
|
Thank you for contacting us. Due to no activity on this issue we're closing it in an effort to keep our backlog clean. If you believe there is a concern related to the ASP.NET Core framework, which hasn't been addressed yet, please file a new issue. |
I have a component library that is configured to work for Blazor and for Razor Components. In the previous version of Blazor/RC there was a version 3.0.0-preview3-19153-02 of Microsoft.AspNetCore.Http.Abstractions that matched the .Net Core 3 preview number. Now in the latest preview 4 there is no equivalent package to be found.
Questions:
Should there be a version 3.0.0-preview4-19216-03 of Microsoft.AspNetCore.Http.Abstractions?
If not, what version should I include in my build process so that users of my library can safely add my NuGet packages without breaking anything?
Additional info:
For your reference, current version of build configuration for preview 3 can be found on https://github.com/stsrki/Blazorise/blob/master/Build/Blazorise.props
The text was updated successfully, but these errors were encountered: