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

Commented Issue: XElement is not working with DefaultBodyModelValidator [800]

The scenario broken is that if defining XElement property in odata entity type, POST or PUT the entity will result in failure. The error message is:PUT...

View Article


Edited Issue: Handle byte[]s better in the DefaultBodyModelValidator [891]

A customer has reported performance problems with the DefaultBodyModelValidator over large byte arrays (2 MB). We should handle this better.

View Article


Commented Issue: Handle byte[]s better in the DefaultBodyModelValidator [891]

A customer has reported performance problems with the DefaultBodyModelValidator over large byte arrays (2 MB). We should handle this better.Comments: Fixed:...

View Article

Source code checked in, #1c48f1477f6a7d35de26fd487538a8c80f136f86

Fix portable formatting test break

View Article

Edited Feature: Have RouteAttribute for attribute routing [988]

Reading/writing the following code is a bit non-intuitive: public class HomeController : ApiController{[HttpGet("")] public string Get(){ return "Hello, World!";}}1. Why do I need to say Get again in...

View Article


Edited Issue: Can't unit test code that generates OData links [769]

There's no unit that encapsulates the logic around generating a full OData link, so tests end up integration style. Having an odata link factory abstraction allows unit testing such code.We are putting...

View Article

Edited Issue: MediaTypeFormatter.SetDefaultContentHeaders doesn't receive the...

ODataFormatter sends different response content type header depending on the type of the object being serialized. For example, serializing a Product might send "application/atom-xml;odata=entry" and...

View Article

Commented Issue: MediaTypeFormatter.SetDefaultContentHeaders doesn't receive...

ODataFormatter sends different response content type header depending on the type of the object being serialized. For example, serializing a Product might send "application/atom-xml;odata=entry" and...

View Article


Edited Issue: Add Set* extension methods for all HttpRequestMessage...

For unit testing you often need to setup a full HttpRequestMessage so that conneg can be run in the API controller action. We have Get* extension methods for the properties hanging off of...

View Article


New Post: CORS EnableCorsAttribute parameters to accept all like previous...

Hi Bruno, Yeah, normally I wouldn't expect something like "Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true" because there's a logic that checks when the...

View Article

Edited Issue: Expose async on filters in 4.5 [922]

As we are moving to 4.5 we should also move the attribute filter implementations (see for example AuthorizationFilterAttribute) to expose async in addition to just sync. In v1 we hid async part so well...

View Article

Closed Unassigned: Microsoft.jQuery.Unobtrusive packages license URL gives...

Version 2.0.30116.0 of the 2 packages Microsoft.jQuery,Unobtrusive.Ajax and Microsoft.jQuery.Unobtrusive.Validation have a license Url that gives NotFound.The Url they contain...

View Article

Edited Issue: Bundler / minifier not handling end of file comments correctly...

I have noticed that the bundler doesn't handle single line comments at the end of a javascript file correctly (or as would be expected), when the script is bundled and minified. A single line comment...

View Article


Edited Issue: Null Ref Exception from ODataEntityDeserializer.ReadEntryOrFeed...

To repro the issue, define entity model as:[EntitySet("Security_ArrayModel")][DataServiceKey("ID")] public class Security_ArrayModel{ public int ID { get; set; } public List<string> StringArray {...

View Article

Edited Issue: Tracing should trace warning not error for...

The default trace writers do not currently special-case HttpResponseException, and therefore trace at TraceLevel.Error. This is confusing, because it means simple user error in the URI will generate an...

View Article


Edited Issue: WebMatrix error list seems to have timing issues that lead to...

This is WebMatrix bug - PS (IIS OOB DB) - 37248Description:8/22/2012 4:43 PM Edited by mikhailaa). There is a Razor parser bug. - Open attached file. Parser reports no errors. - Type a space after }...

View Article

Commented Issue: WebMatrix error list seems to have timing issues that lead...

This is WebMatrix bug - PS (IIS OOB DB) - 37248Description:8/22/2012 4:43 PM Edited by mikhailaa). There is a Razor parser bug. - Open attached file. Parser reports no errors. - Type a space after }...

View Article


Edited Issue: Html.EditorFor helper generates wrong date/time format [630]

In MVC applications, if someone uses the Html.EditorFor helper to generate UI for a model that includes a DateTime field, the resulting HTML markup will render a date in a culture format that doesn't...

View Article

Edited Issue: Tracing should trace warning not error for...

The default trace writers do not currently special-case HttpResponseException, and therefore trace at TraceLevel.Error. This is confusing, because it means simple user error in the URI will generate an...

View Article

Edited Issue: Make User property of ApiController testable [971]

Make the User property of ApiController virtual so that it can be mocked or add a setter so that it can be setup for test.

View Article
Browsing all 7925 articles
Browse latest View live


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