Hao Kung
6466d1061e
Use/EnsureRequestServices changes
...
- Split UseServices overloads into UseRequestServices and UseServices
- Add RequestServicesContainer class which contains the old
ContainerMiddleware logic and exposes a new
EnsureRequestServices(HttpContext) method which can be called to
populate RequestServices
- ConfigureServices now scans for Configure{Env}Services instead of
ConfigureServices{Env}
- Add OptionsServices as part of default HostingServices
2014-10-14 19:01:01 -07:00
Harsh Gupta
3b19de0e42
Fixing #106
2014-10-14 17:51:15 -07:00
Levi B
e2ad2f1386
Remove dead code from EphemeralDataProtectionProvider.cs.
2014-10-14 17:29:13 -07:00
Levi B
c3b76d14a3
Make EphemeralDataProtectionProvider and ProtectedMemoryBlob work on non-Windows platforms.
2014-10-14 17:26:21 -07:00
Hao Kung
d9119f4c47
React to options rename
2014-10-14 16:38:20 -07:00
Suhas Joshi
b2d346769a
Merge pull request #257 from suhasj/UpdateErrorHandler
...
Added Error Handler middleware and Configure methods based on compilatio...
2014-10-14 16:17:28 -07:00
Wei Wang
8d0c6052a7
Change 'pack-exclude' to 'packExclude'
2014-10-14 16:15:20 -07:00
Levi B
0f2b9b3701
Add Base64UrlEncode / Base64UrlDecode.
2014-10-14 16:12:51 -07:00
jacalvar
1680616fe5
[Issue #1133 ] RedirectToActionResult and UrlHelper should use HostString, PathString, etc. To build Urls.
...
Added tests to describe the current behaviour with Unicode hosts.
2014-10-14 16:12:29 -07:00
Pranav K
2d67f2fc27
Modify precompilation to always generate instrumentation
2014-10-14 16:10:33 -07:00
sornaks
5fa8a91111
-Issue #913 - Model-binding is being case-sensitive when binding Url data to Enum parameter.
...
Fix: Using TypeConverter solves this problem.
-Issue #1123 - TypeConverterModelBinder cannot bind "byte" and "short".
Fix: Modified code to use TypeConverter which can handle these scenarios.
-Removing the GetConverterDelegate method and making the code similar to the WebApi.
2014-10-14 15:36:52 -07:00
Suhas Joshi
3c7ba368fe
Added Error Handler middleware and Configure methods based on compilation types
2014-10-14 15:31:47 -07:00
Pranav K
a41b9dc983
Add Html.Partial - sync versions of Html.PartialAsync
...
Fixes #1107
2014-10-14 15:15:50 -07:00
Pranav K
d9ebb37906
Removing Microsoft.AspNet.Mvc dependency from ModelBinding
2014-10-14 12:22:29 -07:00
SonjaKhan
0f5bbdf417
updating ILogger, see aspnet/Logging#3
2014-10-14 10:25:01 -07:00
SonjaKhan
2a8ac595d8
Refactoring ILogger, see aspnet/Logging#3
2014-10-14 10:20:58 -07:00
Pranav K
3f29de5a5f
Ensure PDB writer component is available before emiting PDB
...
Ported from
36cd4901f6
Fixes #1324
2014-10-14 06:17:52 -07:00
Louis DeJardin
dcf55abc9f
Changing shared library name on Unix OS type
2014-10-13 22:48:47 -07:00
Kiran Challa
dd587f743b
[ Fixes #1331 ] Dispose HttpResponseMessage once its written out in HttpResponseMessageOutputFormatter
2014-10-13 22:34:36 -07:00
DamianEdwards
2766b3a4f0
Fix sample data in MusicStore.Spa
2014-10-13 18:06:41 -07:00
DamianEdwards
e1c385d27f
Fix startup.cs in MusicStore.Spa
2014-10-13 17:49:49 -07:00
Pranav K
4ec6da1ed3
Adding RenderSectionAsync to RazorPage
...
Fixes #845
2014-10-13 17:44:49 -07:00
DamianEdwards
ca6eafc5f7
Actually deleted the MusicStore.Spa/Client folder:
...
- Updated Startup.cs for startup/configuration changes
2014-10-13 17:27:28 -07:00
Pranav K
a2a05e7153
Modify CSharpCodeWriter to generate async lambdas for section
...
Fixes #85
2014-10-13 17:00:38 -07:00
jacalvar
3ff9d6e8a0
[ Fixes #108 ] Disallow the use of '*' in route parameter names
2014-10-13 15:55:02 -07:00
NTaylorMullen
4f9a6fed93
Fix inherited TagHelper properties.
...
- Used to only look at declared properties on the tag helper type, now we get the runtime properties.
- Fixed Runtime test projec to work with new CLR changes (looks like it was missed).
#189
2014-10-13 15:33:38 -07:00
jacalvar
39376617cc
[ Fixes #809 ] Multiple [Http*] verbs should create multiple actions
2014-10-13 15:25:53 -07:00
jacalvar
3f54492930
[ Fixes #885 ] API Explorer: Link Generation
...
1) Expose the simplified relative path template by cleaning up constraints, optional and catch all tokens from the template.
2) Expose the parameters on the route template as API parameters.
3) Combine parameters from the route and the action descriptor when the parameter doesn't come from the body. #886 will refine this.
4) Expose optionality and constraints for path parameters. Open question: Should we explicitly expose IsCatchAll?
2014-10-13 15:20:38 -07:00
Pranav K
a633ef4f97
Modify Razor components to use RazorViewEngineOptions.FileSystem
...
Fixes #1302
2014-10-13 14:34:31 -07:00
Chris Ross
6965a66f18
#59 - Use Task.GetAwaiter().GetResult() instead of Task.Result.
2014-10-13 14:26:24 -07:00
DamianEdwards
890d7f4955
Fix typo in MusicStore.Spa page
2014-10-13 13:15:16 -07:00
DamianEdwards
24904bb884
More MusicStore.Spa changes RE wwwroot, Client source & grunt:
...
- Got rid of the Client folder
- wwwroot is now checked in and is source of truth for static files
- Moved TypeScript & Angular templates to ~/ng-apps
- Updated grunt config for above changes
2014-10-13 11:51:54 -07:00
Chris Ross
e315a545cb
#61 - Unit test cleanup.
2014-10-13 11:13:26 -07:00
Chris Ross
3e88f44552
#69 - Properly delete Twitter state cookie.
2014-10-13 11:13:24 -07:00
YishaiGalatzer
4166c8cbc9
Fix unit test
2014-10-13 10:13:32 -07:00
Yishai Galatzer
7364c6f6db
Expose code builder on generator result, and some tidying up
2014-10-13 09:30:56 -07:00
Pranav K
d912f6cd39
Removing unused types
...
Fixes #1344
2014-10-13 05:15:26 -07:00
YishaiGalatzer
0d603a38cf
PR feedback and sort/clean MvcServices
2014-10-12 16:37:17 -07:00
Pranav K
18e11f546d
DecorateWriter does not get called for partial views rendered via
...
Html.PartialAsync
* Introducing StringCollectionTextWriter to buffer the contents of
PartialAsync
* Ensure DecorateWriter is called for partial views
Fixes #1266
2014-10-12 14:24:29 -07:00
Pranav K
20eadb94ee
Remove instrumentation from public API surface
...
Fixes #1262
2014-10-12 12:57:04 -07:00
YishaiGalatzer
75084ba0cd
Move caching of compilation results to its own layer.
...
This will allow only creating the razor compilation when really needed, with the right lifetime.
2014-10-11 15:35:11 -07:00
YishaiGalatzer
13ee27c92c
Rename IControllerAssemblyProvider to IAssemblyProvider and follow through resultant renames
2014-10-11 13:26:07 -07:00
Chris Ross
a0f3560095
New ErrorHandler middleware.
2014-10-11 07:04:07 -07:00
Chris Ross
93a88af467
Purge old tests.
2014-10-10 16:22:49 -07:00
Pranav K
7d5a29a9fd
Cleaning up comments
2014-10-10 16:13:57 -07:00
Pranav K
b43c27763d
Reacting to CoreCLR version changes
2014-10-10 15:15:57 -07:00
Pranav K
7fabb80991
Reacting to CoreCLR version changes
2014-10-10 15:14:04 -07:00
Levi B
ebe4948a3e
Add a discriminator so that DataProtection doesn't use the same subkey across apps by default.
2014-10-10 15:06:31 -07:00
Pranav K
e8de0f9d6e
Updating System.Text.RegularExpressions version
2014-10-10 14:01:37 -07:00
Pranav K
9255f200b0
Updating System.Text.RegularExpressions version
2014-10-10 13:59:32 -07:00