Kiran Challa
4bed2e6f2b
[ Fixes #2545 ] RedirectToRouteResult doesn't use RouteName property when calculating destination URL
2015-05-13 12:35:25 -07:00
Kirthi Krishnamraju
caa8ea44fb
Fix #448 : Support app-wide defaults for HTML helpers
2015-05-12 14:10:59 -07:00
Ryan Nowak
39fe063aee
Fix #2330 - Reimagine *FormatterContext
...
This change simplifies InputFormatterContext/OutputFormatterContext by
swapping ActionContext for HttpContext.
This change is important especially for InputFormatterContext as it
decouples ModelState from ActionContext - allowing us to fix a
related bug where the _wrong_ ModelState can be passed in for a
TryUpdateModel operation.
2015-05-12 11:05:56 -07:00
Kiran Challa
40794fcc33
Custom stream writer which avoids writing the BOM and does not flush or close the stream.
2015-05-11 13:27:05 -07:00
Pranav K
320507604a
Removing superfluous types and methods from Common.
2015-05-09 08:04:28 -07:00
Chris R
bd03142dab
React to Http namespace changes.
2015-05-07 15:19:10 -07:00
Kiran Challa
7e623258c0
Use strongly typed MediaTypeHeaderValue for content type in action results.
2015-05-04 14:06:58 -07:00
N. Taylor Mullen
64e726d2b2
Update LICENSE.txt and license header on files.
2015-05-01 13:55:25 -07:00
Chris Ross
98614736a7
React to authentication API changes.
2015-04-24 10:53:50 -07:00
Kiran Challa
e7728dde3f
Log view discovery
2015-04-17 04:23:45 -07:00
Chris Ross
6223aac9be
Handle Http.Core rename.
2015-04-16 15:48:27 -07:00
Kiran Challa
c3f10f4a0f
Logging for content-negotiation
2015-04-16 12:02:55 -07:00
Hao Kung
bee20973c7
React to http challenge changes
2015-04-15 11:39:12 -07:00
Harsh Gupta
58a5ad2279
Adding Outputformatter in resource filters.
2015-04-08 16:46:46 -07:00
Pranav K
f9d53e341c
* Simplify MvcOptions
...
* Remove facades for accessing Options<T> and pass options to the invoker
Fixes #2266
Fixes #2269
2015-04-07 14:45:53 -07:00
Doug Bunting
94721f09a9
Remove duplicate tests
...
- duplication in data sets confuses xUnit
2015-04-07 11:00:45 -07:00
Kiran Challa
ee4ffea294
[ Fixes #2190 ] Remove GetSupportedContentTypes method from IOutputFormatter and move to a separate metadata interface
2015-03-18 16:13:14 -07:00
Kiran Challa
489fc52df8
[ Fixes #2108 ] StringOutputFormatter fails when HttpNotAcceptableOutputFormatter is used
2015-03-17 11:04:46 -07:00
Kiran Challa
3d247ec028
[ Fixes #2086 ] FilePathResult WriteFileAsync uses SendFile feature incorrectly
2015-03-16 13:05:12 -07:00
Ajay Bhargav Baaskaran
db728cd386
Introducing TempData
...
- Issue #455
- Updated MVC sample
- Added relevant tests
2015-03-10 12:04:05 -07:00
ianhong
1144ba72d5
Porting HttpUnauthorizedResult
2015-03-06 10:18:51 -08:00
Praburaj
a9feed4de1
Rename Microsoft.AspNet.Http.Interfaces => Microsoft.AspNet.Http
2015-03-05 16:25:15 -08:00
Hao Kung
c290e897b0
React to DI
2015-03-04 19:26:54 -08:00
Ajay Bhargav Baaskaran
dc49a2c194
Added HttpNotFoundObjectResult and added relevant tests
2015-02-24 11:57:48 -08:00
Ajay Bhargav Baaskaran
3d30fd653e
added Link method to IUrlHelper
2015-02-16 13:38:12 -08:00
Youngjune Hong
c7d09d7ad7
Introducing UrlActionContext and UrlRouteContext, and updating IUrlHelper accordingly
2015-02-05 19:41:21 -08:00
Ajay Bhargav Baaskaran
ac6a1a6a80
Replaced status code number with constants
2015-02-05 16:43:59 -08:00
Harsh Gupta
8e91c1ada6
[Fix for #1850 ]Produces, Consumes and ObjectResult throw if there is a match all content type.
2015-01-30 15:54:58 -08:00
Ajay Bhargav Baaskaran
17aa21dc25
Added StatusCode property to OutputFormatterContext
...
- Fixes issue #1809
- Added relevant tests
2015-01-26 17:32:04 -08:00
Kiran Challa
5c2dc5db11
[Fixes#1792]Separate XML serializers to Microsoft.AspNet.Mvc.Xml
2015-01-22 15:09:20 -08:00
Kiran Challa
0e9091f0eb
[ Fixes #1841 ] Change XML DCS and XmlSerializer output formatters to not derive from the base XmlOutputFormatter
2015-01-20 17:22:04 -08:00
Chris Ross
d51dad9560
Handle IFileSystem rename.
2015-01-20 12:16:30 -08:00
Stephen Halter
d34554e3ff
Handle HttpFeature rename
2015-01-18 21:06:12 -08:00
Ryan Nowak
692a07240c
Some cleanup of ActionResults - #657
...
In general all properties are get/set so filters can change them.
- some validate for not-null
- where we use services it's get/set also
Services are resolved in the Execute method if not provided.
A few more ActionResults that return a body have the ability to set a
status code now (optional).
2015-01-16 17:29:56 -08:00
Ajay Bhargav Baaskaran
b02dea98e7
Using set instead of add in Created ActionResults
2015-01-16 12:34:40 -08:00
Ajay Bhargav Baaskaran
7c0eb56e59
ContentResult sets Charset along with ContentType
...
- Sets default ContentType and Charset if null
- Added relevant unit and functional tests
2015-01-16 12:24:44 -08:00
Yishai Galatzer
9ac37fbc7a
Rename TextPlainFormatter and remove other minor warnings
...
#1631
2015-01-16 12:09:53 -08:00
Kiran Challa
02f4ca9f05
[ Fixes #1791 ]Remove XML formatter from defaults
2015-01-15 15:46:49 -08:00
Chris Ross
9aff289dfe
Handle PipelineCore rename.
2015-01-15 15:25:17 -08:00
Chris Ross
91d7e382d1
Consume new strongly typed headers. Remove temp implementations.
2015-01-14 15:51:34 -08:00
Hao Kung
157b633758
React to IContextAccessor -> IScopedInstance
2015-01-12 10:25:21 -08:00
sornaks
5262dfd577
Adding SerializableError - a serializable container for the purpose of output conneg.
2015-01-06 14:07:45 -08:00
Ajay Bhargav Baaskaran
eb7283fced
added BadRequest and Created Action Results with related unit and functional tests.
2015-01-05 11:07:42 -08:00
Doug Bunting
3e26142de1
Remove use of `Assert.DoesNotThrow()`
...
- no longer in xunit 😃
2014-12-11 15:51:15 -08:00
Doug Bunting
7eb106676c
Add missing license headers
...
- #EngineeringDay
- license present but incorrect in just a few files
- skip generated files such as Resources.Designer.cs and files under
test\Microsoft.AspNet.Mvc.Razor.Host.Test\TestFiles\Output
2014-11-20 22:54:05 -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
Doug Bunting
5e067cdb9e
Delete trailing whitespace
...
- #EngineeringDay
- Total replaced: 660 Matching files: 270 in *.cs
- Total replaced: 250 Matching files: 32 in all other files
- Total replaced: 22 Matching files: 8 in a few stragglers
Did not change files under following directories
- test\Microsoft.AspNet.Mvc.Razor.Host.Test\TestFiles\Output
- test\Microsoft.AspNet.Mvc.FunctionalTests\compiler\resources
- test\WebSites\TagHelpersWebSite
(Razor generates trailing whitespace in a case or two)
2014-11-20 16:18:09 -08:00
Ryan Nowak
e37f1ad85f
Fix #1502 - Remove duplicate unit tests
2014-11-04 13:30:15 -08:00
Ryan Nowak
0ccfcc4316
Fix for breaking API change from routing
2014-10-31 18:23:19 -07:00
Pranav K
78bda87730
Replacing ViewResultBase with ViewExecutor
2014-10-22 08:47:22 -07:00