IntroThis VS extensions is use .NET webclient API to call/pull the code/content to VS projects. This extreamly usefull for CMS code generation like Sitecore.
The xm parser looks for the required url and optionals username, password, outputextensions parameters on the root node and adds the xml inner nodes as query string params to the request. The respond content will added as file with output extension (default is cs)
XML Edit|Remove xml<?xml version="1.0" encoding="utf-8" ?><!-- Custom Tool => LogMinionWebClientGenerator --><!--http://local.dotnetminion.com/_minion/labels.ashx?labelItemID=0E1E4827-53E0-4DA1-9BA2-117B0C3DB45B&namespace=Demo.Data.Sites.Labels&className=DemoSiteLabels--><!-- Optional: UserName="" Password="" OutputExtension="cs"--><labelgenerator url="http://local.dotnetminion.com/_minion/labels.ashx" UserName="" Password="" OutputExtension="cs"> <labelItemID>0E1E4827-53E0-4DA1-9BA2-117B0C3DB45B</labelItemID> <namespace>Demo.Data.Sites.Labels</namespace> <className>DemoSiteLabels</className></labelgenerator> <?xml version="1.0" encoding="utf-8" ?> <!-- Custom Tool => LogMinionWebClientGenerator --> <!--http://local.dotnetminion.com/_minion/labels.ashx?labelItemID=0E1E4827-53E0-4DA1-9BA2-117B0C3DB45B&namespace=Demo.Data.Sites.Labels&className=DemoSiteLabels--> <!-- Optional: UserName="" Password="" OutputExtension="cs"--> <labelgenerator url="http://local.dotnetminion.com/_minion/labels.ashx" UserName="" Password="" OutputExtension="cs"> <labelItemID>0E1E4827-53E0-4DA1-9BA2-117B0C3DB45B</labelItemID> <namespace>Demo.Data.Sites.Labels</namespace> <className>DemoSiteLabels</className> </labelgenerator> |