Category «Technical»

ClickOnce Installation for Multiple Users

An interesting question came up in one of the internal mailing lists at work about ClickOnce. The person who asked the question had the following scenario for his ClickOnce application. The application runs in a call center. Assume there are 100 users and 100 computers. Any user can use any machine on a given day. …

Functions in F# Part 2

I had written a post on Functions in F# a couple of days ago and Binil posted a comment which prompted me to post a follow up to add some information that I left out in the original post. F# Syntax F# has two syntax forms available – a lightweight syntax and a verbose syntax. …

Plans for 2010 Part 2

As I have posted here, I have made some resolutions for the new year. If nothing, just for the fun. I have to add two more things to the list. Learning F# and Reducing my weight. I have been trying to learn F# for over a year now (maybe even a little more). I have …

Functions in F#

Wikipedia says that …functional programming is a programming paradigm that treats computation as the evaluation of mathematical functions and avoids state and mutable data. It emphasizes the application of functions… The point I wish to make here is that functions are the  most important “things” in a functional programming language. You can say that functions …

How to post source code on your blog

For a long time I have been looking for a tool to help me post source code on my blog. Obviously many people had solved this because we have all seen well formatted source code on many blogs. I did try several solutions including Syntax Highlighter, Copy Source as Html, C# code format from Manoli …

Getting Access Denied Errors in your WCF service or ASP.NET application ?

We are using impersonation in our WCF Service so that credentials of the user can flow to the backend layer (where authorization is done). Strangely we were getting Access Denied errors when the client tries to connect to the service. The error message was like: Could not load file or assembly ‘MyAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’ …

Adding a desktop shortcut using Wix

Creating installers is a pain in the ass. We had to move from ClickOnce to MSI (for reasons bizarre) and we chose Wix (it was easy considering the fact that there was only one option to chose from). While Wix doesn’t help much in easing the pain (and in some ways it makes things worse), …