Home
About
Contact
Tuesday, February 09, 2010

image I’m happy to say I was invited by Microsoft to join their MSDN Live tour in Norway this spring. I’ll be talking about Windows Identity Foundation (WIF) (used to be Geneva) which I find to be at great help simplifying authentication and authorization in small shops as well as in the enterprise.

I’ll be showing how you can take advantage of Claims (link is a PDF) in your applications today and why that is a good idea, how to easily integrate with Active Directory using Active Directory Federation Services (ADFS), how to create a custom Security Token Service (STS) and cover parts of the tiny topic of: how to do Federation in the enterprise :-)

Remember that the concepts around WIF, like Claims and STS, is nothing new and is not something that Microsoft has invented. It’s been around for many years and are supported on many platforms as well as programming languages.

Personally I’m quite excited about this new framework, cause it particularly helps us at Frende solve some pain points we’ve had to tackle around authentication with a lot of different sign-on methods and applications, and ease the use of SSO. We can now delete a lot of code, since WIF takes care of a lot of the plumbing we previously had to do ourselves. Less code to maintain is always good!

For more information about the agenda, have a look at Rune Grothaug’s blog: http://blogs.msdn.com/grothaug/pages/msdn-live-april-2010-en-fest-for-utviklere.aspx

I expect the official MSDN Live and TechNet site to be updated with the spring agenda very soon: http://www.microsoft.no/live/

The cities and dates are:

Stavanger: 16th of April
Trondheim: 20th of April
Bergen: 23rd of April
Oslo: 26th of April

Tuesday, February 09, 2010 10:02:26 AM (W. Europe Standard Time, UTC+01:00)
Saturday, December 20, 2008

Back in April last year I configured Google Apps for my family domain. Email was goal #1, but I also had a plan to start using and sharing Google Calendar with my family. At the time however there was poor tooling support for syncing Outlook with Google Calendar. Since I’m using Outlook as my main source of event planning, it was natural for this to be my primary source with a 2 way sync to Google, so I could share this info with e.g. my wife. I actually started on a small dev project to get this done, but I soon got tired thinking Google or somebody else would create something for this soon.

It turns out I was right, only I didn’t pay attention :-) Long story short: in March this year Google released Google Calendar Sync which allow you to do 2-way synchronization between Outlook and Google Calendar. I know this is old news, but it slipped my radar and it might have slipped yours as well…

Software | Tools | Web
Saturday, December 20, 2008 10:57:04 PM (W. Europe Standard Time, UTC+01:00)
Tuesday, November 25, 2008

On the DDD mailing list a few days ago Richard Pawson posted that he and his team have created a DDD framework for .Net. Since I’ve had my head down in DDD for the last couple of months I thought I’d check it out. When posting this I’ve still not tried it, but I’ve watched some of the videos which you can find here:  http://www.nakedobjects.net/demo/demo_intro.shtml

Honestly I’m not sure what I think of DDD frameworks in general. By definition I’m skeptical :-), but I promise to try it out and come back with some sort of conclusion of my findings and impressions. Btw. I’ve not been approached by Naked Objects to review their product in case you were wondering :)

.Net | Architecture | DDD | Patterns | Software | Tools
Tuesday, November 25, 2008 8:44:41 AM (W. Europe Standard Time, UTC+01:00)
Sunday, June 15, 2008

Firefox 3 will be released on the 17th of June (Tuesday). At the same time Firefox will try to beat the world record of most software downloads in 24 hours! Interesting marketing stunt :-) Check out the new features of Firefox 3 and Firefox Download Day 2008.

Events | Software | Web
Sunday, June 15, 2008 9:29:19 PM (W. Europe Daylight Time, UTC+02:00)
Tuesday, May 27, 2008

Brian Harry over at the TFS team has a great post about the new features that will be available in the coming SP1 for TFS 2008.

Tuesday, May 27, 2008 7:47:50 AM (W. Europe Daylight Time, UTC+02:00)
Tuesday, February 26, 2008

