Quantcast
Channel: ASP.NET MVC / Web API / Web Pages
Browsing all 7925 articles
Browse latest View live

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 Article


Edited 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 Article


Commented 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 Article

New 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 Article

New 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 Article


New 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 Article

New 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 Article

New 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 Article


New 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 Article


Commented 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 Article

Source code checked in, #05647be9ff55

[OData] Convert MessageDetail in HttpError to ODataInnerError message

View Article

Edited 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 Article

Commented 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 Article


Source 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 Article

Commented 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 Article


Edited 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 Article

Source code checked in, #3dad0922b324

[OData] Allow keys to be deserialized into Delta<T>

View Article


Edited 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 Article

Commented 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 Article

New 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
Browsing all 7925 articles
Browse latest View live