Sep 1, 2011
(3 votes)

EPiServer CMS Visual Studio Integration Extensions

EPiServer CMS 6 R2 ships with a Visual Studio Integration package that you can optionally install from the zip download found here.

Once this is installed, you get not only a new EPiServer Project type but also EPiServer components that can be created using the Add New Item menu:



Unfortunately, due to time constraints, this hasn’t been kept inline with the juicy new features added in CMS 6 R1 and R2.

With that said, I have taken an old VS Integration extension package that Fredrik Tjärnberg released a while back and added some of those juicy bits from CMS 6 R1 and R2.

After you have installed the extension, in addition to the 4 EPiServer items already available, you get 3 new ones: Dynamic Content, Online Center Gadget and Visitor Group Criterion:



All of the new items come with an array of options to chose from when you create one.

For Dynamic Content, you chose what type of component to create to render the content along with the option to create a custom Editor:



For an Online Center Gadget, you can chose to optionally create a model class and a JQuery based Javascript file:



And last but not least, for a Visitor Group Criterion, you get options to create a model class, a custom Editor and a Dojo based Javascript file (for the custom Editor):



Whilst VS Integration may not feel mission critical for seasoned EPiServer developers, it can be very useful for new developers. I also think that some of the new options could be useful for all when creating components with custom editors and javascript files.

The VS Integration Extension installer can be found here. Both Visual Studio 2008 and 2010 are supported including Visual Web Developer and VS Professional / Team Edition.

Whilst this is not an official EPiServer release I intend to fix bugs and add new features so let me know if you have any issues or ideas.

Happy coding!

Sep 01, 2011


Sep 1, 2011 04:40 PM

Nice. This is very helpful as one would naturally expect to receive the benefits of having the "new" stuff added to the already powerful VS integration. Excellent work Paul!

Sep 2, 2011 09:25 AM

Very useful for new developers with EPiServer but also just handy for everyone. Thanks a lot

Marthin Freij
Marthin Freij Sep 2, 2011 09:32 AM

Frederiks snippets would be a nice addition to the VS Integration package. Sep 21, 2011 10:13 AM

I have uploaded a new version with some bug fixes, the main one being the problem of not being able to install it on a machine with just Visual Web Developer 2010

Please login to comment.
Latest blogs
Optimizely SendGrid SMTP host is deprecated

SendGrid is a services for sending email that is included in Optimizely DXP. Previously was the recommended SMTP server to use,...

Tomas Hensrud Gulla | Dec 4, 2022 | Syndicated blog

Hosting Optimizely CMS 12 on Docker Engine

Since Optimizely CMS can now be deployed as a Docker container, here is a demonstration of building, running and scaling an Optimizely CMS 12 site ...

Stefan Holm Olsen | Dec 4, 2022 | Syndicated blog

How to use CacheTagHelper with content areas in Optimizely CMS 12

I might be going out on a limb here - if you have a better solution, feel very free to share it!  Upgrading your Optimizely web application from .N...

Andreas J | Dec 2, 2022

The 1001st Piece in your 1000 Piece Puzzle: .NET Default Interface Functions

I was recently working with a client who wanted a reasonably large subsystem added to Optimizely that would add automated management to their...

Greg J | Nov 28, 2022 | Syndicated blog