Commit Graph

37943 Commits

Author SHA1 Message Date
N. Taylor Mullen 8bece90c83 Fix asp-page-handler to generate form tags correctly.
- Prior to this change using asp-page-handler on its own did not create correct `<form>` elements. There were multiple issues, one as that the `FormTagHelper` would purposefully drop into a no-op code path. Second is the `DefaultHtmlGenerator` didn't call through to the `UrlHelper` correctly.
- Added functional test cases to validate asp-page-handler can live on its own on a form tag. This also included adding a variant where method="post".
- Added a `FormTagHelper` unit test to validate the `PageHandler` property is consumed properly.

#6208
2017-04-27 10:32:04 -07:00
John Luo 8a41339680 Long path woes 2017-04-27 10:26:57 -07:00
Ryan Nowak 0c70cdb8df Merge branch 'rel/2.0.0-preview1' into dev 2017-04-27 09:57:15 -07:00
moozzyk 39b2990b62 Preserving user's queryString
Fixes: #272
2017-04-27 09:50:14 -07:00
moozzyk 58e7c1b1fe Allowing passing ITransport to start 2017-04-27 09:50:14 -07:00
Andrew Stanton-Nurse bd81afa110 Merge branch 'rel/2.0.0-preview1' into dev 2017-04-27 09:48:56 -07:00
Ryan Nowak b1b3a816cc Rename View() to Page()
This requires us to introduce another base class between RazorPageBase and
Page - you need this because you aren't allow to have Page.Page().
2017-04-27 09:27:14 -07:00
Andrew Stanton-Nurse 4ccb09c444 Package Fallback Folder archive generation (#70) 2017-04-27 09:04:52 -07:00
David Fowler 0755495ce5 Remove Logging dependency from the http parser (#1780)
* Remove Logging dependency from the http parser
2017-04-27 08:46:08 -07:00
Pavel Krymets 7326379a20 Merge branch 'rel/2.0.0-preview1' into dev 2017-04-27 08:45:12 -07:00
Pavel Krymets 791d69509a Merge branch 'rel/2.0.0-preview1' into dev 2017-04-27 08:44:02 -07:00
Pavel Krymets d4f39bf56b Validate scopes in Development environment in CreateDefaultBuilder (#61) 2017-04-27 08:43:40 -07:00
Pavel Krymets ba2bca4a96 Run IHostingStartup's before materializing IConfiguration (#1052) 2017-04-27 08:14:09 -07:00
Kiran Challa bb0888265a Removed comment 2017-04-27 05:57:41 -07:00
AndriySvyryd e147b33fd2 Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev 2017-04-26 21:45:57 -07:00
AndriySvyryd 979107493e Treat all SQL exceptions the same in DatabaseErrorPageMiddlewareTest
Fixes #366
2017-04-26 21:38:56 -07:00
Nate McMaster c2f15fcac3 Move user-facing strings into resource files 2017-04-26 17:22:55 -07:00
Nate McMaster cb4d44cb8e Fix MSB4011 warnings 2017-04-26 17:14:57 -07:00
Cesar Blum Silveira d40a823675 Merge branch 'rel/2.0.0-preview1' into dev 2017-04-26 16:55:05 -07:00
Cesar Blum Silveira a7abb0d78f Remove Microsoft.Extensions.SecretManager.Tools tool reference so the build passes. 2017-04-26 16:53:02 -07:00
Cesar Blum Silveira bd9c6600e8 Fix reference to Microsoft.AspNetCore.FunctionalTests.csproj in solution file. 2017-04-26 16:50:44 -07:00
Cesar Blum Silveira 21de306963 Bind Kestrel options to config by default (#30). 2017-04-26 16:47:51 -07:00
N. Taylor Mullen 344862fbc3 Change string token parsing to not flow errored tokens.
- Found that our extensible directive string parsing system wasn't consistent with the rest of the extensible directive tokens. Basically, if there were malformed string tokens we'd consume them and pass them along to extensible directive passes. This was a big no-no because it means extensible directive passes weren't able to rely on tokens being passed to them being well-formed.
- Fixed up existing extensible directive tests that relied on output of string tokens.

#1247
2017-04-26 16:38:58 -07:00
John Luo 026c7b1d12 Merge branch 'rel/2.0.0-preview1' into dev 2017-04-26 16:15:29 -07:00
John Luo 3ae799c9c8 Zip store and deps together 2017-04-26 16:14:46 -07:00
BrennanConroy 3d0b97cab9 Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev 2017-04-26 15:38:55 -07:00
BrennanConroy 85e0fc52fb React to Logging API changes (#77) 2017-04-26 15:38:16 -07:00
BrennanConroy b8747e0463 Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev 2017-04-26 15:35:02 -07:00
N. Taylor Mullen e8c102adfb Merge branch 'rel/2.0.0-preview1' into dev 2017-04-26 15:13:39 -07:00
BrennanConroy 73a91b19a9 React to Logging API changes 2017-04-26 15:12:31 -07:00
N. Taylor Mullen 490f94d425 Add placeholder `DefineSection` method.
- This enables 2.0.0 code generation to not error.

aspnet/Razor#1254
2017-04-26 15:12:16 -07:00
Chris R 0ed63b817f Merge branch 'rel/2.0.0-preview1' into dev 2017-04-26 15:08:02 -07:00
Chris R b45e20acec Merge branch 'rel/2.0.0-preview1' into dev 2017-04-26 15:06:00 -07:00
Mikael Mengistu 74b318b3e4 Support binary messages in SSE parser (#418) 2017-04-26 15:04:48 -07:00
Chris R 5074914d27 Merge branch 'rel/2.0.0-preview1' into dev 2017-04-26 15:00:27 -07:00
Chris R 1160784d08 Add Microsoft.Extensions.Hosting.Abstractions 2017-04-26 14:56:01 -07:00
Pavel Krymets 7787e963dd Enable validate scopes in dependency injection (#783) 2017-04-26 14:53:26 -07:00
John Luo e021f5c053 Merge branch 'rel/2.0.0-preview1' into dev 2017-04-26 14:39:44 -07:00
John Luo ab0bf52f3b Rebase fix 2017-04-26 14:38:16 -07:00
Chris R 0edd62339e React to IHostedService namespace change 2017-04-26 14:37:58 -07:00
John Luo a6f6f30c77 Merge branch 'rel/2.0.0-preview1' into dev 2017-04-26 14:37:15 -07:00
Chris R 285d62b312 Move IHostedService to new Microsoft.Extensions.Hosting.Abstractions package. 2017-04-26 14:06:11 -07:00
John Luo 735337f586 Add functional tests 2017-04-26 13:54:59 -07:00
John Luo 0d66125fda WebHost static API updates
- Specify ApplicationName when wrapping RequestDelegate or RouteBuilder
- Add debug logger by default
2017-04-26 13:51:08 -07:00
BrennanConroy ead08706ae Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev 2017-04-26 13:45:20 -07:00
BrennanConroy 1a26dc0238 React to Logging API changes (#1775)
React to Logging API changes
2017-04-26 13:44:55 -07:00
Ryan Brandenburg c7b1924f79 Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev 2017-04-26 12:54:45 -07:00
Ryan Brandenburg 48519857d2 Automatically allocate ports for functional tests 2017-04-26 12:52:40 -07:00
Nate McMaster 3dedea2389 Merge branch 'rel/2.0.0-preview1' into dev 2017-04-26 11:28:46 -07:00
Nate McMaster 9464003bda Add wait in ListenerPrimaryTests to avoid race condition with List.Add 2017-04-26 11:03:28 -07:00