Commit Graph

44213 Commits

Author SHA1 Message Date
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
Troy Dai 1407c09c30 Integrate latest dnvm 2015-03-10 14:05:47 -07:00
Praburaj 763051e6b8 Updating nuget.master.config template to have aspnetmasterfeed
Fixes: https://github.com/aspnet/Universe/issues/177
2015-03-10 12:13:54 -07:00
Praburaj 681eafb438 Renaming Nuget.org feed key name to Nuget.
Fixes : https://github.com/aspnet/Universe/issues/174
2015-03-10 12:12:29 -07:00
Ajay Bhargav Baaskaran db728cd386 Introducing TempData
- Issue #455
 - Updated MVC sample
 - Added relevant tests
2015-03-10 12:04:05 -07:00
Praburaj 397e2c9968 Renaming Nuget.org feed key name to Nuget in config templates.
https://github.com/aspnet/Universe/issues/174
2015-03-10 11:54:40 -07:00
Praburaj 167b7b9317 Renaming Nuget.org feed key name to Nuget.
fixes https://github.com/aspnet/Universe/issues/174
2015-03-10 11:48:47 -07:00
Praburaj 755ad7bd2b Renaming Nuget.org feed key name to Nuget.
fixes https://github.com/aspnet/Universe/issues/174
2015-03-10 11:47:35 -07:00
Praburaj a7a6242a17 Renaming Nuget.org feed key name to Nuget.
fixes https://github.com/aspnet/Universe/issues/174
2015-03-10 11:46:30 -07:00
Praburaj 0a05c3b5a0 Renaming Nuget.org feed key name to Nuget.
fixes https://github.com/aspnet/Universe/issues/174
2015-03-10 11:45:21 -07:00
Praburaj 1ba9e04950 Renaming Nuget.org feed key name to Nuget.
fixes https://github.com/aspnet/Universe/issues/174
2015-03-10 11:42:03 -07:00
Praburaj b3902f80c4 Renaming Nuget.org feed key name to Nuget.
fixes https://github.com/aspnet/Universe/issues/174
2015-03-10 11:40:46 -07:00
Praburaj e31709bfcd Renaming Nuget.org feed key name to Nuget.
fixes https://github.com/aspnet/Universe/issues/174
2015-03-10 11:39:20 -07:00
Praburaj 4e9e33fc07 Renaming Nuget.org feed key name to Nuget.
fixes https://github.com/aspnet/Universe/issues/174
2015-03-10 11:37:28 -07:00
Doug Bunting e7ee4278a5 Correct case of web site folder and project names
- work around aspnet/DNX#1361 and inconsistent dev boxes (from previous fix attempts)
 - had inconsistent case in test/WebSites and test/WebSites/ConnegWebSite
- ConnegWebsite -> ContentNegotiationWebSite
- RazorInstrumentationWebsite -> RazorPageExecutionInstrumentationWebSite
- RazorViewEngineOptionsWebsite -> RazorEmbeddedViewsWebSite

nits:
- sort dependencies in functional test project.json
- correct a few readme.md files
2015-03-10 09:34:06 -07:00
Doug Bunting a4e01bfe35 Correct setup of three tests added in prior commit
- compiler given `ApplicationName`, not `ApplicationBasePath`
- @pranavkm wrote the tests prior to 64ddbe0160

nit: rewrap long line introduced in prior commit
2015-03-10 09:28:17 -07:00
Praburaj cb323e8c7e Renaming Nuget.org feed key name to Nuget.
fixes https://github.com/aspnet/Universe/issues/174
2015-03-09 20:54:25 -07:00
Praburaj e925fa2dcb Renaming Nuget.org feed key name to Nuget.
fixes https://github.com/aspnet/Universe/issues/174
2015-03-09 20:53:36 -07:00
Praburaj ed380ef61c Renaming Nuget.org feed key name to Nuget.
fixes https://github.com/aspnet/Universe/issues/174
2015-03-09 20:51:37 -07:00
Praburaj 062214538e Renaming Nuget.org feed key name to Nuget.
fixes https://github.com/aspnet/Universe/issues/174
2015-03-09 20:50:46 -07:00
Praburaj 917b9e9c2e Renaming Nuget.org feed key name to Nuget.
fixes https://github.com/aspnet/Universe/issues/174
2015-03-09 20:40:33 -07:00
Praburaj 04008af479 Renaming Nuget.org feed key name to Nuget.
fixes https://github.com/aspnet/Universe/issues/174
2015-03-09 20:37:28 -07:00
Praburaj 991c69b8cc Renaming Nuget.org feed key name to Nuget 2015-03-09 20:07:42 -07:00