Handle IBuilder rename to IApplicationBuilder.
This commit is contained in:
parent
0c3cf30d2c
commit
56987a66c6
|
|
@ -16,7 +16,7 @@ namespace MusicStore.Spa
|
||||||
{
|
{
|
||||||
public class Startup
|
public class Startup
|
||||||
{
|
{
|
||||||
public void Configure(IBuilder app)
|
public void Configure(IApplicationBuilder app)
|
||||||
{
|
{
|
||||||
var configuration = new Configuration()
|
var configuration = new Configuration()
|
||||||
.AddJsonFile("Config.json")
|
.AddJsonFile("Config.json")
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ namespace MusicStore
|
||||||
{
|
{
|
||||||
public class StartupSocialTesting
|
public class StartupSocialTesting
|
||||||
{
|
{
|
||||||
public void Configure(IBuilder app)
|
public void Configure(IApplicationBuilder app)
|
||||||
{
|
{
|
||||||
Console.WriteLine("Social Testing mode...");
|
Console.WriteLine("Social Testing mode...");
|
||||||
//Below code demonstrates usage of multiple configuration sources. For instance a setting say 'setting1' is found in both the registered sources,
|
//Below code demonstrates usage of multiple configuration sources. For instance a setting say 'setting1' is found in both the registered sources,
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ namespace MusicStore
|
||||||
{
|
{
|
||||||
public class Startup
|
public class Startup
|
||||||
{
|
{
|
||||||
public void Configure(IBuilder app)
|
public void Configure(IApplicationBuilder app)
|
||||||
{
|
{
|
||||||
//Below code demonstrates usage of multiple configuration sources. For instance a setting say 'setting1' is found in both the registered sources,
|
//Below code demonstrates usage of multiple configuration sources. For instance a setting say 'setting1' is found in both the registered sources,
|
||||||
//then the later source will win. By this way a Local config can be overridden by a different setting while deployed remotely.
|
//then the later source will win. By this way a Local config can be overridden by a different setting while deployed remotely.
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ namespace MusicStore
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class StartupNtlmAuthentication
|
public class StartupNtlmAuthentication
|
||||||
{
|
{
|
||||||
public void Configure(IBuilder app)
|
public void Configure(IApplicationBuilder app)
|
||||||
{
|
{
|
||||||
//Set up NTLM authentication for WebListener like below.
|
//Set up NTLM authentication for WebListener like below.
|
||||||
//For IIS and IISExpress: Use inetmgr to setup NTLM authentication on the application vDir or modify the applicationHost.config to enable NTLM.
|
//For IIS and IISExpress: Use inetmgr to setup NTLM authentication on the application vDir or modify the applicationHost.config to enable NTLM.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue