Commit Graph

37853 Commits

Author SHA1 Message Date
Stephen Halter c567e4814a Clean up Travis builds
- No longer build libuv in .travis.yml
- The Ubuntu libuv build should now be taken from http://github.com/aspnet/libuv-build
- Remove unneeded packages from .travis.yml
- Stop skipping mono tests
2016-03-31 12:25:01 -07:00
jacalvar 1bd66ffda0 [Fixes #4089] Add support for application parts
This commit introduces application parts as a concept on MVC.

An application part is an abstraction that allows you to expose some
feature or corncern in a way that is decoupled from their underlying source.
Examples of this include types in an assembly, emdeded resources, files on
disk etc.

Application parts are configured during startup by adding or removing them from
the application part manager available as part of IMvcBuilder and IMvcCoreBuilder.

The application part manager provides the ability to populate features from the
list of available application parts by using a list of application feature providers.
Application feature providers are responsible for populating a given feature given a
list of application parts.

Examples of application providers can be a ControllerFeatureProvider
that goes through the list of application parts, sees which one of those parts exposes types,
determines which of those types are controller types, and adds them to a ControllerFeature
that holds a list of all the types that will be considered controllers in the application.
2016-03-31 12:14:04 -07:00
David Fowler 7eb34ad257 Update project.json
Fixed System.Runtime.Serialization.Primitives version
2016-03-31 12:08:59 -07:00
Kiran Challa 044dab1a70 Revert "Temporarily comment out flaky google login scenario tests to unblock build"
This reverts commit 65f24a3fc7.
2016-03-31 11:42:57 -07:00
mnltejaswini 7fbd407ad5 [Perf] Rewrite ExpressionHelper.GetExpressionText using StringBuilder 2016-03-31 11:26:37 -07:00
Kiran Challa 4d9b7edfd8 Revert the temporary fix of HttpClient where cookies were not being sent as part of redirect request 2016-03-31 11:18:50 -07:00
John Luo a587270b61 Fix build 2016-03-31 11:01:58 -07:00
BrennanConroy b5816f22cf Replace DNX451 with NET451 2016-03-31 10:58:45 -07:00
jacalvar de9ffb13c7 [Fixes #3732] Simplify controller discovery.
* Introduce ControllerAttribute and use it to mark base classes as controllers.
* Changed rules for controller discovery to:
  * All controller types must be public, concrete, non open generic types.
  * NotController attribute is not applied to any type oif the hierarchy.
  * The type name ends with controller.
  * Controller attribute is applied to the type or to one of its ancestors.
2016-03-31 10:50:26 -07:00
jacalvar 680e9bb2d1 Refactor and cleanup tag helper creation.
* Moved instantiation of tag helpers into DefaultTagHelperActivator.
* Introduced ITagHelperFactory for handling the setup of new tag helper instances.
2016-03-31 10:47:17 -07:00
Pranav K 79dbed5a92 Remove bower_components and bower.json 2016-03-31 09:55:30 -07:00
SteveSandersonMS 89c8dd3b36 Update Angular2Spa to current versions of Angular 2, angular2-universal-preview, etc. 2016-03-31 16:41:24 +01:00
SteveSandersonMS 033a42ab42 Update Webpack sample to use aspnet-webpack package 2016-03-31 15:56:39 +01:00
SteveSandersonMS dcfdbc8f04 Simplify aspnet-webpack - remove 'express' dependency and use 'connect' directly instead 2016-03-31 15:53:11 +01:00
Pranav K fab3bfd237 Remove bower \ gulp from sample 2016-03-31 07:01:27 -07:00
John Luo 22b37fb83b Update samples and react to Kestrel extensions 2016-03-30 17:33:25 -07:00
John Luo cfd6ec311e Remove hosting.json 2016-03-30 16:58:39 -07:00
John Luo c08e850665 Reacting to Kestrel extensions 2016-03-30 16:38:02 -07:00
John Luo bb1b2695bf Reacting to Kestrel extensions 2016-03-30 16:37:07 -07:00
Doug Bunting 5a3ea74ffa React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:30:42 -07:00
Doug Bunting 84c897543e React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:28:38 -07:00
John Luo c0d265ce7b Reacting to Kestrel extensions 2016-03-30 16:27:01 -07:00
Doug Bunting 20a24a2ab6 React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:24:10 -07:00
John Luo dfb1f9c712 Reacting to Kestrel extensions 2016-03-30 16:23:13 -07:00
John Luo 2614ffb01d Reacting to Kestrel extensions 2016-03-30 16:22:43 -07:00
John Luo 2029510999 Remove hosting.json 2016-03-30 16:21:56 -07:00
Doug Bunting b2bf1a46f5 React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:21:34 -07:00
Doug Bunting 6bf25cecec React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:19:42 -07:00
Doug Bunting 16a0482238 React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:15:37 -07:00
Doug Bunting f1a02433be React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:14:34 -07:00
Doug Bunting 65a2b8d25b React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:13:12 -07:00
Ryan Nowak 96e5c7b22e Always clear buffers returned to the memory pool
Just a safety measure in case anything evades our 'flattening'. I don't
have any evidence that we're failing to clear something, but we want this
here as a safeguard.
2016-03-30 16:12:30 -07:00
Doug Bunting 74d2c13933 React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:11:52 -07:00
Doug Bunting 67f424360c React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:10:41 -07:00
Doug Bunting 52e5ccdac7 React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:07:22 -07:00
Doug Bunting c828fafe1b React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:04:43 -07:00
Chris R bdcdf29ade #182 Revert workaround for HttpResponseMessage.ReasonPhrase. 2016-03-30 16:03:47 -07:00
John Luo a51ba19b16 Update samples 2016-03-30 16:02:47 -07:00
Doug Bunting 6e87b51638 React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:02:42 -07:00
Doug Bunting 6725d68559 Move some implementations (all feature implementations) out of `.Internal` namespaces
- #549, #592
- move feature implementations to `Microsoft.AspNetCore.Http.Features` and `...Authentication.Features`
- move `DefaultHttpContext`, `HttpContextAccessor`, `HttpContextFactory`, `FormCollection` and
  `HeaderDictionary` to `Microsoft.AspNetCore.Http`
- move `FormFile` to `Microsoft.AspNetCore.Http.Internal`
 - that and `Microsoft.AspNetCore.Http.Authentication.Internal` are the remaining `.Internal` namespaces

nits:
- remove a couple of parameterless constructors
- add / fill subfolders to align with new namespaces
- remove all use of (unnecessary) "T:..." `<see cref=""/>` values
2016-03-30 16:01:37 -07:00
jacalvar b04bb124b0 [Fixes #4317] UrlResolutionTagHelper doesn't work with TagHelpers that run before and supress output 2016-03-30 15:55:11 -07:00
John Luo d0ed4f8688 Reacting to Kestrel extensions 2016-03-30 15:54:02 -07:00
John Luo 8e92dd634e React to Kestrel extensions 2016-03-30 15:53:12 -07:00
John Luo babd83cf28 Reacting to Kestrel extensions 2016-03-30 15:51:02 -07:00
John Luo 9584f42f35 Update samples 2016-03-30 15:49:13 -07:00
John Luo 6950d441d1 React to Kestrel extensions 2016-03-30 15:46:08 -07:00
John Luo 7a3da26d87 React to Kestrel extensions 2016-03-30 15:45:27 -07:00
Victor Hurdugaci f804c11424 Webhooks notification 2016-03-30 15:42:38 -07:00
Victor Hurdugaci ff0a37c5f5 Webhooks notification 2016-03-30 15:41:33 -07:00
John Luo faeedf1c42 Update samples 2016-03-30 15:40:45 -07:00