Move the user approval process outside the edit form, Azure Marketplace integration of DotNest - This week in Orchard (11/04/2025)
This week's topics include the updates of the latest version of Fluid, moving the user approval process outside the edit form, and the Azure Marketplace integration of DotNest! Check out our post for the latest news!
Orchard Core updates
Fluid 2.21.0
Fluid 2.21.0 has been released, and now you can utilize all of its goodies if you are using the nightly build of Orchard Core! Let's check out some of the new changes!
First of all, the {% liquid %} is not parsed by default anymore, but you can still use it by setting the FluidParserOptions.AllowLiquidTag to true. Here, you can see a code using the liquid tag, where you can write inline code. It's uncommon and specific, but part of the Liquid language. However, it made Fluid much slower to parse the code.
{% liquid
for i in (1..10)
echo i
endfor
%}
But you can implement the same logic by not having the liquid tag.
{% for i in (1..10) %}
{{ i }}
{% endfor %}
The performance issue is the reason to disable parsing the {% liquid %} tag by default. But as we mentioned, you can use the FluidParserOptions to allow the liquid tag.
The second thing is that the MemberNameStrategy implementation has changed to use the ones from System.Text.Json, providing better performance and logic. Let's say we have a class called Person, which has a string FirstName, you can do {{ person.FirstName }}. That's the standard casing. But we can say that I want snake case, like {{ person.first_name }}. There is some code in Fluid that does the conversion to snake case, but they do the conversion a little bit faster in System.Text.Json.
Move the user approval process outside the edit form
Before this change, administrators could confirm a user's email by editing their details and checking the Confirm Email box. This process has now been updated.
To confirm a user's email, follow these steps:
- Navigate to Access Control -> Users.
- Locate the user you wish to confirm.
- Click on the Actions menu next to the user.
- Select the Confirm email option.
The Confirm email option will only be visible if the user has not been confirmed. Here you can see that we have a user called authoruser, who has not yet been confirmed.
This change streamlines the email confirmation process by moving it out of the user edit form, offering a more straightforward approach to user management.
News from the community
Azure Marketplace integration of DotNest
This is about an Azure Marketplace integration of DotNest. DotNest is an Orchard Core SaaS, so you sign up there, and you can get an Orchard Core website. Since it's a SaaS, it's a multi-tenant application, so your site will be a tenant with every benefit and drawback that brings.
You can now create DotNest sites from the Azure Portal! To do so, go to the Azure Portal, navigate to the Marketplace, and find the offer called Hosted Orchard Core CMS in Azure - DotNest.
If you hit Subscribe, it will create a DotNest site, like you can do from DotNest.com, but it will show up as a resource here, along with your other resources. Behind the scenes, this will create an Azure resource, which will show up under that resource group. Once that's done, we can actually create the Orchard Core site on DotNest.com.
Once that's done, you reach the site creation page on DotNest. This is where you actually create your tenant. After that, you can set up your site using the Orchard Core setup. At this point, if we go back to the resource group, we now have a resource for that. If you open that, this is now a reach link to our DotNest site. You can click on the Open SaaS Account on publisher's site link to get to the site editor on DotNest for the given tenant. And if you unsubscribe, then the Azure Portal will remove this resource and delete the tenant from DotNest as well.
If you want to see the offer creation in action, check out this Orchard Podcast on YouTube!
Orchard Dojo Newsletter
Lombiq's Orchard Dojo Newsletter has 456 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 in 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!