Orchard Core 2.0, Orchard Harvest 2024 - This week in Orchard (20/09/2024)

We are thrilled to announce that Orchard Core 2.0 is now available! Check out this post to know everything about the latest release of Orchard Core. In the upcoming weeks, we will check out the newest features and additions of Orchard Core 2.0. A huge thank you to everyone who attended Orchard Harvest 2024!

Orchard Core updates

Add AddTenantReloadWarningWrapper and AddNavigationProvider extensions

In Orchard Core, we have several places where we added the Settings_Wrapper__Reload wrapper (wrapper: an array of shape types to use as wrappers for the current shape) to the shape. From now on, you can utilize the AddTenantReloadWarningWrapper helpful extension to do that.

AddTenantReloadWarningWrapper extension

Additionally, another new extension has been introduced to simplify the registration of navigation providers. Instead of using services.AddScoped<INavigationProvider, AdminMenu>(), you can now register it with the more streamlined services.AddNavigationProvider<AdminMenu>();. And here you can see how you can utilize the new AddNavigationProvider in the ConfigureServices override of the Startup files.

AddNavigationProvider extension

Add User Confirmed workflow event for the user email confirmation

SaaS and newsletter websites send user registration emails to the registered email address to confirm user ownership of the entered email address. Orchard Core does this out of the box.

After a user confirms ownership of an email address, it is common to send a "Welcome to the site!" email welcoming the new user. While it may be possible to construct a timer workflow to determine when a user has confirmed their email address, a more straightforward approach is to trigger an event when a user confirms their email, which can then be used to send the email.

A new User Confirmed Event workflow event is now available. This event is triggered when a user successfully confirms their email address using the link sent during user registration. Let's see this in action!

First of all, we have to make sure that the Workflows feature is enabled under Configuration -> Features. After that, we can create a new workflow, we call it Send Welcome Email. The Send Welcome Email workflow contains two activities: User Confirmed (this is the startup event) and Send Email.

Send Welcome Email workflow

Let's edit the Send Email task! Here, the recipient will be the user who has just confirmed their email address. In the Subject and Body textboxes, we use the user's name of the user to personalize the email.

Editing the email task

News from the community

Orchard Core 2.0

The community recently released the second major version of Orchard Core with several new features and additions! This release is packed with performance improvements, bug fixes, and a variety of enhancements that make it our best version yet. Whether you're building a new project or maintaining an existing one, Orchard Core 2.0 brings stability and power to your fingertips. Why Upgrade to Orchard Core 2.0?

  • Enhanced Performance: Your sites and applications will run faster, smoother, and more efficiently.
  • Rock-Solid Stability: We've squashed numerous bugs, ensuring a more reliable and enjoyable development experience.
  • Seamless Development: By sticking to version control best practices, we've ensured no breaking changes in any patch or minor release, allowing developers to confidently create modules and libraries that will work across the entire 2.x series.

Prior to initiating this upgrade, thoroughly review the documented list of breaking changes provided below to facilitate a smooth and hassle-free transition. Orchard Core 2.0.0 drops Newtonsoft.Json support, and instead, we have transitioned to utilize System.Text.Json, and we have made several upgrades in the SMS module, Notifications module, Twitter module, Users module, etc. To see the whole list of changes and breaking changes, head to the Breaking Changes section of the release note of the current version.

Orchard Core 2.0 breaking changes

As we mentioned, Orchard Core is available as a NuGet package which you can easily add to your ASP.NET Core solution. Here's how you can get started with Orchard Core.

Orchard Harvest 2024

A huge thank you to everyone who attended Orchard Harvest 2024! It was a pleasure meeting so many talented individuals in person. Huge thank you to the speakers for the interesting talks:

  • Benedek Farkas: From Zero to Azure: Setting Up Your Orchard Application for Success
  • Burke Holland: Attended the panel discussion
  • Bruno Samardzic: Using Orchard as a Central Portal for the Biggest Small Business Association in SE Europe
  • Drew Brasher: Content Warning Module Demo
  • Michal Kužela: Speeding Up: Custom Development
  • Mike Alhayek: Authentication and Identity Management
  • Sebastien Ros: Demystifying Shapes; Understanding the Performance Characteristics of Orchard Core
  • Sipke Schoorstra: Unlocking Hyperproductivity with Orchard, Elsa, and Intelligent Agents
  • Toby Dodds: Smithsonian Folkways Collection Management and Orchard Core Demonstration
  • Zoltán Lehóczky: Keynote; Building the Orchard Core Community; Security Scanning an Orchard Core Application.

If you haven't seen it yet, we published two posts about summarizing the two days of the conference:

Here's a collage of some photos from the conference; you can find more in the #orchard-harvest channel of the Orchard Discord server.

Orchard Harvest 2024 collage

At the end of last year, our good friend, Jean-Thierry Kéchichian, a truly extraordinary member of our community, unexpectedly passed away. To honor him, keep his memory alive, and foremost, inspire people to do good work for the community, we launched an award named after him for exceptional community members. We announced the winner at Harvest, and congratulations to Hisham Bin Ateya for winning this year's Jean-Thierry Kéchichian Community Award! Here, you can see what the Award is about.

Seven members from Lombiq attended the conference. Before heading to the conference, we visited the Las Vegas area. We landed in San Diego to visit the USS Midway and the Maritime Museum (and of course, the city of San Diego), and after two days, we drove to Los Angeles. There, we visited the USS Iowa and Santa Monica, and then we headed to Las Vegas to visit the Strip, the casinos, the Sphere, the STRAT, and, of course, the Grand Canyon.

Lombiq collage

As we mentioned, we recorded all sessions, which will be published on the Orchard YouTube channel. We will start processing the recordings soon!

Orchard Dojo Newsletter

Lombiq's Orchard Dojo Newsletter has 465 subscribers! We have started this newsletter to inform the community around Orchard of the latest news about the platform. By subscribing to this newsletter, you will get an e-mail whenever a new post is published to Orchard Dojo, including This week in Orchard of course.

Do you know of other Orchard enthusiasts who would like to read our weekly articles? Tell them to subscribe here!

If you are interested in more news about Orchard and the details of the topics above, don't forget to check out the recording of this Orchard meeting!