Skip to content

Use the new CreateSlimBuilder API #1784

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion scenarios/goldilocks.benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ scenarios:
buildArguments:
- "/p:PublishAot=true"
- "/p:StripSymbols=true"
- "/p:TrimMode=full"
load:
job: wrk
variables:
Expand Down
5 changes: 0 additions & 5 deletions src/Goldilocks/Goldilocks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>Goldilocks</RootNamespace>
<ServerGarbageCollection>False</ServerGarbageCollection>
<PublishIISAssets>false</PublishIISAssets>
</PropertyGroup>

<ItemGroup>
</ItemGroup>


</Project>
4 changes: 2 additions & 2 deletions src/Goldilocks/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Text.Json.Serialization;
using Goldilocks;

var builder = WebApplication.CreateBuilder(args);
var builder = WebApplication.CreateSlimBuilder(args);
builder.Logging.ClearProviders(); // Clearing for benchmark scenario, template has AddConsole();

builder.Services.ConfigureHttpJsonOptions(options =>
Expand All @@ -27,4 +27,4 @@
internal partial class AppJsonSerializerContext : JsonSerializerContext
{

}
}
8 changes: 0 additions & 8 deletions src/Goldilocks/appsettings.Development.json

This file was deleted.

9 changes: 0 additions & 9 deletions src/Goldilocks/appsettings.json

This file was deleted.