Use ESB Exception Handling Only

Most of the time, you only want to use the exception handling functionality of the ESB Toolkit. In that case you can include the necessary artefacts in a BizTalk.Framework application. You will still have to create the ESB Exception database via the ESB Configuration Tool first. Next, in case you use the BizTalk Deployment Framework…

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…

Reconfigure BizTalk

Let’s say you have a configured BizTalk Server in development with a few applications running and various custom host instances. Let’s say you configured BizTalk using a local admin account and instead you wanna configure BizTalk with a domain admin account. Enterprise SSO and all BizTalk host instances have to be running under the domain…

Large blobs to Azure Storage

Recently I had an issue whereby I couldn’t add a document with a size > 3MB to Azure blob storage. I store blobs to Azure storage via a custom API App named StorageConnector. To the web.config of this custom API App I had to add two settings to make it work: Node <System.Web> Add: <httpRuntime…