7
Profitbase Studio / Server and SQL Server dependencies
No comments · Posted by Tore Senneseth in Profitbase Server, Profitbase Studio
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 [...]
No tags
16
Xml namespace simplified in Silverlight 4.0
No comments · Posted by Tore Senneseth in Silverlight
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 [...]
No tags
9
Object-To-Object Binding / ViewModel-To-ViewModel Binding
No comments · Posted by Tore Senneseth in Silverlight
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 [...]
No tags
28
Using Bindings in Styles in Silverlight
No comments · Posted by Tore Senneseth 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" [...]
No tags
4
Extracting MSI files from the installer .exe
No comments · Posted by Tore Senneseth in Deployment, Profitbase Server, Profitbase Studio
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 [...]
No tags
23
Building a claims aware ASP.NET web application
No comments · Posted by Tore Senneseth in Windows Identity Foundation
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: [...]
No tags
18
Building a claims aware WCF Service using Windows Identity Foundation
No comments · Posted by Tore Senneseth in Uncategorized
Windows Identity Foundation (WIF) just shipped, so I decided to give it a go and see how easy it was to get started. There’s an easy way to get started building an STS and claims aware WCF service, and there’s a hard way. The easy way is to just use the [...]
No tags
5
Windows Identity Foundation – a good starting point
No comments · Posted by Tore Senneseth in Windows Identity Foundation
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 [...]
No tags
3
Activity Start Interval in the Parallel Activity
No comments · Posted by Tore Senneseth in Profitbase Studio
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 [...]
No tags
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 [...]
No tags