You might argue both, but that's beyond the point :-) I've been thinking lately about how different programmers get their work done. If you look over the shoulders to 3 programmers, none of them is working the same way. The first difference I tend to notice is the use of keyboard shortcuts. Personally I've always been a fan of shortcuts, especially in development environments like Visual Studio, but also general shortcuts in Windows or other applications. For instance I never do File -> Open. I always use ctrl -> O and it always annoys me when a program does not support the most common shortcuts. However, I still feel I can learn and use more of them.

We can divide developers into three groups related to the above:

  1. Love the mouse and rarely use shortcuts
  2. Use mouse often, but use shortcuts for the most common actions
  3. Use the mouse only when there's no shortcut for the action.

I think I can put myself in category 2 and I'm not sure if I want to or are able to be in category 3. One important aspect to consider before I dig myself to deep into this, is that you don't necessarily produce better software by using a lots of shortcuts (obviously). However I'm quite sure that a developer in group 3 produce code faster than a group 1 developer. But one can argue (if you're a bit extreme) that the quality of the code produced by group 1 is better, because they get more time to think :-) But seriously you can't use this type of groupings for defining developers, but in general I think many developers could benefit from using more shortcuts.

Here are the most common shortcuts in Visual Studio 2005 as I see it:

Builds    
Ctrl+B, Ctrl+S Build BuildSelection
Ctrl+Shift+B Build BuildSolution
Ctrl+Break Build Cancel
     
Debugging    
F5 Debug Start
Ctrl+F5 Debug StartWithoutDebugging
Shift+F5 Debug StopDebugging
F10 Debug StepOver
F11 Debug StepInto
Ctrl+F10 Debug RunToCursor
Shift+F11 Debug StepOut
Ctrl+Shift+F10 Debug SetNextStatement
F9 Debug ToggleBreakpoint
Ctrl+Shift+F9 Debug DeleteAllBreakpoints
     
Navigation    
F12 Edit GoToDefinition
Ctrl+F12 Edit GoToDeclaration
     
Other    
Shift+Alt+Enter View FullScreen
Ctrl+Shift+F12 View NextError
Ctrl+Alt+P Tools AttachtoProcess
Shift+Alt+A Project AddExistingItem
Ctrl+K, Ctrl+M Edit GenerateMethodStub

You probably know where and how already, but if you go to Tools -> Options -> Keyboard in Visual Studio you can define your own shortcuts. This is a great feature of Visual Studio that let you create custom shortcuts for almost every action you can do with a mouse. You can either change an existing shortcut or define new ones. Here's a screenshot of the shortcut dialog in VS:

image

Commands are displayed alphabetically after some type of menu structure (e.g. Edit.Copy), though there a many more commands than you can find in the menu. This list is of course populated dynamically which means you'll find commands for 3rd party VS plugins like e.g. ReSharper. One thing to be aware of though is existing shortcuts. If you for instance want to have the shortcut Ctrl+V, Ctrl+A, you will override the Ctrl+V command for Paste, which is probably not what you want.

Tuesday, February 26, 2008 2:53:51 AM (W. Europe Standard Time, UTC+01:00)
Wednesday, February 06, 2008

Windows_Vista_logo.jpgVista Service Pack 1 is now finished. The Vista team announced on their blog that they now have released SP1 to manufacturing (RTM). They also say that:

"...we have made great progress in performance, reliability and compatibility."

and

"...copying or moving files around your PC, your home network or your corporate network should now be much faster -- up to 50% faster in some scenarios (according to our internal tests)."

This has annoyed me a lot on my HP:

"In addition, on many kinds of hardware, resuming a Windows Vista-based PC from sleep is faster on Service Pack 1."

So when and where can I download? It will be available trough Windows Update in mid March (and auto download in mid April if you have this enabled). So why not today? During beta testing some issues was found related to some device drivers "that did not follow our guidelines for driver installation". So the next month will be used to:

