Commit Graph

14349 Commits

Author SHA1 Message Date
David Fowler 8f5f8d28d0 This change introduces a new service `IStartup` that can be registered in the hosting container to override any startup logic. `UseStartup` overloads have been changed to detect `IStartup` and directly put it in the container, or to wrapping it with a `ConventionBasedStartup` implementation to preserve the existing behavior.
- Remove IStartupLoader and add `IStartup` instead that matches the signature hosting cares about
- Moved `UseStartup` to extension methods
- Move existing logic into `ConventionBasedStartup` class
2016-04-18 21:33:03 -07:00
Victor Hurdugaci c9710b54c9 Merge branch 'release' into dev 2016-04-18 17:39:43 -07:00
Victor Hurdugaci 684ee87f20 Fix the prefix comparison 2016-04-18 17:38:41 -07:00
Pavel Krymets b5d7ebd22d Merge branch 'release' into dev 2016-04-18 17:09:15 -07:00
Pavel Krymets 4ee4c29b06 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 17:09:11 -07:00
Pavel Krymets 1218fa65f8 Merge branch 'release' into dev 2016-04-18 17:01:23 -07:00
Pavel Krymets 5273e0e768 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 17:01:20 -07:00
Mike Harder 8b83f1ee6b Merge branch 'release' into dev 2016-04-18 16:59:08 -07:00
Pavel Krymets dd6bf6a205 Merge branch 'release' into dev 2016-04-18 16:58:32 -07:00
Pavel Krymets e3f4f23b5a Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 16:58:28 -07:00
Mike Harder 0453e4af70 Add KestrelServerOptionsSetup before KestrelServerOptions (#755) (#757)
- Required to ensure that options.ApplicationServices is available after during UseKestrel(options)
2016-04-18 16:57:59 -07:00
Pavel Krymets 8fe7a17dab Merge branch 'release' into dev 2016-04-18 16:52:09 -07:00
Pavel Krymets 87b8d478e0 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 16:52:06 -07:00
Pavel Krymets 63715c4ad5 Merge branch 'release' into dev 2016-04-18 16:48:02 -07:00
Pavel Krymets a20299eeeb Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 16:47:48 -07:00
Pavel Krymets bc066851ee Merge branch 'release' into dev 2016-04-18 16:36:58 -07:00
Pavel Krymets f94faf4276 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 16:36:54 -07:00
Pavel Krymets a13aaffdfe Merge branch 'release' into dev 2016-04-18 16:30:01 -07:00
Pavel Krymets 9337f3e48e Migrate tests, tools and samples to portable 2016-04-18 16:28:14 -07:00
Kiran Challa 4c2c1d939b Fixed build break 2016-04-18 16:19:22 -07:00
Kiran Challa 426c61c81e Removed duplicate glyphicon 2016-04-18 15:59:03 -07:00
Kiran Challa ef5a5cdf5d updated 2016-04-18 15:57:41 -07:00
Kiran Challa 95eaa0a11c Remove duplicate glyphicon 2016-04-18 15:57:12 -07:00
Kiran Challa 6435591d1c Created a configurable memory cache 2016-04-18 15:48:14 -07:00
Mike Harder 0d9dc1a205 Merge branch 'release' into dev 2016-04-18 15:33:21 -07:00
Mike Harder bbf2c83a7d Add KestrelServerOptionsSetup to IServiceCollection in UseKestrel() (#755)
- Previously, KestrelServerOptionsSetup was only added to IServiceCollection in UseKestrel(options)
- Required to ensure that options.ApplicationServices is available after calling UseKestrel()
2016-04-18 15:32:09 -07:00
Andrew Peters 83685073fb Fixing test 2016-04-18 14:34:28 -07:00
Andrew Peters 90d816dfd0 Adding TODO for ordering in GenreComponent 2016-04-18 14:34:20 -07:00
Andrew Peters 48b17c886c Various improvements:
- Use more efficient projection query for GenreMenuComponent.
- Change some sync EF calls to async.
- Log at Information level when Development.

Fix: #636

Conflicts:
	src/MusicStore/Components/GenreMenuComponent.cs
2016-04-18 14:34:08 -07:00
John Luo 73e341e543 Reenable tests after CoreFX fix 2016-04-18 14:01:49 -07:00
Chris R 0668e45413 Clean up server configuration. 2016-04-18 13:36:52 -07:00
Ryan Brandenburg 4e5fd908fd Merge remote-tracking branch 'origin/release' into dev 2016-04-18 09:49:59 -07:00
Ryan Brandenburg 6fd469e748 Make contentRootPath error give failed path 2016-04-18 09:48:48 -07:00
Pavel Krymets c01981d6dc Merge branch 'release' into dev 2016-04-18 08:38:10 -07:00
Pavel Krymets 6aca37fe5e Migrate tests, tools and samples to portable 2016-04-18 08:37:56 -07:00
David Fowler f9637430d8 Merge pull request #614 from JimmyHannon/patch-1
Update RunExtensions.cs
2016-04-17 01:20:11 -07:00
Chris R 909be6d307 Merge branch 'release' into dev 2016-04-16 23:28:25 -07:00
Chris R 8e4580f956 React to WebListener configuration changes. 2016-04-16 23:27:55 -07:00
campersau 7ba590b6f1 Rename UseIIS() to UseIISIntegration() in comment 2016-04-17 02:49:58 +02:00
John Luo 31a00f19f8 Merge branch 'release' into dev 2016-04-15 17:48:47 -07:00
John Luo 6b1ffb55b3 Remove old IISPlatformHandler and dotnet-publish-iis packages #122 2016-04-15 17:48:16 -07:00
Chris R 20a1f4a548 Merge branch 'release' into dev 2016-04-15 16:06:15 -07:00
Chris R c48353f4ef Hosting#698 Remove IServerFactory 2016-04-15 16:05:01 -07:00
Chris R 5e425b24ec Merge branch 'release' into dev 2016-04-15 16:02:49 -07:00
Chris R 26e6036187 #698 Remove IServerFactory 2016-04-15 16:01:17 -07:00
Ryan Brandenburg 6a57ec1fa9 Make contentRootPath error give failed path 2016-04-15 14:47:22 -07:00
moozzyk 31473694f3 Merge branch 'release' into dev 2016-04-15 14:28:21 -07:00
Andrew Peters 81d5dc124d Fixing test 2016-04-15 13:46:14 -07:00
Andrew Peters 7a551325c6 Adding TODO for ordering in GenreComponent 2016-04-15 13:32:31 -07:00
moozzyk 1410a5a096 Enabling publishing portable apps
Addresses #109
2016-04-15 13:09:55 -07:00