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

Closed Issue: WebImage.Resize can sometimes add black border [1126]

Sometimes resizing an image can add a black border to the output, example (images attached):```new WebImage("original.jpg").Resize(180, 180).Save("output.jpg");```A possible fix is in...

View Article


Closed Issue: request.Content.ReadAsMultipartAsync() throws an...

If a part of a multipart message contains two Content-Type headers, request.Content.ReadAsMultipartAsync() throws the following:System.InvalidOperationException: Error parsing MIME multipart body part...

View Article


Closed Task: MQ: Revisit use of Error.ArgumentNull and similar helpers [1114]

Error.ArgumentNull breaks static analysis of parameter name. Let's revisit whether to use this helper in our assemblies and have a consistent approach across them.One solution:Replaces all uses of...

View Article

Closed Task: MQ: Review global suppressions [1100]

I found some unused global suppressions in System.Web.Http. We should check the other projects as well. While we're at it, we should also fix line length and sorting in these files.

View Article

Edited Issue: ReadAsMultipartAsync may cause null ref exception [1046]

This is a issue from fuzzing test, but it's not a security issue.To repro the issue, consume the attached file and build HttpContent by code: public bool ConsumeFuzzedFile(string fuzzedFile,...

View Article


Closed Issue: FormDataCollectionExtensions.CreateActionContextForModelBinding...

HttpControllerContext controllerContext = new HttpControllerContext() { Configuration = config };is the offending line.Comments: https://aspnetwebstack.codeplex.com/workitem/1287

View Article

Commented Issue: FormDataCollectionExtensions provides incomplete context [1287]

FormDataCollectionExtensions (CreateActionContextForModelBinding) uses an incomplete HttpControllerContext, with only the configuration set (it calls the unit test-only constructor). Consumers normally...

View Article

Edited Issue: Complex ModelBinding error/issue [904]

Given a classpublic class SearchRepresentation{ public string Search { get; set; } public string Code { get; set; }}and a Controller method in controller SomeControllerpublic SomeReturnType...

View Article


Commented Issue: Complex ModelBinding error/issue [904]

Given a classpublic class SearchRepresentation{ public string Search { get; set; } public string Code { get; set; }}and a Controller method in controller SomeControllerpublic SomeReturnType...

View Article


Commented Issue: FormDataCollectionExtensions provides incomplete context [1287]

FormDataCollectionExtensions (CreateActionContextForModelBinding) uses an incomplete HttpControllerContext, with only the configuration set (it calls the unit test-only constructor). Consumers normally...

View Article

Edited Issue: FormDataCollectionExtensions provides incomplete context [1287]

FormDataCollectionExtensions (CreateActionContextForModelBinding) uses an incomplete HttpControllerContext, with only the configuration set (it calls the unit test-only constructor). Consumers normally...

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

Edited Feature: Client-side validation of [MaxLength] [1476]

Client-side validation is enabled for the StringLengthAttribute. Could it also be enabled for...

View Article


Edited Issue: GenerationRoute does not return the same values as innerRoute...

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

Created Release: v5.2 Preview

ASP.NET MVC 5.2, Web API 2.2, and Web Pages 3.2 Preview release.

View Article


Edited Unassigned: SampleGeneration in HelpPage not working for PageResult...

On the following page it's described that for non-OData formats it is possible to support next-page links and inline count, by wrapping the query results in a PageResult<T> object....

View Article

Commented Unassigned: SampleGeneration in HelpPage not working for PageResult...

On the following page it's described that for non-OData formats it is possible to support next-page links and inline count, by wrapping the query results in a PageResult<T> object....

View Article


Edited Unassigned: QueryableAttribute does not work when result model...

This initially looked like an Entity Framework problem, but the fact that the problem only occurs when OData parameters are included in the request makes me think it's probably an issue with the...

View Article

Edited Feature: Provide ability to supply friendly Title for actions [520]

Currently we use the name of the Action even for the Title when advertising them. Provide ability to supply friendly Title for actions.Example(the title "Create Order" below):--------{"d":{...

View Article

Edited Issue: Conventional builder should throw error when it cannot find a...

In this scenario, I generated a DbFirst model from Northwind database. For the following 2 classes which were autogenerated, the model builder is not able to figure out the keys(as expected), but the...

View Article
Browsing all 7925 articles
Browse latest View live


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