Orchard Development
This blog is all about Orchard development and is my attempt to map, categorize and demonstrate all (if not, most) of Orchard's most useful features, concepts and APIs from a developer's perspective. Orchard is extremely rich in terms of features and concepts, so I will just take it step by step and treat this blog section as a slowly but steadily growing library of knowledge.
Content Part Editors - Beyond the Basics
Content Part Editors
With Orchard, it's relatively easy to create your own content parts and editors. Typically you'll follow these steps:
Create a record class
Create a content part …
LazyField<T>
What is it
LazyField<T> is a utility class that lives in the Orchard.ContentManagement.Utilities namespace and enables you to return a value in a lazy manner.It's public members are:
class …
Autofac.Module
Although Autofac is not really part of Orchard's public API, it does come in handy when you need to customize how some of your classes are created and managed by Autofac.
In general, when you …
IEventHandler
Source: Orchard.Events.IEventHandler
Download the sample code
The EventBus Pattern and IEventhandler
When developing modular application services, there are times that you want to raise an …
IClock
Source: Orchard.Services.IClock
Up until recently I used to write my own IDateTimeService interface and DateTimeService implementation, the idea being that instead of creating a hard dependency on …
Charting the Orchard API
When first starting out developing applications with Orchard, I remember well the need for more extensive documentation and samples on the API and concepts that exist in Orchard.I remember how …