How to download & install RabbitMQ on Windows, enable the management GUI, and publish and consume messages using C#. Download the latest Windows installer for RabbitMQ Server (this one is version 3.8.5) from …
ASP.NET Core 3.x Input Validation
See a mistake here? Or something missing? Let me know! Use C# Attributes from the System.ComponentModel.DataAnnotations namespace to add server-side and client-side validation. Tip: Keep your view model separate from your database model, because the same data attributes will do two different …
Amateur Radio Question Pools
There are a handful of web & mobile apps for studying to take Amateur Radio exams. Some are free, some aren't. I parsed the question pools into JSON format for easy use. Please use these for making more free resources for people to prepare for …
ASP.NET Core 2.x – Add a DbContext
Index: Example entity modelInstall NuGet packagesCreate context classUpdate Startup.csExample connection stringAdd-MigrationUpdate-DatabaseSeed data Example entity model Read about the [Key] annotation and others here Install NuGet packages (the Identity packages are only necessary if …
Create a Windows User to Run a Service Under
Create a user in cmd net user /add Add user to a group net localgroup /add Grant read/write/execute permission to the user for the app's folder icacls "" /grant : /t The user account (SID). The path of the folder containing the app. Sets the access permissions. (OI): The …
[Read more...] about Create a Windows User to Run a Service Under