Archive for the ‘.NET’ Category

Irish Microsoft Technology Conference

May 30th, 2007 2 comments

The Irish Microsoft Technology Conference will be held in Dublin on June 7th and will host a wide range of speakers including Tim Sneath from Microsoft. The sessions will cover topics such as:

  • Building Silverlight Applications using .NET
  • Visual Studio “Orcas” and AJAX
  • Microsoft Expression Studio
  • SDLC the Team System way

and lots more. Here is the full agenda.

The conference is organised by MTUG (Microsoft Technology User Groups of Ireland) and in association with Microsoft Ireland.

The price of the conference is only EUR50 including lunch. You can’t really beat that!

Categories: .NET, Software Development, Web 2.0 Tags:

MTUG Cork Event was great

May 29th, 2007 Comments off

I attended the Agile with Team System and DB Pro event hosted by MTUG Cork on Monday night. The evening was broken into two sessions, Brendan Lawlor firstly presented “Can Microsoft Development be Agile?” which was an excellent presentation. Brendan began by describing what he meant by Agile by drawing an unexpected but excellent analogy to Zara (an agile company in the clothing industry). He then proceeded to show how his company (Decare) has implemented the agile methodology using Microsoft Team System taking advantage of continuous integration, unit testing and refactoring capabilities built in. I really enjoyed the talk especially since I am an ethusiastic CruiseControl.Net /Nant / NUnit user for the past two years.

The second session was entitled “Introducing your Database Objects to the Agile Process Using Microsoft Visual Team System” presented by Alan Crowley. Alan explained how with the emergence of Visual Studio Team Edition for Database Professionals that the database has really been integrated into the software development process. Database scripts and schemas are now treated as a standard artifact and can be subject to the same processes as regular code, including source control, refactoring and unit testing. It really showed that Microsoft have put some thought into how to bring in the work of the DBA or SQL Developer into the software development process.

Overall time well spent with two very interesting sessions. Looking forward to more MTUG Cork sessions in the near future. Thanks to Joe Gill as ever for organising everything.

Categories: .NET, Software Development Tags:

Preventing Cross Site Scripting (XSS) Attacks

May 18th, 2007 Comments off

If you are developing real world ASP.NET applications then security is something that you should be concerned about. How do you make your site or application is tamper proof but still make it flexible enough from an end user point of view ?

In order to make your web application more secure then you should take a look at the Microsoft Anti-Cross Site Scripting Library

Also, to learn more about preventing Cross Site Scripting in general there is a good MSDN Patterns and Practices article available at How To: Prevent Cross-Site Scripting in ASP.NET

Categories: .NET, security, Web 2.0 Tags:

Configuring Source Control Provider in Visual Studio.NET 2003

May 10th, 2007 4 comments

I am working on moving a .NET 1.1 App (Visual Studio.NET 2003) from Visual SourceSafe to Perforce Source Control. In Visual Studio.NET 2005 it is easy to change the source control provider by going to Tools -> Options -> Source Control -> Plug-in Selection. Unforunately in Visual Studio.NET 2003 it is not quite so straightforward and it isn’t possible to change the source control provider directly from the IDE. You need to modify the registry to actually change the source control provider in Visual Studio.NET 2003. I found a nice little application (Source Control Provider (SCP) Selector) that sits in your system tray that allows you to change the source control provider just by selecting the appropriate one from a list. It worked a charm for me!

Source Control Provider (SCP) Selector

Update: You will need to restart Visual Studio once you change your source control provider, it isn’t sufficient to just close and open the new solution.

Categories: .NET, Software Development Tags:

Code Syntax Highlighting in WordPress

March 22nd, 2007 Comments off

Since this blog is of a technical nature I plan to be posting more code snippets as time goes on. I obviously want the source code to appear pretty on my blog with all the syntax highlighting that one is used to in modern IDEs (including Visual Studio .NET 2003/2005). I run this blog using WordPress and I have just installed a plugin to take care of the Syntax highlighting called WP-dp.SyntaxHighlighter. It supports many languages and I’ll be interested mainly in the .NET languages. Below is an example of a code snippet in C#

using System; 

public class ReverseArraySort
   public static void Main()
      string[] strings = {"beta", "alpha", "gamma"};
      Console.WriteLine ("Array elements: ");
      DisplayArray  (strings);
      Array.Sort    (strings); // Sort elements
      DisplayArray  (strings);
   public static void DisplayArray (Array array)
      foreach (object o in array)
         Console.Write ("{0} ", o);
Categories: .NET, Blogging, Wordpress Tags:

IE6 VPC Refresh Now Available

March 21st, 2007 Comments off

Microsoft released a Virtual PC Image a while back which had Internet Explorer 6 installed on it. This was required because
you can’t successfully (I have tried) run both IE7 and IE6 on a Windows PC at the same time. Microsoft put a time limit on the
Virtual PC image so that there wouldn’t be copies of Windows floating around that anybody could use without a license.
The expiry date for the original image was April 1 so they have now released a new Virtual PC image with an expiry date of July 23rd.
This allows web developers to test their apps with both browsers succesfully during testing.

From IEBlog:

IEBlog : IE6 VPC Refresh Now Available
IE6 VPC Refresh Now Available

