My first Visual Studio 2022 extension

2022-03-18

_config.yml

I start using Visual Studio 2022 for my development more frequently this year, especially working on ASP.NET Core project. One of my main pain points to use the newer version of any software is to find the alternative / replacement of something that I’m familiar with. This is extremely important to me as it will impact my productivity a lot.

To ensure moving to Visual Studio 2022 successfully, I need to have all my favorite extensions working. Unfortunately, this isn’t the case for me this time as one of my favorite extension for Optimizely (formerly Episerver) development hasn’t provided update to support for Visual Studio 2022.

I decide to take this opportunity and use my spare time to create my first extension - Optimizely Content and Commerce Cloud Templates.

NOTE: This extension apparently can only be installed on Visual Studio 2022, and the templates are designed for CMS 12 / Commerce 14.

Features

  • Create content types (page, block and media)
  • Create page type controller
  • Create block and async block component
  • Create InitializationModule
  • Create SchedulerJob
  • Code snippet for quickly creating property - optiprop

Demo

Create new template

Create new property

How can I help?

If you enjoy using the extension, please give it a ★★★★★ rating on the Visual Studio Marketplace.

References

Start developing extensions in Visual Studio

https://devblogs.microsoft.com/visualstudio/writing-extensions-just-got-easier/

Happy Coding! 😇