crli
Jan 18, 2010
  9119
(2 votes)

Enabling gadget development quickly

Preparing your project for gadget development is as simple as tweaking a few xml files. In fact, it’s so easy even a machine can do it if you download and execute the following file through Deployment Center:

What does it this do?

1. It alters PublicTemplates.csproj:
* Adds references to System.Web.Mvc.dll and EPiServer.Shell.dll (these contain classes you need doing gadgets)
* Adds the ASP.NET MVC project type guid (this enables the Visual Studio tooling)
* Alters the project to include gadget example

2. It copies a simple gadget example to the project folder.

3. It modifies web.config registering EPiServer.Templates.Public as a public module.

What doesn’t it do?

It doesn’t install ASP.NET MVC (this needs to be installed separately)

What if something goes wrong?

Squeak here below and I’ll try to help.

Where can I get it?

Here (download)

Jan 18, 2010

Comments

Sep 21, 2010 10:33 AM

Awesome.
/ Joel Abrahamsson

Arild Henrichsen
Arild Henrichsen Oct 15, 2010 01:07 PM

This is great, Cristian. I can't believe this has not been hyped more :)

Please login to comment.
Latest blogs
Creating an admin tool - unused assets

Let's make an admin tool to clean unused assets and see how to extend your favorite CMS with custom tools and menues! We will build a tool step by...

Daniel Ovaska | Apr 15, 2026

Running Optimizely CMS on .NET 11 Preview

Learn how to run Optimizely CMS on the .NET 11 preview with a single-line change. Explore performance gains, PGO improvements, and future-proofing...

Stuart | Apr 15, 2026 |

Your Optimizely Opal Is Probably Burning Carbon It Doesn't Need To

Four patterns Optimizely practitioners could be getting wrong with Opal agents: inference levels, oversized tool responses, missing output...

Andy Blyth | Apr 15, 2026 |

Optimizely CMS 13: A Strategic Reset for Content, AI, and Composable Marketing

Optimizely CMS 13 is not just another version upgrade—it represents a deliberate shift toward a connected, AI-enabled, and API-driven content...

Augusto Davalos | Apr 14, 2026

The 74% Problem: Why Most Companies Are Getting AI Wrong

I’ve seen this before… The pattern. The rush, the excitement, the scramble to adopt something new before anyone has stopped to ask what problem it...

Mark Welland | Apr 14, 2026

Scheduled jobs with parameters

Scheduled jobs is an integral part of most Optimizely solution but the UI has, in my opinon, always been lacking in usability and features. Earlier...

Per Nergård (MVP) | Apr 14, 2026