Ryan Nowak
5fd453f07d
Revert "Fix for MVC #1539 - Deal with the case where request services are not set"
...
This reverts commit d9a3c265ea .
This was the wrong commit, did not intent to merge this.
2014-11-17 18:33:56 -08:00
Ryan Nowak
d9a3c265ea
Fix for MVC #1539 - Deal with the case where request services are not set
...
Rather than throwing here, this does what routing does. If request
services aren't set, we just create our own scope.
This will NOT create an extra scope if request services are already set.
2014-11-17 17:30:41 -08:00
rowanmiller
fad5ba4323
Copy of Microsoft.AspNet.Diagnostics.Entity code from EntityFramework
...
Straight copy of code with no modification so that we have a baseline of changes made to port the code to the Diagnostics repo
2014-11-17 15:49:09 -08:00
Chris Ross
8caec74f03
Add a HotAdd/Remove prefix sample.
2014-11-17 09:24:52 -08:00
Chris Ross
ecf9454efe
Make prefix add & remove thread safe.
2014-11-17 09:24:46 -08:00
Chris Ross
46a11be2ed
#39 - Hot add/remove prefixes. #13 - Support Add/Remove(string).
2014-11-17 09:24:42 -08:00
Chris Ross
6a4f49a188
Fix facebook endpoint tests.
2014-11-15 08:13:56 -08:00
ianhong
57d234bd7b
Removing a <inheritdoc> comment that I forgot from the previous push.
2014-11-14 15:22:36 -08:00
Chris Ross
b5156a00b3
Argument validation cleanup.
2014-11-14 15:14:16 -08:00
Chris Ross
ba693dd383
Code cleanup.
2014-11-14 15:11:41 -08:00
Chris Ross
1dd3a2ee1f
#147 - OWIN: Throw KeyNotFoundException if the underlying Feature is missing. Return defaults for required entries.
2014-11-14 15:11:40 -08:00
Chris Ross
0fee3c87a0
#85 - Update the targeted Facebook API version to v2.2.
2014-11-14 15:05:31 -08:00
Pranav K
052ad3e95f
RenderSection \ RenderSectionAsync does not work in sections
...
Fixes #1509
2014-11-14 12:17:25 -08:00
Suhas Joshi
42c809ca16
Updated to use EF Async methods
2014-11-14 11:47:51 -08:00
N. Taylor Mullen
bad8b16a2a
Add extensibility point to resolve descriptors in assembly.
...
- Modified our default TagHelperDescriptorResolver to provide a protected virtual method that it uses under the covers to resolve descriptors for an entire assembly. This will enable tooling to cache descriptors on a per-assembly basis.
#214
2014-11-14 10:45:19 -08:00
N. Taylor Mullen
829faaaa4b
Change TagHelperAttributeDescriptor to not depend on PropertyInfo.
...
- Right now the only information that is used from the PropertyInfo is the PropertyName and the PropertyType, therefore changed the PropertyInfo property on TagHelperAttributeDescriptor to be AttributeTypeName since we already had an accessor for AttributePropertyName.
- Modified test comparers to validate type names.
#214
2014-11-14 10:45:14 -08:00
N. Taylor Mullen
2200f7dc3a
Add AssemblyName to TagHelperDescriptor.
...
- TagHelperDescriptor's need a way to showcase where they came from so tooling can reverse look them up.
- Update tests to specify TagHelperDescriptor assembly names.
#214
2014-11-14 10:45:08 -08:00
N. Taylor Mullen
8d4bdbdb84
Allow invalid HTML to be in Razor pages.
...
- Modified the TagHelperParseTreeRewriter to not remove invalid HTML snippets.
- Added tests to validate invalid HTML is allowed.
#212
2014-11-14 10:30:51 -08:00
Chris Ross
b7bb7f8fcf
Fix issue with empty path.
2014-11-14 09:43:33 -08:00
Suhas Joshi
8709721890
Merge branch 'UpdateKestrel' of https://github.com/aspnet/Security into UpdateKestrel
2014-11-13 16:51:52 -08:00
Suhas Joshi
4f90920b6d
Added kestrel and running on IIS support
2014-11-13 16:50:53 -08:00
Chris Ross
bf5d14f477
#78 - Enable TestServer to populate the PathBase.
2014-11-13 16:23:03 -08:00
Suhas Joshi
191bf8815c
Updating connection strings to use lcatest localdb
2014-11-13 15:49:45 -08:00
Suhas Joshi
2f7c186b24
Adding necesary files for IIS hosting
2014-11-13 12:57:01 -08:00
ianhong
dd1500dcfb
Updated a comment and sort usings
2014-11-13 11:28:13 -08:00
ianhong
245d1dffda
Updating the summary comment for IRazorViewFactory and its tests per comments
2014-11-13 11:28:12 -08:00
ianhong
0720177243
Updating per comments
2014-11-13 11:28:12 -08:00
ianhong
23a7aa813d
Updating FindView_UsesViewLocationExpandersToLocateViews for IRazorViewFactory.
2014-11-13 11:28:12 -08:00
ianhong
e9c7a34cfc
Introducing RazorViewFactory for RazorView
2014-11-13 11:28:11 -08:00
Suhas Joshi
0815681a95
Added kestrel to run samples on Mono
2014-11-13 11:16:36 -08:00
Doug Bunting
7e8870cb9f
Per PR discussion
...
- clean up "the the" in XML comments
- simplify refactoring VS did when I renamed `GetHtmlHelperForViewData()`
- fix existing issue in `HtmlHelperCheckboxTest.CheckBoxReplacesUnderscoresInHtmlAttributesWithDashes()`
(was using a `HtmlHelper<ViewDataDictionary<TestModel>>`)
2014-11-12 21:56:11 -08:00
Doug Bunting
1d3ae83507
Address PR comments in test code
...
- add missing license headers
- make "post" more obvious
- use `Assert.IsAssignableFrom()`
nit: remove unused `using`s in `HtmlHelperLinkGenerationTest`
2014-11-12 21:56:03 -08:00
Doug Bunting
6313a9682e
Address PR comments in product code
...
- XML comment improvements
2014-11-12 21:55:55 -08:00
Doug Bunting
2982c72547
Add `Html.BeginForm()` and `Html.BeginRouteForm()` tests
...
- helps w/ #453 since `Html.BeginForm()` wasn't previously tested
- provide a `DefaultTemplatesUtilities.GetHtmlHelper()` overload with an
`IHtmlGenerator` parameter
- update `DefaultTemplateUtilities` to use `DefaultHttpContext`
- stop using a mock for this purpose; provides a non-`null` `Request`
nit:
- `DefaultTemplatesUtilities.GetHtmlHelperForViewData()` -> `...GetHtmlHelper()`
for consistency with other overloads
2014-11-12 21:55:48 -08:00
Doug Bunting
22fafe298c
Add `BeginRouteForm()` HTML helper
...
- refactor `DefaultHtmlGenerator.GenerateForm()` to support new method
nits:
- correct XML comments
- add a few more code comments
2014-11-12 21:55:40 -08:00
kanchanm
47d0afbe38
Fixing xml comment typo
2014-11-12 16:25:01 -08:00
Victor Hurdugaci
2970af14b1
Update KProj to the latest format
2014-11-12 15:56:14 -08:00
Victor Hurdugaci
c0d8e94287
Update KProj to the latest format
2014-11-12 15:43:31 -08:00
Victor Hurdugaci
15344d8d7a
Update KProj to the latest format
2014-11-12 15:39:40 -08:00
Victor Hurdugaci
a3a59f122d
Update KProj to the latest format
2014-11-12 15:36:26 -08:00
Victor Hurdugaci
ee162013a5
Update KProj to the latest format
2014-11-12 15:33:16 -08:00
Victor Hurdugaci
39accef1ad
Update KProj to the latest format
2014-11-12 15:24:16 -08:00
Victor Hurdugaci
1b8f25f7d4
Update KProj to the latest format
2014-11-12 15:15:40 -08:00
Victor Hurdugaci
53d89bb9b5
Update KProj to the latest format
2014-11-12 15:12:39 -08:00
Victor Hurdugaci
76bb27e5d3
Update KProj to the latest format
2014-11-12 15:09:59 -08:00
Victor Hurdugaci
d25ffec655
Update KProj to latest version
2014-11-12 15:06:43 -08:00
Victor Hurdugaci
b466013235
Update KProj to the latest format
2014-11-12 15:01:34 -08:00
kanchanm
4598505652
Fix to special case Dispose method to be treated as non-action
2014-11-12 14:52:19 -08:00
Hao Kung
5c10f9e96b
SignOut all identity cookies except for RememberMe
...
Fixes https://github.com/aspnet/Identity/issues/211
2014-11-12 12:38:34 -08:00
Hao Kung
91eac9f74e
Remove old V1 method: FindByUsernamePassword
...
Replaced with FindUser/CheckPassword
Fixes https://github.com/aspnet/Identity/issues/223
2014-11-12 12:22:50 -08:00