简体   繁体   中英

Where to add NuGet packages in ASP.NET Core 5 Blazor web-assembly?

I am using .NET 5 SDK version 5.0.100-rc.2.20479.15 , Microsoft Visual Studio Community 2019 Preview - Version 16.8.0 Preview 5.0 . I create solutions ASP.NET Core 5 Blazor web-assembly (options: Authentication/Authorization, Progress web-app).

Where to add NuGet packages (for example, DevExpress Blazor NuGet packages) in ASP.NET Core 5 Blazor web-assembly? foo.Client , foo.Server or foo.Shared ?

Where to add NuGet packages (for example, DevExpress Blazor NuGet packages) in ASP.NET Core 5 Blazor web-assembly? foo.Client , foo.Server or foo.Shared?

A Blazor library would go in the Foo.Client project

A Database package would go in the Server Project.

You would want to avoid adding packages to the Shared project as much as possible.

But client dll files get from server-side.

Yes, but that doesn't matter - they will end up where the Server expects them, to be served to the client on demand.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM