Merge branch 'netcore/netcore' into netcore/task/Surface-Routing-9717

This commit is contained in:
Shannon
2021-02-05 13:22:21 +11:00
28 changed files with 611 additions and 352 deletions

View File

@@ -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??