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 1
1
using System . Buffers ;
2
- using System . Formats . Asn1 ;
3
2
using System . Text ;
4
3
using System . Text . Json ;
5
4
using System . Text . Json . Serialization ;
@@ -162,11 +161,11 @@ private class Utf8JsonWriterPooledObjectPolicy : IPooledObjectPolicy<Utf8JsonWri
162
161
163
162
private static readonly JsonContext SerializerContext = JsonContext . Default ;
164
163
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 ) ]
166
166
[ JsonSerializable ( typeof ( JsonMessage ) ) ]
167
167
private partial class JsonContext : JsonSerializerContext
168
168
{
169
169
170
170
}
171
-
172
171
}
Original file line number Diff line number Diff line change 4
4
"http" : {
5
5
"commandName" : " Project" ,
6
6
"dotnetRunMessages" : true ,
7
- "launchBrowser" : false ,
7
+ "launchBrowser" : true ,
8
8
"applicationUrl" : " http://localhost:5123" ,
9
9
"environmentVariables" : {
10
10
"ASPNETCORE_ENVIRONMENT" : " Development"
You can’t perform that action at this time.
0 commit comments