"...giving us time to work with some of our hardware partners to make adjustments to the installation process for the affected drivers." 

If  you don't want Vista to update itself to SP1 when it's available, check out my previous post on how to block the update.

Wednesday, February 06, 2008 7:44:46 AM (W. Europe Standard Time, UTC+01:00)
Monday, January 28, 2008
DisketteSomehow I got reminded about an old support incident I had in the first company I did development for. On a regular basis we sent out disks with text files containing data that our system should import into its database. Embedded with the disk was an explanation of how to import the files into our system. Here's how I remember it:
  1. Open the command windows (DOS) (Somehow all our customers knew how to do this)
  2. Write A: followed by Enter (Return)
  3. Write install.bat followed by Enter (Return)
One day I got a call from one of our customers:

Customer:"The instructions you sent me do not work"
Me:
"Ok, what seems to be the problem?"
Customer:"The install.bat thing does not work. None of the data is getting imported into our system."
Me:"Do you get any error messages?"
Customer:"I don't know. I just followed your instructions."
Me:"Could you walk me trough it on the phone?"
Customer:"Sure"
Me:"Have you opened the DOS window"
Customer:"Yes"
Me:"Then enter A: followed by Enter. Does it now say A:\ in your window?"
Customer:"No. It says NOT READY READING DRIVE A:"
Me:"Have you put the disk in?"
Customer:
"No, your note didn't say anything about that!"
Other | Software | Work
Monday, January 28, 2008 11:40:02 PM (W. Europe Standard Time, UTC+01:00)
Sunday, December 23, 2007

iis7logoSP's are a necessity, but what I want to know is what have they done to improve IIS 7? Here's what the release notes for SP1 RC says:

IIS was included in some Windows Vista SKUs to enable web-based developers to write and test their applications. IIS in Windows Server 2008 is a significant server role which requires Internet-level scalability and performance requirements. The IIS7 components have gone through significant performance and reliability enhancements since Windows Vista originally shipped, in order to be a large-scale server component. These changes do not affect most Windows Vista users who do not even have the IIS7 components installed, however because Windows Vista and Windows Server are aligned, these changes are included in Windows Vista SP1.

You can find the "complete" change log here: http://technet2.microsoft.com/windowsvista/en/library/005f921e-f706-401e-abb5-eec42ea0a03e1033.mspx?mfr=true

So does this mean that there is a full UI and ftp support? The current IIS available in Vista is very limited by this. You can configure most of the stuff in config files (like I did with http redirect and logging bandwidth and referrers), but I would at least expect the features found in IIS 6 to be available from the UI in IIS 7. I've googled around to find some  more info, but nothing yet. I guess I'll have to install the RC to find out. Not sure if I want to risk it though...

IIS | Microsoft | Software | Vista | Windows
Sunday, December 23, 2007 12:59:30 AM (W. Europe Standard Time, UTC+01:00)

Windows Vista Logo Soon Windows Vista SP1 will be available for download. Or actually, it might even decide to automatically update itself, even though you specifically told it not to! However, not all of us want this to happen without our knowledge (or want to wait until some unexpected behaviors has been discovered), so Microsoft has release a service pack blocker. This blocker will also work for Windows XP and Windows Server 2003. The blocker only work for a set period of time. Mary Jo Foley has more details in her blog.

Sunday, December 23, 2007 12:02:52 AM (W. Europe Standard Time, UTC+01:00)
Sunday, September 30, 2007
GoogleReaderSearchS.pngI've been waiting a long time for this. I remember this was one of the things with Google Reader I found annoying. A Google product accessing a lot of data and no search support? Anyway, now it's here, and it works as expected :) First thing I noticed was a search that found 500 items, only showed the first 60. Hmmmm..., that was no fun. No paging or anything. But then I noticed it automatically loaded new items when I scrolled to the bottom. Nice!

GooleUnreadItemsS.pngAnother not so new feature is the increased unread counter. Previously, if you had more than 100 unread items it displayed 100+, now it's increased to 1000 and if exceeded will show 1000+.

