File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/BenchmarksApps/TechEmpower/Kestrel Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11using System . Buffers ;
2- using System . Formats . Asn1 ;
32using System . Text ;
43using System . Text . Json ;
54using System . Text . Json . Serialization ;
@@ -162,11 +161,11 @@ private class Utf8JsonWriterPooledObjectPolicy : IPooledObjectPolicy<Utf8JsonWri
162161
163162 private static readonly JsonContext SerializerContext = JsonContext . Default ;
164163
165- [ JsonSourceGenerationOptions ( GenerationMode = JsonSourceGenerationMode . Serialization ) ]
164+ // BUG: Can't use GenerationMode = JsonSourceGenerationMode.Serialization here due to https://github.com/dotnet/runtime/issues/111477
165+ [ JsonSourceGenerationOptions ( GenerationMode = JsonSourceGenerationMode . Default ) ]
166166 [ JsonSerializable ( typeof ( JsonMessage ) ) ]
167167 private partial class JsonContext : JsonSerializerContext
168168 {
169169
170170 }
171-
172171}
Original file line number Diff line number Diff line change 44 "http" : {
55 "commandName" : " Project" ,
66 "dotnetRunMessages" : true ,
7- "launchBrowser" : false ,
7+ "launchBrowser" : true ,
88 "applicationUrl" : " http://localhost:5123" ,
99 "environmentVariables" : {
1010 "ASPNETCORE_ENVIRONMENT" : " Development"
You can’t perform that action at this time.
0 commit comments