Sébastien Ros - Modular ASP.NET apps

Download this episode

Download Video

Description

This week, Sébastien Ros is back on the show to demo the fantastic support for modularity that was built for Orchard Core, but that is usable in any ASP.NET Core application.

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      giannik73

      sebastien for president.

    • User profile image
      sumonnet

      Great Work!!!

      is it possible to include typescript files in Modules? and also somehow reference typescript file from one module and inherit from it?

      Thanks, 

    • User profile image
      messan

      Great presentation Sébastien.

      We all know that Orchard the CMS has a very nice story about module discovery but in the scenario where the CMS is not involved, is there a predefined way to let the Web Application automatically discovered the modules without previously referencing them ?

      Thanks

    • User profile image
      sebros

      @sumonnet:

      Yes you can add any static file. You can reference it directly and it will incur a direct dependency with this module. We do that in the CMS packages, where jQuery for instance is provided by a single module even though most of them depend on this script.

      The next level of features is provided by our Orchard.ResourceManagement module which can inject script/css management and manages dependencies from several modules.

    • User profile image
      sebros

      @messan:

      We tried this approach as this is what we do in Orchard 1 but the complexity involved and degraded experience were not worth it. For instance discovering modules would mean that they have to be in a specific folder under the web app. Not talking about dotnet tooling that doesn't work with this like razor precompilation, publish, pack, ... These can all be solved but with some significant amount of custom code and hacks. After implementing both we really do prefer the "referenced" way.

    Add Your 2 Cents