Tian Pan
e95585dfbd
Remove ActionResultHelper
...
Fix #597
2014-06-11 11:17:45 -07:00
Tian Pan
60443101d5
Enable request to reach base controller class's action
...
Fix #378
2014-06-11 10:57:19 -07:00
Pranav K
822d84a2b4
Use default values when binding action arguments
...
Fixes #545
2014-06-09 11:44:26 -07:00
harshgMSFT
dd3dafddb8
Mvc Changes corresponding to Routing DI changes. Refer pr#63
2014-06-06 17:22:06 -07:00
Yishai Galatzer
6d78f8adb3
Cache action descriptor providers and provide a race safe data structure to get the version.
...
The default implementation has a safe race, and does not allow for action description addition at runtime.
It can be replaced with an implementation that can reload.
Consumers of the new service that do extra caching are now responsible to look at the version and change the implementation.
2014-06-06 15:19:30 -07:00
Ryan Nowak
bd08a2ca62
fix a build break due to api change
2014-06-06 11:06:41 -07:00
Ryan Nowak
a3314a4805
changing to use list instead of stack
2014-06-06 10:49:58 -07:00
Ryan Nowak
69034b78b8
Issue #65 merge RoutingContext and RequestContext
...
See the relevant PR in aspnet/Routing#60 .
This incorporates the breaking changes.
2014-06-06 10:49:55 -07:00
sornaks
6b836e9e77
Introducing ChallengeResult to call Response.Challenge()
2014-06-06 10:31:18 -07:00
Ryan Nowak
cf0304b897
Fixing style issues in Mvc.Core
2014-06-04 20:40:23 -07:00
harshgMSFT
b96da245cb
RouteCollection -> RouteBuilder changes for MVC.
2014-06-03 16:43:54 -07:00
sornaks
dffc58dedc
Issue #242 - Introducing ObjectContentResult
2014-06-03 16:00:36 -07:00
Pranav K
06362db5dc
Adding unit test for ViewResult
2014-06-03 13:53:51 -07:00
harshgMSFT
483e9038b4
Supporting Urls With ~/ while redirecting.
...
Fix for Issue#304
2014-06-03 11:29:27 -07:00
Tian Pan
6082cd9f36
View components - More built in return methods ( Fix #354 )
...
Modify Content/Json/View return type as strongly-typed.
2014-06-02 23:12:42 -07:00
Pranav K
19ab3a4fc6
* Moving Utf8EncodingWithoutBOM to a shared type
2014-06-02 11:09:55 -07:00
dougbu
065ee36fdd
Reflect recently-added file in .kproj
...
- from commit 6f3511379f
2014-05-30 19:01:33 -07:00
Pranav K
6f3511379f
Modify JsonResult to generate results in UTF8 without BOM by default
...
Fixes #577
2014-05-30 10:52:15 -07:00
David Fowler
7388dece9f
Fixed project.json casing
2014-05-26 02:50:43 -07:00
Pranav K
a53e378cf4
Updating kproj file to match tooling changes
2014-05-18 20:13:56 -07:00
Andrew Peters
f13865dedc
Updating copyright headers
2014-05-08 23:01:20 -07:00
Wei Wang
dc8b5010a0
Merge branch 'sort-dependencies' into dev
...
Conflicts:
src/Microsoft.AspNet.Mvc.Core/project.json
src/Microsoft.AspNet.Mvc.Razor.Host/project.json
src/Microsoft.AspNet.Mvc.Razor/project.json
2014-05-08 11:16:25 -07:00
David Fowler
3b31df3d29
React to renames
2014-05-08 03:24:18 -07:00
Wei Wang
7b2feab670
Sort dependencies and remove duplicates in dependencies
2014-05-07 18:24:04 -07:00
harshgMSFT
bbafa0a29a
Tests for AntiForgery System.
2014-05-07 10:27:01 -07:00
Wei Wang
e800fcd44f
Eliminate duplicated dependencies
2014-05-06 15:27:10 -07:00
Pranav K
076dedcca5
Reacting to package and namespace changes
2014-05-06 14:06:29 -07:00
Ryan Nowak
abbaa11212
Incorporate name changes: HttpAbstractions
2014-05-05 17:14:08 -07:00
Ryan Nowak
4ece9969bf
HttpAbstractions
2014-05-05 16:29:14 -07:00
Sebastien Ros
6f16dabf08
Renaming Microsoft.AspNet.Security namespace
2014-05-05 16:13:54 -07:00
Ryan Nowak
7a8dc36553
Adding controller-as-filter support
...
If the controller implements IFilter, it will be added to the filters
collection.
It's hardcoded to be 'first' as it was in MVC, but can be overridden by
implementing IOrderedFilter.
2014-05-05 14:03:01 -07:00
Hao Kung
9bf42374b0
Fix for moving extension methods to IServiceCollection
2014-05-02 12:37:05 -07:00
Ryan Nowak
f5b3ae4a3b
Renaming Exception Filter methods
...
These were accidentally the same names as the action filter methods.
Oopsies. Name taken from MVC and appended Async for the async version
because that's how we roll.
2014-05-01 23:14:47 -07:00
anpete
8208cd6b2f
Update file headers
2014-05-01 17:42:33 -07:00
harshgMSFT
3765abdfca
Adding Support for LinkGeneration for named Routes.
...
- Adding HtmlHelpers for route link generation.
- Controller Helpers
- UrlHelper and UrlHelperExtensions
2014-04-30 18:34:46 -07:00
Ryan Nowak
8ae1865740
Fix for part of #339
...
Treat actions with a dynamic constraint or httpmethod constraint as
'better' than those with just route constraints.
This is the first criteria used to filter down the 'best' match, so it's
applied before parameter-arity.
2014-04-30 13:25:48 -07:00
Sebastien Ros
b3046a0285
AllowAnonymous can override AuthorizeAttribute
...
#309
2014-04-28 14:04:10 -07:00
Sebastien Ros
e5aeb738e3
Adding a unit test for AuthorizeAttribute
...
#314
2014-04-28 13:57:29 -07:00
Ryan Nowak
8eecad9d83
Bringing back UrlHelper.IsLocalUrl
...
This has been compied verbatim from MVC (intentional). The tests have been
modernized a bit as well, but all the cases covered in the original are
there.
This may be moved to HttpAbstractions at some point in the future.
2014-04-25 14:29:00 -07:00
Sebastien Ros
0fe028a4dd
Implementing Authorize attribute
...
#272
2014-04-24 16:21:43 -07:00
Ryan Nowak
73670fb5d7
CR feedback for filters
2014-04-21 13:34:00 -07:00
Louis DeJardin
f19fe0cbef
Filters version 2.0
...
This is functionally much more similar to legacy MVC.
Rather than a pure single pipeline, filter execution takes place in more
stages.
2014-04-17 11:45:58 -07:00
Ryan Nowak
ce1f813a82
More spot fixes for warnings as errors
2014-04-16 20:21:10 -07:00
Ryan Nowak
40e7fcc9ba
Turning on warnings as errors
2014-04-16 20:21:07 -07:00
sornaks
646b711b11
Adding the missed project files for WebFX:156 - Introducing RedirectToAction and RedirectToRoute
2014-04-15 13:49:57 -07:00
Sornakumar
ecd8ddeae4
WebFX 156: Adding support for RedirectToAction and RedirectToRoute
2014-04-15 10:45:57 -07:00
harshgMSFT
1536daa107
Adding NonAction Attribute
2014-04-14 16:18:16 -07:00
dougbu
ba08f8e8d8
Cleanup Display, Partial, and Validation extensions
...
- correct file and class names for some HH extensions
- three class names were correct but didn't match containing file
- three class and file names matched but didn't start with HtmlHelper
- clean up trailing whitespace and long lines in changed Extensions.cs files
- `HtmlHelperPartialAsyncExtensions`, `HtmlHelperRenderPartialAsyncExtensions`
and `HtmlHelperValidationExtensions` lacked some `[NotNull]` attributes
- merge extension files by concept
- Display / DisplayFor / DisplayForModel methods all into `HtmlHelperDisplayExtensions`
- Partial / RenderPartial methods all into `HtmlHelperPartialExtensions`
- use `IHtmlHelper<TModel>` everywhere
2014-04-10 17:12:16 -07:00
Ryan Nowak
408d4056b1
Rearrange ViewContext
2014-04-10 11:40:57 -07:00
harshgMSFT
53b76380eb
Adding ActionName Attribute
2014-04-09 15:48:30 -07:00