I have an object Student, which has a navigation property to Class: public class Student { public virtual List<Class> Classes {get; set;} } public cla
I am currently working on a chess game and I want to implement a Redo button. The way i am doing this is, that the I have a list of GameStateContainer class whi
I'm trying to consume Azure DevOps .NET API, specifically the Git client, from Powershell 5.1. There is a copy of all client libraries under C:\Program Files\Mi
My project is a MVC c# Asp.NET project. I want to check if an attachment has been loaded, if there is an attachment it shows the div that contains the attachmen
I'm getting this response when trying to create a new project: dotnet new unoapp-winui-net6 -o unoapp The template "Multi-Platform App net6 (WinUI)" was creat
I'm using a tool I wrote that makes a call to the following line in order to inspect a few things, including the assembly version: var assm = System.Reflection.
I have a dump file which was dumped from a app pool crash in IIS. A thread contains System.NullReferenceException. I am able to locate the NullReferenceExceptio
we want to write unit-test for servicebus message trigger. we are using Azure.Messaging.ServiceBus nuget package [FunctionName("serviebustrigger")] publi
.NET 6 offers boilerplate-removal in console applications Startup class. I try to run this simple test code: Console.WriteLine("Hello, World!"); static void Te
I have this following error (sometimes) when I call the Google Analytics Data API v1 by a .NET application : Unhandled Exception: , DebugException="Grpc.Core.
I'm using Visual Studio 2022 (17.2 Preview 4) to use .NET MAUI for windows. When trying to hot reload with the default project it gives the error "Hot reload ca
I have a table like Date Balance A Balance B --------------------------------- 2022.03.01 100 200 2022.03.01 200 500 2022.03.02 300
I have a component that requires .NET 4.0 to run, how can my Inno Setup installer verify that it is installed, and if not, prompt the user to install it?
I'm getting 400 Bad Request on sending List<long> from SwaggerUI to .net application Swagger Response : {"statusCode":400,"message":["The value '"1","2",
I've deployed a Wopi client as mentioned in the documentation and now i'm trying to deploy a wopi host, but i'm new to .net enviroment and i don't know how to g
Blazor application throws error whenever i try to call methods in api. I've tried different httprequest methods but nothing changed so far, still struggling to
I have a data set (ex. 1, 1, 4, 6, 3, 3, 1, 2, 2, 2, 6, 6, 6, 7) and I want to group items of the same value but only if they are next to each other minimum 3 t
The while loop currently blocks the thread as it retries forever until the connection is established. I expect it to retry forever but it shouldn't block the th
I'm trying to edit appsettings (.net) in azure pipelines, it's for differents environments(production, development, etc..) For example I want to change this val
I'm playing around with .Net Maui. I'd like to add a map to my demo app. Unfortunately it seems that the map control has not been migrated yet. Also it seems th