I'm trying to make a post request using HttpClient. The expected json which I'm trying to post is stored in var result and looks like : { "ID": 142, "Statio
enter image description hereI am trying to move from Visual Studio 2022 to JetBrains rider with my .NET full-stack project. I am using Webpack for my front-end
I'm trying to generate a migration file with a spatial column in it (Geometry) and I'm getting this error No suitable constructor found for entity type 'Coordi
I'm having a problem to validate certain types of values in my model (using fluent validation and FromBody). I have this model: public class PostAcess { pub
How can I get in WPF the build deployment location for an app already installed on the machine and then display the info about deploy? Thanks for ur time!
In our project, we have a few services that make requests to a 3rd party API, using a key. This API has a shared rate limit between all endpoints (meaning reque
I need assistance with a company website I'm working on that should be linked up with Azure Active Directory. I have read those Azure Active Directory Docs. Our
I've migrated a project from .net core 3.1 to .net 6.0. I've resolved/updated all nugets and my functions runs well on local environments (I've tested on two pc
I want to create Graph API client as logged in user. The device is Azure active directory joined device. Documentation says I should use Integrated windows auth
I'm trying to interact with a API that doesn't support multipart/form-data for uploading a file. I've been able to get this to work with the older WebClient but
Context I'm developing a documentation generating tool for .NET libraries, which extracts types from assemblies via reflection and relevant documentation from t
I am facing issues when trying to connect from a browser via WebSocket to a server. Website is hosted on a default port (80, 443, configurable - this is s selfh
I'm facing a problem when I want to run unit test on my c# project. I have the same behaviour using Visual Studio or command line. Here's my process: Ensure tha
when I am trying to use this command dotnet ef migrations add InitialCreate I am getting error like : Unable to create an object of type 'BlogDbContext'. For th
I want to setup Lazy Loading of registered types in a generic way that does not require me to register each one individually. I can create an extension method t
An example will be something like: User clicks a button on a webpage I created with ASP.NET. My app calls an API hosted on a third party server. The user sees
I am trying to call an API multiple times with the change in the configuration files. Can we do the changes in the configuration files at runtime in the code be
I've developed a Worker Service in .NET (.NET 5) which runs successfully. I'm then publishing the application using the following publish command. dotnet publi
My workstation has only .NET framework 4.8 activated, and I have no admin priviledges to active .NET 3.5 in control panel. Is there any version of Selenium basi
Suppose I have two files in my current working directory: // file1.cs Console.WriteLine("file1"); //file 2.cs Console.WriteLine("file2"); In powershell, I do