Edited Issue: AuthorizeFilter dysfunction under async implementation [572]
Implement AuthorizeFilter as following:<br /><br /> public class TheAuthrizeAttribute : AuthorizationFilterAttribute<br /> {<br /> public async override void...
View ArticleEdited Issue: Allow FileResult that opens files with FileShare.ReadWrite [571]
I want to be able to stream application log files to the browser - these files are open for writing, so I need to open them with `FileShare.ReadWrite`. <br /><br />I don't like the idea of...
View ArticleEdited Issue: Server cannot append header after HTTP headers have been sent....
Hi All,<br /><br />I have recently started using Web API (version 4.0.20710.0) and have created an ActionFilterAttribute that sets some caching headers in the OnActionExecuted method.<br...
View ArticleEdited Issue: Ajax.BeginForm() not sending submit button's name/value [567]
There are certain circumstances when using Ajax.BeginForm() and the underlying jquery.unobtrusive-ajax.js script that the name/value of the submit button is not posted to the server.<br /><br...
View ArticleEdited Issue: Injecting custom IActionResultConverter implementations through...
@kichalla and I have discussed this issue also on http://aspnetwebstack.codeplex.com/discussions/399311. Today, you need to jump a lot of hoops to provide a custom IActionResultConverter implementation...
View ArticleEdited Issue: Querystring is overriding values provided in view. [549]
I have a controller that takes a string. In my view I hardcode the value of the input field, so it should always be the same.<br /><br />public class HomeController : Controller<br...
View ArticleEdited Issue: Access to the underlying response in SetDefaultContentHeaders...
I would like to have access to the response in SetDefaultContentHeaders when inheriting the BufferedMediaTypeFormatter. The reason for this is that I might want to set some of the content header values...
View ArticleEdited Issue: Invalid names and ids are generated when the model type is...
If the view model type is a collection, then the names generated for it (using NameFor, IdFor etc.) are incorrect (for example, it might be generated as "Project.Employees.[0].Name" - note the extra...
View ArticleEdited Issue: Razor View Engine Compiling the Code as /debug+ /optimize- [543]
Nearly 2 years ago, I have a found/discussed an issue at here,<br />http://forums.asp.net/p/1625220/4177037.aspx<br /><br />The issue was that Razor view engine compile the code as...
View ArticleEdited Issue: Update ASP.NET MVC Application Upgrader to MVC 4 [537]
it would be nice to have an update to the ASP.NET MVC Application Upgrader ( http://aspnet.codeplex.com/releases/view/59008 ).<br /><br />That upgrade recipe in the release notes (...
View ArticleEdited Issue: HttpClient duplicates Accept-Encoding values when used in...
I'm hosting an ASP.NET WebApi application in IIS 7.5 (Express) with Windows Authentication enabled and try to access it with HttpClient (version 2.0.20710.0 from NuGet). The server has been configured...
View ArticleEdited Issue: ViewContext.Writer.Write() inside @helper writes directly to...
I'm trying to get result of @helper method as variable without writing it to the view (I'm going to do it later after some transformations). And inside this helper I'm using extension to the HtmlHelper...
View ArticleEdited Issue: HttpWebRoute should override GetRouteData and GetVirtualPath...
There's nothing wrong with HttpWebRoute when you call MapHttpRoute. The scenario I'm talking about is the following:<br /><br />1. You want to customize GetRouteData and GetVirtualPath, so...
View ArticleEdited Issue: Don't require route name in Web API self host [509]
When you register a route in Web API self host you must pass a non-null name. The same when you try to generate URLs with System.Web.Http.Routing.UrlHelper. This is enforced in...
View ArticleEdited Issue: cleanup I*Configuration interfaces. [489]
The interfaces are not adding any value and resulting in weird api's like "bool? IsAbstract" on IEntityTypeConfiguration to keep track of whether the user has explicitly done any configuration or...
View ArticleCommented Issue: cleanup I*Configuration interfaces. [489]
The interfaces are not adding any value and resulting in weird api's like "bool? IsAbstract" on IEntityTypeConfiguration to keep track of whether the user has explicitly done any configuration or...
View ArticleCreated Issue: Excluded OData related controllers from web api help page [641]
It doesn't really make sense for the OData related controllers (ex ODataMetadataController, EntitySetController) to show up in the web API help page.You can exclude them using the following attribute:...
View ArticleCreated Issue: application/json request returns odata=fullmetadata [642]
When asking for application/json on an odata json.light enabled service, the service returns application/json;odata=fullmetadata instead of application/json;odata=minimalmetadata
View ArticleEdited Task: application/json request returns odata=fullmetadata [642]
When asking for application/json on an odata json.light enabled service, the service returns application/json;odata=fullmetadata instead of application/json;odata=minimalmetadata
View ArticleCreated Issue: Invoking controller action gives error if the ID has dots in...
1. Create a simple MVC app.2. Create a basic View/Controller and Model.3. Invoke a controller action from a view, where the ID passed to action is of type string and has "." in between. Expected:The...
View Article