Merge branch 'netcore/netcore' into netcore/task/Surface-Routing-9717
This commit is contained in:
@@ -52,6 +52,7 @@ using Umbraco.Web.Macros;
|
||||
using Umbraco.Web.Security;
|
||||
using Umbraco.Web.Telemetry;
|
||||
using Umbraco.Web.Templates;
|
||||
using Umbraco.Web.Website;
|
||||
using IHostingEnvironment = Umbraco.Core.Hosting.IHostingEnvironment;
|
||||
|
||||
namespace Umbraco.Web.Common.DependencyInjection
|
||||
@@ -274,6 +275,8 @@ namespace Umbraco.Web.Common.DependencyInjection
|
||||
|
||||
builder.Services.AddSingleton<ContentModelBinder>();
|
||||
|
||||
builder.Services.AddScoped<UmbracoHelper>();
|
||||
|
||||
builder.AddHttpClients();
|
||||
|
||||
// TODO: Does this belong in web components??
|
||||
|
||||
Reference in New Issue
Block a user