Commit Graph

37666 Commits

Author SHA1 Message Date
Praburaj 33fa06a25c Fixing dataprotection on IIS
Fixes: https://github.com/aspnet/DataProtection/issues/73

On IIS where there is no user profile, the code tries to always read the 32bit registry view irrespective of the bitness of the worker process. So in case of 64 bit app pools the registry key is null so it falls back to in memory ephemeral repository. On 32 bit app pool it can find an appropriate registry key, but the keyRepositoryDescriptor is not populated resulting in a null reference exception.

Current behavior:
X86 throws
X64 falls back to in memory ephemeral

With fix:
Both X86 and X64 will use DPAPI.
2015-04-01 11:54:24 -07:00
Ryan Nowak 6caa2871aa Use DataProtection.Interfaces 2015-04-01 11:47:24 -07:00
Ryan Nowak acb657d951 [Perf] Fully cache model metadata
This change caches the actual model metadata instances. Some profiling
showed we didn't go far enough, we were allocating a lot of ModelMetadata
+ ModelPropertyCollection instances.
2015-04-01 11:44:17 -07:00
Victor Hurdugaci 6b1cb5ca7a Skip projects that were not cloned 2015-04-01 09:40:50 -07:00
David Fowler 3ebff3a957 React to hosting changes again 2015-04-01 03:46:10 -07:00
David Fowler 8639f3edbc Renamed M.A.Server.Interfaces -> M.A.Hosting.Server.Interfaces 2015-04-01 03:45:02 -07:00
David Fowler 1c40229e8c React to hosting changes 2015-04-01 03:28:49 -07:00
David Fowler 4b8f02d7af Sort dependencies 2015-04-01 03:24:20 -07:00
David Fowler 04e5a558ab Move interfaces around
- Moved IServerFactory to Microsoft.AspNet.Server.Interfaces
- Moved IHttpContextAccessor to Microsoft.AspNet.Hosting.Interfaces
- Fixed dependencies so that they are minimal

