I configured my project to use Serilog for logging using dependecy injection. I use the following schema in the classes constructor: namespace FlickPopper.API
Is there a better or more efficient way to do this? Both of these objects have the same Id and some similar fields that I want to update. fo
I understand how to get the categories assigned to an individual appointment. From that, I can easily extrapolate how to get all of the categories assigned to a
There is a special base table type in my DbContext. And when inherited from it I need to generate an additional "SQL" migration operation to create a specific t
I just updated my VS2019 community edition to Version 16.7.2. My project started failing to build (maybe link step?) with this error (it was previously buildin
I have a Unity project which I build for Android and iOS platforms. I want to check for internet connectivity on Desktop, Android, and iOS devices. I've read ab
I just updated my VS2019 community edition to Version 16.7.2. My project started failing to build (maybe link step?) with this error (it was previously buildin
VS20019 creates a windows forms project targeting .net framework (.net 4.7.2 namely) as an "old" style project. I have converted a newly created project to SDK
When a user writes some words in a rich text box, if that word matches some specific word, than the color of the that word should automatically change. When th
I am writing a method that takes a British post code and returns the Latitude and Longitude of this postcode as a "Location" object. public class Location {
My site name is "Flows" on IIS if i search with the name "FLOWS" its not working so is it possible that i can search it without case sensitive. class Program {
This is a general question regarding .NET I am given an instance of the IServiceProvider interface, but I have little documentation as to what might be possibl
Background I have a relatively new ASP.NET Core 2 site. It's running on just one server (Windows Server 2012 R2, IIS 8.5), and I only restart the site once eve
Working with .NET 2 in mono, I'm using a basic JSON library that returns nested string, object Dictionary and lists. I'm writing a mapper to map this to a json
Consider a scenario when you need to write integration tests for the REST API controllers. I use MSTest for this. The logic is following: Create new database, r
I noticed that the SQLiteConnection object in System.Data.SQLite owns two similar methods : Close() Dispose() Same for the SQLiteDataReader o
I'm trying to understand async await in the simplest form. I want to create a very simple method that adds two numbers for the sake of this example, granted, i
Consider a scenario when you need to write integration tests for the REST API controllers. I use MSTest for this. The logic is following: Create new database, r
I have installed costura.fody into my project using nuget package. I have updated the FodyWeavers.xml file with: <Costura Unmanaged32Assemblies='dllname' U
It doesn't give any errors or warnings but it doesn't insert in the database. Seems like it's only in memory. Also UserManager's FindByNameAsync can't check use