Sunday, September 30, 2007 1:11:33 AM (W. Europe Daylight Time, UTC+02:00)
Monday, August 20, 2007

altiris.gifI've been using both Install Shield and Wise (Wise Installation Studio) for some time now and have mixed experience with both, but one thing puzzles me about Wise; there's no support for Application Pools! The IIS dialog in Wise only has support for IIS 5 features. I just can't fathom how they can keep releasing new versions of Wise without supporting IIS 6/7. Are no one using Wise for deploying web apps, web services etc? Are Install Shield the only choice for (advanced) plain Msi's?

Back in December 2006 I requested this feature from Wise on their forum and I got this answer:

“I've run it past the product manager, and there is no specific timescale for adding application pool support. I know it's come up once or twice before, but I think the overall demand is not significant enough to priorities this feature ahead of others.”

On their website they list key features and one of them is:

“Supports the latest technologies, including virtual applications and Microsoft Windows Vista.”

Fantastic! But no app pools! Later someone else requested this feature on my thread and Wise finally added a link where you can subscribe to this feature request. The more subscribers, the more attention it gets. Want to help me Wise out? Visit: https://kb.altiris.com/display/1n/articleDirect/index.asp?aid=3066&r=0.7956964 and click subscribe/unsubscribe on the right side, and hopefully this feature request will get Altiris Symantec's attention.
Monday, August 20, 2007 10:32:22 PM (W. Europe Daylight Time, UTC+02:00)
Saturday, August 11, 2007
InstallingUpdates.pngI just installed a new VM with Visual Studio 2008 and ran the Windows update to have a fully updated OS. There were 82 updates to download! About time to ship service pack 3? According to Mary Jo Foley, Microsoft have made a pre-beta available for testing and Microsoft says:
“We’re currently planning to deliver SP3 for Windows XP in the first half of CY2008. This date is preliminary, and we don’t have any more details to share at this time.”

Until then I'll rather wait for the download to finish than waiting for Service Pack 3 <smile>

Saturday, August 11, 2007 2:09:44 AM (W. Europe Daylight Time, UTC+02:00)
Thursday, July 12, 2007
Yes, it’s important to distinguish between the two. At the partner conference in Denver Kim Saunders (Senior Director, SQL Server Marketing) said that they launch SQL Server 2008 in February, but the actual release will be in Q2. And by launching they mean that they have all the marketing material and the final product information, but not the product.

As for Visual Studio and Windows Server I have not yet heard anything similar, so I'm still thinking 27th for these.
Thursday, July 12, 2007 4:10:11 PM (W. Europe Daylight Time, UTC+02:00)
Tuesday, July 10, 2007

Update: At TechEd Barcelona Microsoft announced today (2007-11-05) that Visual Studio 2008 and .Net Framework 3.5 will release in late November. See the official press release here: http://www.microsoft.com/presspass/press/2007/nov07/11-05TechEdDevelopersPR.mspx


I’m at the Microsoft Partner Conference in Devner where Microsoft just announced the release date for Visual Studio 2008, SQL Server 2008 and Windows Server 2008. Look forward to February 27!

Tuesday, July 10, 2007 9:11:44 PM (W. Europe Daylight Time, UTC+02:00)
Sunday, April 29, 2007

GoogleApps.gifDid you know about this? Have you heard about it before? I didn’t have a clue before I saw Roy Osherove blog post. It turns out that this was the perfect solution for me and my family. I have now integrated my domain (torresdal.net) with Google email and other nice features of Google Apps. Before I always redirected my domain email to my work email. Now I can manage my private emails in a separate location, which is what I really want.

In addition to email there were a couple of other features I found interesting. My fiancée and I found the Google Calendar really useful. Finally we had a common calendar which was easy to use and easily accessible. In addition to those I’ve already mentioned a Start Page, Chat, Web Pages and Docs and Spreadsheets was also included in the service.

