Install and Uninstall Service Host

Scripts for installing and uninstalling service host on Windows machine. Need to reinstall every time the service is modified and recompiled. Make sure ServiceHost is setup atc:\AbcService\AbcServiceHost.exe InstallService.bat May need to modify the app.config to point the database connection to your database. UninstallService.bat Note: Once the service is installed, you don’t have to uninstall and... » read more

.NET Framework vs .NET Core vs .NET Standard

.NET Framework .NET Framework is a framework for building and managing the Windows and Web-based application. This is old framework created by Microsoft and provides end to end solution to create Windows application generally known as Win Forms and Web Application like Asp.Net or Asp.Net MVC application. .NET Core .NET Core is a free, cross-platform, open... » read more

Windows Failover Cluster Manager

Microsoft Failover Cluster Manager (MSFCM) is a specific management function within the Windows Server operating system which is used to create, validate, and manage failover server clusters running Windows Server. A failover cluster is a collection of individual physical servers — or nodes — organized into a group capable of sharing the computing workload of an application.... » read more

Calling Code from SSRS Report

Report File Code Section Note: Make sure you reference the dll in the report. DLL myapp.MyAppFacade.dll C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\ReportServer\bin

Creating Unique Constraints

Unique constraint on a column to prevent duplicate entry on a column. Using SQL Server Management Studio In Object Explorer, right-click the table to which you want to add a unique constraint, and click Design. On the Table Designer menu, click Indexes/Keys. In the Indexes/Keys dialog box, click Add. In the grid under General, click Type and choose Unique Key from the drop-down list box to the right... » read more

Making Pageant run another program

Making Pageant run another program You can arrange for Pageant to start another program once it has initialised itself and loaded any keys specified on its command line. This program (perhaps a PuTTY, or a WinCVS making use of Plink, or whatever) will then be able to use the keys Pageant has loaded. You do... » read more