In my original blog post about releasing the IE6 Virtual PC Image, we mentioned that it would expire on April 1st, 2007 (no, it wasn’t an April Fool’s joke), and that we’d be releasing a new VPC image to replace it sometime in March. Well, I’m happy to report that I propped the new VHD up on Monday morning. You can download the image here. Take note that a free download of Virtual PC 2007 is now available, replacing VPC2004.

I didn’t make any major changes to the image other than adding the latest security updates. I also managed to reduce the download size to just under 400 megs, shaving off almost 100 megs from the previous image size. This image is time-bombed to July 23rd , but we will continue to release these images as long as they are needed. They are time-bombed because you get them for free. If you want images without time-bombs, an MSDN subscription is the way to go.

Categories: .NET Tags:

Jeff Prosise is coming to Cork

March 5th, 2007 3 comments

Great news! Jeff Prosise is coming to Cork, Ireland to give a half day seminar for IT@Cork. [Thanks Jim for sending this on]

Clare Dillon’s Blog : Jeff Prosise coming to Cork!

On March 23rd, he will be focusing on ASP.NET AJAX, his latest expert topic. Rob will also be heading down for the occasion giving an update on some of Microsoft’s other web technologies and where they are being used today.

Tickets are 30 euro for IT@Cork members or 75 euro for non-members. You can find more information and register here:

Categories: .NET Tags:

New Visual Studio Code Metrics in Orcas

March 4th, 2007 Comments off

In the recently released Visual Studio “Orcas” new code metrics are available to analyse your code. The metrics currently calculated are: Maintainability Index, Cyclomatic Complexity, Depth of Inheritance, Class Coupling, and Lines of Code. The metrics will help you determine areas in your codebase which still need work or refactoring.

The Visual Studio Code Analysis Team Blog : Announcing Visual Studio Code Metrics!

The Orcas release of Visual Studio is available for download as a Virtual PC image but beware the download is pretty large. Download Visual Studio Code Name “Orcas”

Categories: .NET Tags:

ScottGu on Url Rewriting with ASP.NET

February 28th, 2007 Comments off

You just know when Scott Guthrie posts something on his blog that you have got to read it because it is going to be top quality. In this post Scott writes about URL Rewriting so this would allow you to use URLs such as instead of which both point to the same point.

Now this blog uses PHP on Apache and the URL Rewriting is achieved using mod_rewrite rules. Some of the benefits of the URLs after the URL rewriting are:

  • More human friendly URLS
  • More search engine friendly URLs – before search engine bots used to hate URLs with ?param= in them probably not so much an issue any more.
  • Since the keywords are mentioned in the URL this helps increase your Google pagerank

I did some URL rewriting in ASP.NET 1.1 using a custom http handler. Scott writes about how to achieve URL rewriting in ASP.NET and goes on to say that in IIS7 it will be much easier to achieve full extensionless URL rewriting using a HttpModule. This will make it quite straight forward to have extension less URLs like under IIS.

In appears that on URL Rewriting, IIS is playing catch up with Apache.

Check out Scott’s post
Url Rewriting with ASP.NET

Categories: .NET Tags:

5 podcasts that every .net developer should be listening to

February 27th, 2007 6 comments

One of the best ways for a software developer to keep up to date with all the new technologies is to listen to podcasts. I find podcasts a great to keep up to date on the latest .net technologies while I’m commuting to work.

Here is my list of top five .net related podcasts that every .net developer should be listening to in order to keep up to date:

This is my favorite .net podcast of all. It is presented by Scott Hanselman and Carl Franklin and they discuss .net related topics. Some shows are about the latest .net tools and other shows are interviews with .net experts. The shows are produced very professionally and the quality is top notch. Each show is only around 20-30 minutes so there is no waffle just great info!

Hanselminutes is a weekly audio talk show with noted web developer and technologist Scott Hanselman and hosted by Carl Franklin. Scott discusses utilities and tools, gives practical how-to advice, and discusses ASP.NET or Windows issues and workarounds.

Dot Net Rocks
Dot Net Rocks has been around for many years with their first show produced in 2002. It is a weekly talk show for anyone interested in programming on the Microsoft .NET platform. The show is hosted by Carl Franklin and Richard Campbell and most of the shows are interviews with .NET experts. The shows are typically slightly over 1 hour and have very good content.

Arcast is a podcast about design and software architecture. If you are a team lead/architect or just generally interested in system design in the .NET space then you should tune in. It is hosted by Ron Jacobs and since 2005 he has been interviewing architects around the globe for the show.

Polymorphic Podcast
Polymorphic Podcast is hosted by Craig Shoemaker and deals with a wide range of .NET topics and interviews with .NET experts from around the globe.

ASP.NET Podcast
The ASP.NET podcast (as the name suggests) is more focused on the ASP.NET and is hosted by Wally McClure. So if you are interested in ASP.NET, Ajax, JSON, etc. then this is the show for you.

If you haven’t caught on to the great benefits of podcasts I seriously suggest that you subscribe to the podcasts and start listening. At a time when there is a huge amount of new technologies / products being released this is a great way to say up to date.

Let me know what you think!
Do you listen to these podcasts already ? Are there other great .NET podcasts that I missed?

Categories: .NET, Media, Software Development Tags: