25 references to UseStartup
LocalizationWebsite (1)
Program.cs (1)
25
.
UseStartup
("LocalizationWebsite");
Microsoft.AspNetCore.Hosting.Tests (22)
WebHostBuilderTests.cs (8)
31
using (var host = builder.
UseStartup
("MyStartupAssembly").Build())
44
using (var host = builder.UseServer(server).
UseStartup
("MissingStartupAssembly").Build())
608
.
UseStartup
("Microsoft.AspNetCore.Hosting.Tests")
636
.
UseStartup
("Microsoft.AspNetCore.Hosting.Tests")
656
.
UseStartup
("Microsoft.AspNetCore.Hosting.Tests")
675
.
UseStartup
("Microsoft.AspNetCore.Hosting.Tests")
697
.
UseStartup
("Microsoft.AspNetCore.Hosting.Tests")
729
.
UseStartup
(typeof(Startup).Assembly.GetName().Name)
WebHostTests.AsyncDisposable.cs (1)
19
.
UseStartup
("Microsoft.AspNetCore.Hosting.Tests")
WebHostTests.cs (13)
34
Assert.Throws<ArgumentNullException>(() => CreateBuilder().
UseStartup
((string)null));
141
.
UseStartup
("Microsoft.AspNetCore.Hosting.Tests")
160
.
UseStartup
("Microsoft.AspNetCore.Hosting.Tests")
218
.
UseStartup
("Microsoft.AspNetCore.Hosting.Tests")
257
.
UseStartup
("Microsoft.AspNetCore.Hosting.Tests")
293
.
UseStartup
("Microsoft.AspNetCore.Hosting.Tests")
312
.
UseStartup
("Microsoft.AspNetCore.Hosting.Tests")
379
.
UseStartup
("Microsoft.AspNetCore.Hosting.Tests")
709
.
UseStartup
("Microsoft.AspNetCore.Hosting.Tests")
732
.
UseStartup
("Microsoft.AspNetCore.Hosting.Tests");
1052
.
UseStartup
("Microsoft.AspNetCore.Hosting.Tests")
1072
.
UseStartup
("Microsoft.AspNetCore.Hosting.Tests")
1106
return new WebHostBuilder().UseConfiguration(config ?? new ConfigurationBuilder().Build()).
UseStartup
("Microsoft.AspNetCore.Hosting.Tests");
Microsoft.AspNetCore.Hosting.TestSites (1)
Program.cs (1)
34
.
UseStartup
("Microsoft.AspNetCore.Hosting.TestSites");
ServerComparison.TestSites (1)
Program.cs (1)
25
.
UseStartup
("ServerComparison.TestSites");