Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » English   (RSS)

Introduction to WCF Data Services

Benoit Sarie, my franchouillardest colleague, has written a series of post about WCF Data Services (formerly known as ADO.NET Data Services). It starts off with setting up a WCFDS environment, and quickly delves into pragmatic topics such as querying
Posted by lvovan | 0 Comments

Windows Live Writer Silverlight App Plugin

I’ve been blogging about WPF and Silverlight using Windows Live Writer (WLW) for quite a while now. But there’s something I found really awkward : I never actually had some Silverlight running within a post! Since a XAP is worth way more than static screenshots,

Get whole sets of vector icons using … Fonts!

Finding icons is a tedious task for most developers. In this post I will demonstrate how to use “symbolic” fonts in your WPF or Silverlight applications, which provide the following benefits: Vector icons that are smoothly scalable Potentially better
Posted by lvovan | 0 Comments
Attachment(s): FontsAsVectorIcons.zip

Silverlight: Accessing files outside of the ClientBin directory of your website using a relative URI

Accessing an arbitrary file on your website is a very common need in RIA scenarios. This is easily done from Silverlight when the files you are trying to access are under the ClientBin directory, or given an absolute URI path to the targeted file. Unfortunately,
Posted by lvovan | 0 Comments
Attachment(s): RelativeExternalUris_en.zip

The FormatConverter, and XamlParseExceptions in Microsoft Expression Blend

A converter we very often use and reimplement is the so-called FormatConverter, which takes a string as a value and uses with the converter’s parameter in a call to String.Format . This eases sometimes shortens the XAML by quite a bit when concatenating

WPF and Silverlight namescopes and DataContext differences

When authoring a UserControl, you will more often than not end up data binding properties of objects in your XAML file to properties of your UserControl itself. The most elegant way to do this would be without any code-behind at all, using ElementName
Posted by lvovan | 0 Comments
Attachment(s): NameScopeExample.zip

The XamlParseException AG_E_PARSER_BAD_TYPE checklist

While running a Silverlight application, you might sometimes encounter the dreaded runtime ParseException(“AG_E_PARSER_BAD_TYPE”). Despite its rather crude description, the message actually means something close to the words it uses: during the XAML parsing
Posted by lvovan | 1 Comments

"The configuration section for Logging cannot be found in the configuration source." or how to read an external configuration file for the Logging Application Block

When using the Logging Application Block, using an IConfigurationSource to read your logging configuration from an external reference might throw a ConfigurationErrorsException("The configuration section for Logging cannot be found in the configuration
Posted by lvovan | 0 Comments
Filed under: , ,

Reading a configuration file from an abitrary path

Here a a few, but often useful, lines of code that open a .NET configuration file from any given path. Just use the OpenMappedExeConfiguration method : var configFileMap = new ExeConfigurationFileMap (); configFileMap.ExeConfigFilename = @"C:\TEMP\MyApp.config"
Posted by lvovan | 0 Comments
Filed under: , ,

How to determine which TCP port Analysis Services is listening on

While recently installing and interfacing SQL Server Analysis Services (SSAS) with Commerce Server 2009 , I had to find out on which TCP port SSAS was listening on. This is a fairly common procedure as firewalls and CS2009 resources have to be configured.
Posted by lvovan | 0 Comments
Filed under: ,

Enabling Hyper-V Integration Services on a VM migrated from Virtual PC

Upon migrating a Vista or 2008 virtual machine from Virtual PC 2007 to Hyper-V, the Hyper-V Integration Services sometimes look like they are not working at all. A warning also pops up when attempting to reinstall them: A previous installation of Hyper-V
Posted by lvovan | 0 Comments

Reading web.config parameters from a Silverlight application

It is a very common ASP.NET scenario to have to read a configuration parameter from web.config. This operation is very easily implemented from ASPX using Configuratoin.AppSettings. However, this scenario does not work out of the box from a Silverlight
Posted by lvovan | 0 Comments
Attachment(s): SlReadWebConfig.zip

Interacting between Powershell and a host .NET application

An unusual topic in today’s post : interacting between Powershell and a host .NET application. The examples available on MSDN show how to host Powershell runspaces using classes from the System.Management.Automation namespace ; but it is also possible
Posted by lvovan | 1 Comments
Attachment(s): Program.cs

Sorts and filters on ObservableCollection

Using the ObservableCollection<T> collection is a very common practice among UI developers. Added to the fact that they allow easy UI updates, they also allow sorting and filtering operations via CollectionViews. This post describes a pattern linking
Posted by lvovan | 0 Comments
Filed under: , ,

Attachment(s): CollectionViewDemo_EN.zip

WPF: Some terms defined for Rudy

I received a mail from Rudy, who asked me for some clarifications on several WPF definitions: « The terms for which I would like to have some details, relations and usage are DataTemplate, ContentControl, ControlTemplate and Content » A DataTemplate is
Posted by lvovan | 1 Comments
Filed under: , ,
More Posts Next page »
 
Page view tracker