I have a class that I want injected into some controllers. It has a few dependencies that I want to be automatically injected. Specifically this class requires
When I publish my ASP.NET Core web application to my local file system, it always takes the production-config and the ASPNETCORE_ENVIRONMENT variable with the v
I'm working on a wrapper for the .net version of the Google Calendar API. The authentication is rather simple and working fine locally (localhost:port). UserC
I am using HangFire to schedule jobs but when I deployed to PROD, the website/hangfire url is not working. I am getting The system cannot find the file specifie
everybody. I am trying to get current user's location in C# UWP application. var geoLocator = new Geolocator(); geoLocator.DesiredAccuracy = PositionAccuracy.
Well, lets get down to it. I'm using Visual Studio 2015 and ASP.NET core tag helpers have completely stopped working, no idea why as I've not changed anything.
Can some one confirm me that asp.net web api action filters are singleton/instance based by default? In asp.net core, I observed that it has one instance by def
I want to Insert auto generate number show in textbox when form is loaded (like 000000001) in database that not define primary key and if table number found 0
The following is a crash dump produced by my video streaming application written in .NET Core 3.1 with Windows Forms 32-bit. I'm trying to workout how to best i
I am doing authentication in my web application with JWT Security Tokens and a custom authentication scheme. I'm generating tokens when a user login I created
I'm having these classes: public class ProductViewModel { public IEnumerable<Product> Products { get; set; } } public class Product { public in
What is the best way to implement a elliptic curve diffie hellman using HKDF as key derivation function in windows using native windows functionallity. I couldn
Since dll.config is not supported by .NET and while creating nuget packages dll.config are not part of the package. Is there a way that i can have dll.config a
I want to write a little Outlook addin (C#), which saves a selected mail (MailItem) to disk in plain MIME format (.eml). The MailItem.SaveAs() method only allow
My question actually has two variants, but for some context, I have a C++ *.DLL that I use with Unity using P/Invoke. It's built on Windows 10 with MSBuild (pla
I have the following C# code as I'm learning MongoDB but I get the following error even though this code is straight out of the mongodb documentation! Is there
I try to get OpenID Connect running... A user of my Web API managed to get an Authorization Code of a OpenID Connect Provider. How am I supposed to pass this co
I am making a soundboard and I accidentally closed the design view tab for it. I pressed shift + f7 - nothing happened. I right clicked on forum1.cs in Solutio
I have the test cases that my teacher wants us to implement using testing tools available in Visual Studio: str c Result ________________________ null
Why does my serialized JSON end up as {"Gender":1,"Dictionary":{"Male":100,"Female":200}} i.e. why do the enums serialize to their value, but when they form th