Azure Dev #28
Annotations
10 warnings
src/YouTubeSummariser.Services/Services/YouTubeService.cs#L50
Possible null reference return.
|
src/YouTubeSummariser.ApiApp2/Program.cs#L22
The type 'YouTubeSummariser.Services.Configurations.OpenAISettings?' cannot be used as type parameter 'TService' in the generic type or method 'ServiceCollectionServiceExtensions.AddSingleton<TService>(IServiceCollection, TService)'. Nullability of type argument 'YouTubeSummariser.Services.Configurations.OpenAISettings?' doesn't match 'class' constraint.
|
src/YouTubeSummariser.ApiApp2/Program.cs#L27
The type 'YouTubeSummariser.Services.Configurations.PromptSettings?' cannot be used as type parameter 'TService' in the generic type or method 'ServiceCollectionServiceExtensions.AddSingleton<TService>(IServiceCollection, TService)'. Nullability of type argument 'YouTubeSummariser.Services.Configurations.PromptSettings?' doesn't match 'class' constraint.
|
src/YouTubeSummariser.ApiApp2/Program.cs#L29
Dereference of a possibly null reference.
|
src/YouTubeSummariser.ApiApp2/Program.cs#L29
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
|
src/YouTubeSummariser.ApiApp2/Program.cs#L30
Possible null reference argument for parameter 'key' in 'AzureKeyCredential.AzureKeyCredential(string key)'.
|
src/YouTubeSummariser.ApiApp2/Controllers/SummariseController.cs#L32
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
|
src/YouTubeSummariser.ApiApp2/Controllers/SummariseController.cs#L38
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogError(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
|
src/YouTubeSummariser.ApiApp2/Controllers/SummariseController.cs#L45
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogError(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
|
src/YouTubeSummariser.ApiApp2/Controllers/SummariseController.cs#L67
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
|
The logs for this run have expired and are no longer available.
Loading