Yishai Galatzer
5a3863d562
Implement StreamOutputFormatter
...
Include Functional tests and unit tests
Resolves #1653
2015-02-04 16:04:02 -08:00
Chris Ross
d51dad9560
Handle IFileSystem rename.
2015-01-20 12:16:30 -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
Ajay Bhargav Baaskaran
437eb93bde
File upload model binder
...
- Support for binding posted file to type IFormFile
- Support for multipart/form-data in FormValueProviderFactory
- Updated Mvc Sample
- Added relevant unit and functional tests
2015-01-15 13:41:14 -08:00
Pranav K
22ac7c45e5
Update Mvc to use official xunit runner
2014-12-17 11:27:07 -08:00
Ryan Nowak
9468d741ee
Fix for #1671 - Adding [FromHeader] attribute
2014-12-08 11:42:57 -08:00
Harsh Gupta
e9bcc3f0e8
Adding support for ModelMetadataAttribute in core.
2014-12-05 12:00:19 -08:00
Kiran Challa
00b61ec1e6
[Partial fix for #1372 ]Added SimpleTypesExcludeFilter to exlcude validation on simple types and also added tests to cover scenarios.
2014-12-03 14:09:51 -08:00
Harsh Gupta
d2aff42e25
Adding FromServicesAttribute.
2014-11-26 15:35:08 -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
Harsh Gupta
6b2f331e8d
Adding support for excluding types for validation, based on type names for body bound models.
2014-11-06 11:00:50 -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
Harsh Gupta
8f933b2ac3
[Fixefor #860 ]- Adding Support for [FromFormData] [FromQuery] and [FromRoute],
...
also updates FromBody to use the new pattern for model binding.
2014-10-16 10:20:15 -07:00
Hao Kung
448ac5a0dc
React to options and hosting changes
2014-10-14 19:20:28 -07:00
Pranav K
a633ef4f97
Modify Razor components to use RazorViewEngineOptions.FileSystem
...
Fixes #1302
2014-10-13 14:34:31 -07:00
Harsh Gupta
e319fef5cb
Adding CancellationTokenModelBinder.
2014-10-10 12:16:49 -07:00
Hao Kung
6dfcfaa7eb
React to options changes
2014-10-08 12:56:53 -07:00
David Fowler
5890b5b254
Fixed up references
2014-10-05 13:24:00 -07:00
Pranav K
2f00fc6121
Modifying test project.json to allow building on Mono
2014-10-02 12:05:03 -07:00
sornaks
0b1ad4ce35
Removing XmlSerializerInputFormatter from the list of Formatters.
...
Introducing a functional test for XmlSerializerInputFormatter.
2014-09-22 11:07:05 -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
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
Pranav K
d604c18368
Moving IModelValidatorProvider to Options
...
Fixes #879
2014-08-26 11:53:32 -07:00
harshgMSFT
d97a427b3d
Adding Input Formatters to MVC Options and using HeaderValueAbstractions
2014-08-18 10:25:19 -07:00
sornaks
2920c55116
Changes to enable XML Output Formatters.
...
- Unit / Functional tests for the same.
2014-08-15 15:05:00 -07:00
harshgMSFT
3f952c153f
Fixing build break due to tests
2014-08-15 10:28:11 -07:00
David Fowler
fa6b3acc4a
Removed source files from the project
2014-08-15 09:14:49 -07:00
sornaks
9c4d7806a7
Introducing ByteArrayModelBinder.
...
-Checks for ModelType before processing.
-Ignores quotes in ByteArrayModelBinder.
-Unit,functional Tests.
-ModelStateError is set when Covert.FromBase64String(value) throws.
2014-08-13 15:15:52 -07:00
harshgMSFT
19f3f78b3e
Adding TextPlainFormatter to always handle returning strings as text\plain format.
...
Conflicts:
src/Microsoft.AspNet.Mvc.Common/Encodings.cs
src/Microsoft.AspNet.Mvc.Core/Formatters/JsonOutputFormatter.cs
src/Microsoft.AspNet.Mvc/MvcOptionsSetup.cs
test/Microsoft.AspNet.Mvc.Core.Test/ActionResults/ObjectContentResultTests.cs
test/Microsoft.AspNet.Mvc.Test/MvcOptionSetupTest.cs
2014-08-01 13:47:23 -07:00
Pranav K
da0bf6f7d8
Commonizing code in option provider
...
* Adding ValueProviderFactoryProvider and CompositeValueProviderFactory to
maintain parity in pattern with other option types.
Fixes #818
2014-07-25 06:52:00 -07:00
harshgMSFT
a2561281b7
Adding MvcOptions.OutputFormatters property.
2014-07-23 17:46:17 -07:00
Pranav K
c1112fcaf1
Move ValueProviders to MvcOptions
...
Fixes #778
2014-07-17 21:02:47 -07:00
David Fowler
7e7c56ce48
Renamed configurations to frameworks in project.json
2014-07-13 21:58:12 -07:00
Pranav K
23eefed31a
Move setting up options to MvcOptionsSetup
...
Fixes #760
2014-07-09 09:45:17 -07:00