Json.Net TypeNameHandling.Auto is not correctly handled by BaseJsonMediaTypeFormatter

Hi, I'm facing a problem with my ApiController returning complex objects (with inheritance) in JSON (Json.Net) with TypeNameHandling set to "Auto" in Json.Net serializer settings (http://www.newt...

Id #2258 | Release: None | Updated: Wed at 7:04 AM by ijardillier | Created: Tue at 12:36 PM by ljcegi

Logical CallContext does not flow from async filter to action

I've observed an issue where any logical CallContext data set in an async action filter does not flow through to the controller action. For example, suppose a filter sets the value "set-by-filter...

Id #2257 | Release: None | Updated: Tue at 6:46 PM by joelverhagen | Created: May 15 at 7:46 PM by joelverhagen

Html.TextBoxFor and HTML5 number input control decimal separator problem

Some info Number input control is a new HTML5 input type and is simply defined as <input type="number">. Its value attribute is a string that represents a floating-point number and according to t...

Id #2256 | Release: None | Updated: Apr 27 at 12:28 AM by zerhan | Created: Apr 27 at 12:28 AM by zerhan

Issue with JsonSerializerSettings used by ApiController.Json<T>(T Content)

Hi, I'm using MVC 5.2.3 and tried to configure GlobalConfiguration.Configuration.Formatters.JsonFormatter.SerializerSettings. E.g config.Formatters.JsonFormatter.SerializerSettings.Converters.Ad...

Id #2255 | Release: None | Updated: May 15 at 9:46 AM by dcumbo | Created: Apr 26 at 8:52 AM by minhkhoa4783

Use of PBKDF2 in Crypto.HashPassword

You are using PBKDF2 incorrectly: "PBKDF2 with HMAC-SHA1, 128-bit salt, 256-bit subkey, 1000 iterations". You are doing twice the work with no extra benefit. When you use PBKDF2 for password hashin...

Id #2254 | Release: None | Updated: Apr 24 at 11:05 AM by Sc00bz | Created: Apr 24 at 11:05 AM by Sc00bz

Bug in System.Web.Http.ModelBinding.FormDataCollectionExtensions.cs

In System.Web.Http.ModelBinding.FormDataCollectionExtensions.cs Line 58, is as follows: throw Error.Argument("key", SRResources.JQuerySyntaxMissingClosingBracket); this causes the error messa...

Id #2253 | Release: None | Updated: Apr 20 at 9:06 PM by chrisherring | Created: Apr 20 at 9:06 PM by chrisherring

Provide some way to redirect page from MVC method which are passing JsonResult.

Hello, Please allow to redirect methods that are returning JsonResult and even though want to redirect to some error page from that action. May be authentication failure or some other errors. ...

Id #2252 | Release: None | Updated: Apr 17 at 10:06 AM by komaldparekh | Created: Apr 17 at 10:06 AM by komaldparekh

TwoFactorSignInAsync Bug

The code below works fine... Except the fact that when the user has remember this browser checked it doesn't actually do it? OR sometimes it does it then when the user logs in its ok... but when a ...

Id #2250 | Release: None | Updated: Apr 2 at 9:14 PM by daw451 | Created: Apr 2 at 9:14 PM by daw451

Ajax helpers do not execute javascript code embedded in result if InsertionMode is InsertBefore or InsertAfter

Versions : Microsoft ASP.NET MVC 5.2.3, Microsoft ASP.NET Razor 3.2.3, Microsoft jQuery Unobtrusive Ajax 3.2.3, jQuery 2.1.3. I use Ajax helpers in Razor views to perform Ajax calls : @Ajax.Actio...

Id #2247 | Release: v5.2.4 Beta | Updated: Apr 2 at 2:43 PM by pranavkm | Created: Mar 25 at 10:38 AM by mgoyet

Razor checkbox generation

Hi, The ASP.NET MVC Razor engine generates the following for a boolean field: <input class="form-control check-box" data-val="true" data-val-required="The IsHappy field is required." id="Prop...

Id #2245 | Release: None | Updated: Mar 21 at 11:42 PM by weitzhandler | Created: Mar 21 at 11:42 PM by weitzhandler

jquery.unobtrusive-ajax sometimes not execute my OnSuccess js function

i use jquery.unobtrusive-ajax,it works mostly well,but it sometimes not execute my OnSuccess js function and navigate to a new page with the response data.by the way ,my jquery.unobtrusive-ajax js ...

Id #2244 | Release: None | Updated: Mar 24 at 9:54 AM by shenjintong | Created: Mar 17 at 8:54 AM by shenjintong

MVC 5 Html.Action route name

I want to render action (child action) within my view using Html.Action helper method. I have different routes which have unique names. I did not find the way to give the route name while using Htm...

Id #2240 | Release: v5.2.4 Beta | Updated: Feb 26 at 4:40 PM by yishaigalatzer | Created: Feb 25 at 6:00 AM by apmt

Reconsider how we dispose MessageHandlers in OWIN host

We implemented support for disposing the HttpConfiguration and message handlers in response to the OWIN OnAppDisposing notification in 5.1 thinking that it's the right time to dispose anything hold...

