Commit Graph

39185 Commits

Author SHA1 Message Date
Doug Bunting e47e9df4a6 Do not use deprecated `dnvm -x86` switch 2015-03-11 16:58:22 -07:00
Doug Bunting 20fe4f8d63 Do not use deprecated `dnvm -x86` switch 2015-03-11 16:58:20 -07:00
Hao Kung c49fd85c56 React to identity changes 2015-03-11 16:10:55 -07:00
Hao Kung 7b3dbaa32b Switch to interfaces references 2015-03-11 15:43:55 -07:00
Hao Kung 649cb0caed Remove IConfiguration from AddIdentity 2015-03-11 15:41:43 -07:00
Doug Bunting 878541c220 Do not use deprecated `dnvm -x86` switch
- avoid `The -x86 switch has been deprecated. Use the '-arch x86' parameter instead`
2015-03-11 15:24:34 -07:00
Hao Kung f3a9ce1ec1 Welcome home ScopedInstance 2015-03-11 15:03:29 -07:00
Praburaj 39fc5ebdc4 Making the tests robust
And some general cleanup
2015-03-11 14:48:34 -07:00
Praburaj b0c989ce90 Modifying the logic to identify the runtime to use
Also quoting the application path being passed to iisexpress/k web so that application path can contain spaces.
2015-03-11 14:48:23 -07:00
ASP.NET Push Bot 5c7a71451c ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@8e182fe0f5
2015-03-11 14:19:53 -07:00
N. Taylor Mullen a6982fae6c Update .kproj => .xproj. 2015-03-11 14:09:25 -07:00
N. Taylor Mullen a43664286a Update .kproj => .xproj. 2015-03-11 14:09:20 -07:00
N. Taylor Mullen 8d8c6ea823 Update .kproj => .xproj. 2015-03-11 14:09:00 -07:00
N. Taylor Mullen b84b0dbfac Update .kproj => .xproj. 2015-03-11 14:08:56 -07:00
N. Taylor Mullen 3e704f477b Update .kproj => .xproj. 2015-03-11 14:08:41 -07:00
N. Taylor Mullen 12f90869c0 Update .kproj => .xproj. 2015-03-11 14:07:45 -07:00
N. Taylor Mullen e3e0f1a1c3 Update .kproj => .xproj. 2015-03-11 14:07:29 -07:00
N. Taylor Mullen b72d737605 Update .kproj => .xproj. 2015-03-11 14:07:06 -07:00
N. Taylor Mullen b07a656b8a Update .kproj => .xproj. 2015-03-11 14:05:30 -07:00
N. Taylor Mullen a6105d4206 Update .kproj => .xproj. 2015-03-11 14:05:07 -07:00
N. Taylor Mullen 8c7a47fb00 Update .kproj => .xproj. 2015-03-11 14:05:01 -07:00
N. Taylor Mullen f8c526c12d Update .kproj => .xproj. 2015-03-11 14:04:40 -07:00
N. Taylor Mullen 7cf1f3fe63 Update .kproj => .xproj. 2015-03-11 14:04:30 -07:00
N. Taylor Mullen 81c43301d3 Update .kproj => .xproj. 2015-03-11 14:04:11 -07:00
N. Taylor Mullen 0196df4081 Update .kproj => .xproj. 2015-03-11 14:03:14 -07:00
ajcvickers 79c1672e65 Another namespace issue 2015-03-11 14:02:14 -07:00
N. Taylor Mullen c1a026cbf7 Update .kproj => .xproj. 2015-03-11 14:01:43 -07:00
ajcvickers 616ccb514f Missed update to use builder in one place 2015-03-11 13:55:31 -07:00
ajcvickers b016764f26 Went a bit too far. :-) 2015-03-11 13:47:33 -07:00
ajcvickers e2b83aee92 Use some namespaces 2015-03-11 13:43:31 -07:00
ajcvickers 1671b18545 Update to use DbContextOptionsBuilder 2015-03-11 13:15:40 -07:00
ajcvickers f4c05c8b09 Update to use DbContextOptionsBuilder 2015-03-11 13:15:22 -07:00
Hao Kung 78406b411c Remove config from AddAuthorization 2015-03-11 11:43:48 -07:00
Doug Bunting 456a38a249 Fix the `init` target
- correct check for whether target file is present
- correct `makefile.shade` filename
- do not copy master and release config files into every repo
2015-03-11 11:17:54 -07:00
Doug Bunting f6ae75eac5 Bower blocks build on first run
- aspnet/Mvc#2116
- run Bower non-interatively from our scripts
 - does not affect grunt-brower-task; programmatic Bower use never prompts
