How to filter entities using queries in C#?

I need to create functionality that would allow users to filter entities using literal queries (i.e. age gt 20 and name eq 'john'). Is there a provided functionality to do this in C#/Asp.Net MVC or do I have to parse this query by myself? I found th...
more »

2017-10-03 19:10 (1) Answers

Using JSON arrays in SenseNet settings

If JSON arrays are used in a SenseNet settings object, they are not accessible via the OData API. For example, consider the following SenseNet settings object, which comes installed at Root/System/Settings/Portal.settings by default: { ClientCa...
more »

2017-09-05 19:09 (2) Answers

Retrieving a subset of rows from an OData endpoint

I've an ASP.NET Web API 2 exposing an OData endpoint. In the front-end I'm using ASP.NET MVC 5. To consume the endpoint I'm using a WCF Services References. The problem I'm facing is that I need to retrieve a subset of rows from the endpoint given ...
more »

2017-02-14 17:02 (1) Answers

OData syntax to MongoDB filters

Using MongoDB as a storage database and serving JSON to the client, no intermediate POCOs since I don't really need them, I just want to grab the JSON from the storage and serve it back to the client. I want to send the filtering conditions from th...
more »

2016-10-23 02:10 (0) Answers

ASP.Net OData fails with SSL Termination in LB

I have an issue using HTTPS to access an ASP.NET OData endpoint. The ASP.NET site is hosted via OWIN. I am using the NuGet package Microsoft.AspNet.WebApi.OData for the OData (v3) part. The SSL termination takes place outside of the server in a separ...
more »

2016-10-17 11:10 (1) Answers

CRM WebApi batch request

With this guide:, I'm trying to create a batch request to delete all quotedetails on a quote. I'm using jquery's ajax to do the request: $.ajax( { method: 'POST', url: 'http://crm/api/da...
more »

2016-09-15 09:09 (1) Answers

.NET OData error with decimals: Type mismatch

I'm currently trying to get rid of OData error which looks like a problem with decimal parsing/deserializing. I have working OData API (using System.Web.Http.OData library) in my ASP.NET MVC application and user can download OData Feed file *.odc po...
more »

2016-06-22 13:06 (0) Answers

Retrieving events from Dynamic CRM 2011

I want to retrieve the events from dynamic CRM 2011 with begin/end date. I want to build WCF using C# to consume the CRM OData to return all events. I'm doing this because I want to get the events in one of the ios applications we are developing ....
more »

2016-05-29 18:05 (1) Answers