Commit Graph

18017 Commits

Author SHA1 Message Date
Chris R 8c2756cffa Fix service registration order. 2016-04-19 09:49:54 -07:00
Dorin Andreica d2780734b2 Rebased #713 on latest aspnet/Hosting 2016-04-19 11:38:32 +02:00
David Fowler 933a2f5a1d Don't dispose the server anymore, the container does it 2016-04-18 22:47:28 -07:00
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 3f9ceee4b1 Merge branch 'release' into dev 2016-04-18 17:07:38 -07:00
Pavel Krymets a35e5a02c3 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 17:07:34 -07:00
Pavel Krymets 7bc1fa8371 Merge branch 'release' into dev 2016-04-18 17:05:25 -07:00
Pavel Krymets e3667f7c26 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 17:05:20 -07:00
Pavel Krymets 48c7c3c1d2 Merge branch 'release' into dev 2016-04-18 17:04:31 -07:00
Pavel Krymets 09ce98ec41 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 17:04:24 -07:00
Pavel Krymets c7efad087d Merge branch 'release' into dev 2016-04-18 17:03:41 -07:00
Pavel Krymets 176b6a5910 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 17:03:38 -07:00
Pavel Krymets 793cd22aa0 Merge branch 'release' into dev 2016-04-18 17:03:21 -07:00
Pavel Krymets d98924f713 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 17:03:18 -07:00
Pavel Krymets 4ab5b3b76b Merge branch 'release' into dev 2016-04-18 17:02:49 -07:00
Pavel Krymets 67ea570e87 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 17:02:45 -07:00
Pavel Krymets c1f424d461 Merge branch 'release' into dev 2016-04-18 17:02:31 -07:00
Pavel Krymets 4bddd93e32 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 17:02:26 -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
Pavel Krymets c4137ba0a9 Merge branch 'release' into dev 2016-04-18 17:00:56 -07:00
Pavel Krymets 169a571a37 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 17:00:52 -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
Ryan Brandenburg eabe83a72d Prevent null-ref and log exceptions form Serializer 2016-04-18 15:55:27 -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
Ryan Brandenburg fd81151d31 Preserve X-Frame-Options if it was already set 2016-04-18 14:27:06 -07:00