Permalink
Browse files

Merge pull request #57 from richorama/master

Added Windows Azure CloudServicePlugin to extend the capabilities to the SDK
  • Loading branch information...
2 parents 7757717 + c31dd84 commit 92a1a8ab95901649dd5ca03977c981ac3a9c8ebd @madskristensen madskristensen committed Nov 16, 2013
@@ -0,0 +1,52 @@
+<?xml version="1.0" ?>
+<!--
+
+Copy the plugin files to this folder for the Azure SDK to discover it:
+
+%PROGRAMFILES%\Microsoft SDKs\Windows Azure\.NET SDK\vX.X\bin\plugins\$safeitemname$\
+
+Add this plugin to your cloud project by adding this import tag to your ServiceDefinition.csdef
+
+<ServiceDefinition>
+ <WorkerRole>
+ <Imports>
+ <Import moduleName="$safeitemname$" />
+ </Imports>
+ </WorkerRole>
+</ServiceDefinition>
+
+-->
+<RoleModule xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" namespace="$safeitemname$">
+ <Startup>
+ <!-- add startup tasks here
+
+ <Task commandLine="install.cmd" executionContext="elevated" taskType="simple" />
+
+ -->
+ </Startup>
+ <ConfigurationSettings>
+ <!-- add settings here
+
+ <Setting name="SettingName"/>
+
+ -->
+ </ConfigurationSettings>
+ <Endpoints>
+ <!-- add endpoints here
+
+ <InputEndpoint localPort="8080" name="InputEndpointName" port="80" protocol="tcp"/>
+
+ <InternalEndpoint name="InternalEndpointName" protocol="http">
+ <FixedPort port="8000"/>
+ </InternalEndpoint>
+
+ -->
+ </Endpoints>
+ <Certificates>
+ <!-- add certificates here
+
+ <Certificate name="CertificateName" storeLocation="LocalMachine" storeName="My" permissionLevel="elevated" />
+
+ -->
+ </Certificates>
+</RoleModule>
@@ -0,0 +1,13 @@
+<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Item">
+ <TemplateData>
+ <DefaultName>CloudServicePlugin</DefaultName>
+ <Name>Windows Azure Cloud Service Plugin</Name>
+ <Description>A template to create a plugin which extends the Virtual Studio SDK for Cloud Services.</Description>
+ <ProjectType>CSharp</ProjectType>
+ <Icon>azure-icon.png</Icon>
+ <NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp>
+ </TemplateData>
+ <TemplateContent>
+ <ProjectItem ReplaceParameters="true" TargetFileName="$safeitemname$.csplugin">CloudServicePlugin.csplugin</ProjectItem>
+ </TemplateContent>
+</VSTemplate>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -55,6 +55,8 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
+ <Content Include="ItemTemplates\Azure\CloudServicePlugin\azure-icon.png" />
+ <Content Include="ItemTemplates\Azure\CloudServicePlugin\_Definitions\CSharp.vstemplate" />
<Content Include="ItemTemplates\Build and NuGet\MSBuild\BasicProjFile\_Definitions\CSharp.vstemplate" />
<Content Include="ItemTemplates\Build and NuGet\MSBuild\BasicProjFile\_Definitions\VB.vstemplate" />
<Content Include="ItemTemplates\Build and NuGet\MSBuild\BasicProjFile\_Definitions\Web.csharp.vstemplate" />
@@ -85,6 +87,7 @@
<Content Include="ItemTemplates\Build and NuGet\NuGet\Basic .nuspec file\_Definitions\Web.VB.vstemplate" />
<Content Include="ItemTemplates\Build and NuGet\NuGet\Basic .nuspec file\icon.png" />
<Content Include="ItemTemplates\Extensibility\BrowserLink\_Definitions\CSharp.vstemplate" />
+ <None Include="ItemTemplates\Azure\CloudServicePlugin\CloudServicePlugin.csplugin" />
<None Include="ItemTemplates\Build and NuGet\MSBuild\BasicTargetsFile\custom.targets" />
<None Include="ItemTemplates\Build and NuGet\MSBuild\BasicPropsFile\custom.props">
<SubType>Designer</SubType>
@@ -98,6 +101,9 @@
<Content Include="ItemTemplates\Extensibility\CodeSnippet\icon.png" />
<Content Include="ItemTemplates\Extensibility\Editor Drop Handler\icon.png" />
<Content Include="ItemTemplates\Extensibility\Editor Drop Handler\_Definitions\CSharp.vstemplate" />
+ <None Include="ItemTemplates\Extensibility\Editor Drop Handler\MyDropHandler.cs">
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+ </None>
<None Include="ItemTemplates\Extensibility\Editor Drop Handler\MyDropHandler.cs" />
<Content Include="ItemTemplates\Extensibility\HtmlSmartTag\_Definitions\CSharp.vstemplate" />
<Content Include="ItemTemplates\Extensibility\HtmlSmartTag\icon.png" />
@@ -182,6 +188,9 @@
<None Include="packages.config" />
<None Include="ProjectTemplates\Cloud\readme.md" />
<None Include="ProjectTemplates\Extensibility\BrowserLinkExtension\BrowserLinkExtensionTemplate.csproj" />
+ <Content Include="ItemTemplates\Extensibility\Package Definition\project.pkgdef">
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+ </Content>
<Content Include="ItemTemplates\Extensibility\Package Definition\project.pkgdef" />
<Content Include="ItemTemplates\Extensibility\Package Definition\icon.png" />
<Content Include="ItemTemplates\Extensibility\SideWaffle\SideWaffle-ItemTemplate-Basic\_Definitions\CSharp.vstemplate" />
@@ -220,6 +229,9 @@
<Content Include="ItemTemplates\Web\_Samples\_Sample Multi Files\InputModels\Search\readme.txt" />
<Content Include="ItemTemplates\Web\_Samples\_Sample Multi Files\ViewModels\readme.txt" />
<Content Include="ItemTemplates\Web\_Samples\_Sample Multi Files\Views\readme.txt" />
+ <Content Include="ItemTemplates\Web\_Samples\_Sample Multi Files\_Definitions\CSharp.vstemplate">
+ <SubType>Designer</SubType>
+ </Content>
<Content Include="ItemTemplates\Web\_Samples\_Sample Multi Files\_Definitions\CSharp.vstemplate" />
<Content Include="ProjectTemplates\Extensibility\BrowserLinkExtension\BrowserLinkExtensionTemplate.vsct" />
<Content Include="ItemTemplates\Web\Mvc\NinjectControllerFactory\aspnet.ico" />

0 comments on commit 92a1a8a

Please sign in to comment.