<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2944517286278650704</id><updated>2012-01-20T15:18:10.155Z</updated><category term='Visual Studio'/><category term='Tomcat'/><category term='IL'/><category term='Mocking'/><category term='WCF'/><category term='IoC'/><category term='Windsor'/><category term='Proxy'/><category term='IO'/><category term='.Net'/><category term='NHibernate'/><category term='CI'/><category term='Patterns'/><category term='ClickOnce'/><category term='Fluent NHibernate'/><category term='IIS7'/><category term='ASP.Net'/><category term='Security'/><category term='MSBuild'/><category term='AutoMapper'/><category term='Unit Testing'/><category term='SQLCE'/><category term='Configuration'/><title type='text'>Life's too short for blogging...</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bronumski.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://bronumski.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Matt Davis</name><uri>https://profiles.google.com/115201177057709865108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-7QexvjdAGhM/AAAAAAAAAAI/AAAAAAAAACo/8zv4qJAZvAg/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2944517286278650704.post-3471901204726310422</id><published>2011-11-21T19:53:00.001Z</published><updated>2011-11-21T19:53:11.870Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='WCF'/><title type='text'>Custom WCF security token</title><summary type='text'>This has been hanging around in my drafts for a while. I have just been looking at Secure Token Services and decided to dust this off before posting any of my findings with STS’s.  A while back I was involved in a smart client application for a customer that used a mixture of WCF and Microsoft Synchronization Framework for downloading offline data from our system. One of the interesting aspects </summary><link rel='replies' type='application/atom+xml' href='http://bronumski.blogspot.com/feeds/3471901204726310422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bronumski.blogspot.com/2011/11/this-has-been-hanging-around-in-my.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/3471901204726310422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/3471901204726310422'/><link rel='alternate' type='text/html' href='http://bronumski.blogspot.com/2011/11/this-has-been-hanging-around-in-my.html' title='Custom WCF security token'/><author><name>Matt Davis</name><uri>https://profiles.google.com/115201177057709865108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-7QexvjdAGhM/AAAAAAAAAAI/AAAAAAAAACo/8zv4qJAZvAg/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2944517286278650704.post-2750619804112750617</id><published>2011-09-28T18:48:00.000+01:00</published><updated>2011-09-28T19:12:55.074+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unit Testing'/><category scheme='http://www.blogger.com/atom/ns#' term='Mocking'/><category scheme='http://www.blogger.com/atom/ns#' term='WCF'/><title type='text'>Hosting a Mock as a WCF service</title><summary type='text'>There are a number of times where I have wanted to fire up a dummy WCF service that can be used in unit tests and be able to run some assertions against. Previously I use to write a wrapper class for my mock with the same interface and proxy all the calls to the mocked object as per the following example.          [ServiceBehaviour(InstanceContextMode = InstanceContextMode.Single)
&lt;!--CRLF--&gt;

</summary><link rel='replies' type='application/atom+xml' href='http://bronumski.blogspot.com/feeds/2750619804112750617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bronumski.blogspot.com/2011/09/hosting-mock-as-wcf-service.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/2750619804112750617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/2750619804112750617'/><link rel='alternate' type='text/html' href='http://bronumski.blogspot.com/2011/09/hosting-mock-as-wcf-service.html' title='Hosting a Mock as a WCF service'/><author><name>Matt Davis</name><uri>https://profiles.google.com/115201177057709865108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-7QexvjdAGhM/AAAAAAAAAAI/AAAAAAAAACo/8zv4qJAZvAg/s512-c/photo.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2944517286278650704.post-1646292245583243145</id><published>2011-06-28T18:28:00.001+01:00</published><updated>2011-06-28T18:29:36.863+01:00</updated><title type='text'>yUML–&gt; A web based tool for generating simple UML diagrams for use in blogs, forums and wikis</title><summary type='text'>I came across yUML viewing someone's answer on Stack Overflow. It allows you to generate quick diagrams using a simple syntax that can then be presented in a blog.  With just a few lines of syntax you can generate a diagram and a url that can be inserted into a blog post or forum.          [Customer{bg:orange}]+1-&gt;*[Order{bg:green}]
&lt;!--CRLF--&gt;

    [Order]++1-items &gt;*[LineItem{bg:red}]
