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 2:34 AM by tobyee | Created: Aug 18 at 2: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 2:10 AM by MerickOWA | Created: Aug 12 at 2: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 4:25 PM by nickfloyd | Created: Aug 5 at 9: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 2:17 PM by VenkatRM | Created: Jun 21 at 2: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 12:33 AM by zhangpengdpnn | Created: Jun 14 at 12: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 1:44 PM by wilfredogr | Created: Jun 13 at 1:44 PM by wilfredogr

Memory leak in async Action Methods

I am using Visual Studio 2015 ASP.NET 5 Preview template project. No code changed. Just do File -> New -> ASP.NET 5 Web Application. Change Authentication to Individual User Accounts. Then when I r...

Id #2308 | Release: None | Updated: May 31 at 10:24 PM by pranavkm | Created: May 31 at 11:43 AM by oazabir

Using Attribute and Convention Based Routing Together

We can combine attribute routing with convention-based routing as mentioned here: Attribute Routing in ASP.NET MVC 5 And for using both we should use MapMvcAttributeRoutes method before conventio...

Id #2307 | Release: None | Updated: May 28 at 11:06 PM by NightOwl888 | Created: May 25 at 8:37 AM by oruchreis

SimpleMembershipProvider provides no way to determine if password reset token has expired

the workflow for password reset usually goes like this: 1) generate password reset ticket (WebSecurity.GeneratePasswordResetToken) and send user a password reset link containing that ticket 2) us...

Id #2306 | Release: None | Updated: May 10 at 10:01 PM by spongman | Created: May 10 at 10:00 PM by spongman

No route data in IHostBufferPolicySelector.UseBufferedInputStream

I’m trying to use IHostBufferPolicySelector to disable input buffering on a per-route basis, but have been unsuccessful so far. It looks like route data doesn’t make it into UseBufferedInputStrea...

Id #2305 | Release: None | Updated: Apr 28 at 6:51 PM by zarenner | Created: Apr 28 at 6:43 PM by zarenner