#172
2015-04-01 02:34:01 -07:00
N. Taylor Mullen 46c04032a4 Remove solution property from .travis.yml - Not needed. 2015-03-31 19:04:11 -07:00
N. Taylor Mullen e825776663 Add travis-ci support.
- Runs ./build.sh verify
- Added quotes on warningsAsErrors to work around mono bug.
2015-03-31 17:50:43 -07:00
David Fowler 907dc284ff Marked build.sh as executable 2015-03-31 17:40:11 -07:00
ASP.NET Push Bot 1e5a740d11 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@703068b211
2015-03-31 14:37:09 -07:00
Praburaj 9048a9e445 Removing the default compile values.
Anything specified in "compile" is expected to append to DNX defaults. So no need to specify **\*.cs
2015-03-31 11:37:20 -07:00
Victor Hurdugaci bfd2467ad4 Merge release in dev 2015-03-31 11:31:36 -07:00
Praburaj fcf083dd76 Merge branch 'release' into dev 2015-03-31 11:10:23 -07:00
Praburaj 1a37bf1747 Changing Wilson package versions to beta4 2015-03-31 10:34:44 -07:00
Victor Hurdugaci c354f0a8ba New assembly file version (with year) 2015-03-31 09:19:05 -07:00
David Fowler 0fdf8f6bf1 Marked build.sh as executable 2015-03-31 05:23:09 -07:00
Hao Kung fd9f845dc9 Don't blast null values into UseStartup/Server 2015-03-30 20:46:23 -07:00
Praburaj a559056266 Cleanup namespaces. 2015-03-30 20:16:04 -07:00
Ryan Nowak 6626035c22 Update MVC sample to include a route 2015-03-30 19:23:58 -07:00
Praburaj ffd2489f6c Revert "Changing Wilson packages to beta4"
This reverts commit 101b719994.
2015-03-30 19:11:44 -07:00
Praburaj 101b719994 Changing Wilson packages to beta4 2015-03-30 19:10:57 -07:00
Ryan Nowak 9d9e844a3d Convert samples to xproj 2015-03-30 19:02:47 -07:00
Hao Kung b06d0855f0 React to hosting 2015-03-30 18:30:28 -07:00
Hao Kung 08f0e1055b React to hosting changes 2015-03-30 18:20:33 -07:00
Hao Kung f3de094815 React to hosting 2015-03-30 18:19:35 -07:00
Hao Kung 77e2dc263f Hosting rework #2
- Merge HostingContext and HostingEngine
- Cleanup usage via builder pattern
2015-03-30 18:05:51 -07:00
ASP.NET Push Bot 9271d3dedc ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@828b008046
2015-03-30 17:26:49 -07:00
Wei Wang 2aaeedc48a Fix newly added --no-source variations 2015-03-30 17:09:51 -07:00
Maurycy Markowski a7fb1fdb2d fixing build break caused by namespace change in Entity Framework 2015-03-30 16:42:12 -07:00
sornaks f640744f85 Merge branch 'release' into dev 2015-03-30 16:39:41 -07:00
sornaks 6e9533ce9c #2295 - Disposing the read stream after computing file hash. 2015-03-30 16:23:55 -07:00
Maurycy Markowski 9fb02849dc fixing build break caused by namespace change in Entity Framework 2015-03-30 16:19:41 -07:00
Wei Wang 4f357411aa Merge remote-tracking branch 'origin/release' into dev 2015-03-30 15:32:56 -07:00
Wei Wang 1fe0983845 Merge remote-tracking branch 'origin/release' into dev 2015-03-30 15:31:12 -07:00
Wei Wang 50ea1fb3d2 Rename "dnu bundle" to "dnu publish" 2015-03-30 15:29:48 -07:00
Wei Wang 79e53c5f77 Merge remote-tracking branch 'origin/release' into dev 2015-03-30 15:26:31 -07:00
Wei Wang 40edad4953 Merge remote-tracking branch 'origin/release' into dev 2015-03-30 15:23:49 -07:00
Victor Hurdugaci 188f5e8328 Set the file version environment variable 2015-03-30 14:53:56 -07:00
Pranav K 9dc8ecac8a Cleanup: Moving files from src/Microsoft.AspNet.Mvc.Razor/Razor/PreCompileViews ->
src/Microsoft.AspNet.Mvc.Razor/Precompilation
2015-03-30 14:51:11 -07:00
Maurycy Markowski adf599339c fixing test build break caused by namespace changes in EF 2015-03-30 14:47:42 -07:00
Pranav K d388aa58c8 Remove caching from QueryStringValueProviderFactory
Fixes #2258
2015-03-30 12:53:03 -07:00
Pranav K e3ea602775 Renaming incorrectly named file name.
Fixes #2274
2015-03-30 12:45:39 -07:00
Praburaj 2f36a9cd6b Using optional configuration for IIS deployment 2015-03-30 11:54:10 -07:00
Doug Bunting 36bd387686 Merge remote-tracking branch 'origin/release' into dev 2015-03-30 11:44:35 -07:00
anurse 9e872c3721 update dnvm
fixes #195
2015-03-30 11:30:59 -07:00
Doug Bunting 25376c3377 Merge remote-tracking branch 'origin/release' into dev 2015-03-30 11:19:09 -07:00
Doug Bunting 33407ef1be Enforce new invariants around HTML encoding
- #335
- bound `string` attribute values are _not_ encoded
 - rework `CSharpCodeVisitor` and `CSharpTagHelperCodeRenderer` to enable this case
- values in `TagHelperOutput.Attributes` are encoded unless special-cased elsewhere
 - `Dictionary<string, object>` type allows `RazorPage` to use `HtmlString`
- wrap HTML unbound attribute values using `Html.Raw()`
2015-03-30 11:09:26 -07:00