Commit Graph

37666 Commits

Author SHA1 Message Date
Stephen Halter a992c78548 Dispatch user defined callback so it can't block the event loop 2015-06-15 10:07:58 -07:00
Stephen Halter adc0310491 Ensure all handles still get released after graceful shutdown 2015-06-15 09:43:01 -07:00
Stephen Halter 31057f65bc Gracefully shutdown even when there are open connections 2015-06-15 09:41:33 -07:00
Doug Bunting 296ec7736e Go one less step when resolving `[ModelMetadataType]`
- #2610
- make MVC 6's attribute consistent with data annotation's `[MetadataType]`, used in MVC 5
2015-06-14 18:02:10 -07:00
Thomas L. Kjeldsen a89847f357 Merge remote-tracking branch 'upstream/dev' into dev 2015-06-15 00:06:07 +02:00
Thomas L. Kjeldsen a68f2c17df Merge pull request #1 from moander/dev
Avoid full rebuild every time.
2015-06-14 23:31:15 +02:00
Victor Hurdugaci f377542e38 Build projects in one go 2015-06-13 14:42:16 -07:00
moander 037ba1d500 Avoid full rebuild every time.
I found this in a comment somewhere and tested it. It runs much smoother than the original one, but someone more experienced should review the change because I'm not sure what happends if the project contains bower/nmp config and so on.
2015-06-13 08:34:32 +00:00
anurse d8310239b1 Merge branch 'release' into dev 2015-06-13 00:16:47 -07:00
anurse d436955e02 Switch to xunit.runner.aspnet 2015-06-13 00:13:52 -07:00
anurse f581863445 move System.Reflection dependency to dnxcore50 in tests 2015-06-12 23:43:46 -07:00
Glenn Condron 7613b7ee81 Merge pull request #587 from glen-84/patch-1
Fix variable names in dnvminstall.ps1
2015-06-12 19:19:54 -07:00
Glenn Condron 17b2eb1060 Merge pull request #505 from MRdNk/fixosxreadme
Update README.md: To include OSX instructions to add `source dnvm.sh` to bashrc - to use in bash
2015-06-12 19:07:10 -07:00
Stephen Halter 5c6a53c491 Dispose Listeners if they fail to start 2015-06-12 17:02:31 -07:00
Stephen Halter 7e125faa73 Dispatch user defined callback so it can't block the event loop 2015-06-12 17:02:27 -07:00
Chris R e9d406e2f7 React to OnSendingHeaders rename. 2015-06-12 15:58:15 -07:00
Chris R ab3cc8bcc7 React to OnSendingHeaders rename. 2015-06-12 15:53:07 -07:00
Chris R ef4ab17700 React to OnSendingHeaders rename. 2015-06-12 15:48:45 -07:00
Chris R fa3b98f113 React to OnSendingHeaders rename. 2015-06-12 15:28:54 -07:00
Chris R 08c0bbbd60 React to OnSendingHeaders rename. 2015-06-12 15:05:45 -07:00
Chris R c2b638d85b React to OnSendingHeaders rename. 2015-06-12 14:38:03 -07:00
Chris R a79b05bf24 #320 Rename OnSendingHeaders to OnResponseStarting and HeadersSent to HasStarted. 2015-06-12 12:59:07 -07:00
Stephen Halter 106edf8c86 Ensure all handles still get released after graceful shutdown 2015-06-12 12:49:52 -07:00
Chris R 20f2219886 #121 Enable kernel mode response caching. 2015-06-12 12:12:22 -07:00
Ryan Nowak faaba481e8 Adding an 'AddMinimalMvc()' for Mvc.Core and sample
This adds the ability to configure Mvc.Core for a project; MVC with
minimal services and dependencies.
2015-06-12 11:29:47 -07:00
Ryan Nowak a665e48826 A new pattern for adding multi-registration services
This is some cleanup of how we add multi-registration services to avoid
duplication when calling AddMvcServices multiple times. Also improved
tests to be more clear, and to verify all of our special cases
explicitly.
2015-06-12 11:29:42 -07:00
Ryan Nowak 0861612779 A new pattern for adding multi-registration services
This is some cleanup of how we add multi-registration services to avoid
duplication when calling AddMvcServices multiple times. Also improved
tests to be more clear, and to verify all of our special cases
explicitly.
2015-06-12 11:23:51 -07:00
Chris R bc98fcbce4 Add Antiforgery repo. 2015-06-12 09:10:09 -07:00
Chris R 97af2f2b21 Merge branch 'release' into dev 2015-06-12 09:07:16 -07:00
Chris R 3941b1a471 Merge branch 'release' into dev 2015-06-12 09:06:06 -07:00
Stephen Halter b43e5940e5 Gracefully shutdown even when there are open connections 2015-06-11 17:06:25 -07:00
Hisham Abdullah Bin Ateya 1f9a451e2f Using 'nameof' operator instead of margic strings 2015-06-12 02:26:34 +03:00
Chris R e7edacc865 Remove the WebSocketAbstractions repo. 2015-06-11 16:18:35 -07:00
Hao Kung e80853a4cf Cleanup logging 2015-06-11 14:56:25 -07:00
Hisham Abdullah Bin Ateya a1409e0294 React to common package name change 2015-06-11 23:42:32 +03:00
Hisham Abdullah Bin Ateya e632831c09 Using [NotNull] 2015-06-11 22:49:17 +03:00
Hisham Abdullah Bin Ateya 208fa4af36 Using 'nameof' operator instead of magic strings 2015-06-11 22:44:11 +03:00
Ajay Bhargav Baaskaran a3c593bda9 [Fixes #2409] Return EmptyResult for void actions 2015-06-11 11:51:51 -07:00
Henk Mollema 256201ac46 Use AddMvcWithDefaultRoute() 2015-06-11 09:32:48 +02:00
Henk Mollema 40cfc238fe Use nameof operator 2015-06-11 09:28:05 +02:00
Hao Kung e2d8bfe5cf Cleanup logging in SignInManager 2015-06-10 15:13:28 -07:00
Ryan Nowak b474ef9b23 Add sample of using Antiforgery outside of MVC 2015-06-10 14:53:44 -07:00
N. Taylor Mullen 31aa51ba49 React to aspnet/Razor#172. 2015-06-10 14:43:08 -07:00
N. Taylor Mullen ddbd603653 Enable instrumentation for TagHelpers.
- Removed old code that disabled instrumentation for TagHelper bodies. Instrumentation will throw out sections for begin/end context that don't make it to the final output.
- Added instrumentation around WriteTagHelperAsync. Any content inside of the TagHelper will get sub-mapped via begin/end context.
- Hand verified BasicTagHelpers.cs begin/end context tests to ensure correctness.

#172
2015-06-10 12:52:25 -07:00
Ryan Nowak 355a2b0a78 Add an IServiceCollection extensions 2015-06-10 12:52:20 -07:00
Ryan Nowak e789e82d3d Add package description 2015-06-10 12:24:22 -07:00
Ryan Nowak 3dc2663c35 Code dump of Antiforgery code 2015-06-10 12:13:30 -07:00
Doug Bunting 3f6ab3bb03 Add `ModelMetadata.ElementMetadata`
- #2664
- use new property to correctly determine `isTargetEnum` in `GetCurrentValues()`
 - avoid `ArgumentNullException` in all cases where raw values are `enum` but target is not
- stop skipping tests blocked by #2664, exposing a couple more #1487 issues
- use new property instead of private `GetElementType()` methods where possible
 - cleans up some duplicate code
 - also remove redundant use of `IsCollectionType` and `ElementMetadata`

nits:
- move properties above methods in `ModelMetadata`
- avoid accidentally-incorrect "Remove Unnecessary Usings"
2015-06-10 12:02:50 -07:00
Doug Bunting afd5b4f2a6 Demonstrate #1485, #1487, #2662, #2664 in functional and unit tests
- test additional cases _close_ to these bugs as well

for #1485
- show odd `@Html.CheckBox()`, `@Html.Hidden()` behaviour in unit tests
- show odd `@Html.TextBox()` behaviour in functional tests (templates)

for #1487
- show odd `@Html.Value()` behaviour in unit tests
- show odd `@Html.RadioButton()`, `@Html.TextArea()` behaviour in functional tests
- show lack of validation attributes for `@Html.RadioButton()`, `<select>` tag helper

for #2662
- show odd `@Html.RadioButton(string.Empty)` behaviour in functional tests

for #2664
- show failures with `@Html.ListBox()` in unit tests

nits:
- test `IHtmlHelper` methods, not extensions
- use `ViewData`, not `ViewBag` in `HtmlGeneration_FormController`
- name test methods a bit more consistently
- rename `HtmlHelperValueExtensionsTest` to `HtmlHelperValueTest`
2015-06-10 10:22:40 -07:00
N. Taylor Mullen a1df1702e5 Add support for C# 6 exception filters.
- Added new handling of the C# try catch statement to allow exception filters after catch statements.
- Added tests to validate valid and invalid scenarios.

#402
2015-06-10 10:08:10 -07:00