Skip to content

Commit

Permalink
升级
Browse files Browse the repository at this point in the history
  • Loading branch information
欧俊 committed Aug 30, 2021
1 parent df6ba78 commit 21c651c
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 4 deletions.
37 changes: 34 additions & 3 deletions DotNetCore.ApiTemplate.CSharp.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,47 @@
<metadata>
<id>DotNetCore.ApiTemplate.CSharp</id>
<version>1.0.2</version>
<authors>欧俊</authors>
<description>
一个普通的.net core web api模板
一个普通的.net core web api模板,可以配置使用PostgreSQL,ElasticSerch,Rabbitmq,Redis,Hangfire
</description>
<projectUrl>https://oujun.work/</projectUrl>

<dependencies>
<group targetFramework=".net5.0" />
<group targetFramework="net5.0">
<dependency id="AspNetCore.HealthChecks.Elasticsearch" version="5.0.1" />
<dependency id="AspNetCore.HealthChecks.Elasticsearch" version="5.0.1" />
<dependency id="AspNetCore.HealthChecks.NpgSql" version="5.0.2" />
<dependency id="AspNetCore.HealthChecks.Rabbitmq" version="5.0.1" />
<dependency id="AspNetCore.HealthChecks.UI.Client" version="5.0.1" />
<dependency id="AutoMapper.Extensions.Microsoft.DependencyInjection" version="8.1.1" />
<dependency id="FluentValidation.AspNetCore" version="10.3.0" />
<dependency id="Hangfire.PostgreSql" version="1.8.6" />
<dependency id="MediatR.Extensions.Microsoft.DependencyInjection" version="9.0.0" />
<dependency id="Microsoft.AspNetCore.HeaderPropagation" version="5.0.9" />
<dependency id="Microsoft.AspNetCore.Mvc.NewtonsoftJson" version="5.0.9" />
<dependency id="Microsoft.EntityFrameworkCore.Design" version="5.0.9"/>
<dependency id="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" version="1.11.1" />
<dependency id="NSwag.AspNetCore" version="13.13.2" />
<dependency id="System.Data.SqlClient" version="4.8.2" />
<dependency id="Hangfire.AspNetCore" version="1.7.24" />
<dependency id="RabbitMQ.EventBus.AspNetCore" version="5.0.21" />
<dependency id="AutoMapper" version="10.1.1" />
<dependency id="MediatR" version="9.0.0" />
<dependency id="Microsoft.EntityFrameworkCore.Abstractions" version="5.0.9" />
<dependency id="Microsoft.Extensions.Caching.StackExchangeRedis" version="5.0.1" />
<dependency id="Newtonsoft.Json" version="13.0.1" />
<dependency id="NEST" version="6.8.6" />
<dependency id="Microsoft.EntityFrameworkCore.Proxies" version="5.0.9" />
<dependency id="Microsoft.EntityFrameworkCore.Tools" version="5.0.9"/>
<dependency id="Npgsql.EntityFrameworkCore.PostgreSQL" version="5.0.7" />
</group>
</dependencies>
<authors>欧俊</authors>
<readme>content/README.md</readme>
<packageTypes>
<packageType name="Template" />
</packageTypes>
<tags>C# net5 webapi template</tags>
<license type="expression">MIT</license>
<repository type="git" url="https://github.com/ojdev/NetCoreTemplete" branch="main" />
</metadata>
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# NetCoreTemplete


.\nuget.exe pack .\DotNetCore.ApiTemplate.CSharp.nuspec -NoDefaultExcludes
2 changes: 1 addition & 1 deletion content/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 安装

`dotnet new --install DotNetCore.ApiTemplate.CSharp::1.0.1`
`dotnet new --install DotNetCore.ApiTemplate.CSharp::1.0.2`

# 卸载

Expand Down

0 comments on commit 21c651c

Please sign in to comment.