New Post: ETA on $inlinecount in WebApi OData
To reiterate what Raghuram is saying,1) $inlinecount only works by default for the OData formatter.2) If you want to have the $inlinecount work for a different formatter, you can either return an...
View ArticleEdited Issue: We should allow people setting the AllowedFunctionNames to...
[Queryable(AllowedFunctionNames=AllowedFunctionNames.AllFunctionNames)]<br />IQueryable<Customer> Get()<br />{<br />..<br />}<br /><br />This will throw...
View ArticleCommented Issue: We should allow people setting the AllowedFunctionNames to...
[Queryable(AllowedFunctionNames=AllowedFunctionNames.AllFunctionNames)]<br />IQueryable<Customer> Get()<br />{<br />..<br />}<br /><br />This will throw...
View ArticleNew Post: ETA on $inlinecount in WebApi OData
Thank you for your responses,I know allpages does not return all pages but the itemcount after filter but before an top and skip and such. English is not my native language and I stated that clumsily....
View ArticleNew Post: ETA on $inlinecount in WebApi OData
Why bother with your own formatter? Why not just use the OData formatter for you JSON and XML representation?
View ArticleNew Post: ETA on $inlinecount in WebApi OData
danroth27 wrote:Why bother with your own formatter? Why not just use the OData formatter for you JSON and XML representation? Apparently I'm missing something here. All these new webapi and odata...
View ArticleNew Post: ETA on $inlinecount in WebApi OData
You are correct that we have done our best to keep the OData query support separate from the OData format support. This allows you to support OData style queries over any format including the ones...
View ArticleNew Post: ETA on $inlinecount in WebApi OData
I just had the time to try it out and using Request.getinlinecount() as the count parameter for an odataresult gives the result I want. the list of objects and an count of the total after filtering /...
View ArticleNew Post: ASP.Net Web API
Hi I have a problem getting file uploads working in asp.net web api I need to get multiple files uploaded from a web page. I have found how to do this in .net framework 4.5 using either...
View ArticleCommented Issue: EnableOData will convert HttpError to ODataError even it's...
By EnableOData in an existing web api project, all the HttpError in the project will be converted to ODataError when client requests application/json or application/xml.<br /><br />The...
View ArticleSource code checked in, #05647be9ff55
[OData] Convert MessageDetail in HttpError to ODataInnerError message
View ArticleEdited Issue: Convert MessageDetail in HttpError to ODataInnerError [703]
ODataError doesn’t support custom error, but it can have ODataInnerError, which can contain a nested InnerError, message, stack trace and type name.<br /><br />We should be able to use...
View ArticleCommented Issue: Convert MessageDetail in HttpError to ODataInnerError [703]
ODataError doesn’t support custom error, but it can have ODataInnerError, which can contain a nested InnerError, message, stack trace and type name.<br /><br />We should be able to use...
View ArticleSource code checked in, #39661e0d0089
Json light proper link serialization support. 1) Updated modelbuilder and convention modelbuilder to have API's for generating links that follow or not follow conventions. 2) Added ODataMetadataLevel...
View ArticleCommented Issue: Add overload to the model builder to indicate whether the...
Add overload to the model builder to indicate whether the links are following convention, which includes edit link, navigation and self link. <br /><br />This is to prevent the links to...
View ArticleEdited Feature: Add overload to the model builder to indicate whether the...
Add overload to the model builder to indicate whether the links are following convention, which includes edit link, navigation and self link. <br /><br />This is to prevent the links to...
View ArticleSource code checked in, #3dad0922b324
[OData] Allow keys to be deserialized into Delta<T>
View ArticleEdited Issue: Add the key value back to the Delta deserialization [651]
We decided to drop support for PatchKeyMode for now. We should consider re-adding support for this feature.
View ArticleCommented Issue: Add the key value back to the Delta deserialization [651]
We decided to drop support for PatchKeyMode for now. We should consider re-adding support for this feature.Comments: Fixed: http://aspnetwebstack.codeplex.com/SourceControl/changeset/3dad0922b324
View ArticleNew Post: ETA on $inlinecount in WebApi OData
Thank you for the information! There is not need to apologize, that why it's called an development version.
View Article