If we delay a Task using the Task.Delay method for a very long time, let's say 6 months, and if we assume that the OS does not shutdown or restart during this p
I have around 40 entities and everytime after I compile and run my app it takes almost 10 seconds whenever DbContext is called for the first time. Is there a wa
When Rider detects you are using some version control it will show for example gray triangles next to line numbers in places when some code was removed (within
I want to release a source generator package, and I want to include a private project dependency on the source generator project. For example, assume that my pr
I'm new to programming in general. With another Script i store in the list "spawnPointC" all gameobjects called spawnPointC that appear from spawning other pref
We have a class library that uses the .NET WebBrowser control to authorize access to a third-party API, either with that third-party's oAuth2 Authorization flow
I'm having issues trying to access auth/admin/realms/{realm-name}/users API. I've already tried everything from other questions and answers, but nothing seems t
How do you get Microsof.tML to run on an NVDIA GPU using C#? I followed the instructions https://github.com/dotnet/machinelearning/blob/master/docs/api-referen
I have a requirement to show the static text of my report in different language. Steps that I am following: Create a url with query string parameter with Cultu
After decoding the token generated in another application, I need to check for an expire. I used OnActionExecuting in web app but not working this method in min
I want to read an excel file stored in an Azure Storage container as a Blob using Epplus package in C#. I have tried to do something with this code. string uri
I show my idea on the serilog-timing example. public static void Main(string[] args) { Log.Logger = new LoggerConfiguration() .Enrich.FromLogContext
I have followed the steps from the following EF Core 5 site in order to store and read items from the CosmosDB. Here is the site: https://www.learnentityframewo
I'm using Outlook Redemption library (http://www.dimastr.com/redemption/home.htm) for my Outlook AddIn. I want to move multiple mails from an exchange account t
I have read and tried all the suggestions from [https://stackoverflow.com/questions/22415319/system-data-sqlclient-sqlexception-login-failed-for-user][3] But no
I have a "Shared" project where I share code between my client (unity) and my server (C# server) Both projects require Newtonsoft.Json.dll When I compile the Sh
How can I detect when URL is changed? I need the event (URL change event) to perform some specific action based on the URL.
Let's say I have the following markup in my Blazor component: <div @attributes=Attributes data-myattr="something"> @ChildContent </div> I'd lik
I'm trying to join a big table to a small list of data pairs using EFCore 2.1.1. I want this join to happen server-side, rather than trying to download the who
I have ASP.NET CORE C# project. I want to change my solution name and whole project's name. For Example : OldSolution.OldName // this is Solution OldSoluti