skip to Main Content

Asp.net – Project .net framework to .net 6 core

I'm facing an issue in my C# project where I'm getting the following error message: Severity Code Description Project File Line Suppression State Priority Error CS1705 Assembly 'Application' with identity 'Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' which…

VIEW QUESTION

.NET 6 Service: how to pass JSON inside JSON?

I am developing a .NET 6 web service (with Startup), one of methods is public async Task<ActionResult> PutDirector([FromBody] Director director, CancellationToken cancellationToken) { var title = nameof(PutDirector); // .... } Using Swagger I pass this JSON: { "id": 2, "firstName":…

VIEW QUESTION
Back To Top
Search