Praburaj
39ee3e714a
Reacting to the cache package rename and few misc changes
...
1. Setting expiry time for cached items.
2. Some other misc changes.
2014-09-12 17:09:39 -07:00
jacalvar
775a780f49
[ Fixes #739 ] Attribute Routing: Multiple routes per-action
...
1. Support multiple [Http*] attributes on an action.
2. Support multiple [Route] attributes on a controller and on an action.
3. Support creating multiple attribute routes using [AcceptVerbs("...", Route = "...")]
4. Detect attribute routed actions during action discovery and return one action per [Http*],
[Route] or [AcceptVerbs] attribute found on the method when there is at least one valid attribute route.
5. Merge all the HTTP methods of [Http*] and [AcceptVerbs] attributes in a method during
action discovery when there are no valid attribute routes defined on the action.
6. Build one action descriptor per controller [Route] + action [Http*], [AcceptVerbs]
or [Route] combination in an action.
7. Disallow the use of attributes that do not implement IActionHttpMethodProvider and
IRouteTemplateProvider simultaneously in methods that define attribute routed
actions and throw an exception during startup.
8. Disallow mixing attribute routed and non attribute routed actions on the same method
and throw an exception during startup.
2014-09-12 14:43:19 -07:00
Chris Ross
07b3fe2135
#32 - Port comment and flow cleanup from Katana.
2014-09-12 14:42:55 -07:00
Chris Ross
55f8b9d41d
Rebase.
2014-09-12 14:32:35 -07:00
harshgMSFT
7a3dc352c9
1. Moving the HttpNotAcceptableOutputFormatter to product code.
...
2. Renaming the NoContentFormatter to HttpNoContentOutputFormatter.
3. Updating the test to use mock.
2014-09-12 14:14:44 -07:00
harshgMSFT
e884a476e9
Responding to comments
2014-09-12 13:56:33 -07:00
harshgMSFT
abf27d883f
GetSupportedContentTypes to take in declared and runtime type.
2014-09-12 13:56:30 -07:00
harshgMSFT
7448bf2843
Responding to comments
2014-09-12 13:56:22 -07:00
harshgMSFT
33173d3031
Fix for Content negotiation should fallback to the first formatter that can write the type #1033
...
- Includes functional and unit tests.
2014-09-12 13:56:14 -07:00
Ryan Nowak
d57c34392f
stylecop fix
2014-09-12 13:02:24 -07:00
Chris Ross
0bfe3c14db
Port AuthProperties.AllowRefresh from Katana.
2014-09-12 12:42:36 -07:00
Chris Ross
f258724cbd
#32 - Honor AuthenticationProperties.AllowRefresh.
2014-09-12 12:41:23 -07:00
Chris Ross
a9e40ac895
Properly delete the correlation cookie. See Katana #230 .
2014-09-12 12:41:19 -07:00
Chris Ross
b10cda80a7
#32 - Port Cookies OnException notification from Katana.
2014-09-12 12:41:15 -07:00
Chris Ross
83bffe3542
#32 - Port Cookies OnSignedIn notification from Katana.
2014-09-12 12:41:11 -07:00
Chris Ross
d6b82b8799
#32 - Port cookie auth session store from Katana. Add MemoryCache sample.
2014-09-12 12:41:07 -07:00
Chris Ross
f6d6f31414
#32 - Port Cookie chunking from Katana.
2014-09-12 12:41:02 -07:00
Chris Ross
ea3ea90b7a
#8 - Use IHostingEnvironment.WebRoot as the default static files root.
2014-09-12 10:19:38 -07:00
Praburaj
8c1bf38211
Reacting to a change in the environment variable from ENV -> KRE_ENV
2014-09-11 16:36:54 -07:00
Chris Ross
8a66871139
#71 - Create IHostingEnvironment.
2014-09-11 16:28:01 -07:00
Pranav K
658eed4c0f
Removing Activator.CreateInstance call from CodeTreeBuilder
2014-09-11 11:55:01 -07:00
Wei Wang
447336b4f3
React to renaming TargetFramework to RuntimeFramework
2014-09-11 11:49:53 -07:00
Praburaj
e63d4f95d2
Adding an Ntlm variation of the test
...
Modified the helpers to take in an application host config file to accomodate future needs.
2014-09-11 11:10:25 -07:00
David Fowler
29baf80161
Allow MvcRazorHost to run on vanilla .NET45
...
- Added net45 target and removed specific aspnet50 and aspnetcore50 APIs
from that code path.
2014-09-11 10:42:08 -07:00
Pranav K
c1680e92d6
Reacting to System.Text.Encoding package version change
2014-09-11 10:07:08 -07:00
Pranav K
acc5c31f28
Reacting to System.Text.Encoding package version change
2014-09-11 10:07:05 -07:00
Pranav K
b15810a173
Reacting to System.Text.Encoding package version change
2014-09-11 10:06:57 -07:00
Pranav K
6944fd4bc4
Reacting to System.Text.Encoding package version change
2014-09-11 10:06:55 -07:00
Pranav K
1b1e02e9dd
Reacting to System.Text.Encoding package version change
2014-09-11 10:06:52 -07:00
Pranav K
06997363e8
Reacting to System.Text.Encoding package version change
2014-09-11 10:06:49 -07:00
Pranav K
547d77778e
Reacting to System.Text.Encoding package version change
2014-09-11 10:06:46 -07:00
Pranav K
417556c84c
Reacting to System.Text.Encoding package version change
2014-09-11 10:06:41 -07:00
Pranav K
9c31dbc684
Bulding Universe does not require kvm
2014-09-11 06:23:54 -07:00
Chris Ross
56987a66c6
Handle IBuilder rename to IApplicationBuilder.
2014-09-10 14:47:02 -07:00
Chris Ross
a2fc6e28a8
Handle IBuilder rename to IApplicationBuilder.
2014-09-10 14:39:52 -07:00
Chris Ross
85ad1aeb96
Handle IBuilder rename to IApplicationBuilder.
2014-09-10 14:12:08 -07:00
Chris Ross
0cd6e52383
Handle IBuilder rename to IApplicationBuilder.
2014-09-10 12:50:37 -07:00
Chris Ross
fbe4da4db9
Handle IBuilder rename to IApplicationBuilder.
2014-09-10 12:44:52 -07:00
Chris Ross
3f76dcc166
Handle the IBuilder rename to IApplicationBuilder.
2014-09-10 12:37:39 -07:00
Wei Wang
64455620a0
React to renaming TargetFramework to RuntimeFramework
2014-09-10 12:31:50 -07:00
Chris Ross
51c3dc98dc
Handle IBuilder rename to IApplicationBuilder.
2014-09-10 12:27:01 -07:00
Chris Ross
d7f5c81b13
Handle IBuilder rename to IApplicationBuilder.
2014-09-10 12:14:50 -07:00
Chris Ross
d50923a730
Handle IBuilder rename to IApplicationBuilder.
2014-09-10 12:06:55 -07:00
Chris Ross
335895d9b4
#122 - Rename IBuilder to IApplicationBuilder.
2014-09-10 11:45:02 -07:00
Praburaj
0c3cf30d2c
Commenting the external logins from login cshtml to work around a bug
...
https://github.com/aspnet/HttpAbstractions/issues/115
Also adding a work around for the EF issue.
2014-09-10 11:26:29 -07:00
Chris Ross
200f894b5b
Handle IBuilder rename to IApplicationBuilder.
2014-09-10 10:25:41 -07:00
jacalvar
cde1a95d49
[ Fixes #900 ] Use [Route(...)] on action methods to specify an attribute route that allows all verbs.
...
1. Changed attribute usage on RouteAttribute.
2. Added a test on action discovery to ensure that actions with [Route] get discovered as
attribute routed actions.
3. Added a test on reflected action descriptor provider to ensure that an action with [Route] on
the controller and [Route] on the action results in an action that allows any Http method.
2014-09-10 10:11:42 -07:00
Wei Wang
13adde63fa
Update the method used to read JSON asynchronously
2014-09-10 09:13:22 -07:00
Wei Wang
44ccea6871
Upgrade Newtonsoft.Json to 6.0.4 version
2014-09-10 08:52:12 -07:00
Wei Wang
43fdf2a460
Upgrade Newtonsoft.Json to 6.0.4 version
2014-09-09 20:42:41 -07:00