Hot answers tagged

9

I did some benchmarks using those two possibilities. Scenario Fetch 2040 items organized in the following way: Root Item - Bulk Items 1 - Bulk Items 1.1 (100 items) (100 items) - Bulk Items 2.1 - Bulk Items 2.1 (100 items) [...] (100 items) - Bulk Items 10 - Bulk Items ...


4

Much faster way is to get descendants from index. Query would be get all items that Path starts (contains) the same as current item + ID of item is different to current one. Something like this: var query = context.GetQueryable() .Where(item => item["_path"].Contains(contentRootId)) .Where(item => !item.ID.Equals(contentRootId)); Solr can ...


3

It needs to create custom routing for calling a controller action method for multisite. Steps are as below: Step 1) Add App_start folder in the Foundation Layer Project. Add a class file in this folder e.g. RegisterWebApiRoutes.cs, use the below code in this class file. public void Process(PipelineArgs args) { RouteTable.Routes.MapRoute(...


2

MaxDepth == 2 is a default value of OData validator. You can override default values by registering your custom validator settings. 1) Add reference to Microsoft.AspNet.OData (check corresponding version in your bin folder). 2) Add your custom ServicesConfigurator with needed validation parameters: public class ODataServicesConfigurator : ...


1

This sounds like the Marketing Automation Engine webjob is not running properly. This is an executable that, in Azure Paas, runs as a webjob in the MAops app service (for XP Scaled topologies) and responsible for enrolling contacts in plans and activities. You can confirm it's running status in the webjobs blade in Azure portal. You can also restart it ...


Only top voted, non community-wiki answers of a minimum length are eligible