1 Mar 2021
In reviewing the recent feature release of Sitecore XP 10.1, had some quick thoughts around two particularly interesting features
So yes, Sitecore now has a Sitecore CLI which allows you to install packages or plugins directly from the command line.
"The CLI comes with a built-in plugin command to add, update, list, and remove plugins from your project."
And it looks like:
sitecore plugin add -n <name of plugin> -v <version of plugin>
sitecore plugin remove -n <name of plugin>
sitecore plugin list
Basically, this is an extension of Nuget Package Manager, just Sitecoreized ... WTG Sitecore!
Sitecore has an API that works with the geolocation service, which gives returns data such as country/region and city from an IP request.
Sitecore.CES.GeoIp.Core.IGeoIpManager.GetGeoIpData(string ipAddress,TimeSpan? timeout = null)
What makes this nicer, is that instead of trying to persist this ourselves in some layer of caching and then worrying about how to manage that, Sitecore was thoughtful enough to provide THREE (3) levels of information retrieval!!
Three levels of information retrieval with the benefit of the reduced cost of data retrieval.
So just a few things to look forward to in Sitecore 10.1 and beyond.