diff --git a/15/umbraco-cms/reference/routing/request-pipeline/icontentfinder.md b/15/umbraco-cms/reference/routing/request-pipeline/icontentfinder.md index 71eae471afa..939e0f57f08 100644 --- a/15/umbraco-cms/reference/routing/request-pipeline/icontentfinder.md +++ b/15/umbraco-cms/reference/routing/request-pipeline/icontentfinder.md @@ -85,9 +85,9 @@ public static class UmbracoBuilderExtensions public static IUmbracoBuilder AddCustomContentFinders(this IUmbracoBuilder builder) { // Add our custom content finder just before the core ContentFinderByUrl - builder.ContentFinders().InsertBefore(); + builder.ContentFinders().InsertBefore(); // You can also remove content finders, this is not required here though, since our finder runs before the url one - builder.ContentFinders().Remove(); + builder.ContentFinders().Remove(); // You use Append to add to the end of the collection builder.ContentFinders().Append(); // or Insert for a specific position in the collection @@ -123,9 +123,9 @@ public class UpdateContentFindersComposer : IComposer public void Compose(IUmbracoBuilder builder) { // Add our custom content finder just before the core ContentFinderByUrl - builder.ContentFinders().InsertBefore(); + builder.ContentFinders().InsertBefore(); // You can also remove content finders, this is not required here though, since our finder runs before the url one - builder.ContentFinders().Remove(); + builder.ContentFinders().Remove(); // You use Append to add to the end of the collection builder.ContentFinders().Append(); // or Insert for a specific position in the collection diff --git a/15/umbraco-cms/reference/routing/request-pipeline/outbound-pipeline.md b/15/umbraco-cms/reference/routing/request-pipeline/outbound-pipeline.md index cb177bee8bc..ee6d8d8a1e9 100644 --- a/15/umbraco-cms/reference/routing/request-pipeline/outbound-pipeline.md +++ b/15/umbraco-cms/reference/routing/request-pipeline/outbound-pipeline.md @@ -157,7 +157,7 @@ Umbraco ships with a `DefaultUrlProvider`, which provides the implementation for ```csharp // This one is initialized by default -public class DefaultUrlProvider : IUrlProvider +public class NewDefaultUrlProvider : IUrlProvider { public virtual UrlInfo GetUrl(IPublishedContent content, UrlMode mode, string? culture, Uri current) {…} @@ -234,11 +234,11 @@ using Umbraco.Cms.Core.Web; namespace RoutingDocs.UrlProviders; -public class ProductPageUrlProvider : DefaultUrlProvider +public class ProductPageUrlProvider : NewDefaultUrlProvider { public ProductPageUrlProvider( IOptionsMonitor requestSettings, - ILogger logger, + ILogger logger, ISiteDomainMapper siteDomainMapper, IUmbracoContextAccessor umbracoContextAccessor, UriUtility uriUtility,