damianedwards
7441855c34
Don't use a GUID for request ID because it's slow:
...
- FastHttpRequestIdentifierFeature uses an incrementing long with an int seed
- Everything is lazy so no computer incurred if ID is not asked for
- Optimized routine to stringify the ID
- #306
2015-10-04 22:43:03 -07:00
Pranav K
1ef8474be2
Renaming Microsoft.Framework.* -> Microsoft.Extensions.*
2015-10-03 15:44:40 -07:00
David Fowler
e323a14b43
Merge pull request #375 from benaadams/log-scope-only-enabled
...
Proposal: Start log scope only if logging is enabled
2015-09-30 03:09:31 -07:00
Ben Adams
4eba490217
Only test for critical logging
2015-09-28 18:46:11 -07:00
Anthony van der Hoorn
49035fd292
Order the setting of ContextAccessor so it happens before the BeginRequest event occurs.
2015-09-28 12:48:05 -07:00
Ben Adams
434bddeec5
Revert for grumpy test
2015-09-28 01:52:17 +01:00
Ben Adams
ed1fd4a2e8
Lazy eval requestIdentifier
...
Until is moved to httpContext?
2015-09-28 01:45:47 +01:00
Ben Adams
07b3814f32
Correct test
...
Yuk...
2015-09-26 22:51:06 +01:00
Ben Adams
7e52a00499
Start log scope only if logging is enabled
2015-09-26 14:34:49 +01:00
Chris R
a9e7948d72
#77 Catch startup exceptions and show them in the browser.
2015-09-24 21:41:08 -07:00
N. Taylor Mullen
520fc2b5fd
Fixed stack overflow when setting RequestServices
...
- Added tests
2015-09-24 17:09:29 -07:00
Hao Kung
49520a2a73
Switch to IServiceProvidersFeature for RequestServices
2015-09-23 13:33:07 -07:00
Chris R
285da613e4
#358 Redo port, add default address.
2015-09-22 08:46:48 -07:00
Chris R
fa1896869e
#358 Support HTTP_PLATFORM_PORT.
2015-09-18 12:41:39 -07:00
David Fowler
82f58d5f16
CR Feedback
2015-09-16 15:01:22 -07:00
David Fowler
9b061ececb
Dispose the service provider on app shutdown
...
- Added a unit test
#322
2015-09-16 14:52:54 -07:00
Chris R
6758010e1a
#353,#354 Add telemetry for begin/end request and unhandled exceptions.
2015-09-16 11:01:29 -07:00
Chris R
10176373c8
#351 Display hosting environment name and listening addresses on console.
2015-09-14 16:19:07 -07:00
Chris R
bda0386a93
#331 Add IServerAddressesFeature.
2015-09-14 16:19:06 -07:00
Pranav K
896c146e24
Replacing NotNullAttribute with thrown exceptions
2015-09-14 11:48:07 -07:00
Chris R
25b5a42ca6
#329 Change IServerInformation to IFeatureCollection.
2015-08-31 11:24:13 -07:00
Chris R
adae42b66f
Use new HttpContext.Features API.
2015-08-31 07:22:34 -07:00
Hao Kung
55b28abeab
Explicitly set ApplicationServices for HttpContext
2015-08-25 12:23:56 -07:00
David Fowler
52388e89f8
Removed builder arg parameter from IStartupFilter
...
- It broke the composition model by allowing you to
reach out to the original app builder. This breaks
the ability to properly wrap and have all configure
methods see the wrapper.
2015-08-16 19:16:49 -07:00
Hao Kung
bf6e293bfe
Simplify server loader logic
2015-06-29 11:39:06 -07:00
Hao Kung
ee8baab1ed
Nuke RequestServicesContainer (inline instead)
2015-06-23 13:44:06 -07:00
Chris R
2c43b350b4
React to IRequestIdentifierFeature refactor.
2015-06-18 15:38:58 -07:00
Kirthi Krishnamraju
b75a855b98
React to aspnet/Congifuration #195,#198
2015-05-20 14:54:33 -07:00
Hao Kung
5b851c49a3
Throw when ConfigureServices has wrong signature
2015-05-15 13:46:58 -07:00
Hao Kung
1354d66fb6
Ensure ConfigureServices is only called once
2015-05-11 15:08:40 -07:00
Kai Ruhnau
4de328069a
Add an ApplicationStarted event
2015-05-09 08:52:53 +02:00
Chris R
ad93dd74b6
React to Http namespace changes.
2015-05-07 13:26:53 -07:00
N. Taylor Mullen
65b21712ef
Update LICENSE.txt and license header on files.
2015-05-01 13:51:42 -07:00
Hao Kung
234bbf82f2
Hosting API Review changes
...
- Introduce WebHostBuilder
2015-04-23 23:51:29 -07:00
Hao Kung
77e2dc263f
Hosting rework #2
...
- Merge HostingContext and HostingEngine
- Cleanup usage via builder pattern
2015-03-30 18:05:51 -07:00
Hao Kung
19b75b688a
Rework hosting
...
- IStartupFilter support
- Rework HostingEngine
- AutoRequestScope by default via (IStartupFilter)
- RIP RequestContainer
2015-03-19 10:57:34 -07:00
Praburaj
d6535eeba0
Rename IHttpContextAccessor.Value to IHttpContextAccessor.HttpContext
...
Fixes: https://github.com/aspnet/Hosting/issues/160
2015-03-02 10:38:37 -08:00
Praburaj
6bf5eabd9f
Hosting API review # 2
...
1. Moving HostingUtilities and PipelineInstance into internal namespaces.
2. Renaming some properties in IHostingEnvironment
3. Renaming IHttpContextAccessor HttpContext into Value.
Addresses:
https://github.com/aspnet/Hosting/issues/159
https://github.com/aspnet/Hosting/issues/157
https://github.com/aspnet/Hosting/issues/161
2015-02-27 11:30:38 -08:00