Code Monkey home page Code Monkey logo

Comments (16)

GioviQ avatar GioviQ commented on September 1, 2024 1

@isc30 I am just new to Blazor and not expert like you. I suggest Nuget packages, because I noticed that they embed wwwroot as static web assets.

from blazor-lazy-loading.

isc30 avatar isc30 commented on September 1, 2024 1

No worries, I will investigate how to lazy load something like MatBlazor and put you as PR reviewer

from blazor-lazy-loading.

GioviQ avatar GioviQ commented on September 1, 2024 1

Oqtane works as Blazor Server or WASM. Now I am watching how it works well.

from blazor-lazy-loading.

GioviQ avatar GioviQ commented on September 1, 2024

What about adding components from nuget packages?
E.g. MatBlazor

from blazor-lazy-loading.

isc30 avatar isc30 commented on September 1, 2024

That should perfectly fine as long as the Module has a dependency on the nuget packages.

from blazor-lazy-loading.

isc30 avatar isc30 commented on September 1, 2024

Well, actually I do not support referencing PackageReferences as modules, good catch

from blazor-lazy-loading.

isc30 avatar isc30 commented on September 1, 2024

@GioviQ I just opened another ticket to add that functionality, do you want to make a PR yourself or want me to look at it?

from blazor-lazy-loading.

isc30 avatar isc30 commented on September 1, 2024

The latest release includes a demo using a component from a nuget package and an explanation on how to generate a manifest for that assembly too :) @GioviQ

from blazor-lazy-loading.

GioviQ avatar GioviQ commented on September 1, 2024

Thanks I will check.

from blazor-lazy-loading.

GioviQ avatar GioviQ commented on September 1, 2024

@isc30 I checked but it is not what I meant. The faso.blazor.spinkit.1.0.1.nupkg package is not downloaded runtime, it is just present in the build unpackaged. So it is just any other components.
Maybe I am not so interested to lazyness but more on modularization like implemented in Orchard.

My ambition is to realize something like https://demo3.tryorchard.net/Admin/Modules/Features but with Blazor.

from blazor-lazy-loading.

isc30 avatar isc30 commented on September 1, 2024

from blazor-lazy-loading.

GioviQ avatar GioviQ commented on September 1, 2024

My modules implement https://github.com/enkodellc/blazorboilerplate/blob/development/src/Shared/BlazorBoilerplate.Shared/Interfaces/IModule.cs
so I solved the init. I have to implement donwload and wwwroot folder merge.

from blazor-lazy-loading.

GioviQ avatar GioviQ commented on September 1, 2024

Here the source of Orchard https://github.com/OrchardCMS/Orchard
The core version is still in RC
https://github.com/OrchardCMS/OrchardCore

from blazor-lazy-loading.

GioviQ avatar GioviQ commented on September 1, 2024

I discovered now that https://github.com/oqtane/oqtane.framework has module package download.

from blazor-lazy-loading.

isc30 avatar isc30 commented on September 1, 2024

from blazor-lazy-loading.

isc30 avatar isc30 commented on September 1, 2024

Please keep me posted on this.
If your plan is to "upload" a DLL on runtime (WASM) and loading it, it can be done easily with IAssemblyLoader.

from blazor-lazy-loading.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.