summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-12-27 15:53:47 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2009-12-27 15:53:47 -0800
commitd461d7f96c623e75002d34cb9303e60de918e226 (patch)
tree743f58f64cfcc7df558765cecf183d6553f171cb
parent2567b3e762e54cb4b429bfcb55041498062fffbe (diff)
downloadDotNetOpenAuth-d461d7f96c623e75002d34cb9303e60de918e226.zip
DotNetOpenAuth-d461d7f96c623e75002d34cb9303e60de918e226.tar.gz
DotNetOpenAuth-d461d7f96c623e75002d34cb9303e60de918e226.tar.bz2
Added the files necessary so the MVC project template builds properly into the .vsi file.
-rw-r--r--projecttemplates/DotNetOpenAuth Starter Kits.vscontent12
-rw-r--r--projecttemplates/MvcRelyingParty.vstemplate23
-rw-r--r--projecttemplates/MvcRelyingParty/GettingStarted.htm19
-rw-r--r--projecttemplates/MvcRelyingParty/MvcRelyingParty.csproj1
-rw-r--r--projecttemplates/MvcRelyingParty/MvcRelyingParty.vstemplate13
5 files changed, 68 insertions, 0 deletions
diff --git a/projecttemplates/DotNetOpenAuth Starter Kits.vscontent b/projecttemplates/DotNetOpenAuth Starter Kits.vscontent
index 8a424f6..184c28c 100644
--- a/projecttemplates/DotNetOpenAuth Starter Kits.vscontent
+++ b/projecttemplates/DotNetOpenAuth Starter Kits.vscontent
@@ -11,4 +11,16 @@
<Attribute name="TemplateType" value="Project"/>
</Attributes>
</Content>
+ <Content>
+ <FileName>MvcRelyingParty.zip</FileName>
+ <DisplayName>ASP.NET MVC OpenID-InfoCard RP</DisplayName>
+ <Description>An ASP.NET MVC web site that accepts OpenID and InfoCard logins</Description>
+ <FileContentType>VSTemplate</FileContentType>
+ <ContentVersion>2.0</ContentVersion>
+ <Attributes>
+ <Attribute name="ProjectType" value="Visual C#"/>
+ <Attribute name="ProjectSubType" value="Web"/>
+ <Attribute name="TemplateType" value="Project"/>
+ </Attributes>
+ </Content>
</VSContent> \ No newline at end of file
diff --git a/projecttemplates/MvcRelyingParty.vstemplate b/projecttemplates/MvcRelyingParty.vstemplate
new file mode 100644
index 0000000..d554cae
--- /dev/null
+++ b/projecttemplates/MvcRelyingParty.vstemplate
@@ -0,0 +1,23 @@
+<VSTemplate Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="ProjectGroup">
+ <TemplateData>
+ <Name>ASP.NET MVC OpenID-InfoCard RP</Name>
+ <RequiredFrameworkVersion>3.5</RequiredFrameworkVersion>
+ <Description>An ASP.NET MVC web site that accepts OpenID and InfoCard logins</Description>
+ <ProjectType>CSharp</ProjectType>
+ <ProjectSubType>Web</ProjectSubType>
+ <NumberOfParentCategoriesToRollUp>2</NumberOfParentCategoriesToRollUp>
+ <SortOrder>1000</SortOrder>
+ <CreateNewFolder>true</CreateNewFolder>
+ <DefaultName>WebRPApplication</DefaultName>
+ <ProvideDefaultName>true</ProvideDefaultName>
+ <LocationField>Enabled</LocationField>
+ <EnableLocationBrowseButton>true</EnableLocationBrowseButton>
+ <Icon>__TemplateIcon.ico</Icon>
+ </TemplateData>
+ <TemplateContent>
+ <ProjectCollection>
+ <ProjectTemplateLink ProjectName="$projectname$">MvcRelyingParty\MvcRelyingParty.vstemplate</ProjectTemplateLink>
+ <ProjectTemplateLink ProjectName="RelyingPartyLogic">RelyingPartyLogic\RelyingPartyLogic.vstemplate</ProjectTemplateLink>
+ </ProjectCollection>
+ </TemplateContent>
+</VSTemplate> \ No newline at end of file
diff --git a/projecttemplates/MvcRelyingParty/GettingStarted.htm b/projecttemplates/MvcRelyingParty/GettingStarted.htm
new file mode 100644
index 0000000..9a3fbb7
--- /dev/null
+++ b/projecttemplates/MvcRelyingParty/GettingStarted.htm
@@ -0,0 +1,19 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" >
+<head>
+ <title>Getting started</title>
+</head>
+<body>
+
+ <p>
+ Your OpenID and InfoCard relying party web site is nearly ready to go. You just
+ need to create your SQL database where user accounts will be stored.&nbsp; <b>
+ Just build and start your web site </b>and visit Default.aspx.&nbsp; You&#39;ll get
+ further instructions there.&nbsp;
+ </p>
+ <p>
+ Creating your database is almost totally automated, so it should be a piece of
+ cake.</p>
+
+</body>
+</html>
diff --git a/projecttemplates/MvcRelyingParty/MvcRelyingParty.csproj b/projecttemplates/MvcRelyingParty/MvcRelyingParty.csproj
index 787b03e..d160d6c 100644
--- a/projecttemplates/MvcRelyingParty/MvcRelyingParty.csproj
+++ b/projecttemplates/MvcRelyingParty/MvcRelyingParty.csproj
@@ -72,6 +72,7 @@
</ItemGroup>
<ItemGroup>
<Content Include="Default.aspx" />
+ <Content Include="GettingStarted.htm" />
<Content Include="Global.asax" />
<Content Include="Web.config" />
<Content Include="Content\Site.css" />
diff --git a/projecttemplates/MvcRelyingParty/MvcRelyingParty.vstemplate b/projecttemplates/MvcRelyingParty/MvcRelyingParty.vstemplate
new file mode 100644
index 0000000..86b636f
--- /dev/null
+++ b/projecttemplates/MvcRelyingParty/MvcRelyingParty.vstemplate
@@ -0,0 +1,13 @@
+<VSTemplate Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Project">
+ <TemplateData>
+ <Name>ASP.NET MVC OpenID-InfoCard RP</Name>
+ <Description>An ASP.NET MVC web site that accepts OpenID and InfoCard logins</Description>
+ <ProjectType>CSharp</ProjectType>
+ <Icon>__TemplateIcon.ico</Icon>
+ </TemplateData>
+ <TemplateContent>
+ <Project File="MvcRelyingParty.csproj" ReplaceParameters="true">
+ <ProjectItem OpenInWebBrowser="true">GettingStarted.htm</ProjectItem>
+ </Project>
+ </TemplateContent>
+</VSTemplate> \ No newline at end of file