Welcome to blogs.conchango.com Sign in | Join | Help

Welcome to blogs.conchango.com

Browse by Tags

All Tags » c#
Showing page 1 of 7 (63 total posts)
  • Workflow 4.0 Persistence/ Long Running Workflows

    I have recently started to look at the changes introduced with Visual Studio 2010 and .NET Framework 4 Beta 1, the first thing I have looked at is Workflow Foundation 4.0. In this post I will create a simple example which illustrates a long running workflow which persists its state to SQL Server. The example scenario is as follows; a request ...
    Posted to Owain Wraggs' Blog (Weblog) by Owain.Wragg on July 2, 2009
  • Querying Collections Using the Specification Pattern and Expression Trees

    When Linq was initially introduced, I thought it was one of the most useful additions that have ever been made to .NET. I still think that now but after working with Linq for a while I’ve come to the conclusion that it can introduce several problems: Queries are scattered all over the code base There is no common reusable query ...
    Posted to Owain Wraggs' Blog (Weblog) by Owain.Wragg on April 8, 2009
  • Three aspects of your first Silverlight project.

    I have been working on a Silverlight project, and the experience of using it for a period of several weeks on a real application has been quite good. I thought I would highlight three aspects that made it good. 1: It has real C# and .Net inside. The CLR used in Silverlight may be cut-down, but the developer experience isn't. We used Visual ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on March 31, 2009
  • Don’t Mix Object Creation with Business Logic

    I’ve come to the conclusion that mixing object creation logic (e.g. new statements) with business logic is a bad idea; this is because A method should only be responsible for one thing (Single Responsibility Principle), either it creates things or performs logic on things not both. Code littered with both creation logic and business logic ...
    Posted to Owain Wraggs' Blog (Weblog) by Owain.Wragg on March 27, 2009
  • Using the Object Builder Pattern to Manage Test Data

    During my last project it became apparent that we had no consistency in how we created the data used in our unit tests; listed below are some of the various different solutions that had been implemented Private helper methods that created entities, often these methods had been cut and paste into other unit test classes Creating and setting ...
    Posted to Owain Wraggs' Blog (Weblog) by Owain.Wragg on March 17, 2009
  • Microsoft Commerce Server 2007 i_classType meaning

      Probably have sent this before in some form, but noticed someone else blogging about it, http://www.publicvoid.dk/CommerceServerCatalogsAndIClassType.aspx I can never remember what the different class types in the catalog table means, and finding the information in the documentation takes forever, so here they are for my own benefit more than ...
    Posted to Merrick Chaffer's Blog (Weblog) by merrick.chaffer on February 5, 2009
  • C#3 anonymous types as parameters

    Over the holidays, for some light holiday reading while resting the bruises from ski-slope related activities, I took Bill Wagner's book ''More effective C#'' it showed a few ways in which C#3's anonymous types can be passed to methods, which i had thought was beyond thier scope.  Given this definition: var anonTypedObject = new { Name = ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on January 5, 2009
  • Visual Studio 2008 Intellisense for NHibernate v2+

    I recently cleaned out my laptop and realised that I did not backup my Visual Studio settings or any of the other tweaks or enhancements that I’ve made over the years. Most infuriatingly my Intellisense for NHibernate mapping files disappeared, so to put them back in place: If you haven’t got the latest version of NHibernate, you can get hold of ...
    Posted to markm blogs here (Weblog) by Mark.Mann on January 3, 2009
  • Adding OpenId to Oxite, Part 2

    (Part 1 is here) The main part of the Openid support is in the controllers and in the view. Fortunately the heavy lifting has been done already, with a library called DotNetOpenId and sample code that started life in Rob Connery's storefront sample, and was worked on by my colleagues Howard Van Rooijen and Pete Worthington before I got ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on December 23, 2008
  • Adding OpenId to Oxite, part 1

    I am following up on my last post on Oxite by showing how to add OpenId login support to it. I won't finish this today. This first one will cover the repository changes needed. First, download the Oxite source and set up the database. From a database perspective, the table where user logins are stored is called oxite_user. In code this is ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on December 22, 2008
1 2 3 4 5 Next > ... Last »
Powered by Community Server (Personal Edition), by Telligent Systems