So if you have your own custom domain and want to use Gmail/Chat with yourname@yourdomain.com, Google App’s should be a nice solution. Not that I’ve tried or looked for anything else, I just tried this service and found it very useful.

Software | Tools | Web
Sunday, April 29, 2007 9:54:14 PM (W. Europe Daylight Time, UTC+02:00)
Sunday, April 22, 2007
VSOrcas.gifBeta 1 is now available and you'll find it here: http://msdn2.microsoft.com/en-us/vstudio/aa700831.aspx. I think you'll either need a MSDN subscription to get it or Virtual PC (you can download the Orcas vpc image here). Enjoy!

Sunday, April 22, 2007 9:43:19 AM (W. Europe Daylight Time, UTC+02:00)
Monday, April 16, 2007
Silverlight.gifFirst thing I thought about when I heard about WPF/E was that it's Microsoft's answer to Flash. Nothing wrong with that, but now when I saw the official name I thought the exact same thing! Silverlight, Flash, silverlight, flash.... Hmmmm... Just another name for flash :) I wonder if this was what they meant. At least they didn't end up with Microsoft Windows Presentation Foundation for Extreme Internet Graphical User Interface (MWPFEIGUI) or something like that. Guess they saw the blog post over at Secret Geek. Anyway, I'm looking forward to do some real coding on Silverlight and for the record; here are the official Silverlight page.

Update: For more info about Silverlight, check out Mary Jo Foley's blog post.
Monday, April 16, 2007 2:46:53 PM (W. Europe Daylight Time, UTC+02:00)
Sunday, April 15, 2007
According to Scott Hanselman, Microsoft has released an update to speed things up a bit. Here are some of the improvements:
  • Accelerate the download of messages from the Exchange e-mail server
  • Reduce temporary freezes resulting from deleting messages or copying them from one folder to another
  • Allow faster switching between messages
  • Enable faster program startup
Sunday, April 15, 2007 1:43:07 PM (W. Europe Daylight Time, UTC+02:00)
RSS RSS - Comments Twitter LinkedIn
         
SEARCH
 
 
         
TOP POSTS
   
         
NAVIGATION
   
         
CATEGORIES
  .Net (61) ADFS (3) Agile (30) Ajax (5) Architecture (20) Articles (1) ASP.NET (6) ASP.NET-MVC (1) Blogging (12) Books (2) BPEL (1) CleanCode (1) CloudComputing (7) Community (4) CSharp (11) DasBlog (5) Database (2) DDD (5) Deployment (16) DSL (1) Events (38) ExtremeProgramming (6) Fun (6) Gadgets (4) IIS (10) InfoQ (4) Java (2) Lean (3) Linq (2) MemoryLeaks (5) Microsoft (37) MVC (1) NDC (2) NNUG (36) Other (10) Patterns (9) Performance (3) Scrum (17) Security (7) ServiceBus (1) Silverlight (4) Software (19) TeamManagement (11) TechEd (7) Testing (4) Tools (25) TvGuide (1) WCF (8) Web (15) WebDeploy (1) WIF (3) Windows (10) Vista (15) VisualStudio (16) WiX (9) Work (16) Workflow (3)  
         
ARCHIVE
   
         
BLOGROLL
   
         
ON THIS PAGE...
 
Presenting Windows Identity Foundation At MSDN Live In April
Outlook and Google Calendar
Naked Objects - DDD framework for .Net
Firefox 3 and a World Record Attempt
New features in TFS2008 SP1
Are you developing software with a keyboard or mouse?
More on Vista - SP1
Support incident from the 90’s
Windows Vista SP1 - IIS 7
Windows Vista SP1 - Blocker
Google Reader with support for search
No support for Application Pools in Wise
Windows XP Service Pack 3?
SQL Server 2008 will not be released but launched
Release date for Visual Studio 2008, Windows Server 2008 and SQL Server 2008 are official
Google Apps
Visual Studio (Orcas) Beta 1
Microsoft Silverlight code name “WPF/E”
Think Outlook 2007 is slow?