Id #2237 | Release: v5.2.4 Beta | Updated: Feb 26 at 4:45 PM by yishaigalatzer | Created: Feb 17 at 10:48 PM by nowakra

Add option to use permanent redirects in `RequireHttpsAttribute`

See http://aspnetwebstack.codeplex.com/SourceControl/network/forks/martincostello/RequireHttpsAttributeAsHttp301/contribution/8008 pull request which adds support to the RequireHttpsAttribute class...

Id #2236 | Release: v5.2.4 Beta | Updated: Feb 19 at 5:08 PM by dougbu | Created: Feb 12 at 12:20 AM by dougbu

Compiling Nuget Package for v3.0.0 - Tests fail

I have performed the following steps: Download aspnetwebstack-66298100f4e349d3812b1aad32c5278c256a2cdd.zip Open a Visual Studio 2013 Developer Prompt Issue build.cmd EnableSkipStrongNames Issue b...

Id #2232 | Release: v5.2.4 Beta | Updated: Feb 11 at 9:43 PM by yishaigalatzer | Created: Jan 30 at 6:20 AM by MircoBabin

Occasional UnobservedTaskException due to HttpListenerRequest disposed

Ported from http://katanaproject.codeplex.com/workitem/375. We occasionally get an exception like the following: TaskScheduler.UnobservedTaskException event was raised. env=prod exception=System...

Id #2224 | Release: v5.2.3 RTM | Updated: Tue at 8:41 AM by izivcak | Created: Jan 5 at 8:10 PM by danroth27

Performance issues with System.Web.Mvc.Html.TemplateHelpers and default editor actions

We noticed a lot of blocking disk IO was occurring as we were load testing our MVC application. We took stack dumps when this was happening, and below is an example stack. We profiled DiskBuildResu...

Id #2220 | Release: v5.2.4 Beta | Updated: Jan 8 at 10:25 PM by danroth27 | Created: Dec 31, 2014 at 1:00 PM by mattpeterson

CorsMessageHandler does not respect IExceptionHandler

CorsMessageHandler will swallow all the exceptions that it catches and turn them into 500 response. This behavior does not work with a custom IExceptionHandler implementation where you want a non H...

Id #2219 | Release: v5.2.4 Beta | Updated: Tue at 1:16 PM by midix | Created: Dec 26, 2014 at 5:28 AM by yufeih

extensiblity: OData serializer manipulates formatters workflow inconsistently producing unexpected results

