VC Platform v3 module samples and best practices

VC Platform v3 module samples and best practices

This article gathers all the samples and best practices of developing in VC Platform version 3.

  1. A “single responsibility” sample module, defining everything from its model till API and DBContext: https://github.com/VirtoCommerce/vc-samples/tree/release/3.0.0/CustomerReviews

  2. Customer Order extension module, adding new properties and child collections: https://github.com/VirtoCommerce/vc-module-order/tree/release/3.0.0/samples/VirtoCommerce.OrdersModule2.Web

  3. Member extension module, adding new properties and new member type (Supplier): https://github.com/VirtoCommerce/vc-module-customer/tree/release/3.0.0/samples/VirtoCommerce.CustomerSampleModule.Web

  4. Sample module implementing Twitter notifications: https://github.com/VirtoCommerce/vc-module-notification/tree/release/3.0.0/samples/VirtoCommerce.NotificationsSampleModule.Web

  5. Create new module from a template in Visual Studio: https://github.com/VirtoCommerce/vc-visualstudio-templates/tree/release/3.0.0

  6. Create new module from a template in Windows PowerShell: https://github.com/VirtoCommerce/vc-powershell-template/tree/release/3.0.0

  7. Create new module from scratch: https://github.com/VirtoCommerce/vc-platform/blob/release/3.0.0/docs/create-new-module.md

  8. Migrate an existing v2 module to v3: https://github.com/VirtoCommerce/vc-platform/blob/release/3.0.0/docs/Migrate-module-from-the-Platform-2.0-to-3.0-version.md

3 Likes