Posts

Showing posts from January, 2023

Access content from Sitecore XMCloud with Asp.net Rendering Host

          If we need to use the Asp.net RenderingHost instead of Next.js or React.js and to access the content from XMCloud.   There are 2 ways to access the content from XM cloud.  Using Edge GraphQL(published content) Without Edge (from master database layoutservice) Steps for creating asp.net solution for xmcloud Create an asp.net renderinghost project manually and update all necessary configuration or use the following command to get the getting started template for creating the project dotnet new -i Sitecore.DevEx.Templates --nuget-source https://sitecore.myget.org/F/sc-packages/api/v3/index.json Then Run following command to create the project   dotnet new sitecore.aspnet.gettingstarted -n MyXmCloud Note: The above command will create project with following structure, from here use the RenderingHost project to access the XM cloud content and design the pages accordingly.   Steps for accessing the content from XM cloud using without Edg