Suhas Joshi
41e8d22d3a
Merge pull request #261 from aspnet/UpdateDbContext
...
Changes to use AddDbContext method
2014-10-16 16:35:14 -07:00
Stephen Halter
cd90a337ee
Change GetService calls to GetRequiredService
...
GetRequiredService throws for missing services like GetService used to.
2014-10-16 16:20:52 -07:00
Suhas Joshi
7dd78bbfef
Changes to use AddDbContext method
2014-10-16 16:11:09 -07:00
sornaks
53379e4395
Issue #1206 - DefaultBodyModelValidator throws if get accessor throws.
...
Fix: The MvcOptions takes in a list of ExcludeFromValidationDelegate (Func<Type,bool>). This func verifies if the type is excluded in validation or not.
2014-10-16 16:09:30 -07:00
Stephen Halter
e720edf4bd
Change GetService calls to GetRequiredService
...
GetRequiredService throws for missing services like GetService used to.
2014-10-16 16:07:53 -07:00
Levi B
cd33cbfc8f
Add unit tests for CngAuthenticatedEncryptorBase, PBKDF2, and SP800_108-CTR-HMACSHA512.
2014-10-16 15:54:35 -07:00
Hao Kung
0df5dfd36b
React to DI change for GetService
2014-10-16 15:33:59 -07:00
Hao Kung
06c64826ee
Delete renamed file
2014-10-16 15:15:06 -07:00
Hao Kung
3a9036a69f
Rationalize IdentityDbContext ctors
...
Also clean up unit tests
2014-10-16 15:14:46 -07:00
Doug Bunting
34f17db94c
Add `DefaultEditorTemplates.MultilineTemplate`
...
- #965
- test call-throughs from `Html.Editor[For]()` to inner `IHtmlHelper`
- add another parameter to `DefaultTemplatesUtilities.GetHtmlHelper()`
nit: reorder dictionaries at the top of `TemplateRenderer` slightly
2014-10-16 15:14:12 -07:00
Stephen Halter
c16214a53d
Split line made over 120 chars by call to GetRequiredService
2014-10-16 14:51:48 -07:00
Stephen Halter
a21ed4bc51
Replace calls to GetService<T> with GetRequiredService<T>
...
Even though GetService<T> still exists, GetRequiredService<T> preserves
the old behavior of throwing for missing services.
2014-10-16 14:51:41 -07:00
Stephen Halter
54ac14fa0f
IServiceProvider.GetService now returns null for missing services
...
Previously GetService would throw if the requested service was missing.
This commit updates MVC to account for the change in behavior.
2014-10-16 14:51:34 -07:00
Hao Kung
92267b4c25
Fix typo in samples
2014-10-16 13:12:38 -07:00
jacalvar
f8035d6b04
[ Fixes #1201 ] Handle virtual paths in FilePathResult
2014-10-16 13:05:55 -07:00
jacalvar
9a08e42612
Add WebRoot node to project.json on MvcSample.Web
2014-10-16 12:58:30 -07:00
Harsh Gupta
3eaa9d0b6d
Fixing a typo in the MarkerAwareValueProvider name. Also removing additional registration of IValueProviderFactoryProvider from
...
services.
2014-10-16 12:04:22 -07:00
Suhas Joshi
0c7b714680
Merge pull request #259 from aspnet/TwitterTest
...
Uncomment assert for delete cookie test
2014-10-16 12:03:57 -07:00
Hao Kung
4efa6a428b
Support IServiceProvider ConfigureServices()
2014-10-16 11:44:52 -07:00
Hao Kung
78f472fd20
Switch to automatically ensure request services
2014-10-16 11:14:07 -07:00
Suhas Joshi
73d3e2fa2e
Uncomment assert for delete cookie test
2014-10-16 11:12:56 -07:00
Harsh Gupta
8f933b2ac3
[Fixefor #860 ]- Adding Support for [FromFormData] [FromQuery] and [FromRoute],
...
also updates FromBody to use the new pattern for model binding.
2014-10-16 10:20:15 -07:00
Victor Hurdugaci
0ef93b94dc
Add the runtime info page when running in dev environment
2014-10-16 09:28:03 -07:00
Chris R
acd88a6ca7
Merge pull request #38 from tugberkugurlu/ErrorTitleShowNewLine
...
showing the error message inside pre tag in order to properly render the new lines
2014-10-16 08:55:30 -07:00
Pranav K
8cf74afc75
Fixing doc comments
2014-10-16 08:19:54 -07:00
Pranav K
b2a01e7b45
Adding support for inheriting tag helpers from _ViewStart files
...
Fixes #1166
2014-10-16 07:55:37 -07:00
Pranav K
99fe8294e9
Modifications to support providing tag descriptors from derived hosts
2014-10-16 07:11:46 -07:00
Pranav K
0ad959e236
DateTimeOffset doesn't have a TypeConverter in Mono
2014-10-16 07:10:35 -07:00
Kiran Challa
acb2a99e9f
[ Fixes #1283 ] Add functional tests for WebAPI-style controllers returning HttpContent
2014-10-16 01:52:33 -07:00
Levi B
796acc0e34
Restore Win7 + Server Core support routines.
2014-10-15 19:51:51 -07:00
Pranav K
75c6327b2e
Layout property needs to be propogated between nested view starts
...
Fixes #1364
2014-10-15 18:54:02 -07:00
Pranav K
de77c92a0a
Reviving PartialViewResult and associated methods on Controller
...
Fixes #824
2014-10-15 18:28:08 -07:00
ajcvickers
033dc2e235
Reacting to EF API changes
2014-10-15 18:04:55 -07:00
ajcvickers
f960f2ca35
Fixing typo
2014-10-15 17:48:30 -07:00
ajcvickers
ad6869d560
Reacting to provider-specific EF API changes
2014-10-15 17:34:12 -07:00
Ryan Nowak
7666d5973f
fix build issue in coreclr
2014-10-15 17:32:06 -07:00
ajcvickers
e724e4248c
Reacting to provider-specific EF API changes
2014-10-15 17:31:04 -07:00
Ryan Nowak
5f47546d40
Use DefaultOrder in MvcOptionsSetup
2014-10-15 17:12:52 -07:00
Chris Ross
8713dc9ba1
Dependency changes.
2014-10-15 16:08:47 -07:00
Chris Ross
45836c8041
Update UseMiddleware dependencies.
2014-10-15 15:56:08 -07:00
Chris Ross
33dd087e0f
Move UseMiddleware from RequestContainer to Http.Extensions.
2014-10-15 15:35:29 -07:00
Pranav K
44d888c319
ViewStartUtility should not return current path if current is a view start
...
file
2014-10-15 15:05:27 -07:00
sornaks
2c4b3dd3fc
Issue #937 : Adding functional tests for Filters.
2014-10-15 14:24:53 -07:00
Levi B
132802435b
Add time-limiting data protection capabilities.
2014-10-15 12:57:04 -07:00
N. Taylor Mullen
f8020e8e85
Make @addtaghelper directive not be nested.
...
- Whenever we encounter an @addtaghelper directive we add it to the CodeTree at the top level (not nested in any chunk blocks).
- Added a test to validate that @addtaghelper inside of a ChunkBlock doesn't add to the ChunkBlock's children.
#195 .
2014-10-15 12:10:27 -07:00
Levi B
a0138735a8
Add string-based extension methods to IDataProtector.
2014-10-15 11:51:00 -07:00
Chris Ross
8bd068f4a6
Move UseMiddleware from RequestContainer to Http.Extensions.
2014-10-15 09:39:12 -07:00
Kiran Challa
e985c22528
[ Fixes #1216 ] Provide a property on JsonOutputFormatter to set serializer settings
...
[Fixes #1221 ] Rename OutputFormatter's WriteResponseContentHeaders to WriteResponseHeaders
[Fixes #932 ] Setting Json Serializer Settings
2014-10-15 09:27:09 -07:00
Harsh Gupta
ebf64ce4e3
Adding HttpResponseException to WebApi Shim.
2014-10-15 09:07:40 -07:00
David Fowler
28bdedab22
Fixed FakeLibraryInformation
2014-10-15 00:35:01 -07:00