&lt;!--CRLF-</summary><link rel='replies' type='application/atom+xml' href='http://bronumski.blogspot.com/feeds/1646292245583243145/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bronumski.blogspot.com/2011/06/yuml-web-based-tool-for-generating.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/1646292245583243145'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/1646292245583243145'/><link rel='alternate' type='text/html' href='http://bronumski.blogspot.com/2011/06/yuml-web-based-tool-for-generating.html' title='yUML–&amp;gt; A web based tool for generating simple UML diagrams for use in blogs, forums and wikis'/><author><name>Matt Davis</name><uri>https://profiles.google.com/115201177057709865108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-7QexvjdAGhM/AAAAAAAAAAI/AAAAAAAAACo/8zv4qJAZvAg/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2944517286278650704.post-2390358533116302503</id><published>2011-06-27T23:52:00.000+01:00</published><updated>2011-06-28T13:32:03.129+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Creating the ASP.Net Application Services Database from code without having to use aspnet_regsql.exe</title><summary type='text'>Recently I have been trying to run some user acceptance tests and have been struggling to generate a membership database for use with the asp.net membership provider on the fly and then clean up afterwards. I like to generate test database with unique names as not to clash with other tests that might be running on the test box and this had been proving rather hard.  I started of trying to </summary><link rel='replies' type='application/atom+xml' href='http://bronumski.blogspot.com/feeds/2390358533116302503/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bronumski.blogspot.com/2011/06/generating-creating-aspnet-application.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/2390358533116302503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/2390358533116302503'/><link rel='alternate' type='text/html' href='http://bronumski.blogspot.com/2011/06/generating-creating-aspnet-application.html' title='Creating the ASP.Net Application Services Database from code without having to use aspnet_regsql.exe'/><author><name>Matt Davis</name><uri>https://profiles.google.com/115201177057709865108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-7QexvjdAGhM/AAAAAAAAAAI/AAAAAAAAACo/8zv4qJAZvAg/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2944517286278650704.post-4642750741248966664</id><published>2011-01-02T13:04:00.000Z</published><updated>2011-01-02T13:26:48.597Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoMapper'/><category scheme='http://www.blogger.com/atom/ns#' term='NHibernate'/><category scheme='http://www.blogger.com/atom/ns#' term='Fluent NHibernate'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Making Fluent NHibernate AutoMapper behave with interfaces</title><summary type='text'>I’ve been an avid user of NHibernate for some time now either using the built in class maps or Castles ActiveRecord. It hasn’t been until recently that I have started using Fluent NHibernate and have been wowed by how easy it is to do the class mappings with the ClassMap base class. This is an improvement over ActiveRecord where domain objects are tightly bound to ActiveRecord because of the </summary><link rel='replies' type='application/atom+xml' href='http://bronumski.blogspot.com/feeds/4642750741248966664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bronumski.blogspot.com/2011/01/making-fluent-nhibernate-automapper.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/4642750741248966664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/4642750741248966664'/><link rel='alternate' type='text/html' href='http://bronumski.blogspot.com/2011/01/making-fluent-nhibernate-automapper.html' title='Making Fluent NHibernate AutoMapper behave with interfaces'/><author><name>Matt Davis</name><uri>https://profiles.google.com/115201177057709865108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-7QexvjdAGhM/AAAAAAAAAAI/AAAAAAAAACo/8zv4qJAZvAg/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2944517286278650704.post-7294168229279578690</id><published>2010-10-26T01:04:00.001+01:00</published><updated>2010-10-26T01:04:33.966+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CI'/><category scheme='http://www.blogger.com/atom/ns#' term='IIS7'/><category scheme='http://www.blogger.com/atom/ns#' term='Tomcat'/><title type='text'>Host TeamCity in IIS7</title><summary type='text'>Up until recently I have been using the apache isapi redirector to proxy through from IIS to TeamCity (which runs on Tomcat). This was because I had no alternative until today. Whilst searching the interwebs I came across the Application Request Routing extension for IIS7. This amongst other things allows IIS to proxy through to a service running either locally or remotely running on any port.  </summary><link rel='replies' type='application/atom+xml' href='http://bronumski.blogspot.com/feeds/7294168229279578690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bronumski.blogspot.com/2010/10/host-teamcity-in-iis7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/7294168229279578690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/7294168229279578690'/><link rel='alternate' type='text/html' href='http://bronumski.blogspot.com/2010/10/host-teamcity-in-iis7.html' title='Host TeamCity in IIS7'/><author><name>Matt Davis</name><uri>https://profiles.google.com/115201177057709865108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-7QexvjdAGhM/AAAAAAAAAAI/AAAAAAAAACo/8zv4qJAZvAg/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2944517286278650704.post-711034591106137576</id><published>2010-06-29T16:27:00.001+01:00</published><updated>2010-06-29T16:36:36.175+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IO'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Better know a framework: Flushing the System.IO.StreamWriter</title><summary type='text'>I ran into an issue today where content that was being written to a Stream was being truncated when a large amount of text was being written. The code was something similar to:          using (var memoryStream = new MemoryStream())
&lt;!--CRLF--&gt;

    using (var streamWriter = new StreamWriter(memoryStream , Encoding.UTF8))
