Commit Graph

39960 Commits

Author SHA1 Message Date
Nate McMaster 795b4d36e7 AddUserSecrets is optional 2017-04-27 12:22:28 -07:00
N. Taylor Mullen 49e3533bc3 Add test to validate unbalanced triple dash comment inside razor block.
#302
2017-04-27 12:03:59 -07:00
Ryan Nowak 88363be365 Merge branch 'rel/2.0.0-preview1' into dev 2017-04-27 11:58:42 -07:00
Sébastien Ros 525a479660 Fixing ExcludeBindingMetadataProvider unit test (#6113)
Fixes #6110
2017-04-27 11:42:06 -07:00
John Luo 1504710a44 Merge branch 'rel/2.0.0-preview1' into dev 2017-04-27 11:31:34 -07:00
John Luo c56d76693e Rename file 2017-04-27 11:31:19 -07:00
Andrew Stanton-Nurse aeba0c9026 derped the publish source 2017-04-27 11:27:20 -07:00
Ryan Nowak 22b9d7647e React to rename of Page() -> View() 2017-04-27 11:15:33 -07:00
Kiran Challa 291cc1e84b Updated runtime identifier 2017-04-27 11:03:43 -07:00
Kiran Challa cb4aff5890 updated runtime identifiers 2017-04-27 11:02:33 -07:00
Kiran Challa d1a8a15b87 Updated runtime identifiers 2017-04-27 10:59:58 -07:00
Andrew Stanton-Nurse 4039af267d fix drop share reference 2017-04-27 10:59:26 -07:00
Kiran Challa d940c1eb75 Updated runtime identifiers 2017-04-27 10:58:24 -07:00
Kiran Challa ccad1b62b4 Updated runtime identifier names 2017-04-27 10:55:20 -07:00
John Luo cd35d3257a Merge branch 'rel/2.0.0-preview1' into dev 2017-04-27 10:35:38 -07:00
moozzyk 82f99a1424 Work around for a Firefox bug
Firefox won't fire EventSource open event until it receives some data. The workaround is to send an empty comment when starting ServerSentEvent transport.

Fixes: #352
2017-04-27 10:34:47 -07:00
N. Taylor Mullen 28e16ed965 Merge branch 'rel/2.0.0-preview1' into dev 2017-04-27 10:32:51 -07:00
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