Commit Graph

45021 Commits

Author SHA1 Message Date
Pranav K a48b9c981b Merge branch 'release' into dev 2015-09-28 23:15:36 -07:00
Pranav K 452675918d Updating to release NuGet.config. 2015-09-28 23:15:34 -07:00
Pranav K 7d5b43c599 Updating to dev NuGet.config 2015-09-28 23:15:07 -07:00
Pranav K d2dc0391d6 Merge remote-tracking branch 'origin/release' into dev 2015-09-28 23:14:22 -07:00
Pranav K 648ddf4252 Updating to release NuGet.config 2015-09-28 23:13:57 -07:00
Pranav K 5698b61d34 Merge branch 'release' into dev 2015-09-28 23:12:56 -07:00
Pranav K 7e386ab576 Updating to release NuGet.config. 2015-09-28 23:12:54 -07:00
Pranav K 5f22f64c6c Merge branch 'release' into dev 2015-09-28 23:12:51 -07:00
Pranav K f6acb01a36 Updating to release NuGet.config. 2015-09-28 23:12:49 -07:00
Pranav K 77c7d9ce4e Merge branch 'release' into dev 2015-09-28 23:12:42 -07:00
Pranav K 430f83e13b Updating to release NuGet.config. 2015-09-28 23:12:40 -07:00
Pranav K 0a1edbe3f9 Merge branch 'release' into dev 2015-09-28 23:12:33 -07:00
Pranav K adfa02de90 Updating to release NuGet.config. 2015-09-28 23:12:30 -07:00
Pranav K 147574247c Merge branch 'release' into dev 2015-09-28 23:12:19 -07:00
Pranav K 326dc222f0 Updating to release NuGet.config. 2015-09-28 23:12:17 -07:00
Pranav K d68b002481 Merge branch 'release' into dev 2015-09-28 23:12:10 -07:00
Pranav K 7334d4922e Updating to release NuGet.config. 2015-09-28 23:12:07 -07:00
Ryan Nowak f95ffb57ae Make dictionary allocations lazy on RouteData
This change makes the allocation of DataTokens and Values on RouteData
lazy, and elides copies when copying an 'empty' RouteData.

In our current architecture this change will eliminiate 2 * (N + 1)
dictionary allocations/copies per request, where N is the number of routes
processed. In a large system with lots of attribute routes, this number
could be very significant.

For a small MVC site (ModelBinding, Validation, Views) with one route, it
still shows a modest reduction of dictionary allocations without adding
much complexity.
2015-09-28 22:54:32 -07:00
Pranav K 8d57211b15 Switching to CI release NuGet config 2015-09-28 22:47:07 -07:00
Pranav K b1a0e1b251 Merge branch 'dev' into release 2015-09-28 22:46:10 -07:00
Pranav K 9070e12766 Reacting to Hosting changes 2015-09-28 21:59:59 -07:00
Pranav K faf91c06e0 * Use --quiet for git pull and git clone so git fetch messages do not show up in CI
error logs.
2015-09-28 21:09:12 -07:00
Pranav K d576f71090 Reacting to feed and NuGet.config renames 2015-09-28 21:08:34 -07:00
Ben Adams 4eba490217 Only test for critical logging 2015-09-28 18:46:11 -07:00
Chris R 78cf065b88 #493 Upate to IdentityModel beta8 dependencies. 2015-09-28 18:25:13 -07:00
Ajay Bhargav Baaskaran c7e3f98cdd Enabling NuGetPackageVerifier 2015-09-28 18:11:01 -07:00
あまみや ゆうこ be186a8cd8 Update Startup.cs 2015-09-28 18:09:46 -07:00
Ryan Nowak d37f5aeb31 Fix #3217 - Optimize IList.GetEnumerator allocations
This change fixes call sites on the main request path for a simple site
(model binding, validation, views) that allocate boxed list enumerators.

Some cases aren't addressed by this change because the fix is too invasive
or requires changing an important contract to take IList instead of
IEnumerable. Will follow up on those case by case in order of importance.
2015-09-28 16:17:48 -07:00
Chris R ca6d7ffdd3 Add HttpPlatformHandler for windows auth tests. 2015-09-28 16:07:36 -07:00
Doug Bunting 28aec3f5cc Support user overrides of system-provided `ModelError` messages
- #2969
- add `ModelBindingMessages` for configuration and `IBindingMetadataProvider` overrides
  - use `interface` to avoid `new` oddities when adding a setter to an `abstract` property
- add `IModelBindingMessages` to `ModelMetadata` for use in rest of the product code
- plumb the various bits through the system
- add integration tests using a custom `IBindingMetadataProvider`s to override messages

nits:
- remove unused resources
- use `AttemptedValue` and not `model` in `SimpleTypeModelBinder`
2015-09-28 15:50:21 -07:00
Chris R 6b9a7fb294 Add IISIntegration 2015-09-28 15:24:11 -07:00
Chris R 4510d20a83 #2 Platform handler middleware, sample, tests, functional tests. 2015-09-28 15:16:55 -07:00
Hao Kung bf4ed2f645 Remove unused using 2015-09-28 14:31:40 -07:00
Ryan Nowak 0d6edf240a Move ModelExplorer to ViewFeatures 2015-09-28 14:14:40 -07:00
Chris R 673617f3dd Always specify the ApplicationHost.Config file. 2015-09-28 14:03:00 -07:00
Hao Kung d60bcac9b4 Tweak AddToRole duplicate behavior 2015-09-28 13:57:49 -07:00
Søren Kruse ec18b35123 Add FormatterCollection<T>
#2945
2015-09-28 13:23:19 -07:00
Ryan Nowak 67b43b4cfe Workaround Mono bugs to fix travis
This change works around two mono issues that are blocking travis. I'd
like to have tests skip instead, but unfortunately that would mean not
running any validation tests on mono so this seems better.

- RuntimeHelpers.GetHashCode will sometimes crash the runtime
- PropertyHelper sometimes returns throws null-ref
2015-09-28 12:58:45 -07:00
Hisham Bin Ateya 371511aaf1 Add description to project.json 2015-09-28 12:48:33 -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
Chris R 0131015b43 Update server test infrastructure, remove Helios concepts. 2015-09-28 12:41:23 -07:00
Stephen Halter 6d3e5d3bf2 Merge branch 'benaadams/fastpath-header-enumerator' into dev 2015-09-28 12:21:58 -07:00
moozzyk 454812e9bc Expanding environment variables in paths 2015-09-28 12:14:09 -07:00
David Fowler 44890477a0 Merge pull request #91 from hishamco/internals
Fix project name in AssemblyInfo
2015-09-28 00:58:45 -07:00
Hisham Bin Ateya 61106d36a1 Fix issue #88 2015-09-28 00:11:45 -07:00
David Fowler 22d13c4b34 Fixed some small usage issues
- Simplify waiting for changes
- Fixed project dependencies
2015-09-27 23:04:10 -07:00
Ryan Nowak 9a41bafea7 Fix #526 - use extension methods for AppendFormat
These changes make TagHelperContent with the IHtmlBuilder pattern, but
retain the signatures returning TagHelperContent.

Removed a bunch of tests that are no redundant with tests for the
extension methods in HttpAbstractions. Kept a few explemars in place to
ensure that the basic plumbing functions as desired.
2015-09-27 22:47:23 -07:00
moozzyk e47192b9e9 Using a path from `DNX_PACKAGES` if defined 2015-09-27 21:02:18 -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