Dec 29 2006

Mail is alive

Category: Rory Primrose @ 08:15
I have been having really bad email problems for the last month. I finally have it sorted out, but will probably have some more interruptions in a few days. I apologize if you have received bounced emails from this domain over the last month.

Tags:

Dec 25 2006

Merry Christmas

Category: PersonalRory Primrose @ 03:04

Well, another year is drawing to a close. I has been an absolute blast this year and next year is going to be so much better.

Hope you all enjoy a little down-time. God bless.

Tags:

Dec 21 2006

Halo theme: Corpomix

Category: PersonalRory Primrose @ 11:26

This sounds fantastic. Great take on the Halo theme song from Corporeal. Via Stanley Tan.

Tags:

Dec 19 2006

WF runtime services

Category: .NetRory Primrose @ 04:13

I have been looking at WF runtime services, specifically the ManualWorkflowSchedulerService for running workflows synchronously. In my research travels this morning, I came across this article on the odetocode site. At a quick read, it seems like Scott Allen has put together a fantastic article with just the right about of information, code and detail.

Tags:

Dec 14 2006

Last hurrah for the red dobok

Category: PersonalRory Primrose @ 17:26

Given my impending fatherhood, there have to be changes and sacrifices. I have been instructing beginners and intermediates at Taekwondo for about a year and a half. Tonight was the last night for me as an instructor so I have to give up the cool "go faster" intermediate instructor's red dobok. Pity, I liked that one.

Instructors dobok

Tags:

Dec 13 2006

Adding workflows to a non-WF project

Category: IT Related | .NetRory Primrose @ 04:37

I have been building up a project that I need to add workflows to, only I didn't create the project as a workflow project. This means that when I go to add a new item, I get the standard options along with WPF file types and even an option for a WCF service, but no workflow options.

After using WinMerge to compare the project file with a workflow project file, these are the actions I took:

  1. Add references to System.Workflow.Runtime, System.Workflow.ComponentModel and System.Workflow.Activities.
  2. Open the project file in notepad and make the following changes
  3. Add the following to the first Project/ProjectGroup element (it should contain the assembly details) :

    <ProjectTypeGuids>{14822709-B5A1-4724-98CA-57A101D1B079};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>

    Given the name of the ProjectTypeGuids element, I am guessing that the guids should be the same for everyone, but you might have to compare the guids found in a new workflow project to you can create.
  4. Add the following after the CSharp.targets Import element under the Project element:

    <Import Project="$(MSBuildExtensionsPath)\Microsoft\Windows Workflow Foundation\v3.0\Workflow.Targets" />

Tags:

Dec 8 2006

Snap Preview Anywhere

Category: IT RelatedRory Primrose @ 08:05

Snap Preview is a really cool add-on that you can use in your site. If you manage your own Community Server build, the easiest way to add this to your site is by adding the script to the Raw Header setting in the Administration -> Site Name & Description area of the control panel.

Tags:

Dec 7 2006

Securing .Net code

Category: IT Related | .NetRory Primrose @ 05:01

Just read this great article on securing your .Net code.

Tags:

Dec 7 2006

File URI's

Category: IT RelatedRory Primrose @ 04:17

This is one of those things that I have often thought about, but has never seemed important enough to read up on. I had always wondered why I often saw three slashes at the beginning of a file Uri. Now I know.

Tags:

Dec 5 2006

WCF and large messages

Category: IT Related | .NetRory Primrose @ 06:11

I am getting some interesting results when messages are returned from a WCF service. Small responses come through fine. When the responses start to get large, I run into the QuotaExceededException exception. This is fine because you can increase the MaxReceivedMessageSize configuration value on the client endpoint. This starts to fail when the size of the data continues to increase and eventually I get the exception WebException: The underlying connection was closed: The connection was closed unexpectedly.

The service call is still being made (I can debug it), but it seems that the error is coming back quick enough that it is a problem with the server endpoint, rather than client endpoint or configuration on the client.

Anyone come across this before???

Tags: