Commit Graph

43822 Commits

Author SHA1 Message Date
David Fowler 18400481b5 Cleaned up the mvc sample
- Removed unnecessary dependencies
- Removed web.config
- Use overload of UseServices that automatically adds options
2014-09-15 09:51:00 -07:00
Chris Ross 0139bea6d2 #56 - Make Request & Response Stream throw IOException. 2014-09-15 09:41:29 -07:00
Chris Ross 35ad3ec7bb Code cleanup. 2014-09-15 09:35:55 -07:00
Chris Ross 9bc33d6ce8 React to SetSlidingExpiration spelling fix. 2014-09-15 09:32:13 -07:00
Chris Ross 3811f47b23 Use out var syntax. 2014-09-15 09:13:27 -07:00
David Fowler 70e809a430 Fixed test projects
- Removed bogus reference to configuration
2014-09-15 01:27:27 -07:00
David Fowler 736fc684e6 Work around build failures 2014-09-14 21:53:30 -07:00
Praburaj db78efda4f Disabling Ntlm+WebListener test combination
For some reason the KRE_ENV value being set is not honored. Disabling the test alone to unblock build.
2014-09-14 21:45:06 -07:00
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