Browse by Tags

Tagged Content List
  • Blog Post: Mixing MEF and PIAB

    The Policy Injection Application Block (PIAB) provides a way to dynamically apply cross-cutting concerns by configuration or attributes. The combination of this technique and composition using Managed Extensibility Framework (MEF) can be realized through the use of a factory method as demonstrated here...
  • Blog Post: Upgrade SQL CE Database from 3.1 to 3.5

    var engine = new System.Data.SqlServerCe. SqlCeEngine ( "Data Source=" + filename); engine.EnsureVersion35(filename); --HELPER CLASS--- public static class SqlCeUpgrade { public static void EnsureVersion35( this SqlCeEngine engine, string filename) { try { SQLCEVersion fileversion...
  • Blog Post: Just Released: Microsoft Enterprise Library 5.0

    See details here: http://msdn.microsoft.com/en-us/library/ff632023.aspx and read Grigori's post here: http://blogs.msdn.com/agile/archive/2010/04/20/microsoft-enterprise-library-5-0-released.aspx
  • Blog Post: Code Contracts

    pre-conditions, post-conditions, object invariants in .NET - go here
  • Blog Post: Share sourcecode between Silverlight and WPF Applications

    Sharing code between Silverlight and WPF Applications has been a returning wish from several of the customers in our Microsoft Innovation Center in Denmark. The base class libraries are very similar, but obviously something is missing in the 3-4 MB Silverlight download you just installed on that iMac...
  • Blog Post: Security tips and code clips [german]

    ThinkTecture's Dominick Baier has helped MSDN in Germany to create a number of clips and How-To's covering several aspects of security on the .NET platform. If you remember any german from school I would recommend you point your browser this way
  • Blog Post: Smart Clients from Greece?

    Microsoft Code Name " Acropolis " has finally been released to the public as a technology preview. Having played with some internal releases it has become clear to me what a huge amount of work the team has put into this technology. I would like to congratulate with this important milestone and will...
  • Blog Post: ISB - Biztalk Services in the sky

    If you haven't done so already I recommend you take a look at our latest Biztalk Services CTP from the Connected Systems Division ( http://connectedsystems.spaces.live.com/ ). Quite a few people has already commented on this and I will just forward you to some of the links I have found interesting...
  • Blog Post: Writing Test Code with Impersonation

    Some of your (unit) tests may be required to run with predefined credentials, and if all your tests should run as one single identity your might as well use the command line runas.exe tool to start your testrunner (or whatever your favorite naming for this is). In some (rare?) occasions you may need...
  • Blog Post: EntLib 3.0 Released

    The P&P team has finished the third major release of the enterprise library. See Tom's post for more information. Try the new WCF integration with logging, exception handling and validation application blocks. Download from MSDN .
  • Blog Post: XmlSerialization snippet

    I keep writing this code - now I can find it on my blog in the future :-) public static class StringXmlSerializer { public static string Serialize<T>(T obj) { XmlSerializer s = new XmlSerializer( typeof (T)); StringBuilder sb = new StringBuilder (); StringWriter sw = new...
  • Blog Post: Externalize your Communication Protocol Details with WCF

    In general the Web Service client proxy generated by “Add Web Reference” in Visual Studio is all you need to start talking to a Web Service. Some of you may need to present a certificate to the remote server you are calling and for this purpose you would typically populate the ClientCertificates collection...
Page 1 of 1 (12 items)