Quantcast
Channel: ASP.NET MVC / Web API / Web Pages
Browsing all 7925 articles
Browse latest View live
↧

Edited Issue: Roundtripping DBNull value using Bsonformatter thrown an error...

Value I am roundtripping - DBNull.ValueAll Webapi action (POST) does is return the value.Exception{"Error writing Null value. BSON must start with an Object or Array. Path ''."}Stack Trace: at...

View Article


Edited Issue: CompareAttribute does not use custom error messages [1401]

__Scenario:__ User likes to customise/localise the error message for the Data Annotations CompareAttribute in a view model.__Issue:__ When the Data Annotations Compare attribute...

View Article


Edited Issue: Validation doesn't get triggered for values extracted from...

The issue is that model binding supports a direct mode where parameters are taken from the value providers(lets say route data) and then directly bound to the action parameters.This mode doesn't...

View Article

Edited Unassigned: OutputCache to ignore options in ChildAction within [1411]

OutputCache seems to be ignoring the Location option in ChildAction within.If you specify, such as OutputCacheLocation.None, the option not to cache on the server side, the server tries to cache the...

View Article

Edited Issue: Poor error message when a collection property is null [1328]

I get the following error when I have an entity with a nullable collection:System.ArgumentException occurred _HResult=-2147024809 _message=The argument must be of type 'IEnumerable'....

View Article


Edited Issue: Passing multiple arrays to get request? [1385]

I have a WebAPI 2 ApiController with the following GET method: public IEnumerable<MyData> Get([FromUri]string[] id, [FromUri]string[] filter, int? count)My http request looks like this:...

View Article

Commented Unassigned: ApiExplorer cannot figure out the correct URI...

ApiExplorer cannot figure out the correct URI Parameters if I plug in a custom IHttpActionSelector. A repro application is available here:...

View Article

Commented Unassigned: GenerationRoute does not return the same values as...

Hi,properties (_RouteTemplate_, _Defaults_, _Constraints_, _DataTokens_ and _Handler_) of the __GenerationRoute__ from System.Web.Http.Routing should return the same values as innerRoute. The...

View Article


Closed Unassigned: [Regression]: Unexpected validationError thrown when...

Here is my model[DataContract] public class ValidationModel{[Required][DataMember][Range(1, 10)] public int IntReq { get; set; }[Required][DataMember][StringLength(5)] public string StrReq { get; set;...

View Article


Commented Unassigned: GenerationRoute does not return the same values as...

Hi,properties (_RouteTemplate_, _Defaults_, _Constraints_, _DataTokens_ and _Handler_) of the __GenerationRoute__ from System.Web.Http.Routing should return the same values as innerRoute. The...

View Article

Edited Unassigned: OData Controller Async HttpWebResponse HTTP 406 [1436]

I am trying to implement an odata query with async and support for $select and $expand. I can get everything working when I create a regular sync method returning HttpResponseMessage, but as soon as I...

View Article

Edited Issue: Use async buffered request stream in Web Host [1431]

Web host uses a stream with Async support for the non-buffered case (GetBufferlessInputStream) but not for the buffered case (InputStream rather than GetBufferedInputStream).We couldn't pass...

View Article

Commented Issue: Use async buffered request stream in Web Host [1431]

Web host uses a stream with Async support for the non-buffered case (GetBufferlessInputStream) but not for the buffered case (InputStream rather than GetBufferedInputStream).We couldn't pass...

View Article


Source code checked in, #c5fdac342990281cd56ce7f9e36944a4f4e81faa

Adding RazorGenerator package to Microsoft.Web.Helpers project This allows the cshtml files to be precompiled as part of MsBuild rather than having to do it with a VS Custom Tool Work Item: 1477

View Article

Edited Issue: ApiExplorer should add query parameters for complex FromUri...

Currently the ApiExplorer handles adding query parameters to the RelativePath, but only for simple types. It should also handle this for complex FromUri types. Going one level deep on the properties is...

View Article


Closed Issue: Give ReflectedControllerDescriptor and...

Some cleanup around ReflectedControllerDescriptor:1. Give ReflectedControllerDescriptor and ReflectedAsyncControllerDescriptor a common base class. Today, it's duplicated code. 2. Get rid of...

View Article

Edited Task: Update Microsoft.Web.Helpers to use RazorGenerator [1477]

Currently the cshtml files in this project are compiled to cs files using the RazorGenerator vsix. Changing this to use the msbuild task would remove this extra requirement.

View Article


Commented Task: Update Microsoft.Web.Helpers to use RazorGenerator [1477]

Currently the cshtml files in this project are compiled to cs files using the RazorGenerator vsix. Changing this to use the msbuild task would remove this extra requirement.Comments: Fixed in changeset...

View Article

Edited Task: Update Microsoft.Web.Helpers to use RazorGenerator [1477]

Currently the cshtml files in this project are compiled to cs files using the RazorGenerator vsix. Changing this to use the msbuild task would remove this extra requirement.

View Article

Source code checked in, #ffbd8ac0b8126e09178fa8c02cd0d9c7fb8a7a1f

Adding Microsoft.Web.FxCop project to the build tree

View Article
Browsing all 7925 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>