MY ERROR: ı want to "add-migration" but ı cannot also ı use web app and .NET 6.0 Unable to create an object of type 'AppDbContext'. For the diffe
I'm trying to improve the efficiency of this method and I can't figure out why my "solution" is throwing an error. Here's the existing and working, albeit slow,
In my WPF applications I use a generic HostBuilder in this way: public partial class App : Application { private readonly IHost _host; public App()
I have a border containing a textblock, which has a blur effect applied to it: <Border Grid.Row="2"> <Border.Effect> <BlurEffect Radi
I want to make it so that the gyroscope will only change the x and y-axes of an object. There is code for one axis and for three axes (mostly used), but I could
how to develop ms excel ribbon functionality not COM add-ins or VSTO add-ins. Using visual studio Thank you I want to implement excel ribbon functions to valida
So I am using Firebase SDK to send push notifications to my android clients. On local IIS this is how I have configured FirebaseSdk. In Startup.cs I have Fir
I am exploring various methods to get configuration data from Azure App Configuration and got most methods working however I am struggling to implement the Azur
I'm upgrading the mongo driver to an ASPNet Framework (4.8) application from 2.7.3 to the latest, 2.15.0. I just use VS to upgrade the nuget packages, nothing
I have a project in Unity which was built with version 2019.4.13f1. I opened it with version 2021.2.16f1 and since then when I try to build the project in an ap
I have a problem writing my unit test in C# using Moq and xUnit. In my service I have the following code: var options = new TokenCredentialOptions { Authori
I'm doing a simple code to update profile pics, by saving uploaded file into a folder and processing its required versions using Bitmap. Issue is that i cant ch
I've made a custom button to bind a command to a (custom, routed) IsPressedChanged event so that the command is executed both when the button is pressed AND whe
How to cancel long running compression task and release all resources when using ZipFile.CreateFromDirectory or other ZipFile compression methods in C#. Couldn'
When using an IDE like Visual Studio or Rider for C#, writing triple-slashes auto-completes to an XML-style comment, along with fields for input and output (whe
I have developed a mobile game with OpenGL ES 3 on Xamarin (Which uses OpenTK). It's running fine on most devices, but crashes on some devices (HUAWEI Y5 lite).
I wanna make simple string calculator, my point is to check that user typed in any values from the array and not others. string[] occurences = new string[] { "1
I have a problem: Our application has grown so far and therefore there is an object with many many EventHandlers. The point here is that removing them takes far
I am trying to create and test my api for login using C#. Below is the major part of the code: private static void CreatePasswordHash(string password, out byte[
I'm trying to implement a unity FPS Rigid body movement controller into my Unity 3d project. However I cannot seem to add drag to my player. I've been trying to