Skip to content

rhythmagency/rhythm.drop.umbraco

Repository files navigation

rhythm.drop.umbraco Publish to NuGet NuGet

Rhythm.Drop functionality for Umbraco CMS.

Rhythm.Drop.Umbraco is meant to work along side Rhythm.Drop so be sure to read the Rhythm.Drop readme and wiki for more information on how the core package works.

Startup

To get started with Rhythm Drop you will be the following;

  • Umbraco 13 web project
  • Install the Rhythm.Drop.Umbraco NuGet package

Once installed add the following to your Program.cs before the UmbracoBuilder calls Build().

builder
    .CreateUmbracoBuilder()
    .AddBackOffice()
    .AddWebsite()
    .AddDeliveryApi()
    .AddComposers()
    .AddRhythmDrop()
    .Build();

AddRhythmDrop() can also be included in an IComposer if you would prefer.

Note: Rhythm.Drop can be added directly to the WebApplicationBuilder or ServiceCollection however this will not automatically install Umbraco specific functionality.

Custom startup

For modifications there is an overload which supports a Action<IRhythmDropBuilder> for configuring web and infrastructure dependencies. The defaults for these features will always be added first time AddRhythmDrop is called then followed by your override functionality.

builder
    .AddRhythmDrop((dropBuilder) =>
    {
        dropBuilder.SetComponentMetaDataFactory<MyCustomComponentMetaDataFactory>()
                   .SetDropImageTagHelperRenderer<MyCustomDropImageTagHelperRenderer>();
    });

About

Extensions for Rhythm.Drop for Umbraco CMS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages