Blogs @ IRM

Welcome to Blogs @ IRM Sign in | Join | Help
in Search

Browse by Tags

All Tags » .NET 3.5   (RSS)
Showing page 1 of 5 (83 total posts)
  • When the Test Agent Fails on the Build Server

    When I set up a continues integration build on our new build-server, I got “The agent process was stopped while the test was running.” when the test ran. This is not a very helpful error message and the troubleshooting is hard when all test succeeds locally. Fortunately I have the possibility to read the event log on the build server and there ...
    Posted to Eric's Blog (Weblog) by ericqu on februari 16, 2012
  • Deploying ClickOnce to Multiple Environments

    So in my struggling to get a lean and effective way to roll out new versions of an application for two of my clients, I have some more to share with you. I want it to be extremely easy for me to create a new ClickOnce installer for my clients and I have identified three things that I need to solve: The installations will be run from different ...
    Posted to Eric's Blog (Weblog) by ericqu on september 14, 2011
  • ClickOnce to the Rescue

    I have two clients who are outsourcing their PCs and servers and one consequence of that is from now on it will take 3 weeks (plus additional costs) to get a MSI delivered to the clients. This way to far from our fast deliveries that we have today, so I recommended them that we should move on to ClickOnce for distributing the application. This ...
    Posted to Eric's Blog (Weblog) by ericqu on augusti 23, 2011
  • Hosting Rhino Service Bus in IIS

    This is my third post (part 1, part 2) with notes from my exploration of Rhino Service Bus and in this I will focus on how to set everything up for Pub/Sub when having IIS as a host. The first thing that must be done is to choose a strategy for where to do the initialization of the bus and other parts of the service/application. Here is a good ...
    Posted to Eric's Blog (Weblog) by ericqu on juni 19, 2011
  • Consuming Events in the Same Process as the Publisher with Rhino Service Bus

    I recently blogged about getting started with Rhino Service Bus for publishing and subscribing to events. If you did not read that post, I recommend you to do that before continuing since I will just outline my modifications in this post. My scenario is that I want to decouple things that happens when my server is getting a command. I would like ...
    Posted to Eric's Blog (Weblog) by ericqu on juni 19, 2011
  • Getting Started with Pub/Sub using Rhino Service Bus

    I have a project where I want to start publishing events on the server and then have a consumer subscribing to these events and take action. First I took a quick look at nServiceBus, but I also thought that it would be interesting to see what else exists on the .NET platform. I found both Mass Transit and Rhino Service Bus (RSB). I decided that ...
    Posted to Eric's Blog (Weblog) by ericqu on juni 18, 2011
  • The Small Things: Asynchronous WCF Calls Without Setting Up Service Reference

    When you are developing both the service and the client it can many times be good to not use the “Add Service Reference” in Visual Studio. Instead the service and data contracts can be defined in a shared class library. There can be many reasons for this, on popping up immediately is that such a solution removes the need to always update the ...
    Posted to Eric's Blog (Weblog) by ericqu on januari 29, 2011
  • Getting Started with Media Center Development in Visual Studio 2010

    I got an idea for an Windows Media Center (MCE) application (add-in) that I wanted to try out if I could get it working. First step was to learn how to develop something for Media Center. I found this to be harder than I thought it would be, partly because I have chosen to not install Visual Studio 2008 on this machine. This post will be ...
    Posted to Eric's Blog (Weblog) by ericqu on december 7, 2010
  • The Small Things: How to Show the Color Categories in Outlook

    In an add-in for Outlook that I’m developing I wanted to show the built in Color Categories dialog so that the user could choose categories in a familiar way. The categories should be set on an object that is unique for the add-in (aka not for a mail or calendar item). I couldn’t find any way to show the dialog itself and when searching Internet I ...
    Posted to Eric's Blog (Weblog) by ericqu on augusti 11, 2010
  • Programmatically Update a ClickOnce Distributed Office Add-in

    When using ClickOnce for distributing an Office Add-in the default configuration is to check for updates every 7 days. In an add-in I built I have situations where the add-in must be up to date (for example when changing the WCF service interface). In this post I will show how I solved it. To check for existing updates I use the regularly ...
    Posted to Eric's Blog (Weblog) by ericqu on juli 25, 2010
  • The Beauty of ClickOnce Deployment of Office Solutions

    Three years ago (can’t believe it’s been so long) I blogged about creating an Outlook add-in. The add-in was developed with VSTO 2, but now I thought it was time to upgrade it to VSTO 3 and try out the ClickOnce deployment. If I was impressed about how easy and much better it had become to develop for Outlook 2007 with VSTO 2, I must say that the ...
    Posted to Eric's Blog (Weblog) by ericqu on februari 1, 2010
  • Keep Code DRY with Delegates and Lambda Expressions

    I had a method that looked like this in my code: public string Translate(string entity, string field) { string key = Translator.GetKey(entity, field); if (translationCache.ContainsKey(key)) return translationCache[key]; else { string res = this.Translator.Translate(entity, field); ...
    Posted to Eric's Blog (Weblog) by ericqu on januari 10, 2010
  • The Small Things: LINQ to SQL Association Doesn’t Generate Code

    I hade a really strange problem with a LINQ to SQL diagram today. I added an association between two classes and everything looked perfectly fine in the designer, but there were no code generated for the association. After some frustrating hours I found a blog post written by Bart Lannoeye that saved me. Read it since he also has very claryfing ...
    Posted to Eric's Blog (Weblog) by ericqu on december 1, 2009
  • RC for Windows Identity Framework (Geneva)

    Windows Identity Framework (known as Geneva) has now been released as a release candidate (RC). This is great and will have a big impact on how identity and some other security related parts of your applications will be implemented. If yu haven’t started use claims yet, now is the time to do some reading to catch up and shift yuor mind. Vibro’s ...
    Posted to Eric's Blog (Weblog) by ericqu on november 8, 2009
  • MVVM not for Windows Forms?

    Lately I’ve been using Model-View-ViewModel (MVVM) in Windows Forms application with great success. I really like using this pattern because it has made me getting even more code out of the View and into the ViewModel instead. One reason for this I believe, is that the ViewModel has no reference to the View and this forces me to have better ...
    Posted to Eric's Blog (Weblog) by ericqu on augusti 8, 2009
  • Installing Enterprise Library 4.1

    When installing Enterprise Library 4.1 today I recived the “This version of Enterprise Library cannot be installed side-by-side with version 4.0. Please uninstall …” message even though I had uninstalled version 4.0 already (and re-booted). After searching for the problem, I quickly found som tips (for example this) stating that removing the ...
    Posted to Eric's Blog (Weblog) by ericqu on mars 30, 2009
  • Case Switching on CLR Types

    As most .NET developers know, you cannot do case/switch on CLR types and one of the reasons for it was explained pretty well years ago by Peter Hallam on the C# team. But there are many cases where you would like to iterate through a list of objects if mixed types and do specific things depending on it’s type. For fun I started to try out ...
    Posted to Johan's Blog (Weblog) by johan on mars 19, 2009
  • Bad Request With WCF Service in Cassini On Windows 7 Beta

    Trying to run a WCF service in Cassini on your Windows 7 Beta (7000) machine and get this error? The remote server returned an unexpected response: (400) Bad Request. Unless you’re running your service with basic http binding or with security specifically set to None in your bindings, you will get this security-related error. This problem was ...
    Posted to Johan's Blog (Weblog) by johan on mars 14, 2009
  • Turn Windows 7 Features On or Off

    I’m trying to install/add IIS features to my Windows 7 beta build 7000 laptop. You got pretty fine grained control over these features in Windows 7, and it’s not easy to know what you really need. I need to run WCF services on my machine, so I’m turning most things on, including WCF Activation stuff: Then I’m adding these things that I think I ...
    Posted to Johan's Blog (Weblog) by johan on mars 14, 2009
  • No More http://tempuri.org in My WSDL

    When using WCF to create services it is very easy to forget all places where you have to specify the namespace, so that there won't be any http://tempuri.org showing up in the generated wsdl. It is very common to see that the ServiceContract attribute specifies a real namespace, but there is still two (not counting the DataContracts/Schemas) more ...
    Posted to Eric's Blog (Weblog) by ericqu on mars 4, 2009
1 2 3 4 5 Next >
Powered by Community Server, by Telligent Systems