A dependencies file is a runnable app asset that's produced by publishing an app, not a library.
#MAKE FLUID APP LOAD ON STARTUP CODE#
The class containing the hosting startup code is StartupEnhancementHostingStartup: In the following example, the namespace of the hosting startup assembly is StartupEnhancement. The list of assemblies to exclude from discovery is loaded from the WebHostDefaults.HostingStartupExcludeAssembliesKey. The list of assemblies to search for HostingStartup attributes is loaded at runtime from configuration in the WebHostDefaults.HostingStartupAssembliesKey.
![make fluid app load on startup make fluid app load on startup](https://techcrunch.com/wp-content/uploads/2021/10/metroid-header.jpg)
The entry assembly or the assembly containing the Startup class is automatically scanned for the HostingStartup attribute.
#MAKE FLUID APP LOAD ON STARTUP HOW TO#
View or download sample code ( how to download) HostingStartup attributeĪ HostingStartup attribute indicates the presence of a hosting startup assembly to activate at runtime.
![make fluid app load on startup make fluid app load on startup](https://www.man-es.com/images/default-source/document-sync-images/man-fluid-monitor-for-lube-oil-(en)-manpm-00-0658-eng.jpg)
For example, an external library can use a hosting startup implementation to provide additional configuration providers or services to an app. An IHostingStartup (hosting startup) implementation adds enhancements to an app at startup from an external assembly.