- see Bower discussion at bower/bower#1162
- FYI `$env:CI = 'TeamCity'` would work similarly but TeamCity does not set that
2015-03-11 11:13:13 -07:00
Troy Dai 30e4b1c167 Update dnvm to build 10345 2015-03-11 11:00:40 -07:00
ASP.NET Push Bot e1c96ffb00 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@ec62cdc6d4
2015-03-11 10:26:09 -07:00
Kirthi Krishnamraju 7b18d1d3f1 Clear ModelState errors of model before TryValidateModel or TryUpdateModel 2015-03-11 10:14:28 -07:00
Levi B bb1b49cc1c Fix PoliCheck violations. 2015-03-10 23:40:39 -07:00
Doug Bunting e9f56055eb Need `[NotNull]` for all `TextWriter parameters in `RazorPage`
- #2102
- `PositionTagged<string>` and `RenderAsyncDelegate` parameters too
- and a few `string` parameters dereferenced or used as `Dictionary` keys
2015-03-10 23:26:41 -07:00
Levi B e8cc1106d8 Significant refactorings throughout the data protection stack
- Move IDataProtectionProvider, IDataProtector, and extension methods to their own package
- Simplify the APIs for registering and configuring the system
- Default implementation now auto-detects capabilities of OS
- Use EncryptedXml for X.509 certificate-based encryption
- Add ability to escrow secret material upon key creation
- Use centralized system policy for default algorithm selection
- Simplify System.Web compatibility layer
- Add unit tests, logging, and doc comments throughout solution
2015-03-10 22:43:45 -07:00
Doug Bunting cc7b319cb7 Remove use of `ServiceDescriber` in MVC and cleanup related hacks
- see issues aspnet/DependencyInjection#193 and #1612
- use `TryAdd()` in `MvcServices` for the `IAssemblyProvider`

Move `ApplicationBasePath` handling into `RazorPreCompileModule`
- restores view precompilation in functional tests of sample sites
- if we need this, others will as well
- override `IApplicationEnvironment` but get folder from `ProjectContext`
 - also remove remaining `IServiceProvider` implementations in this code

test fixes:
- simplify `IApplicationEnvironment` override
- move override logic into `TestHelper.CreateServer()` methods
- remove `LoggerFactory` setup
 - does not seem to require special-casing
- remove unused `ITestConfigurationProvider` / `TestConfigurationProvider`
- remove `TestAssemblyProvider` classes
 - no longer required
- remove `ReplaceCallContextServiceLocationService` test helper
 - change MVC sample to fully-qualify config.json path
  - avoids `ReplaceCallContextServiceLocationService` need in `MvcSampleTests`
 - no longer required for other tests

nit: remove unused `_serviceProvider` and constructor overload in `RazorPreCompiler`
2015-03-10 22:25:42 -07:00
Praburaj a6670114b1 Adding more fallbacks for BufferingHelper temporary folder location
Fixes:
https://github.com/aspnet/HttpAbstractions/issues/168
2015-03-10 21:20:50 -07:00
Levi B 543e0f4863 Code comment cleanup. 2015-03-10 18:06:59 -07:00
Levi B 332900b175 Allow XyzEncoder.Default to be settable. 2015-03-10 17:58:17 -07:00
Levi B ae456401a8 Change AllowedCharsBitmap back to a struct.
I also experimented with having a fixed uint[] field inside the struct, but this actually ended up having worse performance than a proper uint[] array reference since it defeated some of the JITter's optimizations.
2015-03-10 17:58:10 -07:00
Levi B 64077026c7 API cleanup: Rename UnicodeBlock -> UnicodeRange
Also clean up related doc comments
2015-03-10 17:58:03 -07:00
Harsh Gupta 8e399cd83d Adding Base interfaces for Cors.Core 2015-03-10 14:45:25 -07:00
ASP.NET Push Bot 569a95cbf0 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@0388cd0873
2015-03-10 14:39:52 -07:00
Louis DeJardin c09e95d4d5 Update dnvm.ps1 2015-03-10 14:35:12 -07:00