Commit Graph

39960 Commits

Author SHA1 Message Date
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
Ryan Brandenburg 9ffc745e76 Add Mvc.Razor.Extensions to VSIX 2017-03-24 11:45:04 -07:00
N. Taylor Mullen 0fa79818e1 Add DisplayName to RequiredAttributeDescriptor.
- When `RequiredAttributeDescriptor`s are displayed in an editor their display name differs based on their name comparison mode. If their name comparison mode happens to be a prefix match then we need to append three dots to indicate that it's a required prefix for an attribute.
- Added a new descriptor builder test to validate `DisplayName` is created correctly.

#1119
2017-03-24 11:07:52 -07:00
Kiran Challa 7a50fdda48 Converted sample and test project to run on netcoreapp2.0 2017-03-24 11:07:13 -07:00
David Fowler 0f28c49c5e Fix the invalid usages of Span<T> (#1549) 2017-03-24 11:06:16 -07:00
Pranav K 9a7abcd902 Remove net451 as a cross-compile target 2017-03-24 07:56:01 -07:00
Pranav K 2ea0659e60 Change compilation targets.
* Remove net451 as a compilation target
* Upgrade to netcoreapp2.0
2017-03-24 07:49:34 -07:00
Pranav K e7101f248a Support model binding to Razor Pages properties on page and PageModel classes
Fixes #5952
2017-03-24 07:45:19 -07:00
Pranav K d6d13a0986 Remove net451 as a cross-compile target 2017-03-24 07:44:11 -07:00
David Fowler d5cbdb8ac6 Update WebHost.cs (#986) 2017-03-23 21:52:55 -07:00
Cesar Blum Silveira 3e6303b6c1 Fix flakiness in connection reset logging tests. 2017-03-23 21:52:29 -07:00
Andrew Stanton-Nurse 430b8a3686 Disable Autobahn Tests for now
Filed #336 to track restoring them.
2017-03-23 21:20:54 -07:00
Jass Bagga e746e8b36c Disable test
See #263
2017-03-23 20:40:02 -07:00
Ajay Bhargav Baaskaran 54831fed35 Simplified if condition 2017-03-23 19:17:32 -07:00
Pranav K 91406009d3 Remove net451 as a cross-compile target 2017-03-23 17:20:12 -07:00
Kiran Challa e79afcdb64 Converted samples and test projects to run on netcoreapp2.0 2017-03-23 17:06:27 -07:00
Kiran Challa bb7b58321c Converted samples and test projects to run on netcoreapp2.0 2017-03-23 17:05:16 -07:00
Kiran Challa 77da34c7b3 Converted sample and test projects to netcoreapp2.0 2017-03-23 17:04:59 -07:00
Kiran Challa 33a3be4a16 Converted sample and test project to run on netcoreapp2.0 2017-03-23 17:04:47 -07:00
Kiran Challa 6ac219c710 updated 2017-03-23 16:25:51 -07:00
Kiran Challa 6f2a0702e3 Converted samples and test projects to run on netcoreapp2.0 2017-03-23 16:25:51 -07:00
Chris R 095e45953f Add System.Net.Http 4.3.1 dependency to work around HttpClient issues 2017-03-23 16:21:32 -07:00
moozzyk 70e4ec9a06 Introducing the IConnection interface
Unifying events
2017-03-23 16:07:35 -07:00
Chris R 5491ec56fd Revert "Temporarily skipping failing NTLM tests"
This reverts commit 1b5beea573.
2017-03-23 15:30:46 -07:00
Pranav K 53946e9856 Remove net451 as a cross-compile target 2017-03-23 15:26:48 -07:00
BrennanConroy 14d3f2bc9b Allow overridden methods on hubs (#334)
Allow overridden methods on hubs
2017-03-23 14:38:31 -07:00
Pranav K adcc6e8d7b Renaming FunctionalTests project in repo.props 2017-03-23 14:35:15 -07:00
Pranav K a641231f66 Remove net451 as a cross-compile target 2017-03-23 11:27:45 -07:00
Pranav K cdadfd48d0 Try renaming functional tests as a potential mitigation for long path issues 2017-03-23 11:14:01 -07:00
N. Taylor Mullen e3e4176124 Try renaming functional tests as a potential mitigation for long path issues. 2017-03-23 11:12:20 -07:00
Ajay Bhargav Baaskaran ae34e14358 Don't generate line mappings for imports 2017-03-23 10:39:07 -07:00
Pranav K c3d312b0b0 Remove net451 as a cross-compile target 2017-03-23 10:32:42 -07:00
Kiran Challa 7e9b92072e Converted samples and test projects to run on netcoreapp2.0 2017-03-23 09:52:35 -07:00
Kiran Challa 0586fd136f Converted samples and test projects to run on netcoreapp2.0 2017-03-23 09:52:13 -07:00
Pranav K 1b5beea573 Temporarily skipping failing NTLM tests 2017-03-23 09:22:12 -07:00
Andrew Stanton-Nurse 28bf0b445b add some very simple, fairly stupid, benchmarks (#322) 2017-03-23 09:18:49 -07:00
Pranav K 20dcccd847 Revert "Revert "Change compilation targets.""
This reverts commit 5f76cd272a.
2017-03-23 09:08:05 -07:00
David Fowler f090b7a9c6 React to corefxlab changes (#1539)
- Removed use of TryRead and follow the pin and use pattern in the other APIs

https://github.com/dotnet/corefxlab/pull/1348
2017-03-23 06:52:24 -07:00
David Fowler d2430f0f4e Merge pull request #6004 from CoskunSunali/dev
Avoid entry point assembly being loaded twice during assembly parts discovery
2017-03-22 22:07:28 -07:00
David Fowler 32bed162a8 Always log the hosting startup assemblies (#982) 2017-03-22 20:57:01 -07:00
David Fowler ddb1bfeb20 Add support for executing IHostingStartup in specified assemblies (#961)
* Add support for executing IHostingStartup in specified assemblies
- Assemblies that are specified in the "hostingStartupAssemblies" configuration (; delimited)
  setting can specify assemblies that use an assembly level attribute (HostingStartupAttribute)
  to specify a type that implements IHostingStartup. This allows hosting environments to
  extend the IWebHostBuilder with platform specific behavior before the application runs.
- Added tests
- Log errors that occur during load and execution of the IHostingStartup
when capture startup errors is off. This happens on start of the application.
- Added debug logging on startup to print out the hosted startup assemblies hosting
processed

#951
2017-03-22 20:23:04 -07:00
Pranav K f3ee4064a2 React to Razor changes 2017-03-22 19:58:46 -07:00