Attribute Based Routing can't produce pretty URLs

I have discovered an issue with Attribute Based Routing in my MVC application (MVC version 5.2.3.0). I have created a question on StackOverflow too. Basically. When you have the same action nam...

Id #2321 | Release: None | Updated: Feb 9 at 11:42 AM by Ciwan | Created: Feb 9 at 11:41 AM by Ciwan

editorfor not as expected

I have a view, that is bound to a model with the following property [Display(Name = "Purchase Cost")] public double? PurchaseCost { get; set; } that is rendering like this: <input name="Purc...

Id #2320 | Release: None | Updated: Feb 6 at 5:34 AM by stevecookms | Created: Feb 6 at 5:34 AM by stevecookms

Error in XML docs for System.Web.Http.Results.OkResult

The public constructors for this class are documented as: Initializes a new instance of the NotFoundResult class. Should be Initializes a new instance of the OkResult class.

Id #2319 | Release: None | Updated: Jan 13 at 2:04 PM by gilessmart | Created: Jan 13 at 2:04 PM by gilessmart

Add support prioritise controller routes

Hi Why in new version MVC, route not have prioritise? Before have prioritise. Example, I have 2 Controllers NewsController [Route("~/News", Order = 2)] [Route("~/News/Page/{page}", Order = 1)]...

Id #2318 | Release: None | Updated: Dec 9, 2016 at 5:21 PM by alastair7 | Created: Oct 14, 2016 at 11:56 AM by Grifin

MultipartStreamProvider loses HttpContext after async work

I have implemented a custom subclass of MultipartStreamProvider in order to write uploaded file data to a custom stream. After writing to the stream, the HttpContext is sometimes null. The code bel...

Id #2317 | Release: None | Updated: Oct 4, 2016 at 2:41 AM by jr76 | Created: Oct 3, 2016 at 8:47 PM by jr76

ByteRangeStream Stream Position question

In the ByteRangeStream class, when the _lowerbounds variable is calculated, the current method ignores the position of the inputStream property. In my scenario, I need to output to the output of t...

Id #2316 | Release: None | Updated: Sep 23, 2016 at 7:46 AM by ftonz | Created: Sep 23, 2016 at 7:46 AM by ftonz

HttpContent.Read* methods return empty content when using parameter binding in Web API controller

Repro steps In a Web API application, add a complex type parameter to a controller method. In the controller method, read the content, e.g. with Request.Content.ReadAsStringAsync. Run the app, an...

Id #2315 | Release: None | Updated: Sep 12, 2016 at 8:35 PM by naamunds | Created: Sep 12, 2016 at 8:35 PM by naamunds

MediaTypeFormatter.WriteToStreamAsync can not set headers

I define a custom MediaTypeFormatter to handle downloading csv file. The csv object model like public class CsvModel: Collection<TRow> where TRow: class { // specific the download filename public...

Id #2314 | Release: None | Updated: Aug 18, 2016 at 3:34 AM by tobyee | Created: Aug 18, 2016 at 3:32 AM by tobyee

CookieHeaderValue can't parse cookie from expiration

The format generated by System.Web.HttpCookie when formated is non-standard, a mix between RFC1123 and RFC850 (At least as of .NET Framework 4.6.1) The exact format string used is "ddd, dd-MMM-yy...

Id #2313 | Release: None | Updated: Aug 12, 2016 at 3:10 AM by MerickOWA | Created: Aug 12, 2016 at 3:10 AM by MerickOWA

potential downside of setting UseTaskFriendlySynchronizationContext=true

ASP.Net applications originally created under .NET 4.0 and later ported to .NET 4.5 in Visual Studio will still run using the legacy ASP pipeline unless you remember to add one of these to your web...

Id #2312 | Release: None | Updated: Aug 8, 2016 at 5:25 PM by nickfloyd | Created: Aug 5, 2016 at 10:45 PM by mvp1108