Commit Graph

37701 Commits

Author SHA1 Message Date
Kiran Challa 56c2d76e03 Upgrade Json.Net version to 10.0.1 2017-03-28 15:20:27 -07:00
Pranav K 200d8debc0 Use the SDK version of GetOSPlatform 2017-03-28 14:27:54 -07:00
Pranav K b22326323a Add properties to Page and PageModel
Fixes #6008
2017-03-28 13:26:38 -07:00
David Fowler c1487bf93d Fix some style nits 2017-03-28 11:53:35 -07:00
Vance Morrison 8165609f4e Logging optimization.2 14 (#944)
* Trivial change to avoid an allocation when logging is off (normal case).
2017-03-28 11:43:58 -07:00
Kiran Challa b2bd3e0841 Upgraded Json.NET version to 10.0.1 2017-03-28 11:39:09 -07:00
Kiran Challa 9c5b33dd8a Upgraded Json.Net version to 10.0.1 2017-03-28 11:28:43 -07:00
Nate McMaster f79904404e Log status of port before starting server with SelfHostDeployer (#993) 2017-03-28 10:48:46 -07:00
Kiran Challa dcf51f706c Upgraded Json.NET version to 10.0.1 2017-03-28 10:43:05 -07:00
Kiran Challa 2b8a937828 Upgraded Json.NET version to 10.0.1 2017-03-28 10:37:03 -07:00
Kiran Challa ab6e74f4b4 Upgraded Json.NET version to 10.0.1 2017-03-28 10:24:16 -07:00
Nate McMaster a2914ab483 Replace console logger with ITestOutputHelper (#64) 2017-03-28 10:13:37 -07:00
Nate McMaster 1ae7d6dc39 Update README.md
[ci skip]
2017-03-28 10:12:24 -07:00
Nate McMaster 79f93c0f4d
Update appveyor image to VS 2017 2017-03-28 09:59:02 -07:00
moozzyk fb512bbf41 Using common XUnitLoggerProvider
Fixes #331
2017-03-27 16:19:40 -07:00
moozzyk af22fec225 Completing pending calls when the connection is closed
Also fixing a small leak where a callback would not be removed if inovke failed due to a send error
2017-03-27 16:00:31 -07:00
Chris R d6322872ed #348 Implement IISHostingStartup 2017-03-27 15:54:34 -07:00
Ryan Nowak 737a9a58ad Fix breaks in Razor Tests
I removed a reference from a src project which exposed this issue. We
shouldn't be using these types in new Razor.
2017-03-27 14:32:30 -07:00
Ryan Nowak af7798a9be Fix a type error in the tag helper comparison 2017-03-27 14:04:12 -07:00
Ryan Nowak 8d1cc43f8e Get rid of extra dependencies
This project shouldn't have any dependencies besides Razor.
2017-03-27 14:04:11 -07:00
Ryan Nowak bc9b9876e5 Add a service for initializing tooling
This is a new API for tooling to call to get a RazorTemplateEngine that's
initialized correctly. For now this is hardcoded to use MVC's conventions.

This is also a very temporary design to get us past the next wave of
changes.

We'll eventually want to change this to an ILanguageService, but this will
require some new plumbing in the editor, so let's defer that for another
day.

(cherry picked from commit a73b5f58a8713076433d24668b99705388b6d6b3)
2017-03-27 14:04:10 -07:00
John Luo d21af1f26d React to MemoryCache trigger removal 2017-03-27 12:45:54 -07:00
Ajay Bhargav Baaskaran ed8425800a Revert: Don't generate CSharpStatementIRNode for whitespace 2017-03-27 12:45:49 -07:00
twirpx 58317b18ce Fixing NRE when CacheTagHelper throws and exception (#5989)
Fixes #5988
2017-03-27 12:45:22 -07:00
Andrew Stanton-Nurse 9254856007 IIS tests are just too flaky, disable them (#158) 2017-03-27 12:31:39 -07:00
Derek Gray 575fe68b2b Order enum values by DisplayAttribute.Order
Fixes #4297
2017-03-27 12:22:35 -07:00
John Luo 2bdbbbf41d UseMiddleware resolves InvokeAsync in addition to Invoke 2017-03-27 11:28:09 -07:00
Kiran Challa 71d09dc15c Using PackagePublisher tool to publish packages as it does retries 2017-03-27 10:50:37 -07:00
Doug Bunting 6436538068 Rename `IHtmlHelper.TextBox()` parameter (for consistency)
- #5394
2017-03-27 10:24:30 -07:00
Cesar Blum Silveira db7348e776 Fix flakiness in WhenAppWritesLessThanContentLengthButRequestIsAbortedErrorNotLogged. 2017-03-27 10:10:28 -07:00
BrennanConroy 09667e86ab Port ObjectMethodExecutor race fix 2017-03-27 09:19:08 -07:00
John Luo 4334fe19f2 Clean up test skip conditions 2017-03-25 22:00:13 -07:00
John Luo 6922cbb903 Use FrameworkSkipCondition
Instead of the removed SkipIfCurrentRuntimeIsCoreClr
2017-03-25 21:54:13 -07:00
John Luo 7228c15e28 Use FrameworkSkipCondition
Instead of the removed SkipIfCurrentRuntimeIsCoreClr
2017-03-25 21:53:59 -07:00
John Luo 10cdfd9fa2 Remove redundant SkipIfCurrentRuntimeIsCoreClrAttribute 2017-03-25 21:31:49 -07:00
Doug Bunting 0e8b790a08 Disable API Check for these command-line tools 2017-03-25 15:30:49 -07:00
BrennanConroy 6130003193 Convert to netcoreapp2.0 (#338)
* Converted samples and test projects to run on netcoreapp2.0
2017-03-25 09:37:39 -07:00
Doug Bunting 824d65ca3d Remove `ValueProviderResultExtensions`
- #5063
- update tests that used one extension method to instead use `ModelBindingHelper` directly

nit: `mbc` -> `context`
2017-03-24 22:17:34 -07:00
Ajay Bhargav Baaskaran 5928d0d54b Don't generate CSharpStatementIRNode for null or whitespace 2017-03-24 17:54:09 -07:00
John Luo 4351a3e448 Fix build (#345)
Launch tests in CoreCLR or CLR where appropriate
2017-03-24 16:50:38 -07:00
Cesar Blum Silveira 47f1db20e0 Fix races on port acquisition in AddressRegistrationTests (#1520). 2017-03-24 16:46:40 -07:00
Pranav K f66753cc3c Remove net451 as a cross-compile target 2017-03-24 16:01:41 -07:00
Ryan Nowak 1683018d71 Add a static 'register' method to MVC's extensions
This will be called by the IDE, and by MVC to register all of the
functionality in Microsoft.AspNet.Mvc.Razor.Extensions.
2017-03-24 15:56:32 -07:00
Jass Bagga cc6f0f6a26 ITagHelperComponent build fix
Fix build

In reaction to aspnet/Razor#1096
2017-03-24 15:23:03 -07:00
Ryan Nowak 565dd30957 Make the parser options configurable
The RazorParserOptions were only configurable via an internal interface
and an extension method on the builder. This isn't suitable for VS because
we need to be able to update the configuration while the editor is open,
without creating a new engine.
2017-03-24 15:21:26 -07:00
Jass Bagga fe6517dcdd Add ITagHelperComponent
Addresses https://github.com/aspnet/Mvc/issues/5728
2017-03-24 13:53:17 -07:00
Ryan Brandenburg b4640f8bb8 Use AspNetCore.Mvc.RazorPages 2017-03-24 13:08:07 -07:00
Pranav K b3b846c27e Remove net451 as a cross-compile target 2017-03-24 11:46:13 -07:00
Pranav K 2df3639535 Add System.Reflection.TypeExtensions to workaround test failures 2017-03-24 11:45:47 -07:00
Pranav K 31a2bdffce Remove net451 as a cross-compile target 2017-03-24 11:45:47 -07:00