Posts

Showing posts from December, 2024

Set up Sitecore XM Cloud using .NET Core on your local machine

Image
Are you a .NET enthusiast?  If so, here’s how to set up Sitecore XM Cloud using .NET Core on your local machine.  Follow these steps: Step 1:  Download the `xmcloud-starter-dotnet` from the link below. https://github.com/Sitecore/xmcloud-starter-dotnet.git Step 2:  Open the `aspnet-core-starter` solution and update the `appsettings.json` file with the following fields: "EdgeContextId" - Your Sitecore edge preview or live context ID. ("Use the preview ID for recommendations aimed at developers.") "DefaultSiteName" - The name of your site. "EditingSecret" - Your JSS editing secret ID. if you don't know how to get that information  Log into the  Sitecore Deploy Portal Click on the Developer Settings tab and make note of the  JSS_EDITING_SECRET  and  SITECORE_EDGE_CONTEXT_ID  values shown. Just hit F5, and you’re all set! **Note:** The Experience Editor does not function on the XMC page, so we need to follow the steps outlined below. Step 3:...