Using Git

GIT is a decentralized version source control (DVCS) system where you work on a local repository that you can synchronize with a central repository so that other team members can use your code. A very useful branching model for Git is called GitFlow. This model is developed by Vincent Driessen and is targeted at making…

SFTP versus FTPS

SFTP stands for Secure FTP, that is FTP over SSH. FTPS is FTP over SSL. FTP over SSL is basically like a regular FTP connection and doesn’t require any further explanation. Secure FTP is more complex. The S in SFTP refers to SSH (= Secure Shell). SSH is a tunneling protocol, that means the FTP…

BizTalk CAT

The BizTalk CAT Instrumentation Framework is a high performance tracing/logging framework for BizTalk that builds upon the Event Tracing for Windows (ETW) infrastructure. The Controller is designed for use both on development machines and production servers. Compared to System.Diagnostic.Trace, Enterprise Library Tracing or Log4Net, CAT has a negligible impact on performance. To use the BizTalk CAT…

Call Powershell script from command file

Just another gotcha. I have a command file Kw1c_Build.cmd that calls a Powershell script Kw1c_Build.ps1. The command file has the following code: @Echo Off Echo Changing PowerShell Execution policy… powershell Get-ExecutionPolicy powershell Set-ExecutionPolicy Unrestricted powershell %~dpn0.ps1 pause What’s important to know, is that %~dpn0 returns the Drive, Path and Name of the currently executing script….

Powershell Settingsfile

In a Powershell (.ps) script, you can use settings from a settings file. In this case we have a Powershell script Functions_Build.ps1 which uses a settings file Settings_BuildEnvironment.csv. You can use the following code in your PowerShell script: Set-ExecutionPolicy Unrestricted # Import general helpers using dot operator . .\Functions_General.ps1 # Load parameters $settings = Import-Csv…

XSD.exe

It can be handy to generate C# classes based on XSD schemas. Just as an example: Cd C:\Paul\DSP\Schemas xsd.exe /classes /f /order /language:CS AanboringGas.xsd AansluitingAlgemeen.xsd AansluitingElektra.xsd AansluitingGas.xsd AansluitleidingGas.xsd AansluitleidingWater.xsd AfsluiterGas.xsd AlgemeenCAI.xsd AlgemeenDSP.xsd AlgemeenElektra.xsd AlgemeenGas.xsd AlgemeenGlas.xsd AlgemeenKoper.xsd AlgemeenWater.xsd Bijlagen.xsd Deelnemers.xsd DiameterAdersElektra.xsd EMofElektra.xsd HoofdleidingGas.xsd HoofdleidingWater.xsd KoppelingGas.xsd Mantelbuis.xsd Opdrachtbericht.xsd StraatmeubilairElektra.xsd .\Tijdstip.xsd Note: The last XSD Tijdstip.xsd is preceded…