To format OData v4, there is extensibility provided in form of custom attributes. Consider the following code: namespace System.Web.OData { /// <summary> /// An attribute to be placed on controller...

Id #2218 | Release: None | Updated: Jan 27 at 5:02 AM by lianw | Created: Dec 19, 2014 at 8:13 PM by schmidtaa

MVC Remote attribute does not work with complex objects and collections

Scenario For a model that has a property which is a complex object or collection where the object contains a property with a RemoteAttribute, the html generated will include the fully qualified na...

Id #2213 | Release: v5.2.4 Beta | Updated: Mar 25 at 2:22 PM by mgoyet | Created: Dec 17, 2014 at 12:44 AM by smuecke

Attribute routes cannot be applied to controllers with generic (non action) methods

when calling MapMvcAttributeRoutes() it fails if any controller (or the base class of a controller) contains a generic method. In our case we have a generic base class that handles some default o...

Id #2201 | Release: v5.2.4 Beta | Updated: Dec 16, 2014 at 7:34 PM by nowakra | Created: Dec 3, 2014 at 1:27 PM by Michelvg

jQuery unobtrusive validation does not behave correctly with remote validation when multiple items are selected in a checkbox \ dropdown list

Consider <input type="checkbox" name="allowedDays" checked value="Sunday" /> <input type="checkbox" name="allowedDays" value="Monday" /> <input type="checkbox" name="allowedDays" checked value="Fr...

Id #2198 | Release: v5.2.4 Beta | Updated: Jan 5 at 8:40 PM by danroth27 | Created: Dec 1, 2014 at 5:33 PM by pranavkm

Disabled Html.CheckBox -> Hidden Field not disabled

When Html.CheckBoxFor(m => m.Property, new { disabled = "disabled" }) is used, the generated html-input-hidden-field should also be disabled, otherwise the request value is alway false.

Id #2151 | Release: v5.2.4 Beta | Updated: Oct 7, 2014 at 4:34 PM by yishaigalatzer | Created: Oct 6, 2014 at 12:57 PM by rafe11

Razor does not correctly parse HTML attributes that have spaces surrounding the equals

After playing around with the parse tree a bit I noticed that if you were to create HTML elements such as: <div class = "foo"></div> <div class ="foo"></div> <div class= "foo"></div> The...

Id #2149 | Release: v5.2.4 Beta | Updated: Oct 7, 2014 at 4:21 PM by yishaigalatzer | Created: Oct 1, 2014 at 9:53 PM by NTaylorMullen

Apply common type conventions on Enum type

For example, DataContractAttribute can be used on entity type and complex type, for example: [DataContract(Namespace = "MySpace")] public class Customer { …. } for enum type, the DataContrac...

Id #2115 | Release: vNext | Updated: Aug 22, 2014 at 3:39 AM by xuzhg | Created: Aug 22, 2014 at 3:39 AM by xuzhg

HttpMessageInvoker object disposed exception

Hello, I am hosting a Web API REST service using Owin and a typical startup class, for example: public void Configuration(IAppBuilder builder) { System.Diagnostics.Debug.WriteLine...

Id #2091 | Release: v5.2.4 Beta | Updated: Dec 2, 2014 at 10:55 PM by yishaigalatzer | Created: Aug 4, 2014 at 7:16 PM by thebothead

Web API Basic Auth sample throws null ref when Invalid Credentials are supplied

Authorization still fails but an exception should not be thrown.

Id #2074 | Release: vNext | Updated: Dec 9, 2014 at 9:32 PM by yishaigalatzer | Created: Jul 25, 2014 at 2:42 AM by MrkMnl

WebApi ModelBinder - empty parm setting non-nullable integer to 0

I submit that given the following querystring ?mycoll=&singlevar=1 the following model class MyModel { public ICollection<int> mycoll { get; set; } public int singlevar { get; set; }...

Id #2067 | Release: vNext | Updated: Jul 23, 2014 at 9:30 PM by yishaigalatzer | Created: Jul 16, 2014 at 2:59 PM by acsteitz

Html.AntiForgeryToken() adds duplicate X-Frame-Options headers if called more than once

System.Web.WebPages v.3.0.0.0: Sometimes, more than one anti-forgery token is needed in a page (when there are multiple forms). Calling Html.AntiForgeryToken() causes the "X-Frame-Options: SAMEO...

Id #2057 | Release: vNext | Updated: Apr 29 at 9:37 AM by moonpyk | Created: Jul 10, 2014 at 3:16 PM by jeremylew

HelpPage VB version throws exception when the model is a generic type

Following was reported from customer...I was able to repro this and verified that C# version works fine in this case: I had a problem with this package when using generic types. I had to replace ...

Id #2050 | Release: vNext | Updated: Jul 9, 2014 at 9:26 PM by yishaigalatzer | Created: Jul 7, 2014 at 9:35 PM by kichalla

MultipartFormDataStreamProviderHelper should check ContentDispositionHeaderValue.FileNameStar

Some libraries (e.g. Python) set "filename*" but not "filename" in the Content-Disposition when sending multipart form data for a file. MultipartFormDataStreamProviderHelper should check ContentDis...

Id #2008 | Release: vNext | Updated: Jun 16, 2014 at 4:10 PM by yishaigalatzer | Created: Jun 10, 2014 at 3:27 PM by ejball

Provide a way to enumerate all MVC actions

We don't currently have a good way to enumerate all actions and action descriptors in the framework. It's a common ask for extensibility and all the code that does it (correctly) is internal. htt...

Id #1999 | Release: vNext | Updated: Mar 27 at 7:50 PM by jasodonnell | Created: Jun 3, 2014 at 11:17 PM by nowakra

OutputCacheAttribute should reuse the response encoding

In OutputCacheAttribute.cs, when the response output is substituted with a StringWriter, the encoding and the culture of the response output are not forwarded to it. Also, because the default Str...

Id #1984 | Release: FB 1.0.0 | Updated: May 28, 2014 at 9:10 PM by danroth27 | Created: May 28, 2014 at 4:59 PM by sebastienros

Public access to ActionDescriptor and ControllerDescriptor

When IAuthorizationFilter is implemented, AuthorizationContext provides access to ActionDescriptor and ControllerDescriptor, so that both can be used to check whether controller and/or action is ma...

Id #1983 | Release: FB 1.0.0 | Updated: May 30, 2014 at 10:27 AM by NightOwl888 | Created: May 28, 2014 at 10:30 AM by atuzovic

Help page: Documentation of data model annotations in "buddy" class (MetadataType)

Hi, nice work with adding documentation of model annotations :-) In many scenarios the model class is a generated partial class. In those cases, the recommended way to add field annotation is via...

Id #1971 | Release: FB 1.0.0 | Updated: Dec 10, 2014 at 7:19 PM by rbigbie | Created: May 27, 2014 at 7:02 AM by ToreErstad

[unit tests] Confirm no unit tests rely on ambient locale

This is initially more of a work item. But I expect some problems will turn up and need to be fixed. In a quick check, the Turkish user locale does not cause problems when unit testing the web s...

Id #1966 | Release: v5.2 RTM | Updated: Jun 15, 2014 at 11:51 PM by dougbu | Created: May 23, 2014 at 8:04 PM by dougbu

Return OK on CORS preflight requests no matter what

A CORS preflight request is about establishing trust. It's purpose is not to tell whether or not a resource might work, but if a trust can be established between between the calling domain and t...

Id #1951 | Release: vNext | Updated: May 26, 2014 at 11:05 AM by jgauffin | Created: May 17, 2014 at 7:27 PM by jgauffin

DropdownListFor modifies the SelectListItem collection passed to it

Hi, When using the DropdownListFor helper and passing to it the collection of SelectListItem from which it is populated, the DropdownListFor will modify the passed collection after it is called; ...

Id #1913 | Release: vNext | Updated: Apr 17 at 9:01 PM by Pharylon | Created: May 6, 2014 at 10:05 AM by wutever0

Make FilterGrouping and GetFilterGrouping (HttpActionDescriptor) public

I'm currently in the process of implementing my own IHttpController, which to a large degree mirrors the functionality of the ApiController, but for several reasons can't extend it, the main ones b...

Id #1902 | Release: vNext | Updated: May 7, 2014 at 9:41 PM by yishaigalatzer | Created: May 2, 2014 at 2:24 AM by Alxandr

Support using member name as value in EnumHelper

I think having the option to use the Enum member name as value would be a good feature. Text values are a lot more descriptive, specially when used in query strings, e.g. ?color=Red instead of ?c...

Id #1894 | Release: vNext | Updated: Apr 30, 2014 at 9:19 PM by yishaigalatzer | Created: Apr 30, 2014 at 12:49 AM by maxtoroq

MultipartStreamProvider does not allow to limit the size of multipart posts to MultipartMemoryStreamProvider

Too easy to max out service memory. See suggestions. https://aspnetwebstack.codeplex.com/discussions/542978

Id #1874 | Release: vNext | Updated: Apr 23, 2014 at 6:25 PM by yishaigalatzer | Created: Apr 23, 2014 at 3:00 PM by itaid

Add HtmlHelper.FileFor

MVC binding is a great feature, but when files need to be posted, we have to go out of our way to make them integrate properly. I figured this could be simplified and I created a HTML Helper for Fi...

Id #1817 | Release: vNext | Updated: Apr 9, 2014 at 9:21 PM by danroth27 | Created: Apr 1, 2014 at 6:17 PM by MisinformedDNA

MVC5 Claims version of the Authorize attribute

I'm trying out some of the new stuff in VS2013 with MVC5 and the new OWIN authentication middleware. So, I'm used to using the [Authorize] attribute to limit actions by role but I'm trying to use...

Id #1807 | Release: vNext | Updated: Apr 2, 2014 at 9:34 PM by kamehrot | Created: Mar 28, 2014 at 2:43 AM by regisbsb

Default settings for PostAsJsonAsync

PostAsJsonAsync currently creates new instance of JsonMediaTypeFormatter which in turn uses empty JsonSerializerSettings. I think it should be possible to provide default settings for this method...

Id #1739 | Release: Breaking changes | Updated: Jul 17, 2014 at 12:51 PM by Mentoliptus | Created: Mar 3, 2014 at 9:17 PM by oliverjanik

XmlDocumentationProvider should be able to handle multiple XML documents.

The ASP.Net Web API Help Page NuGet package has currently a feature that allows a developer to only specify 1 XML documentation file, which is used when showing the Help Page. Since most developers...

Id #1720 | Release: vNext | Updated: Jan 23 at 8:38 PM by kgalagadi | Created: Feb 24, 2014 at 2:47 PM by SjorsG

Implement StreamContent(...) (or Content<T> taking a stream)

Content<T> doesn't make sense because non of the serializers take a stream as input. However we can consider adding a StreamContent method on ApiController You can see the need for this feature...

Id #1618 | Release: Breaking changes | Updated: Jan 15, 2014 at 9:45 PM by yishaigalatzer | Created: Jan 14, 2014 at 11:24 PM by NTaylorMullen

Trigger a custom ajax call in unobtrusive ajax

The way I see it, I can create form or a elements, decorated with the data attributes. The unobtrusive script listens for form submit and anchor click events. There is no way to interact with the i...

Id #1613 | Release: vNext | Updated: Aug 27, 2014 at 6:29 PM by pranavkm | Created: Jan 13, 2014 at 3:55 PM by fejesjoco

Tracking bug for MaxLengthAttribute

Apparently the MaxLengthAttribute only works on strings and arrays. It might be useful to expand this include collection types.

Id #1575 | Release: Breaking changes | Updated: Dec 23, 2013 at 8:57 PM by pranavkm | Created: Dec 23, 2013 at 8:57 PM by pranavkm

Allow manual setting of https for ReCaptcha

Due to our firewall/proxy setup in prod, our HttpContext is unsecure behind the firewall but to our users is https. We need a way to force https for the ReCaptcha helper. Something like: public s...

Id #1569 | Release: vNext | Updated: Jan 7, 2014 at 8:48 PM by danroth27 | Created: Dec 19, 2013 at 6:19 PM by supergibbs

Facilitate replacement of ActionMethodSelector

A common pattern used by my team is to declare shared action methods in base class controllers, and then implement derived classes which take advantage of action methods declared in the base class....

Id #1568 | Release: vNext | Updated: Jan 7, 2014 at 8:50 PM by danroth27 | Created: Dec 19, 2013 at 2:48 PM by IanNewson

Support attribute routing template syntax in standard routing

Attribute routing introduced compact syntax for a bunch of common scenarios (optionality, constraints, default values, etc). We should support the same syntax for standard routing

Id #1550 | Release: vNext | Updated: Sep 22, 2014 at 6:23 PM by nowakra | Created: Dec 13, 2013 at 6:01 PM by danroth27

Translator of Razor view engine generates writes of whitespaces from code context

Ported from https://aspnet.codeplex.com/workitem/7510 (1 vote) Sample code: <div>@{var a = 1; <text>@a</text>}</div> It translates to: public class Index_cshtml : System.Web.Mvc.WebViewPage { ...

Id #1548 | Release: Breaking changes | Updated: Dec 13, 2013 at 5:56 PM by Igorbek | Created: Dec 13, 2013 at 4:49 PM by danroth27

Razor parser fails if tags balanced outside same code block

Porting from https://aspnet.codeplex.com/workitem/8641: The razor parser checks HTML tags to assure they are balanced. This seems like a nice thing to do except it does this check only within the...

Id #1537 | Release: Breaking changes | Updated: Dec 13, 2013 at 6:46 PM by yishaigalatzer | Created: Dec 13, 2013 at 12:35 PM by kamehrot

Using Resource File Error Messages Fails With Data Annotations Attributes

Porting from https://aspnet.codeplex.com/workitem/8175: The additional data annotations attributes included in MVC 3 Futures (CreditCard, EmailAddress, FileExtension, Url) do not work when using ...

Id #1535 | Release: Breaking changes | Updated: Jan 7, 2014 at 11:57 PM by eilonlipton | Created: Dec 13, 2013 at 12:27 PM by kamehrot

DisplayFormat attribute not applied to editable html helpers

Porting from https://aspnet.codeplex.com/workitem/5436: When attempting to use the DisplayFormat attribute on an editable form element using html helpers (i.e, Html.Textbox, Html.TextboxFor), the...

Id #1533 | Release: Breaking changes | Updated: Dec 14, 2013 at 8:17 AM by AceHack | Created: Dec 13, 2013 at 12:21 PM by kamehrot

Html.Partial or RenderPartial with NULL value gets passed the wrong type

// Copied from https://aspnet.codeplex.com/workitem/8872 // Vote number : 32 If I render a partial from a view and pass a null value the base model type gets passed rather than the model / value...

Id #1532 | Release: Breaking changes | Updated: Jan 4, 2014 at 8:07 PM by AGd | Created: Dec 13, 2013 at 10:16 AM by yjhong

Make "GetFullHtmlFieldName" respect an arbitrary attribute

It is essential to make "GetFullHtmlFieldName", a method of ~\src\System.Web.Mvc\TemplateInfo.cs, respect an arbitrary attribute set on a model's property to change the name of an input. It is also...

Id #1527 | Release: vNext | Updated: Jan 8, 2014 at 9:43 PM by danroth27 | Created: Dec 13, 2013 at 6:33 AM by mmsaffari

Use HtmlTags or a builder pattern in MVC Html Helpers

// Copied from https://aspnet.codeplex.com/workitem/10365 // Vote number : 1 Hi, It is very hard to customise the output of built-in MVC Html helpers and a library like HtmlTags would help a...

Id #1521 | Release: Breaking changes | Updated: Dec 17, 2013 at 7:53 PM by nowakra | Created: Dec 13, 2013 at 2:13 AM by yjhong

Web Api Strongly Typed URL Generation

// Copied from https://aspnet.codeplex.com/workitem/10362 // Vote number : 1 Hi, Is it planned to include any strongly typed URL generation for Web Api. Generating URL's is something ever...

Id #1519 | Release: Breaking changes | Updated: Dec 17, 2013 at 7:24 PM by nowakra | Created: Dec 13, 2013 at 2:04 AM by yjhong

Automatically add anti forgery token to BeginForm

Vote number : 2 Please add an option in ASP.NET MVC 5 to automatically add anti forgery token to every Form element, something like this: <appSettings> <autoAntiForgeryToken enabled="true...

Id #1516 | Release: Breaking changes | Updated: Dec 17, 2013 at 7:59 PM by nowakra | Created: Dec 13, 2013 at 12:26 AM by yjhong

MVC - Difficult to implement 404 Custom Error Page correctly

Porting from https://aspnet.codeplex.com/workitem/10131: Implementing a custom 404 error page within ASP.NET MVC is difficult and error prone Here are some examples http://stackoverflow.com...

Id #1508 | Release: vNext | Updated: Dec 28, 2014 at 6:55 PM by medvjed | Created: Dec 12, 2013 at 9:26 PM by kamehrot

Allow HTML Markup in Validation messages

Porting from https://aspnet.codeplex.com/workitem/9958: Please change ValidationExtensions.ValidationSummary(...) to use spanTag.InnerHtml = message and listItem.InnerHtml = errorTe...

Id #1507 | Release: vNext | Updated: Jun 17, 2014 at 8:30 PM by AlexBar | Created: Dec 12, 2013 at 9:03 PM by kamehrot

Web Api Help page sample generation xml/json fails for classes inherited from lists

Ported from : https://aspnet.codeplex.com/workitem/10340 The fix is to change the following code in SampleGeneration/ObjectGenerator.cs Replace Type type = collectionType.IsGenericType ? ...

Id #1501 | Release: vNext | Updated: Jan 29, 2014 at 9:11 PM by yishaigalatzer | Created: Dec 12, 2013 at 7:07 PM by kichalla

Update documentation link in ELMAH sample

The ELMAH sample currently refers to a spec on the CodePlex wiki. Once we publish a blog/article, we should reference that more permanent location instead.

Id #1495 | Release: v5.1 RTM | Updated: Dec 11, 2013 at 9:08 PM by yishaigalatzer | Created: Dec 11, 2013 at 6:02 PM by davidmatson

Child action OutputCache can not be disabled with web.config

MVC 5 .NET 4.5.1 Using OutputCache on child action I can not force MVC to bypass it using web.config: <system.web> <caching> <outputCache enableOutputCache="false" enableFragmentCache="false...

Id #1492 | Release: vNext | Updated: Jan 22, 2014 at 9:41 PM by danroth27 | Created: Dec 10, 2013 at 8:51 AM by FuriCuri

Support SingleResult<T>and other constructs in Core web API

We would like to consider adding support for: Delta<T> SingleResult<T> PageResult<T> to Core Web API. Currently these exist in OData only. When we do that we should also fix help page scen...

Id #1483 | Release: vNext | Updated: Feb 27, 2014 at 9:31 PM by yjhong | Created: Dec 6, 2013 at 6:36 PM by yishaigalatzer

Use custom ApiDescriptionComparer with ApiExplorer

Code in https://aspnetwebstack.codeplex.com/SourceControl/latest#src/System.Web.Http/Description/ApiExplorer.cs removes all duplicates based on HTTP method + path This is not sometimes the desire...

Id #1478 | Release: vNext | Updated: May 11 at 7:24 PM by Jarlotee | Created: Dec 5, 2013 at 12:03 AM by Aarne

System.Web.Webpages.Html.HtmlHelper.ValidationMessage(string, string) does not work when it is used with jquery.validate.unobtrusive.js

Observation: System.Web.Webpages.Html.HtmlHelper.ValidationMessage(string, string) does not return the error message specified in the second parameter when it is used with jquery.validate.unobtru...

Id #1469 | Release: vNext | Updated: Nov 27, 2013 at 11:07 PM by yjhong | Created: Nov 27, 2013 at 11:07 PM by yjhong

ApiExplorer cannot figure out the correct URI Parameters with custom IHttpActionSelector

ApiExplorer cannot figure out the correct URI Parameters if I plug in a custom IHttpActionSelector. A repro application is available here: https://github.com/tugberkugurlu/ASPNETWebAPISamples/tree/...

Id #1466 | Release: vNext | Updated: Dec 24, 2014 at 4:55 AM by PeterZong | Created: Nov 27, 2013 at 8:28 AM by tugberk

Provide 'type' information to Json.net serializer to enable the setting TypeNameHandling.Auto to work as expected

While investigating the following SO post, I noticed that we currently do not pass the 'type' of the object to the Serialize method of JsonSerializer. Since we do not passing this information, the ...

Id #1454 | Release: vNext | Updated: Aug 11, 2014 at 12:47 AM by jonstelly | Created: Nov 25, 2013 at 4:54 PM by kichalla

Provide ability to pass message to NotFound() and other such methods

Please provide an ability to pass a custom error meesage (reason phrase) and/or exception details to the NotFound() method of ApiController. I wrote a custom implementation of IHttpActionResult, ...

Id #1452 | Release: vNext | Updated: Mar 20 at 1:43 PM by bamblack | Created: Nov 25, 2013 at 8:18 AM by ajayjadhav

Provide option to also display dates & times in RFC3339 format

Suggestion for a small, focused feature: Current date & time display does not match editing formats when @Html.Html5DateRenderingMode = Html5DateRenderingMode.Rfc3339 is in use. In particular we h...

Id #1449 | Release: vNext | Updated: Apr 22 at 12:52 PM by FelixC | Created: Nov 24, 2013 at 3:35 AM by dougbu

Make MapMvcAttributeRoutes unit testable

MapMvcAttributeRoutes requires the list of controllers in order to enumerate the attribute routes. The current implementation doesn't allow customizing the service used to provide the controller li...

Id #1445 | Release: vNext | Updated: Apr 23 at 4:49 PM by czetts | Created: Nov 22, 2013 at 5:12 PM by davidmatson

Provide base class for authentication filters

All the other filter types have base classes that help with implementing them. Authentication filters don't. Particularly for ChallengeAsync, it would be nice to have a virtual method like this: ...

Id #1432 | Release: vNext | Updated: Nov 20, 2013 at 9:42 PM by yishaigalatzer | Created: Nov 19, 2013 at 10:18 PM by davidmatson

Custom FxCop rule MW1200 crashes with NullReferenceException

This rule has been failing sporadically for some time. It recently started failing all the time in portable libraries. CA0001 : Rule=Microsoft.Web.FxCop#MW1200, Target=System.Web.Http.Error.#Argu...

Id #1416 | Release: vNext | Updated: Nov 20, 2013 at 9:47 PM by yishaigalatzer | Created: Nov 13, 2013 at 4:59 PM by davidmatson

HelpPage and versioning scenario

For the following versioned controllers which use the latest support for constraints in Web API's attribute routing, the help page shows up like in the attached document... [VersionedRoute("api/val...

Id #1406 | Release: vNext | Updated: Nov 13, 2013 at 9:33 PM by yishaigalatzer | Created: Nov 7, 2013 at 9:10 PM by kichalla

Consider removing the content from the 404 returned by HttpRoutingDispatcher

In HttpRoutingDispatcher#SendAsync, we return a 'soft 404' when no route matches. In the process, we return a response with content, which involves performing content negotiation and some potential...

Id #1394 | Release: vNext | Updated: Nov 13, 2013 at 9:54 PM by yishaigalatzer | Created: Nov 5, 2013 at 11:36 PM by nowakra

Html.EditorFor should set HTML5 required attribute for required values

We should set the required attribute for required fields in addition to setting data-val attributes so we take advantage of HTML5 form validation features. This would allow supporting HTML5 brows...

Id #1365 | Release: vNext | Updated: Oct 12, 2014 at 5:49 PM by AlbertoMonteiro | Created: Oct 24, 2013 at 6:13 AM by jongalloway

WebAPI GET request: ISO date is being deserialized to server local time

As posted in discussion https://aspnetwebstack.codeplex.com/discussions/462562 An ISO date string "2013-07-22T18:30:00.000Z" should be constructed as UTC kind DateTime. This works correctly with ...

Id #1364 | Release: vNext | Updated: Nov 6, 2013 at 9:39 PM by yishaigalatzer | Created: Oct 24, 2013 at 6:11 AM by amitava82

jquery.validate.unobtrusive.js using deprecated andSelf() method

line 195-199: var $forms = $(selector) .parents("form") .andSelf() .add($(selector).find("form")) .filter("form"); JQMIGRATE: jQuery.fn.an...

Id #1363 | Release: vNext | Updated: Nov 6, 2013 at 9:48 PM by yishaigalatzer | Created: Oct 23, 2013 at 9:15 AM by stijnherreman

Should not multi-select items in a drop-down list

DropDownList() and DropDownListFor() generate <select/> elements without the multiple attribute. Nonetheless the returned HTML may contain multiple <option/> elements with selected="selected" attr...

Id #1349 | Release: vNext | Updated: Oct 30, 2013 at 9:38 PM by yishaigalatzer | Created: Oct 18, 2013 at 8:35 PM by dougbu

Attribute Routing Route Debugging

Now that a lot of the AttributeRouting features from Tim McCall have been implemented I noticed that the routes.axd feature is not available. See http://attributerouting.net/#debugging This woul...

Id #1347 | Release: vNext | Updated: Jul 8, 2014 at 3:54 PM by spMike | Created: Oct 18, 2013 at 12:36 AM by rikishipabst

Support DataMember when model binding to override field names (formUrl encoding)

Support the following pattern (in both MVC or Web API): public class DataBindingClass { [DataMember(Name = "fieldNameForWire")] public string FieldNameForModel { get; set; } } For example: publi...

Id #1332 | Release: vNext | Updated: Oct 29, 2013 at 8:26 PM by gugavaro | Created: Oct 11, 2013 at 9:37 PM by davidmatson

binding support for checkbox lists

This is a request to support binding IEnumerable to a checkbox list (or radio button) Since the issue is rather complex, we are planning to take a look post 5.1. Here is a link to uservoice: ...

Id #1331 | Release: vNext | Updated: Jun 17, 2014 at 8:42 PM by AlexBar | Created: Oct 11, 2013 at 8:48 PM by yishaigalatzer

Add support for "optgroup" [1] in DropDownList/ListBox HTML helpers

... something like public static class SelectExtensions { public static MvcHtmlString DropDownGroupedList( this HtmlHelper htmlHelper, string name, IEnumerable<SelectListGroup> select...

Id #1327 | Release: vNext | Updated: Oct 9, 2013 at 9:15 PM by yishaigalatzer | Created: Oct 7, 2013 at 10:48 PM by ulrichb

[DataType] error message ignored in some cases

While [DataType] derivatives (e.g. [Phone]) are handled as expected, some types are associated with HTML5 validations. In this case MVC should generate data-val-* attributes mapping the HTML5 mess...

Id #1326 | Release: vNext | Updated: Oct 9, 2013 at 9:30 PM by yishaigalatzer | Created: Oct 7, 2013 at 10:29 PM by dougbu

WebHost: Exception inside GetPerRequestFormatterInstance is unhandled and also doesn't dispose resources

In WebHost, an exception thrown inside GetPerRequestFormatterInstance method of a formatter is unhandled resulting in yellow screen and also this does not dispose registered resources. Formatter:...

Id #1321 | Release: vNext | Updated: May 14, 2014 at 6:31 PM by danroth27 | Created: Oct 2, 2013 at 10:22 PM by kichalla

Improve editor flow for Razor

Currently in the editor flow we have a few things that need improvements Background thread -> Task with a custom TaskScheduler that runs one task + one waiting task All data from task should be im...

Id #1317 | Release: vNext | Updated: Sep 27, 2013 at 9:19 PM by yishaigalatzer | Created: Sep 27, 2013 at 9:19 PM by yishaigalatzer

Remove all references to Thread.CurrentPrincipal in HttpServer

Now that we have HttpRequestContext.Principal, it's strange that HttpServer is messing with Thread.CurrentPrincipal (some hosts don't even use Thread.CurrentPrincipal; other hosts take care of sett...

Id #1311 | Release: vNext | Updated: Sep 24, 2013 at 3:40 PM by yishaigalatzer | Created: Sep 23, 2013 at 6:42 PM by davidmatson

Remove Web API Help Page dependency on WebHost

The Web API Help Page package currently has a dependency on Web Host. We need to remove this dependency if we want to move to the OWIN host for our web project templates.

Id #1300 | Release: vNext | Updated: Dec 2, 2013 at 9:20 PM by warrenrumak | Created: Sep 17, 2013 at 7:43 PM by danroth27

ApiExplorer not returning expected descriptions. It should probably consider like request time action match based on route/query parameters.

Scenario: User likes to support uri path extension mapping on actions where we get a single item (ex: GetCustomer(id), Get(id)) Attached a katana selfhost repro. Issue: ApiExplorer doesn't r...

Id #1293 | Release: vNext | Updated: Nov 8, 2013 at 10:14 PM by kichalla | Created: Sep 11, 2013 at 7:23 PM by kichalla

Attribute Routing fails for controllers with the same name

Create two controllers under different namespace [Route("api/values1")] public class ValuesController : ApiController { public HttpResponseMessage Get() { return new HttpResponseMessage() {...

Id #1249 | Release: vNext | Updated: Nov 6, 2013 at 7:04 PM by nowakra | Created: Aug 26, 2013 at 6:35 PM by yishaigalatzer

Async support for RenderAction/Action and RenderPartial/Partial

Currently the trend is moving towards async every-where. So I think it will be great if there is a support for ActionAsync/RenderActionAsync and PartialAsync/RenderPartialAsync methods

Id #1241 | Release: vNext | Updated: Nov 27, 2014 at 9:37 PM by Alcero | Created: Aug 22, 2013 at 10:08 AM by imranbaloch

Add MVC HostAuthenticationFilter

We did this level of OWIN integration for Web API but not for MVC yet.

Id #1240 | Release: vNext | Updated: Aug 28, 2014 at 1:59 PM by appetere | Created: Aug 22, 2013 at 4:30 AM by danroth27

Respect model metadata and model validation in html helper controls

Hi, It would be nice if HtmlHelper control respect ModelMetadata and ModelValidation. I think about adding: maxlength attribute in TextBox or TextArea if property has StringLengthAttribute title ...

Id #1237 | Release: vNext | Updated: Apr 8 at 6:14 AM by ToastHawaii | Created: Aug 21, 2013 at 10:49 AM by rosieks

HtmlHelper.AttributeEncode doesn't support IHtmlString

There's an overload for HtmlHelper.AttributeEncode(object) that converts the input to a string, and then calls HtmlAttributeEncode -- this prevents correct processing of a pre-encoded object that i...

Id #1202 | Release: vNext | Updated: Dec 5, 2013 at 10:33 PM by yishaigalatzer | Created: Aug 7, 2013 at 10:55 PM by nowakra

Tilde slash feature not work properly if has any space near equal sign

Don't sure that this problem had been reported before but I can't not find it in issue list. I've found that ASP.NET MVC 4 / Razor 2's new tilde slash (~/) feature stop working if has space ar...

Id #1196 | Release: vNext | Updated: Oct 23, 2013 at 10:04 PM by yishaigalatzer | Created: Aug 6, 2013 at 2:59 PM by suthep

MQ: Automate cleanup of old builds

Add a scheduled task to remove builds older than three months.

Id #1162 | Release: vNext | Updated: Sep 18, 2013 at 10:01 PM by yishaigalatzer | Created: Jul 24, 2013 at 6:23 PM by davidmatson

Add JSONP support in WebAPI

We added CORS support in WebAPI but most browsers don't have support for CORS so supporting JSONP will still be valuable. I am opening this bug in codeplex here so we can track this work.

Id #1157 | Release: vNext | Updated: Jul 30, 2014 at 6:10 AM by Belegs | Created: Jul 23, 2013 at 6:00 AM by kamehrot

Move HttpError to the System.Net.Http.Formatting.dll

So that clients that want to deserialize HttpError do not have to take a dependency on the server dll i.e System.Web.Http.dll

Id #1156 | Release: vNext | Updated: Oct 23, 2013 at 9:49 PM by yishaigalatzer | Created: Jul 22, 2013 at 11:46 PM by raghuramn