I am working on a project where a thread is run and opens a permanent database connection. The reason for this, is potentially as the project grows it could rec
I don't know why I get this error Error CS1022: Type or namespace definition, or end-of-file expected My code: public class weaponcontroller : MonoBehaviour {
I have a ClassLib1 project that is referenced by many other projects. I want to know if there is a way to include a build targets file for those referencing pro
I have a line of code with an AsSpan method that didn't exist in .NET 4.7.2. This is from a netstandard2.1 project that I neither understand nor can convert to
I am using Xamarin to create an Android application. This app must, among other things, receive a multicast stream. The server is sending fine, but my app is no
This is a follow up to my previous question. But it appears that for a reason I don't understand, the os is interpreting a received string differently than a me
I'm trying to decorate some of my MediatR's IRequestHandlers. To mark handlers I wanted to decorate, I created the interface ICommandHandler that inherits
I am working on a Data Acquisition and Logging project which has two windows (forms). On the main window, there is a trigger button which opens another form (se
I'm trying to use FluentValidation to validate based on object.GetType() rather than knowing the type at compile time by injecting IValidator<T>, but I am
I used a Grid to present a FileInDirNC type, but the ColumDefinitions doesn't seem to work? I think it has something to do with HorizontalContentAlignment = "St
I'm developing a Windows application in C# (Visual Studio Community 2022) I installed Gmap.NET.Windows Nuget packet v.2.0.3 I added the Map control and it works
I have created a webapi project in dot net 6.0, which internally uses some winform code. I want to create a docker image however it is throwing the following er
I am tackling a Unity course challenge, where we are supposed to implement data persistence between scenes and across sessions. After deciding to go with JSON,
Similar to How to Inject Dependencies to Dynamically Loaded Assemblies, I want to inject dependencies into classes from dynamically loaded assemblies. Is this p
I'm using EF 6.0 for my project in C# with manual migrations and updates. I have about 5 migrations on the database, but I realised that the last migration was
There is no any such specific answer for UWP implementation that will give me the correct solution. I have a datagrid which will have data from it's item source
I tried to connect my project to a database, using LINQ to SQL, following a few online guides. I created a simple database Library, added new LINQ to SQL Classe
In Azure Function V1 (.NET4) code below worked fine [FunctionName("run")] public static HttpResponseMessage run( [HttpTrigger(AuthorizationLevel.Anonymous, "pos
I have populated my datagridview which has one combobox column. this way i have populated my combobox column of datagridview. if (dt != null && dt.Rows.
I am searching for the possibility to open default property dialogues for particular Windows objects, like: the property dialogue for a particular service in se