Skip to content

Commit

Permalink
v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bdongus committed Mar 16, 2024
1 parent ff9649a commit 67a5f2f
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 58 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ Initial release
## 1.1.0
* Use GetImplementationsWithoutDecorators from idee5.Common
* MapRouteDump added
* .NET8
* .NET8
## 1.1.1
* Moved handler registration to idee5.Common.Data
9 changes: 5 additions & 4 deletions idee5.AspNetCore.TestApi/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using idee5.AspNetCore;
using idee5.Common;
using idee5.Common.Data;

using System.Reflection;

var builder = WebApplication.CreateBuilder(args);
Expand All @@ -12,10 +14,9 @@
services.RegisterCommandHandlers();
services.AddHttpContextAccessor();
services.AddSingleton<ICurrentUserIdProvider, HttpContextCurrentUserProvider>();
services.AddAuthorization(o => {
o.AddPolicy("CommandPolicy", p => p.RequireAssertion(_ => true));
o.AddPolicy("QueryPolicy", p => p.RequireAssertion(_ => true));
});
services.AddAuthorizationBuilder()
.AddPolicy("CommandPolicy", p => p.RequireAssertion(_ => true))
.AddPolicy("QueryPolicy", p => p.RequireAssertion(_ => true));
var app = builder.Build();

// Configure the HTTP request pipeline.
Expand Down
1 change: 1 addition & 0 deletions idee5.AspNetCore.Tests/ApiIntegrationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public ApiIntegrationTests(WebApplicationFactory<Program> factory) {

[Fact]
public async Task CanDetectDecorators() {
// TODO: Move test to idee5.Common.Data
// Arrange
HttpClient client = _factory.CreateClient();

Expand Down
10 changes: 5 additions & 5 deletions idee5.AspNetCore.Tests/idee5.AspNetCore.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="xunit" Version="2.6.4" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6">
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="xunit" Version="2.7.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.0">
<PackageReference Include="coverlet.collector" Version="6.0.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
43 changes: 0 additions & 43 deletions idee5.AspNetCore/ServiceCollectionExtensions.cs

This file was deleted.

8 changes: 3 additions & 5 deletions idee5.AspNetCore/idee5.AspNetCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@
<Nullable>enable</Nullable>
<GenerateDocumentationFile>False</GenerateDocumentationFile>
<Authors>idee5</Authors>
<Copyright>(c) 2023 idee5</Copyright>
<Copyright>(c) 2024 idee5</Copyright>
<Description>ASP.NET Core additions for commands, queries, ... from the idee5.Common package.</Description>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<RepositoryUrl>https://github.com/bdongus/idee5.AspNetCore</RepositoryUrl>
<PackageIcon>idee5 nuget icon.png</PackageIcon>
<PackageTags>idee5;ASP.NET Core</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Version>1.1.0</Version>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<FileVersion>1.1.0.0</FileVersion>
<Version>1.1.1</Version>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
Expand All @@ -33,7 +31,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="idee5.Common" Version="4.0.0" />
<PackageReference Include="idee5.Common.Data" Version="1.10.0" />
<PackageReference Include="idee5.Common.Data" Version="2.1.1" />
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
Expand Down

0 comments on commit 67a5f2f

Please sign in to comment.