Luke Waters
f41b6e4d10
other interface implementation
2015-02-19 15:14:41 -08:00
Luke Waters
b0b1bb3032
fixing logging interface change
2015-02-19 15:03:29 -08:00
Luke Waters
d9e2581c9a
responding to interface break
2015-02-19 14:46:57 -08:00
Levi B
8d98d76209
Code comment clarifications
2015-02-19 14:42:20 -08:00
Levi B
c551ec2490
Add encoder extension methods
2015-02-19 14:14:04 -08:00
Hao Kung
12541f7bba
React to hosting change
2015-02-19 13:54:50 -08:00
Hao Kung
2ee12735b3
Make it easier to add hosting services
...
Fixes https://github.com/aspnet/Hosting/pull/146
2015-02-19 13:22:58 -08:00
Ajay Bhargav Baaskaran
9fcf31fa43
Activate ViewDataDictionary in DefaultTagHelperActivator
2015-02-19 13:21:06 -08:00
Ajay Bhargav Baaskaran
d236d4ffde
Added CanReadType to InputFormatter
2015-02-19 13:06:36 -08:00
Yishai Galatzer
bb31e2aec5
Rename Microsoft.AspNet.PageExecutionInstrumentation to Microsoft.AspNet.PageExecutionInstrumentation.Interfaces
2015-02-19 12:02:29 -08:00
Yishai Galatzer
b12c4c5ef8
Cleanup services
...
Explicitly register nestedprovider managers
Make IActionSelector singleton
2015-02-19 11:14:09 -08:00
Harsh Gupta
cf80721994
Fixing Build break due to Readme change
2015-02-19 10:56:45 -08:00
Harsh Gupta
e0f7c1b810
Fixing Readme
2015-02-19 10:20:16 -08:00
Pranav K
71a2712c5a
Reacting to XDocument verson change
2015-02-19 10:15:18 -08:00
Praburaj
1f98918f1f
PR feedback to StatusCode filter.
2015-02-19 09:44:13 -08:00
Pranav K
f3393db4f4
Reacting to KRE renames
2015-02-19 06:02:59 -08:00
N. Taylor Mullen
565a31b200
Change SourceLocation to be serializable.
...
- Added comments to ensure users are aware of implications of using a set property on the SourceLocation class.
2015-02-18 21:05:18 -08:00
Harsh Gupta
85b6382c69
Fix for #563 - FromForm, FromQuery and FromValue allow providing a Name which is used as a prefix. Also the name is used for reporting model state errors.
2015-02-18 16:48:12 -08:00
Peter Hsu
42da0144b9
Ensure the latest AspNet.Loader.dll is retrieved
2015-02-18 13:37:18 -08:00
Pranav K
1cb170ce02
Add delay after _GlobalImport is deleted to allow file system watcher to react
2015-02-18 11:36:51 -08:00
Pranav K
4ac3acca22
Wait for precompiled file to change.
2015-02-18 11:23:57 -08:00
Pranav K
99eb8f06ad
Fixing typo in RazorPage doc comments
2015-02-18 10:07:52 -08:00
Pranav K
eb7b0d6ae3
* Introduce _GlobalImports to inherit directives.
...
* Remove inheritance from _ViewStarts
Fixes #825
2015-02-18 10:02:37 -08:00
David Fowler
7ace9dece4
Update kvm.ps1
...
Fixed the feed
2015-02-17 19:59:04 -08:00
Doug Bunting
966bfeb8c1
Address PR comments
2015-02-17 17:53:58 -08:00
Doug Bunting
8eb63271b5
Make HTML helper parameter names consistent
...
- #944
- name `string` expression name and `Expression<Func<TModel, TResult>>`
parameters "expression"
- single special case is `GenerateIdFromName(string fullName)` since every
other expression name is relative to the current
`ViewData,TemplateInfo.HtmlFieldPrefix` value
- applied from `IHtmlHelper` and `IHtmlGenerator` on up
- name `IHtmlHelper` and `IHtmlHelper<TModel>` parameters "htmlHelper"
- rename `TProperty` and `TValue` type parameters to `TResult`
nits:
- clean up abbreviated names in `CachedExpressionCompiler`
- change `ObjectToDictionary()`'s parameter name to `value`
- use `nameof` more to make renaming (and refactoring) easier in the future
- rewrap parameters and arguments to avoid long lines and orphans
2015-02-17 17:53:53 -08:00
Harsh Gupta
f19c2e493d
Merging Model Validation for body and non body validation.
...
This also fixes #1503 .
Currently all model binders except mutable object binder are independent of validation code. The mutable object binder which needs to do some validation ( for scenarios involving [BindRequired] and [BindNever]).
We would be going with an approach where required validaiton happens in input formatters and model binders.
This is needed as validation for value types can best be done at creation time.
Followup PRs:
Introduce support for skipping validation (and not binding) for a particular property/type etc.
2015-02-17 11:50:39 -08:00
Levi B
cf36a601c6
React to HttpRequest.IsSecure being renamed
2015-02-17 11:15:56 -08:00
Pranav K
3d6a018793
Upgrading Roslyn version to 1.0.0-rc2
2015-02-17 11:13:02 -08:00
Levi B
a15cb4ffe5
React to HttpRequest.IsSecure renaming
2015-02-17 11:08:12 -08:00
Levi B
fa18a8fb30
Rename HttpRequest.IsSecure -> HttpRequest.IsHttps
2015-02-17 10:50:07 -08:00
Victor Hurdugaci
9354296521
Merge branch 'release' into dev
2015-02-17 09:19:17 -08:00
Kiran Challa
3dc3d280d5
Fixed XmlAssert and added tests
2015-02-16 19:11:02 -08:00
N. Taylor Mullen
f53b6bb0e3
Change '?' in add and remove TagHelper to mean 1 character.
...
- Modified tests to account for new behavior of the '?' character in @addtaghelper and @removetaghelper.
#297
2015-02-16 18:59:20 -08:00
Yishai Galatzer
a0fa8fff16
Initial commit
2015-02-16 18:31:39 -08:00
damianedwards
6e845f0171
Add globbing support to the LinkTagHelper:
...
- #1581
2015-02-16 18:29:59 -08:00
Yishai Galatzer
bcbbc58515
Api cleanup (remove List and Dictionary in favor of IList and IDictionary)
...
from the public surface copy header values on registration.
Make a copy of the mediatypeheader value in FormatterMappings so it's
really immutable.
2015-02-16 18:19:55 -08:00
Ryan Nowak
d2aa55893d
Functional tests for #302
...
This feature allows routing to generate a link when the action that is
being linked-to does not yet exist. See the PR in routing for the actual
implementation changes. This PR just has a simple functional test for the
scenario.
2015-02-16 17:59:31 -08:00
Mugdha Kulkarni
f9a9b80681
Fixing the error message. The error message for malformed template was too complex listing all
...
the errors that can happen in one message. I have separated the message in 2 different messages.
1. When there is a parameter or a literal following the optional parameter.
2. when optional parameter is preceded by a literal other than period which is not allowed.
2015-02-16 17:40:04 -08:00
Praburaj
7da407a17a
Using statuscode pages in the sample
...
Adding some automation as well.
2015-02-16 17:22:57 -08:00
Levi B
3f9423eda9
Provide a facility for registering encoder services
2015-02-16 17:08:15 -08:00
Hao Kung
af58d878ba
Fix MusicStore.Spa
2015-02-16 16:14:04 -08:00
Hao Kung
71a4b6f6b7
Fully qualify attribute
2015-02-16 16:08:32 -08:00
Hao Kung
af908d67e4
Switch to Security Authorize attribute
2015-02-16 16:03:44 -08:00
Stephen Halter
5de210f527
Fix for #1416 - Remove all uses of ITypeActivator and use the static method instead
...
- ITypeActivator is being removed
- Where an ITypeActivator was used before, use the static ActivatorUtilities
2015-02-16 16:02:39 -08:00
Hao Kung
60384e17eb
React to AuthZ changes
2015-02-16 15:59:19 -08:00
Hao Kung
86d9468e45
React to Authorize attribute moving
2015-02-16 15:56:30 -08:00
Hao Kung
94ef6cf8fa
React to Authorize changes
2015-02-16 15:40:57 -08:00
Praburaj
fc933c83c2
Fixing a test issue
2015-02-16 15:31:56 -08:00
Hao Kung
5094b85ac9
Latest AuthZ iteration
...
- Core Auth API now takes list of IAuthorizationRequirements, or policy
name.
- Overload that takes AuthorizationPolicy instance moved to extension
method.
- Remove HttpContext from API and replace with ClaimsPrincipal instead
- Add Operation requirement
- Add Sync overloads
- Add ClaimsTransformationOptions (TBD where to use this)
Fixes https://github.com/aspnet/Security/issues/132
Fixes https://github.com/aspnet/Security/issues/116
Fixes https://github.com/aspnet/Security/issues/11
Fixes https://github.com/aspnet/Security/issues/117
2015-02-16 15:04:10 -08:00