Profitbase Studio / Server and SQL Server dependencies

Profitbase Studio / Server is using parts of the SQL Server API directly, so it is required that these components are installed on the same computer as the Profitbase Studio and/or Profitbase Studio Server. Although these requirements are listed in the System Requirements document, they may from time to time (using clever ninja tactics) avoid […]

Xml namespace simplified in Silverlight 4.0

 
A feature added to Silverlight 4 that has not received much attention is the introduced support for the XmlnsDefinition and XmlnsPrefix attributes in custom assemblies. These attributes has been supported in WPF since day one, and has finally made their way into Silverlight as well.
The XmlnsDefinitionAttribute is used for mapping one or more CLR […]

Object-To-Object Binding / ViewModel-To-ViewModel Binding

 
There may be times when you need to pass data back and forth between ViewModels in a loosly coupled way, without having to handle this in your ViewModels or code behind. Consider a parent-child ViewModel scenario, where your parent ViewModel may contain data resulting in the creation of multiple child ViewModels, for example the case […]

Using Bindings in Styles in Silverlight

 
One of the differences between WPF and Silverlight is that using Bindings when setting properties in styles is still not supported (SL 4). If you try to do so, your application will simply crash. In WPF, you can do something like this;
<Style TargetType="{x:Type ListBoxItem}">
<Setter Property="Background" […]

Extracting MSI files from the installer .exe

Profitbase software is normally installed by running an installer .exe-file. The .exe-files act as bootstrappers for reading the content of the .MSI-file, checking if the required version of the Windows Installer is installed on the system, and then launches the .MSI that takes care of the actual installation of the product.
If […]

Building a claims aware ASP.NET web application

 
This post is a follow up to my previous post about Building a claims aware WCF Service using Windows Identity Foundation. This time, I’ll lay out the steps needed to secure access to a ASP.NET web application using Windows Identity Foundation.
1) Go to the STS application and add the following code to Default.aspx: […]

Windows Identity Foundation – a good starting point

Getting started with WIF may be a bit confusing, so a good starting point at understanding the basics of WIF is the MSDN section A Guide to Claims-Based Identity and Access Control.  In particular, the topic Claims-Based Single Sign-On for the Web explains the basic plumbing of WIF and roles of the config sections in […]

Activity Start Interval in the Parallel Activity

A Data Flow Parallel Activity has a setting called “Activity Start Interval”. Activity Start Interval specifies the time in seconds elapsed between the start of each activity. For example, if the value is 0.2, the activities will start at a 0.2 seconds interval. The reason you’d want to use this setting is that on some […]

WCF Routing Service and custom filters

WCF 4 now has a built-in way for routing WCF service calls, the System.ServiceModel.Routing.RoutingService, found in System.ServiceModel.Routing.dll. There are several reasons you may want to use routing, for example exposing just a single endpoint even though you have several services or routing messages throught multiple routers within a system. The routing is done […]

Categories WCF