Extending Functionality

See all
Edit on GitHub

Virto Commerce Platform is an ASP.NET MVC and AngularJS Single Page Application with VirtoCommerce's modularity feature.

A module is a subdirectory of ~/Modules directory which contains a module.manifest file. Additionally, a module can contain any other content such as JavaScript, CSS, image files, .NET assemblies, etc. Some content is specialized and specifics should be outlined in the module manifest. If a module contains .NET assemblies it is called a managed module.

Modules can extend Virto Commerce Platform either with JavaScript or with managed code.

JavaSript allows the user to:

Managed code allows the user to:

  • add new Web API controllers
  • add new services
  • override existing services
  • modify database

The UI can be extended with Javascript and the backend can be extended with managed code.

In addition, new security permissions as well as new application settings are added with the module manifest, but they are still used either in JavaScript or in managed code.

In this tutorial you will learn how to create custom modules with and without managed code. Each module will be loaded to the main application and will have its entry in the main menu.


Recent changes