We’re thrilled to announce the public alpha release of our new, open-source SDK for ASP.NET Core. The SDK lets developers integrate XM Cloud and XM/XP into ASP.NET Core applications. This initial release introduces essential functionality and all the documentation to help you get started, with more features planned for upcoming releases.
What’s included:
Features that enable you to integrate your ASP.NET Core applications with an XM Cloud or XM/XP back end, such as model binding, view components, partial views, Razor views, service registration, middleware, Sitecore tag helpers, and hot reloading.
Support for the Context ID when integrating with XM Cloud.
Support for SXA features, such as multiple sites, redirects, and sitemaps.
Compatibility with .NET Core 8.0.
Open source, so you can access and contribute to the source code.
Support for all features in version 22 of the legacy ASP.NET Core Rendering SDK.
In future, the SDK will support the following:
XM Cloud Forms
XM Cloud personalization
XM Cloud Pages metadata editing
XM Cloud FEaaS components
Contribute to the SDK
In the SDK’s GitHub repository, you can access and contribute to the source code. We encourage you to collaborate with other developers, and to use the Issues tab to track ongoing development activities. Your contributions are important to us, as they will help shape the future of this SDK.
Start building
You can start building with the SDK in one of two ways:
Create a new ASP.NET Core app based on the open-source XM Cloud ASP.NET Core Starter Kit. The starter kit leverages the SDK to speed up integration with XM Cloud.
If your existing app uses the legacy ASP.NET Core Rendering SDK, upgrade to the new SDK. The new SDK is a refactored and improved version of the legacy one, and it remains fully compatible with XM/XP.
During development, you can follow the official SDK documentation and the SDK reference for guidance, tips, and a deeper understanding of the SDK architecture. We’re excited to see what you build with Sitecore next!