Commit Graph

39740 Commits

Author SHA1 Message Date
Pranav K 029d6b4b58 Add "update-release" target to merge dev branches to release 2014-09-16 13:43:27 -07:00
Praburaj de6b05cd86 Updating Social startup as well to use chaining to add configuration sources. 2014-09-16 10:50:24 -07:00
Praburaj 0a3456042a Updating sample to use config file named config.json instead of LocalConfig.json 2014-09-16 10:48:33 -07:00
Praburaj 671c619a11 Fixing Program.cs to populate a IHostingEnvironment service
Also contains a general cleanup.
2014-09-16 10:26:23 -07:00
Pranav K 646c0d704d Limit the maximum number of Model errors to a reasonable value.
Fixes #490
2014-09-16 09:57:00 -07:00
Praburaj 3d79659cc0 Updating sample readme
Also removing some mono related settings on NtlmStartup.
2014-09-16 09:31:38 -07:00
harshgMSFT 9befa6e3a2 Fixing af tests which are failing due to hardcoded values of the tokens. 2014-09-15 18:49:55 -07:00
Praburaj f400550b5b Adding a variation that does a kpm pack and starts the application
Currently adding only for Helios & X86 desktop CLR. Will add a few more interesting variations in future.
2014-09-15 17:10:06 -07:00
Praburaj 0c6154fcd0 Enabling "authors" element in project.json
Related hosting bug is fixed:
https://github.com/aspnet/Hosting/issues/74
2014-09-15 16:34:34 -07:00
harshgMSFT 0c13563e33 AF Cookie should be reused within the context of same request.
Fixes issue #959
2014-09-15 16:23:45 -07:00
Chris Ross b832636484 Clean sample dependencies. 2014-09-15 16:09:14 -07:00
Ryan Nowak 7ed2de297e moving global filters to options 2014-09-15 15:34:45 -07:00
Chris Ross c47d6d0c78 #74 - Parse the project.json file with Newtonsoft directly. 2014-09-15 14:54:56 -07:00
Pranav K a468986155 Removing unused variable from RoslynCompilationService 2014-09-15 14:44:39 -07:00
Chris Ross 5f7c06d0ec Fix request stream tests. 2014-09-15 14:20:56 -07:00
Praburaj 2712ae3478 Changing the project folder structure to include wwwroot 2014-09-15 14:05:48 -07:00
jacalvar 25838cee55 [Fixes #911] RequireHttpsAttribute does not exist in MVC 6
1. GET requests will be redirected to the equivalent HTTPS url.
2. Requests with any other http method will fail with a 400.
2014-09-15 13:07:30 -07:00
Praburaj 7c917a760a Enabling the Ntlm+WebListener combination back as the issue is fixed.
bbb2a29a99 fixes the issue.
2014-09-15 12:22:54 -07:00
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