Skip to content

Commit

Permalink
Merge pull request #320 from Senparc/Develop
Browse files Browse the repository at this point in the history
CO2NET v3.1.0 正式版发布
  • Loading branch information
JeffreySu authored Dec 27, 2024
2 parents cd93158 + 3e10b3a commit 29a2bc6
Show file tree
Hide file tree
Showing 13 changed files with 646 additions and 646 deletions.
1 change: 0 additions & 1 deletion Sample/Senparc.CO2NET.Sample.Consoles/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ and limitations under the License.
var senparcSetting = new SenparcSetting();
config.GetSection("SenparcSetting").Bind(senparcSetting);


var services = new ServiceCollection();
services.AddMemoryCache();//使用本地缓存必须添加

Expand Down
98 changes: 49 additions & 49 deletions src/Senparc.CO2NET.APM/Senparc.CO2NET.APM.csproj
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net462;netstandard2.0</TargetFrameworks>
<Version>2.1.0-beta1</Version>
<AssemblyName>Senparc.CO2NET.APM</AssemblyName>
<RootNamespace>Senparc.CO2NET.APM</RootNamespace>
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
<Description>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net462;netstandard2.0</TargetFrameworks>
<Version>2.1.0</Version>
<AssemblyName>Senparc.CO2NET.APM</AssemblyName>
<RootNamespace>Senparc.CO2NET.APM</RootNamespace>
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
<Description>
Senparc.CO2NET.APM Application Performance Management
</Description>
<Copyright>Senparc Copyright © 2004~2024</Copyright>
<PackageTags>APM,.NET Core,.NET Framework,Public,Base Library,CO2NET,盛派</PackageTags>
<Authors>Senparc</Authors>
<Owners>Senparc</Owners>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<ProjectUrl>https://github.com/Senparc/Senparc.CO2NET</ProjectUrl>
<Title>Senparc.CO2NET.APM.dll</Title>
<Summary>Senparc.CO2NET.APM</Summary>
<PackageProjectUrl>https://github.com/Senparc/Senparc.CO2NET</PackageProjectUrl>
<PackageIcon>icon.jpg</PackageIcon>
<RepositoryUrl>https://github.com/Senparc/Senparc.CO2NET</RepositoryUrl>
<Configurations>Debug;Release;Test</Configurations>
<PackageReleaseNotes>
<Copyright>Senparc Copyright © 2004~2024</Copyright>
<PackageTags>APM,.NET Core,.NET Framework,Public,Base Library,CO2NET,盛派</PackageTags>
<Authors>Senparc</Authors>
<Owners>Senparc</Owners>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<ProjectUrl>https://github.com/Senparc/Senparc.CO2NET</ProjectUrl>
<Title>Senparc.CO2NET.APM.dll</Title>
<Summary>Senparc.CO2NET.APM</Summary>
<PackageProjectUrl>https://github.com/Senparc/Senparc.CO2NET</PackageProjectUrl>
<PackageIcon>icon.jpg</PackageIcon>
<RepositoryUrl>https://github.com/Senparc/Senparc.CO2NET</RepositoryUrl>
<Configurations>Debug;Release;Test</Configurations>
<PackageReleaseNotes>
v0.1.1 Supports basic monitoring data recording, retrieval, and organization/cleanup operations
v0.1.2 DataItem provides TempStorage property; DataOperation supports global mode without domain distinction
v0.1.3 Supports Senparc.CO2NET v0.3.0
Expand All @@ -39,32 +39,32 @@
[2024-11-28] v2.0.1-beta1 Add UseLowerCaseApiName property for SenparcSetting
[2024-12-04] v2.1.0-beta1 update Start() method, set SenparcSetting in Config when AddSenparcGlobalService() run
</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<OutputPath>..\BuildOutPut</OutputPath>
<DefineConstants>TRACE;RELEASE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>..\BuildOutPut</OutputPath>
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
<DocumentationFile>..\BuildOutPut\Senparc.CO2NET.APM.xml</DocumentationFile>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net462|AnyCPU'">
<OutputPath>..\BuildOutPut\</OutputPath>
<DocumentationFile>..\BuildOutPut\net462\Senparc.CO2NET.APM.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'">
<OutputPath>..\BuildOutPut\</OutputPath>
<DocumentationFile>..\BuildOutPut\netstandard2.0\Senparc.CO2NET.APM.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<None Include="..\Senparc.CO2NET\icon.jpg" Pack="true" Visible="false" PackagePath="" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Senparc.CO2NET\Senparc.CO2NET.csproj" />
</ItemGroup>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<OutputPath>..\BuildOutPut</OutputPath>
<DefineConstants>TRACE;RELEASE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>..\BuildOutPut</OutputPath>
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
<DocumentationFile>..\BuildOutPut\Senparc.CO2NET.APM.xml</DocumentationFile>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net462|AnyCPU'">
<OutputPath>..\BuildOutPut\</OutputPath>
<DocumentationFile>..\BuildOutPut\net462\Senparc.CO2NET.APM.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'">
<OutputPath>..\BuildOutPut\</OutputPath>
<DocumentationFile>..\BuildOutPut\netstandard2.0\Senparc.CO2NET.APM.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<None Include="..\Senparc.CO2NET\icon.jpg" Pack="true" Visible="false" PackagePath="" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Senparc.CO2NET\Senparc.CO2NET.csproj" />
</ItemGroup>
</Project>
154 changes: 77 additions & 77 deletions src/Senparc.CO2NET.AspNet/Senparc.CO2NET.AspNet.csproj
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net462;netstandard2.0;netstandard2.1;net8.0</TargetFrameworks>
<Version>2.1.0-beta1</Version>
<AssemblyName>Senparc.CO2NET.AspNet</AssemblyName>
<RootNamespace>Senparc.CO2NET.AspNet</RootNamespace>
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
<Description>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net462;netstandard2.0;netstandard2.1;net8.0</TargetFrameworks>
<Version>2.1.0</Version>
<AssemblyName>Senparc.CO2NET.AspNet</AssemblyName>
<RootNamespace>Senparc.CO2NET.AspNet</RootNamespace>
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
<Description>
Senparc.CO2NET.AspNet library

