React to aspnet/Configuration #195,#198
This commit is contained in:
parent
74c8363855
commit
9ba11ee04a
|
|
@ -7,7 +7,7 @@ using Microsoft.AspNet.Builder;
|
||||||
using Microsoft.AspNet.Hosting;
|
using Microsoft.AspNet.Hosting;
|
||||||
using Microsoft.AspNet.Hosting.Startup;
|
using Microsoft.AspNet.Hosting.Startup;
|
||||||
using Microsoft.AspNet.Http;
|
using Microsoft.AspNet.Http;
|
||||||
using Microsoft.Framework.ConfigurationModel;
|
using Microsoft.Framework.Configuration;
|
||||||
using Microsoft.Framework.Runtime.Infrastructure;
|
using Microsoft.Framework.Runtime.Infrastructure;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.WebSockets.Client.Test
|
namespace Microsoft.AspNet.WebSockets.Client.Test
|
||||||
|
|
@ -42,7 +42,7 @@ namespace Microsoft.AspNet.WebSockets.Client.Test
|
||||||
builder.Run(c => app(c));
|
builder.Run(c => app(c));
|
||||||
};
|
};
|
||||||
|
|
||||||
var config = new Configuration();
|
var config = new ConfigurationSection();
|
||||||
config.Add(new MemoryConfigurationSource());
|
config.Add(new MemoryConfigurationSource());
|
||||||
config.Set("server.urls", "http://localhost:54321");
|
config.Set("server.urls", "http://localhost:54321");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue