Ryan Nowak
dd952d8d70
Move some types to .Internal namespace
2016-01-21 10:56:38 -08:00
Pranav K
e078259547
Modify UrlHelper to use a single StringBuilder
2016-01-14 10:39:35 -08:00
John Luo
8afe28c05d
Updating tests to add options to services
2016-01-07 23:54:55 -08:00
Ryan Nowak
ff00c07b85
Rename ActionDescriptorsCollection
...
ActionDescriptorsCollection -> ActionDescriptorCollection
2016-01-07 10:26:12 -08:00
Pranav K
0a2b6205c9
Reacting to Routing changes
2016-01-05 12:05:20 -08:00
Ryan Nowak
85a4c7edc5
React to changes in routing
2015-12-28 10:15:50 -08:00
Hao Kung
0e8113e393
OptionsModel => Options rename
2015-12-21 15:00:31 -08:00
Pranav K
7c40759e32
Reacting to Routing changes
2015-12-16 11:49:20 -08:00
Ryan Nowak
1126d47b3e
React to breaking changes in RouteBuilder
2015-12-14 14:40:38 -08:00
Ryan Nowak
ad3c460500
React to breaking in IRouteConstraint
2015-12-14 10:08:09 -08:00
Ryan Nowak
ed93a6c812
React to routing breaking changes
2015-12-11 09:30:51 -08:00
Ryan Nowak
09a293afe9
React to routing cleanup
2015-12-07 13:08:13 -08:00
Ryan Nowak
9fc3a80056
Remove IActionContextAccessor from UrlHelper
...
This change removes the IActionContextAccessor as a dependency of
UrlHelper, and shifts UrlHelper to use a factory pattern. Consumers of
IUrlHelper should create an instance using the factory when needed.
This is the last part of MVC that has a dependency on IActionContext
accessor. As part of this change we no longer register it by default, and
treat it as an optional component.
2015-12-02 17:09:43 -08:00
Pranav K
017bf1a20f
Changes to use moq-netcore
2015-11-25 16:04:04 -08:00
apxoht
1c34d88f4c
Removed unnecessary dependency of IActionSelector in UrlHelper
2015-11-23 15:44:55 -08:00
John Luo
d78abf267e
Missed update when reacting to removing ApplicationServices from HttpContext
2015-11-19 21:07:33 -08:00
Ajay Bhargav Baaskaran
01102bba3f
Moving Attribute Routing to Routing
2015-11-17 11:02:58 -08:00
Ajay Bhargav Baaskaran
b8b222b295
Replace InnerAttributeRoute with TreeRouter
2015-11-12 15:52:51 -08:00
ryanbrandenburg
cd761a644d
* Adding test
2015-11-04 13:55:02 -08:00
Pranav K
f57e180971
Renaming Microsoft.Framework.* -> Microsoft.Extensions.*
2015-10-03 15:44:53 -07:00
Pranav K
3a876e387f
Replacing NotNullAttribute with thrown exceptions
2015-10-01 06:19:18 -07:00
Ryan Nowak
a318c4599a
API Review - Split up .Actions
...
Abstractions - Core MVC extensibility
Controllers - MVC implementations of .Abstractions and supporting
contracts
Infrastructure - General purpose support APIs. Metadata APIs that don't
fit clearly with a feature or with .Abstraction
2015-09-21 21:54:02 -07:00
Ryan Nowak
4d55a6e62d
API review - remove DefaultOrder
...
No change in behavior intended, removing this from our public API.
2015-09-20 21:11:57 -07:00
Pranav K
7b433820b1
Changes per PR comments
...
Reformatting parameter identation
2015-09-17 15:42:58 -07:00
Ryan Nowak
538cd9c191
Move less-commonly used types out of .Rendering
2015-09-16 23:52:29 -07:00
Hao Kung
3ebdcc5f6f
React to options changes
2015-09-02 14:07:06 -07:00
Ryan Nowak
229724c4ea
Reorganize MVC namespaces
2015-09-01 22:28:33 -07:00
Ajay Bhargav Baaskaran
4fbaea2463
[ Fixes #2931 ] AttributeRoute does not replace existing route values with null
2015-08-28 11:11:03 -07:00
Chris R
bd03142dab
React to Http namespace changes.
2015-05-07 15:19:10 -07:00
N. Taylor Mullen
64e726d2b2
Update LICENSE.txt and license header on files.
2015-05-01 13:55:25 -07:00
Kiran Challa
162c4709c1
Refactor attribute route
2015-04-21 11:02:05 -07:00
Chris Ross
6223aac9be
Handle Http.Core rename.
2015-04-16 15:48:27 -07:00
Kiran Challa
7576116969
Removed test code related to logging and instead used Testing repo's logging helpers.
2015-04-16 11:19:24 -07:00
Ryan Nowak
d0e5118741
Delay Attribute Route initialization to the first request
2015-04-13 16:16:27 -07:00
Kiran Challa
24b930fa7c
Clean up logging.
...
- Removing scopes as we want to limit the number of scopes being created.
- Added new log statements using the new log format string.
2015-04-13 15:59:38 -07:00
Kiran Challa
9330789fe3
Reacting to ILogger api changes
2015-04-04 02:52:43 -07:00
ianhong
c1eea5b3fa
React to Should GetVirtualPath return PathString in Routing
2015-03-22 19:44:45 -07:00
ianhong
27bdec40a6
React to #154 (Routing - adding data token to GetVirtualPath)
2015-03-19 21:51:14 -07:00
N. Taylor Mullen
385fa29407
Update xunit.runner.kre => xunit.runner.aspnet.
2015-03-12 18:01:41 -07:00
N. Taylor Mullen
e829ba7646
Update aspnet50/aspnetcore50 => dnx451/dnxcore50.
2015-03-08 12:52:24 -07:00
Brennan
f4ea1b82fa
Logging API changes
2015-03-04 21:07:45 -08:00
Ryan Nowak
7cb6c1065c
Fix for #1913 - Improve attribute route link generation for areas
...
Attribute route link generation will now have a slight preference for
entries that can use ambient values (vs ignoring an ambient value). This
means that areas will be more 'sticky' with regard to link generation
without the need to specify a better Order.
2015-02-11 15:59:48 -08:00
Ryan Nowak
b4d1eec87a
Makes attribute routing respond to AD updates
...
This change makes the attribute route capable of responding to updates in
the action descriptor collection.
The change moves the actual route implementation to InnerAttributeRoute.
AttributeRoute now wraps an InnerAttributeRoute - when processing a route,
AttributeRoute will now check with action descriptor collection if its
InnerAttributeRoute is still 'current' and rebuild it if necessary.
2015-02-10 16:01:22 -08:00
Mugdha Kulkarni
09b0aa5182
fixing a build break due to change in the error message in Routing
2015-02-10 14:46:40 -08:00
Mugdha Kulkarni
c8b911b596
Adding functional tests and attribute route tests.
...
Incorporating PR coments.
2015-01-31 23:15:13 -08:00
Doug Bunting
6524930778
React to quick cleanup in Routing
...
- `DefaultInlineConstraintResolver` has no need of a `IServiceProvider`
2015-01-30 17:52:10 -08:00
Mugdha Kulkarni
ba8cf3ca46
Changed to use OptionalRouteConstraint created by Routing to use for inline optional parameters in attribute routing. Also added tests for inline parameters.
2014-12-04 11:00:48 -08:00
Ajay Bhargav Baaskaran
9f1cb655f6
matched classnames with filenames
2014-11-25 11:21:17 -08:00
Pranav K
0e4ec38efe
Replacing Assert.Equal(null, Assert.Equal(true \ false etc with
...
appropriate Xunit equivalents
2014-11-21 08:28:55 -08:00
Doug Bunting
315908af5f
Apply VS' FormatDocument and RemoveAndSort to all *.cs files
...
- #EngineeringDay
- VS does not yet format auto-properties nicely; reverted what it did
Also revert changes under
- test/Microsoft.AspNet.Mvc.Razor.Host.Test/TestFiles
2014-11-20 21:15:46 -08:00