-
A little snippet that I use from time to time when I need information on how long something takes. Type ‘sw’ (without the quotes) and tab-tab . Installation is easy, just create a file called “sw.snippet” in your %Documents%\Visual Studio 2008\Code Snippets folder and paste the following in the file...
-
This has taken us some time; depending on which environment you are, telling Visual Studio 2008 for Database Professionals Edition (or simply DataDude) what user it should use to deploy the SQL scripts, during an automated build. We're working with Windows XP users, Windows Vista users and Windows...
-
I'm using FinalBuilder to build and deploy websites on our test server. FinalBuilder is a great product, but our client is using Windows Server 2008 and FinalBuilder does not have actions for IIS7. I might add the actions to my weblog, but here's some code to create a new IIS7 website using C#...
-
Yesterday I blogged about on how to add a Policy Injection extension to Unity. To do this, I had to modify some of the code of both Unity and ObjectBuilder2 to get all the references I needed. Today Francois Tanguay pointed me to the new drop of Unity released on Monday. A couple of improvements have...
-
One of the things that excited me when I first heard about Unity was the possibility to combine both Dependency Injection and Policy Injection. So when I downloaded the CTP I was a bit dissapointed that it was not (yet?) supported out of the box. The good thing about Unity though is that is supports...
-
UpdatePanels are a great way to update portions of a webpage. They only have one "problem": they need a control to fire the async postback. When you are performing a postback from javascript using the following code: __doPostBack( 'EventName' , 'EventArgs' ); the execution will...
-
I really love [wikipedia:ClickOnce], because it removes the necessity to build a web application. In my years as a developer, I can't count the projects that were web based, simply because of the deployment model. And then ClickOnce came around. Now I can't count the times that I've explained...
-
Two weeks ago Mike Schroepfer, a Mozilla developer, announced that they'll launch a version of Firefox that can be run mobile devices. If you own a Windows Mobile device, you're probably craving for a better browsing experience, just like I am. I've seen Deepfish, a new browser by Microsoft...
-
Sometimes you run into something and you wonder why you haven't noticed it before. Yesterday I discovered a feature in Visual Studio 2005 called TracePoints. When you're debugging your application, setting breakpoints in your code isn't always sufficient. In some cases they mess up the flow...
-
I've been a little busy with Mobile Development lately, focusing on Windows Mobile PocketPC and .NET Compact Framework 3.5 development. Mostly because of the Summer Class and Winter Class , and the Mobile Development training for Class-A. I have however built a .NET Compact Framework 2.0 application...
-
Disclaimer: I'm no MS/.Net evangelist. I'm just a computer software developer that wants to share his experience working on a weekend project (actually 3 weekends...) As a bet between me and my wife, I took the challenge of developing grid computing software over the weekend. The aim is to basically...
-
Discovered this hidden gem, thought of sharing this for the sake of User Interface Humanity. We all know of the excellent design patterns (by GoF ) for solving code design problems. Well, Yahoo took the concept a little further by presenting design patterns for us UIs challenged code developers. It's...
-
Update : This post was updated and is much more explaining in this post, WCF Simple Example in Visual Studio 2010 On my WCF Introduction post I received a trackback to an example that should be really simple to start WCF with. I'm not here to judge the post (although I could ;-), but it got me thinking...
-
My previous employer used a tool to attach databases that were located on a substituted path. I needed this conversion logic in another kind of environment and used the almighty google. So I hit an article on Avner Kashtan 's blog titled Query SUBST information . His code sample proved very usefull but...
-
What a week! Both the new Visual Studio "Orcas" and Enterprise Library 3.0 CTPs are released. Enterprise Library got some fixes and the new Policy Injection Application Block is now included. I'm very much interested in it as it'll give a lot of new possibilities in future software products. I'm currently...