development · framework

Sitecore 9 and my simple development framework version 2.4

Sitecore Experience Platform 9.2 Initial Release (aka Sitecore XP 9.2.0) was out at the end of July 2018. Besides, there are some new lessons-learned / experience from real Sitecore projects so I really wanted to play around with my simple development framework. As a result, my simple Sitecore development framework version 2.4 is out:

  • Upgrading to Glass.Mapper.Sc.92 (thanks my fellow Sitecore MVP Micheal Edwards)
  • Upgrading to Unicorn 4.1.1 (thanks my fellow Sitecore MVPs Mark Cassidy) so it’s able to work properly with Sitecore 9.2
  • Upgrading Sitecore References via Nuget from Sitecore XP 9.1.0 to Sitecore XP 9.2.0 ones
    • sf_240_4
  • Solving the known-issue Could not load file or assembly ‘System.Buffers’ or one of its dependencies by following:
    • Add an explicit reference in your solution to System.Buffers 4.5.0 and ensure it is deployed. If you are following a Helix Solution Architecture, you will likely need to add this reference in your Project layer, and ensure your solution dependencies / build order are set up such that your Project layer publishes last
    • This slideshow requires JavaScript.

  • Adding Quick-Deploy build target for non-debug mode / non-local environments to build.cake
    • sf_240_10
    • sf_240_8
    • Note: there is a build task “Post-Deploy” in order to remove all unnecessary folders / files out of the destination folder
    • sf_240_9.png
  • After switching to another source branch, we should remove all the deployment files out of local Sitecore instance before building and deploying the Sitecore solution. It’s helpful to avoid side effects from the previous source branches if any on the local development environment
    • sf_240_13
  • Installing RazorGenerator.MsBuild Nuget package to Asp.Net MVC projects (normally, they’re in Feature and Project layer) so that we will find out the invalid Razor syntax soon. It’s helpful to avoid deploying the Razor files which would be broken at runtime
  • Integrating Custom Validators By Template module
    • sf_240_14
    • sf_240_15
  • Refining the project templates as well
    • This slideshow requires JavaScript.

Additional one

Happy Sitecore Coding!

Advertisement

One thought on “Sitecore 9 and my simple development framework version 2.4

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.