Mugdha Kulkarni
addd8dd5d2
Changing produces and format filter interaction
2015-01-31 23:18:18 -08:00
Mugdha Kulkarni
7ee80020e1
Incorporating PR comments - 1/19
2015-01-31 23:15:19 -08:00
Mugdha Kulkarni
c8b911b596
Adding functional tests and attribute route tests.
...
Incorporating PR coments.
2015-01-31 23:15:13 -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
Pranav K
f93d0d82c3
Merge branch 'release' into dev
2015-01-23 17:12:16 -08:00
Pranav K
071c697318
Modify BuilderExtensions.UseMvc to not add any routes by default
...
Fixes #1879
2015-01-23 16:51:38 -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
eda4b16cc5
[ Fixes #1836 ]SupportedMediaTypes for output formatters are incorrectly updated with charset data during requests
2015-01-20 06:50:06 -08:00
Harsh Gupta
106b9fc30c
Adding proper descriptions in readme.md files for functional tests.
2015-01-15 11:12:48 -08:00
Chris Ross
91d7e382d1
Consume new strongly typed headers. Remove temp implementations.
2015-01-14 15:51:34 -08:00
Ryan Nowak
b4975b779c
Update names of WebSite projects for consistency
...
Project/Assembly names are all like 'FeatureWebSite' root namespaces
updated accordingly. This makes processing all of the functional tests and
deploying the web sites much simpler.
2014-12-11 09:10:24 -08:00
Ryan Nowak
e65218d6df
Adding servers and wwwroot folder to test websites
...
Adding dependencies and commands for iis, web listener and khestrel to each
site.
Each website comes with a readme.md to 'anchor' the otherwise empty
folder. We have another work item tracking adding content to these.
Once VS sees a project with a wwwroot, it wants to assign a port for iis,
so I let it.
2014-12-10 14:16:11 -08:00
Victor Hurdugaci
99b5f430ff
Add schema version to kproj files
2014-11-25 10:57:58 -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
Kiran Challa
17e4dd2bf6
[ Fixes #1429 ] Content negotiation does a case-sensitive matching of media type's parameter values
2014-11-11 10:15:51 -08:00
Doug Bunting
f7ef604b86
Regenerate .kproj files
...
- does not seem to have a negative impact
- e.g. sample web projects run / debug fine
2014-11-04 22:41:53 -08:00
Stephen Halter
a21ed4bc51
Replace calls to GetService<T> with GetRequiredService<T>
...
Even though GetService<T> still exists, GetRequiredService<T> preserves
the old behavior of throwing for missing services.
2014-10-16 14:51:41 -07:00
Kiran Challa
e985c22528
[ Fixes #1216 ] Provide a property on JsonOutputFormatter to set serializer settings
...
[Fixes #1221 ] Rename OutputFormatter's WriteResponseContentHeaders to WriteResponseHeaders
[Fixes #932 ] Setting Json Serializer Settings
2014-10-15 09:27:09 -07:00
Hao Kung
448ac5a0dc
React to options and hosting changes
2014-10-14 19:20:28 -07:00
Hao Kung
b6bd7f5d78
React to UsePerRequestServices
2014-10-09 14:17:04 -07:00
David Fowler
5890b5b254
Fixed up references
2014-10-05 13:24:00 -07:00
harshgMSFT
572ec0175c
Fix for 1071: Output Formatters should be invoked for writing out the response.
2014-10-03 10:54:59 -07:00
YishaiGalatzer
9de86892a7
Cleanup namespaces and Task.FromResult
2014-10-02 11:49:44 -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
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
Chris Ross
85ad1aeb96
Handle IBuilder rename to IApplicationBuilder.
2014-09-10 14:12:08 -07:00
David Fowler
34add2249e
Updated to use the new target framework in project.json
2014-09-04 02:02:40 -07:00
David Fowler
2e6e5307f6
Updated to use the new target framework in project.json
2014-08-28 22:14:10 -07:00
harshgMSFT
bb452f19a7
JsonResult to use ObjectResult for content negotiation to pick default json formatter.
2014-08-15 15:56:24 -07:00
David Fowler
fa6b3acc4a
Removed source files from the project
2014-08-15 09:14:49 -07:00
harshgMSFT
1684d1d322
NoContentFormatter: Writes 204 to the response status code if the value returned is null.
2014-08-14 19:16:26 -07:00
harshgMSFT
6ee034e64f
ProducesAttribute +
...
Adding Functional Tests
Conflicts:
src/Microsoft.AspNet.Mvc.Core/Formatters/OutputFormatter.cs
src/Microsoft.AspNet.Mvc.Core/Resources.resx
src/Microsoft.AspNet.Mvc.HeaderValueAbstractions/project.json
test/Microsoft.AspNet.Mvc.FunctionalTests/project.json
Adding Resources + tests
Conflicts:
src/Microsoft.AspNet.Mvc.Core/Properties/Resources.Designer.cs
src/Microsoft.AspNet.Mvc.Core/Resources.resx
Adding produces content Attribute
Conflicts:
src/Microsoft.AspNet.Mvc.Core/Microsoft.AspNet.Mvc.Core.kproj
Conflicts:
src/Microsoft.AspNet.Mvc.Core/Microsoft.AspNet.Mvc.Core.kproj
test/Microsoft.AspNet.Mvc.Core.Test/Microsoft.AspNet.Mvc.Core.Test.kproj
2014-08-11 17:52:55 -07:00