Commit Graph

40929 Commits

Author SHA1 Message Date
Chris R 98f8bf6fd3 #296 Keep the process alive long enough to shutdown gracefully. 2015-06-19 15:04:42 -07:00
Eilon Lipton 2f87f38e80 Merge pull request #504 from hishamco/dev
Using 'nameof' operator instead of magic strings
2015-06-19 14:44:09 -07:00
Hisham Abdullah Bin Ateya 44a58ff1b9 Using 'nameof' operator instead of magic strings 2015-06-20 00:16:34 +03:00
Arthur Vickers 3b29dbdd98 Fix old way of getting Migrator 2015-06-19 11:55:58 -07:00
Ajay Bhargav Baaskaran b135a9d53b [Fixes #188] Added support for AppendTrailingSlash in RouteOptions 2015-06-19 11:46:25 -07:00
Arthur Vickers 791ec1a016 Use ApplyMigrations extension method 2015-06-19 11:37:01 -07:00
Arthur Vickers 148be8c410 Remove use of SqlServerDatabase! 2015-06-19 11:28:13 -07:00
Arthur Vickers 6fa89f5da1 Add missing using directive. 2015-06-19 11:20:41 -07:00
Arthur Vickers 28d2d2e5d7 Add using directive 2015-06-19 11:18:18 -07:00
Arthur Vickers 820b26744f React to removal of RelationalDatabase 2015-06-19 11:15:39 -07:00
Arthur Vickers 3283d48cca React to removal of RelationalDatabase 2015-06-19 11:11:10 -07:00
Arthur Vickers b4a7d09ad2 React to removal of RelationalDatabase class. 2015-06-19 11:07:28 -07:00
Arthur Vickers a07065c02e React to removal of AsRelational 2015-06-19 09:39:41 -07:00
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