Visual Studio
Notes for Visual Studio and VS Code, including publishing .NET apps to Linux, Windows services, source control and useful code snippets.
Visual Studio - Deploy to Linux
The only thing that you need to do do to deploy to Linux is too change the target runtime setting...
Visual Studio - Entity Framework Tips
dotnet tool install --global dotnet-efdotnet ef migrations add CreateInitialdotnet ef database up...
Visual Studio - Bag of Tricks
To Add underscore to fieldNames
Service - Add Installer and Setup
Go to Solution Explorer and right-click on your project solution then go to the view designer the...
Log4Net - Wrapper
https://stackoverflow.com/questions/1028375/how-do-you-configure-and-enable-log4net-for-a-stand-a...
DataGrid - Working with Cells and Rows
void dataGridView_CellValidating(object sender, DataGridViewCellValidatingEventArgs e) { //...
Visual Studio - Publish to Linux and Restart Service
To stop and restart a Linux service automatically when publishing from Visual Studio to a local f...
Visual Studio - Git Create new repo in on-prem Azure Devops
Create a new repo in the web portal and push codeĀ This is the standard approach for managing ne...
Visual Studio Code - Git Create new repo in on-prem Azure Devops
Create a new repo in the web portal and push codeĀ This is the standard approach for managing ne...