Commit Graph

37666 Commits

Author SHA1 Message Date
Hisham Abdullah Bin Ateya 797e1287e3 Using [NotNull] 2015-06-19 09:19:51 -07:00
Hisham Abdullah Bin Ateya 7fcbefc86f Using 'nameof' operator instead of magic strings 2015-06-19 09:19:50 -07:00
ASP.NET Push Bot 1ca1ca890c ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@c2d21644e3
2015-06-19 08:48:25 -07:00
ASP.NET Push Bot c52c61a90a ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@a542e255c0
2015-06-18 21:24:42 -07:00
Doug Bunting c4fa402105 Add `ModelBindingResult.IsFatalError` and make body binding more consistent
- part I of II for #2445 (with a duplicate code PR to follow)
- needed for #2445 because new `ModelState` entries for values will make inconsisteny worse
- change `BodyModelBinder` to use same keys for all `ModelBindingResult`s and `ModelState` entries
 - return fatal error result if formatter adds an error to `ModelState`
 - update potential callers to avoid avoid ignoring `IsFatalError`
- fix test attempting to serialize all of `ModelState`
 - will be borked with additional `RawValue`s in state
- fix two other tests that serialized `ModelState` but checked only `IsValid`

nits:
- address minor inconsistencies in `ModelBindingContext`
- use `System.Reflection.Extensions` package a bit more, where it's already referenced
- remove some unused resources
2015-06-18 16:19:01 -07:00
BrennanConroy 3b5472b350 Add AzureAD 2015-06-18 15:55:57 -07:00
Chris R 03f7e4b362 React to IRequestIdentifierFeature refactor. 2015-06-18 15:55:12 -07:00
Chris R 2c43b350b4 React to IRequestIdentifierFeature refactor. 2015-06-18 15:38:58 -07:00
Eilon Lipton 361225aec7 Merge pull request #17 from hishamco/dev
Using [NotNull]
2015-06-17 20:44:13 -07:00
Stephen Halter 29098d6383 Fix UvLoopHandle.ReleaseHandle on linux
Libuv.loop_close can clear the GCHandle pointer on linux
2015-06-17 17:53:56 -07:00
Peter Jas b00ff9a42d build: Enables FreeBSD support.
Changed hardcoded bash shebang to env to support multiple directory
structures (required to build on FreeBSD).

