Blogs @ IRM

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

Browse by Tags

All Tags » .NET 4.0   (RSS)
Showing page 1 of 2 (32 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
  • Pomodoro Timer for the Windows 7 TaskBar

    EDIT:  The code is now open source on codeplex, on http://pomodorotaskbar.codeplex.com There's a new version available for download there too. If you’re into the Pomodoro technique and looking for a pretty simple out-of-the-way timer which sits in the Windows 7 taskbar and is controlled from the Win7 JumpList, this one might be worth ...
    Posted to Johan's Blog (Weblog) by johan on augusti 16, 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
  • Refactored Dapper Extensions

    Making extensions for Dapper-dot-net was so fun and I needed a few more simple ones so I refactored a bit and made a few Update() and Delete() extensions as well. I’m also looking for Id-properties with the [Key] attribute on them. The class grew a bit, but it now supports the functions below. Note that this will only work for very simple objects ...
    Posted to Johan's Blog (Weblog) by johan on maj 11, 2011
  • Simple Insert Extension for Dapper

    Last week I started using Dapper (dapper-dot-net on Google Code) for a project I’m working on. Dapper is a micro ORM, which extends IDbConnection. It’s very fast and works very well for queries where you want to return both typed and dynamic lists of objects. Have a quick look at the webpage and you’ll see what I mean. Today I needed to do some ...
    Posted to Johan's Blog (Weblog) by johan on maj 10, 2011
  • Detecting Idle Time with Global Mouse and Keyboard Hooks in WPF

    Years and years ago I wrote this blog post about detecting if the user was idle or active at the keyboard (and mouse) using a global hook. Well that code was for .NET 2.0 and Windows Forms and for some reason I wanted to try the same in WPF and noticed that a few things around the keyboard and mouse hooks didn’t work as expected in the WPF ...
    Posted to Johan's Blog (Weblog) by johan on mars 19, 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
  • The Small Things: Converting a Existing Web Application to a MVC Web Application

    I have an existing web application that contains a couple of WCF services, but today I also wanted to add some pages and decided that I wanted to create them with ASP.NET MVC2. This is the steps I took to get the MVC pages to run just fine in my existing application. First of all I added references to System.Web.Mvc and System.Web.Routing ...
    Posted to Eric's Blog (Weblog) by ericqu on november 24, 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
  • Frustrating Hours With Report Web Viewer (v10 / VS 2010)

    I had some really frustrating hours with the new version of the Reporting Services Report Web Viewer today. We are using local reports, which we actually create dynamically (subject of another post), but we couldn’t get them to be showed by the Report Web Viewer. We started to seek the problem way off, because we of course assumed that the problem ...
    Posted to Eric's Blog (Weblog) by ericqu on maj 19, 2010
  • Supporting Both Windows and Forms Authentication (Post 4 of X in SL4 and WCF RIA Services series)

    Since we are developing a product, we need to support both Windows authentication (for most installations), and Forms Authentication for smaller installations or cases where the customer does not use Active Directory for whatever reason. A design goal we had for this was to only change the needed configuration in one place, and that ended up being ...
    Posted to Eric's Blog (Weblog) by ericqu on maj 9, 2010
  • Claims on the Client …

    … is the title of a great post by Vibro that can be found here. This is an important subject and in all project where I have used claims and STS I also wanted the claims on the client. When cracking my own STS (before WIF) I always used the display token to get them from the identity provider (IP, aka the STS) so that seems to be in the line with ...
    Posted to Eric's Blog (Weblog) by ericqu on maj 8, 2010
  • ASP.NET 4 Website Fails to Start on Your TFS 2010 Server?

    Getting a “Could not find permission set named ‘ASP.Net’” error on your TFS 2010 server? It may have to do with the fact you’re trying to run ASP.NET as a child site of a SharePoint Web Site. The problem is described in the “ASP.NET 4 braking changes” site:   This error occurs because the ASP.NET 4 code access security (CAS) ...
    Posted to Johan's Blog (Weblog) by johan on april 22, 2010
  • Handling Transactions in a WCF RIA Service (Post 3 of X in SL4 and WCF RIA Services series)

    This is the third post in a series of X. Read the first one here about out overall design and the second one here about localizing the UI. After doing some basic work on our repositories we wanted to create a Unit of Work implementation that would call SaveChanges on our EF ObjectContext and also commit the transaction if one is used. The problem ...
    Posted to Eric's Blog (Weblog) by ericqu on april 18, 2010
  • Localizing a Silverlight UI (Post 2 of X in SL4 and WCF RIA Services series)

    This is the second post in a series of X. Read the first one here about our overall design. Since we will develop a product that will be sold in more countries in a not to far future it is important to make sure that it can be localized. In Silverlight the key to localization is (as many other things in SL) data binding. This different for ...
    Posted to Eric's Blog (Weblog) by ericqu on april 2, 2010
1 2 Next >
Powered by Community Server, by Telligent Systems