&lt;!--CRLF--&gt;

    {
&lt;!--CRLF--&gt;

        streamWriter.Write(</summary><link rel='replies' type='application/atom+xml' href='http://bronumski.blogspot.com/feeds/711034591106137576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bronumski.blogspot.com/2010/06/better-know-framework-flushing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/711034591106137576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/711034591106137576'/><link rel='alternate' type='text/html' href='http://bronumski.blogspot.com/2010/06/better-know-framework-flushing.html' title='Better know a framework: Flushing the System.IO.StreamWriter'/><author><name>Matt Davis</name><uri>https://profiles.google.com/115201177057709865108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-7QexvjdAGhM/AAAAAAAAAAI/AAAAAAAAACo/8zv4qJAZvAg/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2944517286278650704.post-4287007066893821319</id><published>2010-06-16T17:18:00.000+01:00</published><updated>2010-06-16T17:19:08.736+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Patterns'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Using the IMapper interface with the System.Converter delegate</title><summary type='text'>Recently I wrote a post about using a standard mapping interface for your mappers which gave the added benefit of providing an easy way to write an extension method for mapping enumerable. As it turns out it also has the added benefit in fitting in with the System.Converter delegate signature in that the signature of the Map method of the IMapper interface is the same as the System.Converter </summary><link rel='replies' type='application/atom+xml' href='http://bronumski.blogspot.com/feeds/4287007066893821319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bronumski.blogspot.com/2010/06/using-imapper-interface-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/4287007066893821319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/4287007066893821319'/><link rel='alternate' type='text/html' href='http://bronumski.blogspot.com/2010/06/using-imapper-interface-with.html' title='Using the IMapper interface with the System.Converter delegate'/><author><name>Matt Davis</name><uri>https://profiles.google.com/115201177057709865108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-7QexvjdAGhM/AAAAAAAAAAI/AAAAAAAAACo/8zv4qJAZvAg/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2944517286278650704.post-457540087513900645</id><published>2010-06-16T10:00:00.001+01:00</published><updated>2010-06-16T23:14:36.909+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQLCE'/><category scheme='http://www.blogger.com/atom/ns#' term='NHibernate'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Support SQLCE BinaryBlob and StringClob in NHibernate without depending on System.Data.SqlServerCe</title><summary type='text'>Out of the box NHibernate 2 does not support the BinaryBlob or StringClob sql types for SQL Server compact 3.5. This results in NText and Image fields being truncated. One of the common workarounds you can find on the web is to override the existing SqlServerCeDriver and cast the parameter to an SqlCeParameter and manual set the parameter types to NText and Image.          using System.Data; 
&lt;!-</summary><link rel='replies' type='application/atom+xml' href='http://bronumski.blogspot.com/feeds/457540087513900645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bronumski.blogspot.com/2010/06/support-sqlce-binaryclob-and-stringclob.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/457540087513900645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/457540087513900645'/><link rel='alternate' type='text/html' href='http://bronumski.blogspot.com/2010/06/support-sqlce-binaryclob-and-stringclob.html' title='Support SQLCE BinaryBlob and StringClob in NHibernate without depending on System.Data.SqlServerCe'/><author><name>Matt Davis</name><uri>https://profiles.google.com/115201177057709865108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-7QexvjdAGhM/AAAAAAAAAAI/AAAAAAAAACo/8zv4qJAZvAg/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2944517286278650704.post-72007408357581434</id><published>2010-06-10T18:38:00.001+01:00</published><updated>2010-06-29T01:12:59.633+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IL'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Taking the pain out of parameter validation</title><summary type='text'>One of the biggest pains I find when writing API components is validating parameters. Now don’t get me wrong I don’t mind validating a parameter and failing quickly to ensure that your component works correctly it’s the tediousness of the code that bothers me. Take the following method signature for example.          public void SomeMethod(SomeObject someObject, int maxValue)
&lt;!--CRLF--&gt;

    {
&lt;</summary><link rel='replies' type='application/atom+xml' href='http://bronumski.blogspot.com/feeds/72007408357581434/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bronumski.blogspot.com/2010/06/taking-pain-out-of-parameter-validation.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/72007408357581434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/72007408357581434'/><link rel='alternate' type='text/html' href='http://bronumski.blogspot.com/2010/06/taking-pain-out-of-parameter-validation.html' title='Taking the pain out of parameter validation'/><author><name>Matt Davis</name><uri>https://profiles.google.com/115201177057709865108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-7QexvjdAGhM/AAAAAAAAAAI/AAAAAAAAACo/8zv4qJAZvAg/s512-c/photo.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2944517286278650704.post-4094654254743235094</id><published>2010-06-10T11:11:00.001+01:00</published><updated>2010-06-10T11:12:56.980+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IoC'/><category scheme='http://www.blogger.com/atom/ns#' term='Configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='Patterns'/><category scheme='http://www.blogger.com/atom/ns#' term='Windsor'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Configuration ignorance</title><summary type='text'>A good friend of mine, Stephen Oakman, did a post on how to hide your dependencies on a particular configuration implementation (Using a configuration provider). I wanted to touch on the basics of the post and show how that can be achieved with a complex implementation of a configuration structure using the System.Configuration namespace objects and builds on my original post of Generic </summary><link rel='replies' type='application/atom+xml' href='http://bronumski.blogspot.com/feeds/4094654254743235094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bronumski.blogspot.com/2010/06/configuration-ignorance.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/4094654254743235094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/4094654254743235094'/><link rel='alternate' type='text/html' href='http://bronumski.blogspot.com/2010/06/configuration-ignorance.html' title='Configuration ignorance'/><author><name>Matt Davis</name><uri>https://profiles.google.com/115201177057709865108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-7QexvjdAGhM/AAAAAAAAAAI/AAAAAAAAACo/8zv4qJAZvAg/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2944517286278650704.post-5029587764190471811</id><published>2010-06-09T17:41:00.002+01:00</published><updated>2010-06-09T17:52:55.894+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Automatic collection mapping for your mappers</title><summary type='text'>I was going through our code base the other day and found a large number of mapper objects and their related interfaces. They all looked something like this:  public class SomeObjectMapper&lt;!--CRLF--&gt;{&lt;!--CRLF--&gt;    public ObjectA Map(ObjectB source)&lt;!--CRLF--&gt;    {&lt;!--CRLF--&gt;        //Perform mapping and return.&lt;!--CRLF--&gt;    }&lt;!--CRLF--&gt; &lt;!--CRLF--&gt;    public IEnumerable&lt;ObjectA&gt; MapAll(</summary><link rel='replies' type='application/atom+xml' href='http://bronumski.blogspot.com/feeds/5029587764190471811/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bronumski.blogspot.com/2010/06/automatic-collection-mapping-for-your.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/5029587764190471811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/5029587764190471811'/><link rel='alternate' type='text/html' href='http://bronumski.blogspot.com/2010/06/automatic-collection-mapping-for-your.html' title='Automatic collection mapping for your mappers'/><author><name>Matt Davis</name><uri>https://profiles.google.com/115201177057709865108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-7QexvjdAGhM/AAAAAAAAAAI/AAAAAAAAACo/8zv4qJAZvAg/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2944517286278650704.post-2397045202484892497</id><published>2010-06-09T15:45:00.004+01:00</published><updated>2010-06-09T16:31:52.841+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Fed up with writing methods to copy one stream to another</title><summary type='text'>I constantly find myself writing static methods in my applications to copy one stream into another so I finally decided  to add an extension method to our internal library. There is a method on the MemoryStream class called WriteTo which does this but I wanted it to be available to all instances of Stream.             public static void CopyTo(this Stream input, Stream output, int bufferSize)&lt;!--</summary><link rel='replies' type='application/atom+xml' href='http://bronumski.blogspot.com/feeds/2397045202484892497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bronumski.blogspot.com/2010/06/fed-up-with-writing-methods-to-copy-one.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/2397045202484892497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/2397045202484892497'/><link rel='alternate' type='text/html' href='http://bronumski.blogspot.com/2010/06/fed-up-with-writing-methods-to-copy-one.html' title='Fed up with writing methods to copy one stream to another'/><author><name>Matt Davis</name><uri>https://profiles.google.com/115201177057709865108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-7QexvjdAGhM/AAAAAAAAAAI/AAAAAAAAACo/8zv4qJAZvAg/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2944517286278650704.post-5773861586313311082</id><published>2009-09-18T09:53:00.002+01:00</published><updated>2009-09-18T10:19:06.999+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IoC'/><category scheme='http://www.blogger.com/atom/ns#' term='Windsor'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='WCF'/><title type='text'>Injecting service certificates into a WCF end point using Windsor’s WcfIntegration</title><summary type='text'>I recently hit an issue whilst using Windsor’s WCF Integration Facility (see previous post on configuring the the facility) to create a WCF end point. Previously the WCF integration was working fine but I had to change the binding to a wsHttpBinding and use a mutual certificate to secure the message. Normally you would setup the endpoint binding to load the required certificate out of the </summary><link rel='replies' type='application/atom+xml' href='http://bronumski.blogspot.com/feeds/5773861586313311082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bronumski.blogspot.com/2009/09/injecting-service-certificates-into-wcf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/5773861586313311082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/5773861586313311082'/><link rel='alternate' type='text/html' href='http://bronumski.blogspot.com/2009/09/injecting-service-certificates-into-wcf.html' title='Injecting service certificates into a WCF end point using Windsor’s WcfIntegration'/><author><name>Matt Davis</name><uri>https://profiles.google.com/115201177057709865108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-7QexvjdAGhM/AAAAAAAAAAI/AAAAAAAAACo/8zv4qJAZvAg/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2944517286278650704.post-8752309886695463388</id><published>2009-09-17T17:32:00.001+01:00</published><updated>2009-09-18T10:05:12.401+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IoC'/><category scheme='http://www.blogger.com/atom/ns#' term='Windsor'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='WCF'/><title type='text'>Using Windsor to inject dependencies into your WCF services with WCF Integration Facility</title><summary type='text'>IoC is pretty cool but sometimes you can’t use it straight out of the box with say something like WCF. Well now you can thanks to Ayende Rahien. Windsor contains a WCF Integration Facility that provides a WCF ServiceHostFactory which is used to create a service host for your service and injects any dependencies registered in Windsor. This is frighteningly simple to configure as you will see. </summary><link rel='replies' type='application/atom+xml' href='http://bronumski.blogspot.com/feeds/8752309886695463388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bronumski.blogspot.com/2009/09/using-windsor-to-inject-dependencies.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/8752309886695463388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/8752309886695463388'/><link rel='alternate' type='text/html' href='http://bronumski.blogspot.com/2009/09/using-windsor-to-inject-dependencies.html' title='Using Windsor to inject dependencies into your WCF services with WCF Integration Facility'/><author><name>Matt Davis</name><uri>https://profiles.google.com/115201177057709865108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-7QexvjdAGhM/AAAAAAAAAAI/AAAAAAAAACo/8zv4qJAZvAg/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2944517286278650704.post-1290820328891437691</id><published>2009-09-09T14:58:00.002+01:00</published><updated>2010-06-09T18:38:19.789+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Generic configuration element collection</title><summary type='text'>Tiered of endlessly writing your custom ConfigurationElementCollection classes and duplicating your code. Well so was I which is why I ended up abstracting out the core functionality into an abstract base class. This is a similar approach to the one Richard Adleta  used in his post on A generic ConfigurationElementCollection implementation but with some differences.  public abstract class </summary><link rel='replies' type='application/atom+xml' href='http://bronumski.blogspot.com/feeds/1290820328891437691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bronumski.blogspot.com/2009/09/generic-configuration-element.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/1290820328891437691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/1290820328891437691'/><link rel='alternate' type='text/html' href='http://bronumski.blogspot.com/2009/09/generic-configuration-element.html' title='Generic configuration element collection'/><author><name>Matt Davis</name><uri>https://profiles.google.com/115201177057709865108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-7QexvjdAGhM/AAAAAAAAAAI/AAAAAAAAACo/8zv4qJAZvAg/s512-c/photo.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2944517286278650704.post-2131723446611443082</id><published>2009-06-12T12:18:00.002+01:00</published><updated>2009-09-10T16:16:59.015+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CI'/><category scheme='http://www.blogger.com/atom/ns#' term='MSBuild'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Project assembly reference fun and games</title><summary type='text'>We just had an issue with the build of one of our applications on our CI server. The build in question no longer contained an assembly in the bin folder where previously it had. Pinpointing the issue  At first I couldn’t understand why the assembly was not in the bin folder as the assembly was clearly marked in Visual Studio as “Copy Local = true”. I then looked through the build history to see </summary><link rel='replies' type='application/atom+xml' href='http://bronumski.blogspot.com/feeds/2131723446611443082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bronumski.blogspot.com/2009/06/project-reference-fun-and-games.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/2131723446611443082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/2131723446611443082'/><link rel='alternate' type='text/html' href='http://bronumski.blogspot.com/2009/06/project-reference-fun-and-games.html' title='Project assembly reference fun and games'/><author><name>Matt Davis</name><uri>https://profiles.google.com/115201177057709865108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-7QexvjdAGhM/AAAAAAAAAAI/AAAAAAAAACo/8zv4qJAZvAg/s512-c/photo.jpg'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2944517286278650704.post-4357874106193029410</id><published>2009-06-10T10:55:00.000+01:00</published><updated>2009-09-09T15:53:23.490+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ClickOnce'/><category scheme='http://www.blogger.com/atom/ns#' term='Proxy'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>ClickOnce updates via authentication proxy</title><summary type='text'>(Disclaimer: This is my first blog post) You may be aware that ClickOnce installation and updating is not supported via proxy servers that require authentication credentials other than the users default credentials. http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/82be8797-f14f-4db1-acb8-3206881cc567.  The thread suggests that there is hot fix but as far as I am aware this does </summary><link rel='replies' type='application/atom+xml' href='http://bronumski.blogspot.com/feeds/4357874106193029410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bronumski.blogspot.com/2009/06/clickonce-updates-via-authentication.html#comment-form' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/4357874106193029410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2944517286278650704/posts/default/4357874106193029410'/><link rel='alternate' type='text/html' href='http://bronumski.blogspot.com/2009/06/clickonce-updates-via-authentication.html' title='ClickOnce updates via authentication proxy'/><author><name>Matt Davis</name><uri>https://profiles.google.com/115201177057709865108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-7QexvjdAGhM/AAAAAAAAAAI/AAAAAAAAACo/8zv4qJAZvAg/s512-c/photo.jpg'/></author><thr:total>12</thr:total></entry></feed>