Senparc.CO2NET open source project:
https://github.com/Senparc/Senparc.CO2NET
</Description>
<Copyright>Senparc Copyright © 2004~2024</Copyright>
<PackageTags>.NET Core,.NET Framework,public,base library,CO2NET,ASP.NET</PackageTags>
<Authors>Senparc</Authors>
<Owners>Senparc</Owners>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<ProjectUrl>https://github.com/Senparc/Senparc.CO2NET</ProjectUrl>
<Title>Senparc.CO2NET.dll</Title>
<Summary>Senparc.CO2NET.AspNet library</Summary>
<PackageProjectUrl>https://github.com/Senparc/Senparc.CO2NET</PackageProjectUrl>
<PackageIcon>icon.jpg</PackageIcon>
<PackageReleaseNotes>
<Copyright>Senparc Copyright © 2004~2024</Copyright>
<PackageTags>.NET Core,.NET Framework,public,base library,CO2NET,ASP.NET</PackageTags>
<Authors>Senparc</Authors>
<Owners>Senparc</Owners>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<ProjectUrl>https://github.com/Senparc/Senparc.CO2NET</ProjectUrl>
<Title>Senparc.CO2NET.dll</Title>
<Summary>Senparc.CO2NET.AspNet library</Summary>
<PackageProjectUrl>https://github.com/Senparc/Senparc.CO2NET</PackageProjectUrl>
<PackageIcon>icon.jpg</PackageIcon>
<PackageReleaseNotes>
v0.1.0 Build basic code, separate ASP.NET (and ASP.NET Core) code from Senparc.CO2NET
v0.4.300.4 Provide GetRequestMemoryStreamAsync() async method
v1.0.1 Update UseSenparcGlobal parameter input method
Expand All @@ -35,64 +35,64 @@
[2024-11-28] v2.0.1-beta1 Add UseLowerCaseApiName property for SenparcSetting
[2024-12-04] v2.1.0-beta1 update Start() method, set SenparcSetting in Config when AddSenparcGlobalService() run
</PackageReleaseNotes>
<RepositoryUrl>https://github.com/Senparc/Senparc.CO2NET</RepositoryUrl>
<Configurations>Debug;Release;Test</Configurations>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<OutputPath>..\BuildOutPut</OutputPath>
<DefineConstants>TRACE;RELEASE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>..\BuildOutPut</OutputPath>
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
<DocumentationFile>..\BuildOutPut\Senparc.CO2NET.AspNet.xml</DocumentationFile>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net462|AnyCPU'">
<OutputPath>..\BuildOutPut\</OutputPath>
<DocumentationFile>..\BuildOutPut\net462\Senparc.CO2NET.AspNet..xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'">
<OutputPath>..\BuildOutPut\</OutputPath>
<DocumentationFile>..\BuildOutPut\netstandard2.0\Senparc.CO2NET.AspNet.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.1|AnyCPU'">
<OutputPath>..\BuildOutPut\</OutputPath>
<DocumentationFile>..\BuildOutPut\netstandard2.1\Senparc.CO2NET.AspNet.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'">
<OutputPath>..\BuildOutPut\</OutputPath>
<DocumentationFile>..\BuildOutPut\net8.0\Senparc.CO2NET.AspNet.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<None Include="..\Senparc.CO2NET\icon.jpg" Pack="true" Visible="false" PackagePath="" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Senparc.CO2NET\Senparc.CO2NET.csproj" />
<PackageReference Include="Microsoft.Extensions.Hosting">
<Version>8.0.0</Version>
</PackageReference>
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
<Reference Include="System.Web" />
<Reference Include="System.Web.Extensions" />
</ItemGroup>
<!--<ItemGroup Condition="'$(TargetFramework)' != 'net462' ">
<RepositoryUrl>https://github.com/Senparc/Senparc.CO2NET</RepositoryUrl>
<Configurations>Debug;Release;Test</Configurations>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<OutputPath>..\BuildOutPut</OutputPath>
<DefineConstants>TRACE;RELEASE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>..\BuildOutPut</OutputPath>
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
<DocumentationFile>..\BuildOutPut\Senparc.CO2NET.AspNet.xml</DocumentationFile>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net462|AnyCPU'">
<OutputPath>..\BuildOutPut\</OutputPath>
<DocumentationFile>..\BuildOutPut\net462\Senparc.CO2NET.AspNet..xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'">
<OutputPath>..\BuildOutPut\</OutputPath>
<DocumentationFile>..\BuildOutPut\netstandard2.0\Senparc.CO2NET.AspNet.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.1|AnyCPU'">
<OutputPath>..\BuildOutPut\</OutputPath>
<DocumentationFile>..\BuildOutPut\netstandard2.1\Senparc.CO2NET.AspNet.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'">
<OutputPath>..\BuildOutPut\</OutputPath>
<DocumentationFile>..\BuildOutPut\net8.0\Senparc.CO2NET.AspNet.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<None Include="..\Senparc.CO2NET\icon.jpg" Pack="true" Visible="false" PackagePath="" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Senparc.CO2NET\Senparc.CO2NET.csproj" />
<PackageReference Include="Microsoft.Extensions.Hosting">
<Version>8.0.0</Version>
</PackageReference>
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
<Reference Include="System.Web" />
<Reference Include="System.Web.Extensions" />
</ItemGroup>
<!--<ItemGroup Condition="'$(TargetFramework)' != 'net462' ">
</ItemGroup>-->
<!--<ItemGroup Condition="('$(TargetFramework)' == 'netstandard2.0') OR ('$(TargetFramework)' == 'netstandard2.1')">-->
<ItemGroup Condition="'$(TargetFramework)' != 'net462' And '$(TargetFramework)' != 'net8.0'">
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions">
<Version>2.2.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions">
<Version>2.2.0</Version>
</PackageReference>
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
<!--<ItemGroup Condition="('$(TargetFramework)' == 'netstandard2.0') OR ('$(TargetFramework)' == 'netstandard2.1')">-->
<ItemGroup Condition="'$(TargetFramework)' != 'net462' And '$(TargetFramework)' != 'net8.0'">
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions">
<Version>2.2.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions">
<Version>2.2.0</Version>
</PackageReference>
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net462;netstandard2.0</TargetFrameworks>
<Version>2.1.0-beta1</Version>
<Version>2.1.0</Version>
<AssemblyName>Senparc.CO2NET.Cache.CsRedis.RedLock</AssemblyName>
<RootNamespace>Senparc.CO2NET.Cache.CsRedis.RedLock</RootNamespace>
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
Expand Down
Loading

0 comments on commit 29a2bc6

Please sign in to comment.