Skip to content

Commit 74da080

Browse files
committed
Upgrade to dotnet 8 and nugets
1 parent f2753df commit 74da080

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

sample/Futurum.WebApiEndpoint.Micro.Sample/Features/FileWebApiEndpoint.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ public partial class FileWebApiEndpoint
99
protected override void Build(IEndpointRouteBuilder builder)
1010
{
1111
builder.MapPost("upload", UploadHandler)
12-
.Accepts<IFormFile>("multipart/form-data");
12+
.DisableAntiforgery();
1313

1414
builder.MapPost("uploads", UploadsHandler)
15-
.Accepts<IFormFile>("multipart/form-data");
15+
.DisableAntiforgery();
1616

1717
builder.MapPost("upload-with-payload", UploadWithPayloadHandler);
1818

sample/Futurum.WebApiEndpoint.Micro.Sample/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
builder.AddAuthentication();
1313

1414
builder.Services.AddRateLimiters();
15+
1516
builder.Services.AddOutputCaches();
1617

1718
builder.Services

0 commit comments

Comments
 (0)