how to wield kentico 9 in the real world
TRANSCRIPT
How to Wield Kentico 9 in the Real World
Brian McKeiverCo-owner & Kentico MVP BizStream
GoalsK9 Updates
Things to Watch Out For
Get the Most out of your Instance
MVC in K9
Separation of ConcernsMVC 5.2 and higherAdmin UI ImprovementsRouting improvements
Modules in K9
• Sealed packages (or not)
• Better deployment options
• Making the platform more modular
NuGet Support
Create a local Package Source to easily test locally
What about Module Data?Module installation packages may provide before.sql and/or after.sql SQL scripts
~/App_Data/CMSModules/<module code name>/ Under the Install or Update subfolders.
Upgrade Path from K8 Time to get to ASP.Net Framework 4.5
Default Form Definitions and Fields of System Classes overwritten
Many updates to Web Parts, Widgets, Form Controls
E-commerce Orders need tax recalculated – see docs
EMS Specific Notes E-mail marketing has some large updates
If you have large amounts of activity data (million+) update your SQL Connection timeout in web.config
Campaign tracking parameter obsoleted and replaced with utm_campaign
Other Todos Web Farms are disabled because of the new update
Stage all of your Content Staging tasks
Object version history not so cross version compatible
Also recycle bin objects
Re-sign all of your Macros!!!
Module Upgrades
Zoho CRM Module for Kentico 8
http://www.mcbeev.com/Blog/October-2014/Zoho-CRM-Module-for-Kentico-8
What WorkedUI Elements, Permissions, Classes
What Worked Not So Well
What to Do Next1.Click Show All files2. Include in Project3. Move to the correct location4. Rename to .cs and .xml
And then it works!
API ExamplesNo longer in the base install.Tossed out to Documentation
CI What about Virtual Files?What about Import / Export?What about Content Staging?
The Polish of K9 Pin at a Deeper level Smart Tips Data Generator
Performance in K9Improved initial Startup time
Improved how many Documents the Content Tree can manage
Improved the performance of core database level views
Macros & High Volume Scoring/Groups
“By default in Kentico, custom macro rules that are used in scoring and contact group conditions evaluate individually for
each contact”
– slow for high volume of contacts
The Issue
Macro Rule Translator to the RescueHow to Resolve - Docs Link
1. Create a new macro rule in admin2. Create custom macro rule translator class3. Macro rule translator logic needs to return
ObjectQuery<ContactInfo>4. Register an instance of MacroRuleMetadata - tells the system to run
recalculate on specific Activity or Attribute only
Macro Rule
Ouch1361
Demo time
Result
Proof6
Conclusion
Go Kometas!
Pro Tip
Chrome Extension to watch ViewState size
https://chrome.google.com/webstore/detail/gapjlpgdhmiblidalppgbbfgkmaoehhm
Brian McKeiverCo-Owner & Kentico MVP, BizStreamPhone: (616) 481-1631 Web: www.bizstream.com Email: [email protected]
@mcbeev
www.linkedin.com/in/brianmckeiver
www.mcbeev.com