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: Oct 14 at 11:56 AM by Grifin | Created: Oct 14 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 at 2:41 AM by jr76 | Created: Oct 3 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 at 7:46 AM by ftonz | Created: Sep 23 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 at 8:35 PM by naamunds | Created: Sep 12 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 at 3:34 AM by tobyee | Created: Aug 18 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 at 3:10 AM by MerickOWA | Created: Aug 12 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 at 5:25 PM by nickfloyd | Created: Aug 5 at 10:45 PM by mvp1108

Smart badge PIN prompt in Web application on a button click using C#.net

Hi Team, We have a requirement to implement smart card PIN prompt on a button click functionality in web application. Usually user logged into his system using smart badge, user will be prompte...

Id #2311 | Release: None | Updated: Jun 21 at 3:17 PM by VenkatRM | Created: Jun 21 at 3:17 PM by VenkatRM

fix failure issue when triggers have been setup for user/role tables

Hi, I reported the same issue with a pull request on github. https://github.com/ASP-NET-MVC/aspnetwebstack/pull/14 I have been using WebMatrix.Data and WebMatrix.WebData for mvc 4 security impl...

Id #2310 | Release: None | Updated: Jun 14 at 1:33 AM by zhangpengdpnn | Created: Jun 14 at 1:33 AM by zhangpengdpnn

MVC 5 HTTP Error 404.15 - Not Found

I'm using VS Net 2015 with .Net 4.6.1 MVC 5 and EF 6, and created a website with Individual User Accounts. Using IIS Express or Local IIS I got the error: HTTP Error 404.15 - Not Found The req...

Id #2309 | Release: None | Updated: Jun 13 at 2:44 PM by wilfredogr | Created: Jun 13 at 2:44 PM by wilfredogr