Commit Graph

15565 Commits

Author SHA1 Message Date
Eilon Lipton eb9383fe40 Update LICENSE.txt 2015-09-17 08:38:38 -07:00
Stephen Halter 6f8c040cfe Fix false positive in Standards Police warning warning SP1004
- "warning SP1004: namespaces not alphabetized"
- Any using statement can come after "using System;"
2015-09-17 00:51:43 -07:00
Ryan Nowak abd5303bb4 React to MVC renames 2015-09-17 00:17:15 -07:00
Stephen Halter 47323a88e1 Surface errors from Listener.StartAsync better
If CreateListenSocket fails, surface the original error instead of throwing a
NullReferenceException from Listener.Dispose().

#185
2015-09-16 18:19:01 -07:00
Stephen Halter 2d01f2752b Catch and log uv_accept errors
- This is also what is done by node.js
- "tcp, pipe: don't assert on uv_accept() errors (Ben Noordhuis)"

0685707bc6
2015-09-16 18:18:58 -07:00
Stephen Halter f14af1f409 Don't swallow too many exceptions
- Swallowing too many exceptions can end up hiding issues in
  Kestrel itself. It's better to let the process die.
- If we want to handle certain exceptions we should be as
  specific as possible with our try/catch blocks.
2015-09-16 18:18:55 -07:00
Ryan Nowak 47866ac5db React to renames from Auth 2015-09-16 17:21:01 -07:00
Ryan Nowak 3382b82e5e Fix breaking changes 2015-09-16 16:46:18 -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
Ryan Nowak e56c3806b6 Add tests for HtmlContentBuilderExtensions 2015-09-15 23:45:44 -07:00
Ryan Nowak 7ef2242805 Extension methods for IHtmlContentBuilder
Resolves a bunch of duplication between TagHelperContent and
BufferedHtmlContent, plus adds a few more convenience overloads we don't
have in one of the two places.
2015-09-15 16:50:01 -07:00
Nate McMaster e3458ceb1b Add libuv to travis ui build script 2015-09-15 16:28:17 -07:00
Nate McMaster d162fff906 Temporary workaround for https://github.com/aspnet/EntityFramework/issues/3144 2015-09-15 15:33:02 -07:00
Kiran Challa 5008e2743d Removed style cop related shade files 2015-09-15 14:19:00 -07:00
Chris R 2e225b0db6 Hosting#331 Add IServerAddressesFeature. 2015-09-15 12:47:18 -07:00
Doug Bunting 22952e1806 Add `restoreDir` parameter in `_k-restore.shade`
- enables use of this command where it's currently overridden
- in turn, this means `--quiet` would be honoured in those `makefile.shade` files

For example can use this hook to shut DNX build up a bit
- `makefile.shade` there calls `dnu restore` directly and ignores `--quiet`
2015-09-15 11:58:48 -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
Hao Kung da3c513ad4 React to security changes 2015-09-14 15:07:23 -07:00
Ryan Nowak 52cfdf75f2 Add AppendEncoded to the builder
This is needed because a builder may have an optimized path for an
unencoded string. There's also no 'common' encoded string implementation
so it's much more straightforward to put this on the interface.
2015-09-14 11:58:38 -07:00
Pranav K 896c146e24 Replacing NotNullAttribute with thrown exceptions 2015-09-14 11:48:07 -07:00
Kiran Challa bfe1de4819 React to Cors api changes 2015-09-14 11:08:11 -07:00
David Fowler 7a24045953 Split ParsingHelpers classes into their own files
#397
2015-09-13 22:07:17 -07:00
moozzyk d59fa774a8 Updating licenses 2015-09-11 10:22:16 -07:00
Pranav K 98af679b0b Adding NeutralResourcesLanguageAttribute 2015-09-10 18:45:23 -07:00
Ryan Nowak ed3ea33918 Add IHtmlContentBuilder interface
Common interface for things that allow appending content (TagBuilder,
BufferedHtmlContent). We want to be able to expose this from APIs for
users to add content.

See discussion: https://github.com/aspnet/Mvc/issues/3087
2015-09-10 18:41:17 -07:00
Pranav K 78de14d248 Adding NeutralResourcesLanguageAttribute 2015-09-10 18:15:27 -07:00
Pranav K b1a2db0a7c Adding NeutralResourcesLanguageAttribute 2015-09-10 17:48:17 -07:00
Pranav K 3e6585dcc8 Adding NeutralResourcesLanguageAttribute 2015-09-10 17:38:16 -07:00
Pranav K 5bf429d212 Adding NeutralResourcesLanguageAttribute 2015-09-10 16:41:24 -07:00
Stephen Halter 958cc3eca3 Add missing arguments to LogDebug arguments in KestrelTrace 2015-09-10 12:40:16 -07:00
Kiran Challa 77a8eca1fd React to errorhandler and errorpage extension name changes 2015-09-10 12:10:56 -07:00
Stephen Halter 813127e7f6 Merge branch 'benaadams/negative-threads' into dev 2015-09-10 11:58:09 -07:00
Stephen Halter ec88e57f67 Remove commented code in KestrelTrace 2015-09-10 11:41:27 -07:00
Stephen Halter 1ebf98d40d Log message style changes
- Disabled some log messages for possibly being too verbose.
- Don't log ConnectionReadFin when there is an error.
2015-09-10 11:41:25 -07:00
Stephen Halter 0ef096b41c Increment connection id for logging 2015-09-10 11:41:22 -07:00
Chris R 327dabb243 Fix namespace for Clear extension. 2015-09-10 11:35:22 -07:00
Chris R 00d5a056d9 #360 Add Response.Clear() extension. 2015-09-10 11:30:42 -07:00
Chris R 18a2663531 React to Authentication API changes. 2015-09-10 10:18:52 -07:00
Kiran Challa 7f25096dda React to RazorPreCompileModule changes 2015-09-10 08:32:21 -07:00
Ben Adams dda5774a8b Throw exception if ThreadCount negative 2015-09-10 08:03:42 +01:00
Doug Bunting fea510f1d0 React to `xunit.runner.aspnet` package updates
- aspnet/aspnet.xunit@5a12e89
2015-09-09 19:45:47 -07:00
Ben Adams 887cf2c7be Negative thread count fix 2015-09-10 02:57:49 +01:00
Kiran Challa 585643cf86 Updating Sake to always use latest version 2015-09-09 15:24:02 -07:00
Kiran Challa a7bebaae83 Updating Sake to always use latest version 2015-09-09 15:18:10 -07:00
Kiran Challa 15521ffc2b Updating Sake to 0.2.2 2015-09-09 15:08:09 -07:00
Kiran Challa c3bf1e8d6b Updating build.sh to use Sake 0.2.2 2015-09-09 15:03:07 -07:00
Pranav K 525c6de035 Updating to Sake 0.2.2 2015-09-09 12:34:52 -07:00