Gopinath Perumal
Gopinath Perumal

Reputation: 2328

How to create a project package for Umbraco?

I need to create a project for umbraco. I Don't know where to start and where to see about this. I googled and found nothing helpful instead I got confused what is umbraco project. To create a umbraco project whether I need to create web applications or class library in visual studio.

I know these are basic but I'm confused in that only. would somebody help me to create the project for umbraco CMS.

Upvotes: 7

Views: 6362

Answers (1)

Douglas Ludlow
Douglas Ludlow

Reputation: 10940

If I understand you correctly, you are looking for resources on how to create an Umbraco Package.

Once you have come up with a way to extend the functionality of Umbraco (ie: a new data type, a new section, some event handlers that are fired on publish, etc), you'll want to find a way to package that up and redistribute it, possibly even on Our Umbraco. There are a couple ways to go about doing this:

  1. The Umbraco backoffice comes with a way to package up document types, data types, templates, assemblies, etc.:

    1. In the Developer section, expand Packages.
    2. Right-click Created packages, and choose Create.
    3. Fill in package details, select content and files, write package actions, etc.
  2. Create packages within Visual Studio using MSBuild. This is a more advanced (and therefore complicated) approach. I've found it helpful to look at the source code of some of the popular packages out there, such as uComponents, to get a good understanding on how this is done.

The package file is simply a zip file that contains xml with instructions for Umbraco on what to do when it is installed.

Upvotes: 11

Related Questions