PR-URL: #671
2015-06-17 14:17:17 -07:00
eduaglz 741f2b1cc7 Makes AddEntityFrameworkStores use TryAdd instead of Add 2015-06-17 16:03:26 -05:00
Ajay Bhargav Baaskaran b245996949 [Fixes #2700] Added HttpHeadAttribute 2015-06-17 12:58:02 -07:00
anurse 47ff0f26ac return to the official xunit build 2015-06-17 12:09:09 -07:00
Arthur Vickers cd74c3acd3 Stop using GenerateValueOnAdd. 2015-06-17 11:56:23 -07:00
Arthur Vickers 7f63665607 Stop using GenerateValueOnAdd. 2015-06-17 11:54:48 -07:00
Hao Kung e645863e82 Merge branch 'release' into dev 2015-06-17 11:29:39 -07:00
Doug Bunting f55367597a Pull in latest `dnvm` from Home's dev branch
- lots of `dnvm.ps1` fixes
- FreeBSD fixes in `dnvm.sh`
2015-06-17 11:28:48 -07:00
Hao Kung 8796f7e78a Merge from release 2015-06-17 11:19:41 -07:00
ASP.NET Push Bot f1581e6651 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@4bc5e73335
2015-06-17 11:12:56 -07:00
ASP.NET Push Bot 0af9976cdf ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@d9713eef08
2015-06-17 10:41:00 -07:00
ASP.NET Push Bot 7752d21199 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@85653d8038
2015-06-17 09:47:56 -07:00
Doug Bunting 27283ec098 Make `string`-based expression evaluations behave consistently
- #1485, #1487
 - handle `TemplateInfo.HtmlFieldPrefix` in `ViewDataEvaluator.Eval()`
  - attempt lookup in the `ViewDataDictionary` using full name then evaluate
    relative `expression` against `viewData.Model`
  - handle `null` or empty `expression` special case in this method (remove `throw`s)
 - always pass relative `expression` name into `Eval()`
  - remove `null` or empty `expression` handling from higher-level code
  - in a couple of cases, special-case returned `ViewDataInfo`
- #2662
 - remove incorrect guard from `DefaultHtmlGenerator.GenerateRadioButtion()`
- add doc comments for the core methods that have changed
- enable unit tests skipped due to one of above bugs
 - fix one (yeah, just one) other test with incorrect expectations
- remove functional test comments about the above bugs and update expectations

nits:
- move some comments describing `ViewDataEvaluator` methods above the methods
2015-06-16 21:54:56 -07:00
Hisham Abdullah Bin Ateya 113fa6d545 Remove "I" from "ApplicationBuilderExtensions" 2015-06-16 20:37:07 -07:00
Hisham Abdullah Bin Ateya 1e3b462210 Remove unnecessary parantheses 2015-06-16 19:49:02 -07:00
Doug Bunting 8b5931d758 Add `Encode()` and `Raw()` overrides to `IHtmlHelper<TModel>`
- #2392
- `dynamic` does not work correctly when inherited from a base `interface`
2015-06-16 18:48:07 -07:00
Chris R af6a17710b #310 Refactor IRequestIdentifierFeature. 2015-06-16 16:26:37 -07:00
Chris R cdf8072c83 #127 Target net451 and use Marshal.SizeOf<T>. 2015-06-16 15:59:30 -07:00
Hao Kung 1ed2ebcd96 Rename shouldLockout => lockoutOnFailure 2015-06-16 14:39:26 -07:00
Ajay Bhargav Baaskaran 7172608722 Using LogVerbose instead of LogInformation 2015-06-16 14:33:05 -07:00
Chris R f9ed27c3a0 React to removal of ErrorPageOptions.ShowAll. 2015-06-16 12:09:18 -07:00
Chris R fc3c63f9b5 React to the removal of ErrorPageOptions.ShowAll. 2015-06-16 12:00:30 -07:00
Hao Kung ff473d6fc8 React to identity rename 2015-06-16 11:41:04 -07:00
Ajay Bhargav Baaskaran 4fe3fbabf0 React to aspnet/Diagnostics#142 changes 2015-06-16 11:27:33 -07:00
ASP.NET Push Bot 9e016963bf ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@88ca356370
2015-06-16 11:03:35 -07:00
Chris R 9e547d5a9d Remove extra bracket from error page view. 2015-06-16 10:25:54 -07:00
Ajay Bhargav Baaskaran 69e051dab7 Removed Cors.Core dependency from Mvc.Core 2015-06-16 10:25:27 -07:00
Ajay Bhargav Baaskaran fcdbd17e58 Removed Diagnostics.Abstractions dependency from Mvc.Razor 2015-06-16 10:25:26 -07:00
Ajay Bhargav Baaskaran 6fd8465402 Removed unnecessary cors dependency 2015-06-16 10:25:25 -07:00
Henk Mollema 72d8c12ca3 Removed unused resource string 2015-06-16 09:51:11 -07:00
Henk Mollema 0da9e2bec5 Remove ErrorPageOptions properties except SourceCodeLineCount
- Removed all properties except `SourceCodeLineCount`
- Updated ErroPageMiddleware (including some minor code-style changes)
- Updated CompilationErrorPage.cshtml and ErrorPage.cshtml
- Added `run` command to PageGenerator project.json to execute from command line
- Include cookies on error page
- Removed showSource parameter
- Remove unused exception parameter
2015-06-16 09:51:10 -07:00
Arthur Vickers 100cb7a049 React to EF name changes. 2015-06-16 09:15:21 -07:00
Arthur Vickers ccdedc704d React to EntityOptions -> DbContextOptions rename 2015-06-15 23:01:16 -07:00
Chris R a668f4e1c0 React to HttpResponse.HeadersSent rename. 2015-06-15 18:29:20 -07:00
Chris R 1639ee07e7 React to HttpResponse.HeadersSent rename. 2015-06-15 17:49:20 -07:00
Victor Hurdugaci 00b2daa068 Fix argument parsing for fast build 2015-06-15 16:05:18 -07:00
Glenn Condron 8794e3a795 Merge pull request #658 from henkmollema/use-AddMvcWithDefaultRoute
Use AddMvcWithDefaultRoute()
2015-06-15 12:33:53 -07:00
ASP.NET Push Bot 1c09412505 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@21ce03f48a
2015-06-15 12:31:03 -07:00
Chris R 736e6bee2b #233 Create the wwwroot directory if it doesn't exist. 2015-06-15 11:11:08 -07:00
Stephen Halter 1592459a0b Dispose Listeners if they fail to start 2015-06-15 10:08:03 -07:00