Created Issue: webapi selfhost double decodes url paths. [607]
this causes issues when model binding data that contains '+' as it double decoding a '+' would result in a ' ' (space)
View ArticleCreated Issue: Caching story for Web API [608]
There’s a couple of things to think about when considering caching – it is not enough to just look at the cache control header and turn off caching. We absolutely want to enable caching in a rich way...
View ArticleEdited Issue: Error creating multiple entity sets for an entity type in...
In the below example, I am trying to create a 2 entity sets for the Product entity type. One is called Products and other is called DiscardedProducts.Model-----static IEdmModel GetImplicitEdmModel(){...
View ArticleCommented Issue: Error creating multiple entity sets for an entity type in...
In the below example, I am trying to create a 2 entity sets for the Product entity type. One is called Products and other is called DiscardedProducts.Model-----static IEdmModel GetImplicitEdmModel(){...
View ArticleCreated Issue: Global Json serializer settings aren't used when posting to...
And the culprit is TryReadQueryAs method of UriExtensions that just instantiates new JsonSerializer. One of the consequences of this, is that I can't bind derived classes to base classes, using...
View ArticleCreated Issue: adding html5 data- attributes to WebGrid [610]
HtmlAttribute's using other controls automatically replace the "_" in the anonymous type to "-". The WebGrid doesn't and there is no direct access to the RouteValueDictionary on the renderer....
View ArticleCommented Issue: Multiple entity sets with same type is not supported for...
Repro code attached.Send request: GET http://localhost:50232/vehicles to repro the issue.The exception is:System.NotSupportedException occurred HResult=-2146233067 Message=Cannot autoCreate binding...
View ArticleEdited Issue: Multiple entity sets with same type is not supported for...
Repro code attached.Send request: GET http://localhost:50232/vehicles to repro the issue.The exception is:System.NotSupportedException occurred HResult=-2146233067 Message=Cannot autoCreate binding...
View ArticleClosed Issue: '/', '\' and ' ' is not handled correctly in string primary key...
'/', '\' can't route to the correct action' ' will be null value when binding to the id parameter.Repro code: public static void RegisterODataRoutes(this HttpConfiguration configuration){// Metadata...
View ArticleEdited Issue: webapi selfhost double decodes url paths. [607]
this causes issues when model binding data that contains '+' as it double decoding a '+' would result in a ' ' (space)
View ArticleCommented Issue: Html.Raw used as attribute value in Razor is still being...
Steps:* Load an MVC 4 project.* Go into a view (e.g., ~/Views/Shared/_Layout.cshtml).* Add an attribute to an HTML element and make its value something that is already attribute-encoded and wrapped in...
View ArticleCommented Issue: Caching story for Web API [608]
There’s a couple of things to think about when considering caching – it is not enough to just look at the cache control header and turn off caching. We absolutely want to enable caching in a rich way...
View ArticleCreated Issue: Value validator should swallow exceptions from getters when...
Otherwise the exception bubbles up and request fails
View ArticleEdited Issue: NRE when defining navigation property in derived type by...
Repro code is attached.Send request: GET http://localhost:50232/vehicles to repro the issueThe exception is: System.NullReferenceException occurred HResult=-2147467261 Message=Object reference not set...
View ArticleCommented Issue: NRE when defining navigation property in derived type by...
Repro code is attached.Send request: GET http://localhost:50232/vehicles to repro the issueThe exception is: System.NullReferenceException occurred HResult=-2147467261 Message=Object reference not set...
View ArticleCreated Issue: Don't disable warnings at the project level [612]
A number of projects disable CS1591 at the project level, which means the compiler won't help reminding to add XML doc comments for new code.
View ArticleEdited Issue: Don't disable warnings at the project level (CS1591) [612]
A number of projects disable CS1591 at the project level, which means the compiler won't help reminding to add XML doc comments for new code.
View ArticleCreated Issue: Don't disable warnings at the project level (CS0618) [613]
We want the compiler to help us remember not to call obsolete methods. If there are specific cases where we need to do so, we should add suppressions at the source level (#pragma), not at the project...
View ArticleCreated Issue: Enable FxCop for System.Net.Http.Formatting.NetCore [614]
It currently doesn't pass CodeAnalysis (and CodeAnalysis is disabled project-wide).
View ArticleCreated Issue: Dynamic suffixes for Display Modes and Views location caching...
By implementing IDisplayMode you can transform a virtual path pretty much in any way you want. The problem is in Views location caching, which uses the DisplayModeId to cache a location...
View Article