19 lines
637 B
C#
19 lines
637 B
C#
// Copyright (c) .NET Foundation. All rights reserved.
|
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
|
|
|
using Microsoft.AspNetCore.Hosting;
|
|
|
|
[assembly: HostingStartup(typeof(TestStartupAssembly1.TestHostingStartup1))]
|
|
|
|
namespace TestStartupAssembly1
|
|
{
|
|
public class TestHostingStartup1 : IHostingStartup
|
|
{
|
|
public void Configure(IWebHostBuilder builder)
|
|
{
|
|
builder.UseSetting("testhostingstartup1", "1");
|
|
builder.UseSetting("testhostingstartup_chain", builder.GetSetting("testhostingstartup_chain") + "1");
|
|
}
|
|
}
|
|
}
|