Build Artifact #1
Annotations
10 warnings
build:
WebGoat.NET/Startup.cs#L32
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
|
build:
WebGoat.NET/Startup.cs#L159
The variable 'c' is assigned but its value is never used
|
build:
WebGoat.NET/Exceptions/AbstractWebGoatException.cs#L16
'ApplicationException.ApplicationException(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
build:
WebGoat.NET/Controllers/HomeController.cs#L39
Possible null reference assignment.
|
build:
WebGoat.NET/Controllers/CheckoutController.cs#L31
Possible null reference assignment.
|
build:
WebGoat.NET/Controllers/CheckoutController.cs#L25
Non-nullable field '_resourcePath' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
build:
WebGoat.NET/Controllers/CheckoutController.cs#L225
Possible null reference argument for parameter 'username' in 'Customer? CustomerRepository.GetCustomerByUsername(string username)'.
|
build:
WebGoat.NET/Controllers/CheckoutController.cs#L240
Possible null reference assignment.
|
build:
WebGoat.NET/Controllers/AccountController.cs#L117
Possible null reference argument for parameter 'username' in 'Customer? CustomerRepository.GetCustomerByUsername(string username)'.
|
build:
WebGoat.NET/Controllers/AccountController.cs#L129
Possible null reference argument for parameter 'username' in 'Customer? CustomerRepository.GetCustomerByUsername(string username)'.
|