jacalvar
c74a210386
Remove unncessary usings
2016-06-09 00:43:45 -07:00
Pranav K
0ce851680b
Fix build warnings
2016-05-02 11:27:25 -07:00
BrennanConroy
5a8d55fa0c
Remove reference to UseDefaultHostConfiguration
2016-04-27 18:59:33 -07:00
BrennanConroy
1d522a0167
Update web.config and add publish tool
2016-04-25 08:58:44 -07:00
Pavel Krymets
d98924f713
Bring Microsoft.NETCore.Platforms dependency back
2016-04-18 17:03:18 -07:00
Pavel Krymets
b1f720ef12
Migrate tests, tools and samples to portable
2016-04-14 16:28:13 -07:00
John Luo
2b929327aa
Moving web.config and use ANCM
2016-04-11 10:00:28 -07:00
John Luo
b7aa4e627e
Reacting to Hosting changes
2016-03-24 12:03:16 -07:00
Doug Bunting
27c6d8c665
Remove project name from output path
...
- aspnet/Coherence-Signed#187
- remove `<RootNamespace>` settings but maintain other unique aspects e.g. `<DnxInvisibleContent ... />`
- in a few cases, standardize on VS version `14.0` and not something more specific
2016-03-02 21:06:00 -08:00
N. Taylor Mullen
bb7cb4a0d9
Transition to netstandard.
...
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:37:03 -08:00
Ryan Nowak
9209f0c5a4
Remove bad reference from Routing sample
2016-02-10 12:46:15 -08:00
Ryan Nowak
48eb000a0e
Fix routing build
2016-02-02 11:44:52 -08:00
N. Taylor Mullen
70d674410e
Rename AspNet 5 file contents.
...
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:38 -08:00
John Luo
34e3d14d78
Reacting to hosting rename
2016-01-17 17:28:32 -08:00
Chris R
02d5eaee62
React to hosting API changes.
2016-01-12 15:34:44 -08:00
John Luo
25b909355d
Reacting to new Hosting API
2015-12-18 17:35:52 -08:00
Ryan Nowak
cb39589864
Add extension methods for using routing with Middleware
2015-12-14 13:21:50 -08:00
Ryan Nowak
36180ab6d0
Add IRouteHandler, RouteBase, and IRoutingFeature
...
Adds IRouterHandler, an abstraction for endpoints in the routing system
that can't chain (example: delegates). The idea is that some kinds of
routes aren't really friendly to chaining. If you don't support chaining,
then accept IRouteHandler and work with that rather than IRouter.
There's one implementation of IRouteHandler, RouteHandler. It implements
both IRouter and IRouteHandler.
Adds RouteBase as a base class for routes based on our template syntax and
defaults/constraints/data-tokens. Updated a lot of signatures to be
get/set virtual and mutable to facilitate or bigger variety of usage
scenarios.
Renamed TemplateRoute to just Route, now inherits from RouteBase.
Adds IRoutingFeature for middleware scenarios where you don't have access
to the route context.
Also adds some basic extension methods for accessing route values.
2015-12-10 17:55:03 -08:00
Pranav K
39451a57b6
* Removing Helios from sample
...
* Adding System.Runtime to unblock CI
2015-12-08 11:17:29 -08:00
Ryan Nowak
b01183f023
Simplify link generation code
...
- Removes ProvidedValues and IsBound
- Removes best-effort link generation
- simplify code where possible
- lots of test simplification
2015-12-07 11:04:19 -08:00
Pranav K
2f8dba6659
Renaming Microsoft.Framework.* -> Microsoft.Extensions.*
2015-10-03 15:44:48 -07:00
Ajay Bhargav Baaskaran
ee9945f06d
Added timeout to regex
2015-09-10 15:21:56 -07:00
Stephen Halter
329f1cd0f0
React to Kestrel rename
...
aspnet/KestrelHttpServer#11
2015-08-12 11:48:11 -07:00
N. Taylor Mullen
352732fc62
Update LICENSE.txt and license header on files.
2015-05-01 13:59:22 -07:00
Doug Bunting
458a0f6809
Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename
2015-04-02 13:49:28 -07:00
Kiran Challa
f6ff2deebd
Added readme file to enable git add wwwroot folder
2015-03-23 12:39:05 -07:00
ianhong
3693002b02
Introducing VirtualPathData for IRouter.GetVirtualPath
2015-03-19 21:59:20 -07:00
Hao Kung
0db1f1a42f
React to hosting
2015-03-19 21:02:35 -07:00
Praburaj
61e4f55075
Moving the IServiceCollection extension into Microsoft.Framework.DependencyInjection namespace
...
Fixes: https://github.com/aspnet/Routing/issues/160
2015-03-13 14:55:49 -07:00
N. Taylor Mullen
81c43301d3
Update .kproj => .xproj.
2015-03-11 14:04:11 -07:00
N. Taylor Mullen
2973795a6e
Remove BOM from project.json, *.cmd, *.sh and *.shade files.
2015-03-09 12:58:37 -07:00
N. Taylor Mullen
da775351e2
Update aspnet50/aspnetcore50 => dnx451/dnxcore50.
2015-03-08 12:55:34 -07:00
Doug Bunting
c59366e8a7
Quick cleanup
...
- `DefaultInlineConstraintResolver` has no need of a `IServiceProvider`
nits:
- add doc comments for changed `DefaultInlineConstraintResolver` ctor
- let VS add a dev server port to sample's .kproj
- add debugSettings.json and .vs/ to .gitignore
2015-01-30 10:02:58 -08:00
Victor Hurdugaci
8b93a0c018
Add schema version to kproj files
2014-11-25 11:01:35 -08:00
Hao Kung
21a6f44c38
GetDefaultServices -> AddRouting with TryAdd
2014-11-24 16:37:10 -08:00
Doug Bunting
1f67f69205
Add missing license headers
...
- #EngineeringDay
2014-11-20 23:25:52 -08:00
Ryan Nowak
5c116db6a5
Add a sample of building a customize 'MapRoute' method
...
This is a sample of the pattern for building a MapRoute method that
customizes routing by adding constraints, datatokens, or defaults. This is
the replacement for adding data to the route directly.
Also fixed up the sample to work. It was massively out of date.
2014-11-18 11:58:29 -08:00
Pranav K
e0f01aa6bb
Remove unnecessary references from project.json
2014-10-17 17:49:31 -07:00
Pranav K
91a11a9dfe
Reacting to CLR package versioning changes
2014-10-10 10:34:07 -07:00
David Fowler
964e84e57b
Fixup references
2014-10-05 12:30:20 -07:00
Chris Ross
fbe4da4db9
Handle IBuilder rename to IApplicationBuilder.
2014-09-10 12:44:52 -07:00
David Fowler
4a8de5dad4
Updated to use the new target framework in project.json
2014-09-04 01:50:07 -07:00
David Fowler
81e905cfa9
Updated to use the new target framework in project.json
2014-08-28 23:45:58 -07:00
David Fowler
966d6dd016
Removed source files from the project
2014-08-15 09:26:26 -07:00
harshgMSFT
860fcf65f3
Reacting to helios rename
2014-08-06 17:09:25 -07:00
Ryan Nowak
038802ee45
removing unneeded web.config
2014-07-15 14:14:15 -07:00
David Fowler
f696a06012
Renamed configurations to frameworks in project.json
2014-07-13 22:00:44 -07:00
Ryan Nowak
27d6a735af
Implement a 'required' constraint
...
This is useful for a variety of interesting scenarios in link generation
where a default value doesn't appear in the route template as a parameter.
This can be used to implement the desired behavior for areas - where the
'area' key is sticky.
2014-07-08 16:23:14 -07:00
Brice Lambson
a0a0db9856
Bump version to 1.0.0-*
2014-06-19 16:46:05 -07:00
harshgMSFT
fbffcb7b40
Adding Remaining Inline Route Constraints.
2014-06-18 16:29:49 -07:00
Pranav K
a1fe088d3a
Removing RouteContext.RequestPath and calculating it from HttpContext as needed.
2014-06-09 11:18:49 -07:00
harshgMSFT
a499d4a92a
Routing DI Changes II : Adding services for routing.
2014-06-06 17:08:01 -07:00
Ryan Nowak
d10682d15b
Issue aspnet/Mvc#56 - merging RouteContext and RequestContext
...
This is the routing part of these changes, and just the breaking changes
parts.
Follow-ups will add:
- DataTokens
- Tracking the logical stack of routers
2014-06-06 10:11:57 -07:00
Ryan Nowak
1d4ceef81b
Turning on warnings as errors for routing
2014-06-04 18:42:41 -07:00
harshgMSFT
1d3e41560c
Routing DI Changes I:
...
Moving out Default Handler and IInlineConstraintResolver from RouteCollection.
These are moved to a new interface IRouteBuilder, (instead of an IInlineConstraintResolver, it takes in an IServiceProvider).
This means all RouteCollectionExtensions are moved to RouteBuilderExtensions.
2014-06-03 16:50:48 -07:00
harshgMSFT
5dc8267920
Adding Tests for InlineRouting Support.
2014-05-30 12:56:04 -07:00
David Fowler
bde341caed
Fixed project.json casing
2014-05-26 02:51:56 -07:00
David Fowler
391acfd1d6
Fixed casing of project.json
2014-05-25 10:05:39 -07:00
David Fowler
a7ed2891dd
Renamed Project.json to Project.json2
2014-05-25 10:05:39 -07:00
Pranav K
d8da964e88
Updating kproj file to match tooling changes
2014-05-18 20:13:56 -07:00
David Fowler
f31c65da7b
React to renames
2014-05-09 01:13:18 -07:00
Andrew Peters
feb150570a
Updating copyright headers
2014-05-08 23:01:29 -07:00
David Fowler
b0dc6c95f8
React to more renames
2014-05-06 00:22:55 -07:00
Ryan Nowak
8fcddc12e7
Incorporate name changes
2014-05-05 16:54:45 -07:00
anpete
51317a7039
Update file headers
2014-05-01 17:41:33 -07:00
harshgMSFT
950ce56ea5
Adding Support for NamedRoutes.
...
- Interface Changes.
- RouteCollectionExtensions
- Tests for Named Routes
2014-04-30 11:23:54 -07:00
David Fowler
f86877b14f
Move BuilderExtensions and RouterMiddleware to Microsoft.AspNet
2014-04-18 00:22:27 -07:00
Ryan Nowak
06c63c38a1
Fix for #32 and #33 - return IBuilder from UseRouter
...
Also removing the overload that doesn't take a route collection
2014-04-16 20:01:35 -07:00
David Fowler
1a9c0ad548
Reduce project.json dependencies
2014-04-09 21:33:59 -07:00
David Fowler
23c11bc950
Updated to use the new tooling
2014-04-08 01:37:06 -07:00
David Fowler
2b87a625d9
Updated clr packages
2014-03-29 01:15:28 -07:00
Yishai Galatzer
a917cbd577
Constraints
2014-03-27 10:58:14 -07:00
Yishai Galatzer
89828f6a92
Add missing reference to project.json and include version in routing
2014-03-26 13:13:14 -07:00
David Fowler
fc3a76d63d
Clean up project.json file
...
- Removed unused dependencies
2014-03-18 16:21:51 -07:00
David Fowler
707a563e08
Remove hacky self host sample and replace with helios sample.
2014-03-18 16:21:50 -07:00