Tag: Dependency Injection

SCORE 2.0 Component Assembly 101, Part 2: Form Components

In my first post in this series, we walked through the process of building a simple component. Let’s go a bit further now and build something very useful in Sitecore: a custom form. While a module like Web Forms for Marketers can definitely help you build forms, it can be heavy handed and sometimes doesn’t quite fit the bill. That’s where form components come in. Luckily, BrainJocks SCORE has a few features and patterns that can help you out, and keep your content authors happy at the same time.

continue

Web API, SimpleInjector, and AnalyticsDataController

Sitecore.Services.Client I am currently working on a very unique app. It’s not a traditional Sitecore architecture. Very far from it actually. Data driven, lots of client side renderings over raw data (JSON), dynamically loaded content fragments, and topped with personalization, analytics, and Sitecore playing content as a service role. Very cool I must say. Long […]

continue

To The Controller And Back. Part 3 – DI and Multitenancy

Multitenancy All good commercial grade CMS systems support multitenancy – hosting multiple sites on the same instance. None of them (as far as I know), however, provide complete isolation to individual tenants. Sitecore is not an exception. One simple example. Pipelines and event handlers are global and while you can scope some of your extensions […]

continue