I'm trying to implement a test Processing Engine service to get started with Sitecore Cortex and ML.NET -> https://www.brimit.com/blog/dive-sitecore-cortex-machine-learning-introduction.

I've followed the steps from Part I from the link but it doesn't seem to fire off my custom ML Service. (debug - attaching project to Sitecore.ProcessingEngine service)

What I've Done:
1. Added custom project .dll to relevant locations (I believe)
- xconnect\bin
- C:\xconnect\App_Data\jobs\continuous\ProcessingEngine
- C:\xconnect\App_Data\jobs\ continuous\ProcessingEngine\bin
2. Added custom service to C:\xconnect\App_Data\jobs\continuous\ProcessingEngine\App_Data\Config\Sitecore\Processing\sc.Processing.Engine.ML.Services

   <Type>Feature.Cortex.Controllers.MLNetService, Feature.Cortex</Type>
   <As>Feature.Cortex.Controllers.IMLNetService, Feature.Cortex</As>
  1. I tried to attach my project to Sitecore.ProcessingEngine service but it doesn't hit any break points.

Am I missing something in my configuration? Or am I inputting the MLNetService node into the wrong xml config file?


  • 1
    Hi @LinkedListT! To hit breakpoint your should run a task that stats processing. doc.sitecore.com/developers/92/sitecore-experience-platform/en/… or brimit.com/blog/… – x3mxray Jan 16 '20 at 15:42
  • @x3mxray so inorder to access the breakpoint without creating the test API, I need to create the Task Manager (Projection => Merge => Train => Evaluate)? P.S. awesome tutorial! – LinkedListT Jan 16 '20 at 15:49
  • exactly. If you just want to test breakpoint, you can register task only for one Projection worker (it is a place where you inject MLNetService) and run it by processing engine agent (in config) or from your sitecore instance (by code). You can download source code here github.com/x3mxray/Cortex.Demo.RFM if you need – x3mxray Jan 16 '20 at 16:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.