Skip to content

Commit 1122344

Browse files
author
Sergey Tregub
committed
Update NuGet-packages to latest versions and add project tags
1 parent 70203a0 commit 1122344

File tree

6 files changed

+18
-16
lines changed

6 files changed

+18
-16
lines changed

ProjectTemplates/How to create new template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ After making any changes do:
1212
1. Replace the string "ReferenceProject.xml" to "$safeprojectname$.xml" inside it and save the file
1313
1. Replace a file "MyTemplate.vstemplate" with the one from the project folder with the same name
1414
1. Add all files from the folder to zip-archive with a name "ASP.Net WebAPI Application with OWIN.zip"
15-
1. Copy this file to "ProjectTemplates\AspNet.WebApi\ReferenceProject\ReferenceProjectVSIX\ProjectTemplates\CSharp\Web" folder and replace an existing one
15+
1. Copy this file to "ProjectTemplates\ReferenceProjectVSIX\ProjectTemplates\CSharp\Web" folder and replace an existing one
1616
1. Go to VS, expand a ReferenceProjectVSIX project and double click on a "source.extension.vsixmanifest" file
1717
1. Increase minor version number on the tab "Metadata" in the top right corner
1818
1. Rebuild the ReferenceProjectVSIX project and get "ASP.Net WebAPI Application Project Template.vsix"

ProjectTemplates/ReferenceProject/MyTemplate.vstemplate

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
<RequiredFrameworkVersion>4.7</RequiredFrameworkVersion>
1515
<Icon>__TemplateIcon.ico</Icon>
1616
<NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp>
17+
<LanguageTag>C#</LanguageTag>
18+
<PlatformTag>Windows</PlatformTag>
19+
<ProjectTypeTag>Web</ProjectTypeTag>
20+
<ProjectTypeTag>RESTful Service</ProjectTypeTag>
21+
<ProjectTypeTag>WebAPI2</ProjectTypeTag>
1722
</TemplateData>
1823
<TemplateContent>
1924
<Project TargetFileName="ReferenceProject.csproj" File="ReferenceProject.csproj" ReplaceParameters="true">

ProjectTemplates/ReferenceProject/ReferenceProject.csproj

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<Version>4.2.0</Version>
5555
</PackageReference>
5656
<PackageReference Include="Autofac.WebApi2">
57-
<Version>4.2.0</Version>
57+
<Version>4.3.0</Version>
5858
</PackageReference>
5959
<PackageReference Include="Autofac.WebApi2.Owin">
6060
<Version>4.0.0</Version>
@@ -63,13 +63,13 @@
6363
<Version>2.0.0</Version>
6464
</PackageReference>
6565
<PackageReference Include="AutoMapper">
66-
<Version>8.0.0</Version>
66+
<Version>9.0.0</Version>
6767
</PackageReference>
6868
<PackageReference Include="DotNetEnv">
6969
<Version>1.2.0</Version>
7070
</PackageReference>
7171
<PackageReference Include="IdentityModel">
72-
<Version>3.10.5</Version>
72+
<Version>3.10.10</Version>
7373
</PackageReference>
7474
<PackageReference Include="Microsoft.AspNet.WebApi" Version="5.2.7" />
7575
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.7" />
@@ -82,10 +82,10 @@
8282
<Version>2.0.1</Version>
8383
</PackageReference>
8484
<PackageReference Include="Microsoft.Owin.Cors">
85-
<Version>4.0.0</Version>
85+
<Version>4.0.1</Version>
8686
</PackageReference>
8787
<PackageReference Include="Microsoft.Owin.Host.SystemWeb">
88-
<Version>4.0.0</Version>
88+
<Version>4.0.1</Version>
8989
</PackageReference>
9090
<PackageReference Include="Microsoft.Owin.Security">
9191
<Version>3.1.0</Version>
@@ -96,15 +96,15 @@
9696
<PackageReference Include="Microsoft.Owin.Security.OAuth">
9797
<Version>3.1.0</Version>
9898
</PackageReference>
99-
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
99+
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
100100
<PackageReference Include="Owin">
101101
<Version>1.0.0</Version>
102102
</PackageReference>
103103
<PackageReference Include="Serilog">
104104
<Version>2.8.0</Version>
105105
</PackageReference>
106106
<PackageReference Include="Serilog.Exceptions">
107-
<Version>5.0.0</Version>
107+
<Version>5.3.1</Version>
108108
</PackageReference>
109109
<PackageReference Include="Serilog.Settings.AppSettings">
110110
<Version>2.2.2</Version>
@@ -113,7 +113,7 @@
113113
<Version>4.0.0</Version>
114114
</PackageReference>
115115
<PackageReference Include="SerilogWeb.Classic">
116-
<Version>4.2.42</Version>
116+
<Version>5.0.52</Version>
117117
</PackageReference>
118118
<PackageReference Include="Swashbuckle.Core">
119119
<Version>5.6.0</Version>
@@ -141,9 +141,6 @@
141141
<Reference Include="System.Web.Services" />
142142
<Reference Include="System.EnterpriseServices" />
143143
</ItemGroup>
144-
<ItemGroup>
145-
<WCFMetadata Include="Connected Services\" />
146-
</ItemGroup>
147144
<ItemGroup>
148145
<Content Include="Web.config">
149146
<SubType>Designer</SubType>

ProjectTemplates/ReferenceProject/Web.config

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
</dependentAssembly>
131131
<dependentAssembly>
132132
<assemblyIdentity name="Autofac.Integration.WebApi" publicKeyToken="17863AF14B0044DA" culture="neutral"/>
133-
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0"/>
133+
<bindingRedirect oldVersion="0.0.0.0-4.3.0.0" newVersion="4.3.0.0"/>
134134
</dependentAssembly>
135135
<dependentAssembly>
136136
<assemblyIdentity name="Autofac" publicKeyToken="17863AF14B0044DA" culture="neutral"/>
@@ -154,11 +154,11 @@
154154
</dependentAssembly>
155155
<dependentAssembly>
156156
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31BF3856AD364E35" culture="neutral"/>
157-
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0"/>
157+
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
158158
</dependentAssembly>
159159
<dependentAssembly>
160160
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed"/>
161-
<bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0"/>
161+
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0"/>
162162
</dependentAssembly>
163163
<dependentAssembly>
164164
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
52 Bytes
Binary file not shown.

ProjectTemplates/ReferenceProjectVSIX/source.extension.vsixmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
33
<Metadata>
4-
<Identity Id="ASP.Net WebAPI Application Project Template-1" Version="1.8" Language="en-US" Publisher="Sergey Tregub" />
4+
<Identity Id="ASP.Net WebAPI Application Project Template-1" Version="1.9" Language="en-US" Publisher="Sergey Tregub" />
55
<DisplayName>ASP.Net WebAPI Application Project Template</DisplayName>
66
<Description xml:space="preserve">Project template to create production-ready RESTful service based on ASP.Net WebAPI and OWIN. It contains preconfigured DI-container, logging, CORS, JWT-bearer authentication, boilerplate code and other features</Description>
77
<MoreInfo>https://github.com/drwatson1/AspNet-WebApi</MoreInfo>

0 commit comments

Comments
 (0)