A New Internet Library: Add Your Website/Blog or Suggest A Website/Blog to our Free Web Directory http://anil.myfunda.net.

Its very simple, free and SEO Friendly.
Submit Now....

Tuesday, March 31, 2009

Caught on tape

A few weeks back I gave a talk about ASP.NET performance optimization techniques. The talk was filmed and is now available to anyone interested in watching it. Unfortunately for some, the video is in Danish. If you want an English version of the performance talk, then you'll get the chance at the Umbraco CodeGarden conference in June.

Watch the video (opens in Windows...Full Article.

Off topic: The grand plan of 2009

I’ve been a little quiet on my blog lately. That is due to my grand plan for 2009 which was born as my New Year’s resolution. The original plan went like this:

In average, I need to visit a new country I have never visited before, every month of 2009.

That means 12 trips to a new destination for the entire year. I soon realized this was too ambitious, expensive and time consuming. I needed to adjust the plan to something more realistic and this is what I c...Full Article.

Off topic: The grand plan of 2009

I’ve been a little quiet on my blog lately. That is due to my grand plan for 2009 which was born as my New Year’s resolution. The original plan went like this:

In average, I need to visit a new country I have never visited before, every month of 2009.

That means 12 trips to a new destination for the entire year. I soon realized this was too ambitious, expensive and time consuming. I needed to adjust the plan to something more realistic and this is what I c...Full Article.

.NETworking dinner

We’ve had a tradition of doing geek dinners in Copenhagen for the past 2 years. It’s always very good fun and there’s a bunch of interesting .NET guys to chat with. However, it has always been very intimate and most of the people going have been there before.

We need new blood and that’s why it’s time to take the geek dinner concept to the next level and the name is .NETworking dinner. The basic concept remains the same but in a much larger scale...Full Article.

.NETworking dinner

We’ve had a tradition of doing geek dinners in Copenhagen for the past 2 years. It’s always very good fun and there’s a bunch of interesting .NET guys to chat with. However, it has always been very intimate and most of the people going have been there before.

We need new blood and that’s why it’s time to take the geek dinner concept to the next level and the name is .NETworking dinner. The basic concept remains the same but in a much larger scale...Full Article.

YSlow: Add expires header to images in IIS 7

I’ve been tweaking the performance of BlogEngine.NEXT today using my favorite tool: YSlow for FireBug. One of the things YSlow checks for is the expires HTTP header for static content such as images, script files and style sheets. Since BlogEngine.NET has always used custom HTTP handlers for serving scripts and stylesheets, only the static images have been a problem.

The problemFull Article.

YSlow: Add expires header to images in IIS 7

I’ve been tweaking the performance of BlogEngine.NEXT today using my favorite tool: YSlow for FireBug. One of the things YSlow checks for is the expires HTTP header for static content such as images, script files and style sheets. Since BlogEngine.NET has always used custom HTTP handlers for serving scripts and stylesheets, only the static images have been a problem.

The problemFull Article.

What do you want to see in EntLib 5.0?

As you've probably noticed, I've been on a bit of a blogging vacation of late. Rest assured that I'm still here and I'll try to get some good posts happening soon. But for now I just wanted to draw your attention to one of Grigori's posts asking for your help in pri...Full Article.

What do you want to see in EntLib 5.0?

As you've probably noticed, I've been on a bit of a blogging vacation of late. Rest assured that I'm still here and I'll try to get some good posts happening soon. But for now I just wanted to draw your attention to one of Grigori's posts asking for your help in pri...Full Article.

Subtext Is On The Move

Simo beat me to the punch in writing about this, After many long years being hosted on SourceForge, the Subtext submarine is moving into a new project hosting port.

We've finally moved off of SourceForge and onto Google Code's project hosting. Our main site (primarily for end users) is still a...Full Article.

Subtext Is On The Move

Simo beat me to the punch in writing about this, After many long years being hosted on SourceForge, the Subtext submarine is moving into a new project hosting port.

We've finally moved off of SourceForge and onto Google Code's project hosting. Our main site (primarily for end users) is still a...Full Article.

Monday, March 30, 2009

Daylight Savings and ASP.NET Fun Fact

Today marked the start of Daylight Saving Time (DST), the day of the year with the most missed airline flights.1 There's an esoteric ASP.NET issue that centers around Daylight Savings, and affects websites both at the very start of Daylight Savings and at the very end. ASP.NET's forms authentication feature assigns a forms authentication ticket to a user on...Full Article.

Computer Science Is All About Tradeoffs

I oftentimes have a student or client remark, "I love how technology X does Y! However, I don't like X because it does Z."

I don't know what else to say other than, "Ok," or "I concur," because after all, that's what computer science, and perhaps all of engineering, is all about - tradeoffs. There is no silver bullet. There is no panacea. Solutions are created to solve a specific problem, but the solution has shortcomings or deficits in other areas....Full Article.

Daylight Savings and ASP.NET Fun Fact

Today marked the start of Daylight Saving Time (DST), the day of the year with the most missed airline flights.1 There's an esoteric ASP.NET issue that centers around Daylight Savings, and affects websites both at the very start of Daylight Savings and at the very end. ASP.NET's forms authentication feature assigns a forms authentication ticket to a user on...Full Article.

Computer Science Is All About Tradeoffs

I oftentimes have a student or client remark, "I love how technology X does Y! However, I don't like X because it does Z."

I don't know what else to say other than, "Ok," or "I concur," because after all, that's what computer science, and perhaps all of engineering, is all about - tradeoffs. There is no silver bullet. There is no panacea. Solutions are created to solve a specific problem, but the solution has shortcomings or deficits in other areas....Full Article.

Happy Pi Day

Our esteemed House of Representatives passed a resolution earlier this week, designating today - March 14th - National Pi Day. This is an American-centric 'holiday,' as we colloquially denote our dates in MM/DD format, hence March 14th is 3.14, the first three digits of Pi. Most other countries start with the least significant date part and work their way to the most significant - DD/MM/YY - which would mean the I...Full Article.

April's Toolbox Column Now Online

My Toolbox column in the April 2009 issue of MSDN Magazine is available online. The March issue of MSDN Magazine has a focus on the Web and my reviews in Toolbox  follow suit and include:

Locks and exceptions do not mix

A couple years ago I wrote a bit about how our codegen for the lock statement could sometimes lead to situations in which an unoptimized build had different potential deadlocks than an optimized build of the same source code. This is unfortunate, so we've fixed that for C# 4.0. However, all is still not rainbows, unicorns and Obama, as we'll see.

Recall that Full Article.

VSTO Book News

vsto2007I am pleased to announce that a resolution earlier this week, designating today - March 14th - National Pi Day. This is an American-centric 'holiday,' as we colloquially denote our dates in MM/DD format, hence March 14th is 3.14, the first three digits of Pi. Most other countries start with the least significant date part and work their way to the most significant - DD/MM/YY - which would mean the I...Full Article.

Loops are gotos

Here's an interesting question I got the other day:

We are writing code to translate old mainframe business report generation code written in a BASIC-like language to C#. The original language allows "goto" branching from outside of a loop to the interior of a loop, but C# only allows branching the other way, from the interior to the exterior. How can we branch to the inside of a loop in C#?

I can think of...Full Article.

April's Toolbox Column Now Online

My Toolbox column in the April 2009 issue of MSDN Magazine is available online. The March issue of MSDN Magazine has a focus on the Web and my reviews in Toolbox  follow suit and include:

Representation and Identity

I get a fair number of questions about the C# cast operator. The most frequent question I get is:

short sss = 123;
object ooo = sss;            // Box the short.
int iii = (int) sss;         // Perfectly legal.
int jjj = (int) (short) ooo; // Perfectly legal
int kkk = (int) ooo;         // Invalid cast exc...Full Article.

Locks and exceptions do not mix

A couple years ago I wrote a bit about how our codegen for the lock statement could sometimes lead to situations in which an unoptimized build had different potential deadlocks than an optimized build of the same source code. This is unfortunate, so we've fixed that for C# 4.0. However, all is still not rainbows, unicorns and Obama, as we'll see.

Recall that Full Article.

It's not magic!

Interviewing job-seeking candidates is probably the most impactful thing that I do at Microsoft as far as our business is concerned. Sure, the day-to-day work of implementing the compiler is of course what I am specifically there to do. But ultimately nothing impacts the bottom line of our division more than preventing bad hires and encouraging good hires. The dozens of people that I've interviewed who got hired will collectively deliver much more ...Full Article.

VSTO Book News

vsto2007I am pleased to announce that

Jeff Atwood was kind enough to once more give me the shout-out in his blog the other day. Thanks Jeff!

This inspires me to continue my series on five-dollar words for programmers. Here's one that I only learned relatively recently, when I helped write the code that translates a lambda expression into an expression tree which represents the content of the lambda:

I can think of...Full Article.

My MIX 2009 ASP.NET Data talk is available online

Last Friday, I gave a talk at MIX on various things that we're working on in ASP.NET data land.  This includes both some Dynamic Data features and some features usable outside Dynamic Data.

The great thing about MIX is that they make all talks freely available online shortly after, and you can watch mine here.  Enjoy!

I'll try to blog in more detail about some of the features ...Full Article.

Representation and Identity

I get a fair number of questions about the C# cast operator. The most frequent question I get is:

short sss = 123;
object ooo = sss;            // Box the short.
int iii = (int) sss;         // Perfectly legal.
int jjj = (int) (short) ooo; // Perfectly legal
int kkk = (int) ooo;         // Invalid cast exc...Full Article.

Using a DomainService in ASP.NET and Dynamic Data

One of the big things that I discussed in my MIX talk is the new DomainDataSource control.  It is currently available in Preview form as part of ASP.NET Dynamic Data 4.0 Preview 3.  This can be confusing, because even though Dynamic Data makes use of DomainDataSource, DomainDataSource is absolutely not tied to Dynamic Data, and is fully usable in ...Full Article.

It's not magic!

Interviewing job-seeking candidates is probably the most impactful thing that I do at Microsoft as far as our business is concerned. Sure, the day-to-day work of implementing the compiler is of course what I am specifically there to do. But ultimately nothing impacts the bottom line of our division more than preventing bad hires and encouraging good hires. The dozens of people that I've interviewed who got hired will collectively deliver much more ...Full Article.

Hotfix for Installing ASP.NET MVC With Azure, Power Commands, or Resharper

Yesterday, I wrote about troubleshooting Windows MSI Installers and talked about the pain we here feel when an installation fails. Turns out, it's not always our fault. ;) It appears there's a hotfix released for Visual Studio which addresses a problem with installing ASP.NET MVC when you have a third party add-in installed. I mentioned the three above because they ar...Full Article.

Five-Dollar Words For Programmers, Part Three: Homoiconic

Jeff Atwood was kind enough to once more give me the shout-out in his blog the other day. Thanks Jeff!

This inspires me to continue my series on five-dollar words for programmers. Here's one that I only learned relatively recently, when I helped write the code that translates a lambda expression into an expression tree which represents the content of the lambda: NerdDinner.com is the brainchild (and a big child at that) of Scott Hanselman. The conce...Full Article.

My MIX 2009 ASP.NET Data talk is available online

Last Friday, I gave a talk at MIX on various things that we're working on in ASP.NET data land.  This includes both some Dynamic Data features and some features usable outside Dynamic Data.

The great thing about MIX is that they make all talks freely available online shortly after, and you can watch mine here.  Enjoy!

I'll try to blog in more detail about some of the features ...Full Article.

ASP.NET MVC 1.0 Released!

newdotnetlogo_2_thumb Today I'm happy to write that ASP.NET MVC 1.0 RTW (Release To Web) is MIX talk is the new DomainDataSource control.  It is currently available in Preview form as part of ASP.NET Dynamic Data 4.0 Preview 3.  This can be confusing, because even though Dynamic Data makes use of DomainDataSource, DomainDataSource is absolutely not tied to Dynamic Data, and is fully usable in ...Full Article.

Subtext 2.1.1 Available Via the Web Platform Installer

subtext200x200One of the cool products that I'm personally excited about announced at Mix is the updated Web Platform Inst...Full Article.

Hotfix for Installing ASP.NET MVC With Azure, Power Commands, or Resharper

Yesterday, I wrote about troubleshooting Windows MSI Installers and talked about the pain we here feel when an installation fails. Turns out, it's not always our fault. ;) It appears there's a hotfix released for Visual Studio which addresses a problem with installing ASP.NET MVC when you have a third party add-in installed. I mentioned the three above because they ar...Full Article.

Learn About ASP.NET MVC Via NerdDinner

I don't know about you, but a great way to learn a new technology is to start using it. But to even start using it, it helps to be able to look at a real-world running application built on that technology. Combine that with source code and a walkthrough, and I think you have a winning combination.

That's where NerdDinner comes in.

NerdDinner.com is the brainchild (and a big child at that) of Scott Hanselman. The conce...Full Article.

ASP.NET MVC 1.0 Released!

newdotnetlogo_2_thumb Today I'm happy to write that ASP.NET MVC 1.0 RTW (Release To Web) is Mix website and quickly find links to my sessions so I could post them here. Even I should be able to figure this out.

As a note, I'm using the Mix site as my illustration here, but I do it out of love and not mean spiritedness. Mix is my favorite conference, but ...Full Article.

Simple Usability

Recently, I tried to accomplish a simple task on a website which frustrated me because what should have been simple, was not. All I wanted to do was go to the Mix website and quickly find links to my sessions so I could post them here. Even I should be able to figure this out.

As a note, I'm using the Mix site as my illustration here, but I do it out of love and not mean spiritedness. Mix is my favorite conference, but ...Full Article.

Subtext 2.1.1 Available Via the Web Platform Installer

subtext200x200One of the cool products that I'm personally excited about announced at Mix is the updated Web Platform Inst...Full Article.

Simple Usability

Recently, I tried to accomplish a simple task on a website which frustrated me because what should have been simple, was not. All I wanted to do was go to the Mix website and quickly find links to my sessions so I could post them here. Even I should be able to figure this out.

As a note, I'm using the Mix site as my illustration here, but I do it out of love and not mean spiritedness. Mix is my favorite conference, but ...Full Article.

Programmer's Dozen - Programming Best Practices

Take control of your code with these programming best practices from Kevlin Henney. At JAOO Aarhus 2008 Kevlin used a trash can, vampires, a train wreck, whiskey and much more to make you understand and remember his 13 constructive points (a programmer's dozen) about programming and code smells.

Take control of your code with these programming best practices from Kevlin Henney. At JAOO Aarhus 2008 Kevlin used a trash can, ...Full Article.

Cartoon: Computer Worker's Free Time

Reasons why people working with computers tend to have lots of free time...

Reasons why people working with computers tend to have lots of free time…

Computer Workers

Full Article.

ASP.NET MVC Sessions At Mix

After my critical post of the Mix website, I found this other site, http://sessions.visitmix.com/, which should have been prominently linked to from the main site because it has a working search bar and is fairly usable and flashy!

I gave two sessions on ASP.NET MVC at Mix.

Thursday, March 26, 2009

Importing Photoshop and Adobe Illustrator files in Expression Blend

 

One of the questions we keep confronted with when talking about Expression in our events is that, is there a way to import files created using Adobe Photoshop or Adobe Illustrator.

While in Expression Web and Design you could do that easily, there was less support for accomplishing this in Expression Blend which is used for designing WPF / Silverlight applications.

Full Article.

Free ASP.NET MVC eBook Tutorial

bookcover[1]Full Article.

Microsoft Expression Blend 2.5 June 2008 Preview “The pre-release version of this product has expired. You must update to a newer release." Error

 

I have been running Expression Blend 2.5 June 2008 preview that targeted Silverlight 2 runtime and had not used it for a long time.

When I tried opening it up last week, it threw the error "The pre-release version of this product has expired.  You must update to a newer release"  While there has been no Expression Blend 3 as per my knowledge, I didn't find a newer version of this...Full Article.

What’s new in .NET 4.0 Developer Poster

 

Normally, I do a write up, but Brad put up a great Deep Zoom poster of all the new available features in .NET 4.0.  So go ahead, here below is the link

Silverlight 3 Beta is just unveiled at MIX 09 today.  Silverlight 3 is a huge advancement in rich internet application development on a variety of modern browsers supporting Windows and Macintosh platforms.

It supports running Silverlight out of the browser (offline enabled) as well as improvements for video quality, richer features, enhanced developer productivity and much more....Full Article.

Download ASP.NET MVC 1.0

 

ASP.NET MVC is released today.  The RC1 and RC2 released were out over last month and today, at MIX, we will be unveiling ASP.NET MVC 1.0 RTW version that can be downloaded from www.asp.net/mvc

There are over 40 videos resource tutorials available already and these provide close to 200 hours ...Full Article.

My MSDN Day Presentations and Resources

 

I recently delivered MSDN Day talks on Visual Studio 2010 and .NET 4.0 as well as WPF and Silverlight 2.  The presentations for the sessions can be downloaded from MSDN Presentations

Drop a comment if you have a question or face iss...Full Article.

Importing Photoshop and Adobe Illustrator files in Expression Blend

 

One of the questions we keep confronted with when talking about Expression in our events is that, is there a way to import files created using Adobe Photoshop or Adobe Illustrator.

While in Expression Web and Design you could do that easily, there was less support for accomplishing this in Expression Blend which is used for designing WPF / Silverlight applications.

Full Article.

Monday, March 9, 2009

Learn How to Perform Validation in ASP.NET MVC

Stephen Walther demonstrates how you can validate form data in an ASP.NET MVC application. Learn how to use model state and validation HTML helpers. Learn how to take advantage of the IDataErrorInfo interface to customize your validation error messages....Full Article.

MIX '09 Plans

My MIX plans, and some hints about what my presentation will be about...
[Full post continued here...]...Full Article.

Beginning Test Driven Development

Many developers want to learn to use the practices of Test Driven Development. In this article, Brendan explains how to get started writing tests before writing code. He uses code snippets of tests and the implementation code to demonstrate some practices he uses when testing....Full Article.

skmExpressionBuilders - A Suite of Custom Expression Builder Classes

An ASP.NET Web control's properties can be set in one of two ways: declaratively and programmatically. Declaratively setting a Web control's properties entails specifying the property in the control's declarative syntax. For example, Web controls have their ID property set declaratively, like so: <asp:WebControl runat="server" ID="ID" ... />. Properties can also be set programmatically in the ASP.NET page's cod...Full Article.

Inspiration for Next Generation UX

An inspiring concept video of what next-generation UX could be and what digital life might be...
[Full post continued here...]...Full Article.

Silverlight.FX and Silverlight Store Sample App

I've got a project page finally up for Silverlight.FX, so it can be easily linked to rather than some arbitrary blog post of mine that alludes to it, and is a one-stop spot for the latest build, and relevant links and pointers to samples. As always, the full source code for the sample along with so...Full Article.

ASP.NET MVC Release Candidate 2 Now Available

ASP.NET MVC enables Web developers to build compelling standards-based Web solutions that are easy to maintain because it decreases the dependency between layers by using the Model-View-Controller (MVC) pattern and provides complete control over the page markup. It also improves testability which enables Test Driven Development (TDD). Click here to download ASP.NET MVC or to learn more about it....Full Article.

March's Toolbox Column Now Online

My Toolbox column in the March 2009 issue of MSDN Magazine is available online. The March issue of MSDN Magazine has a focus on the Web and my reviews in Toolbox  follow suit and include:

What Johannes Kepler Can Teach Us About Debugging

Debugging code is a lot like the scientific method. Most importantly, both involve careful measurements and analysis of the resulting data. Be wary of the developer who is quick to announce the cause of an error. When an error occurs, a developer's first thought should be, "What data to I need to collect to better understand and analyze this error?" A less experienced developer is one whose first thought is, "Maybe the cause of the problem is (the database query|session timeo...Full Article.

ALT.NET Seattle Day One

Opening Ceremonies by Brad Wilson.Full Article.

Leo Tolstoy for Developers

All successful software projects resemble one another; each failed project fails in its own way....Full Article.

What are the horns for?

(Technology of a different sort today, just for a change of pace.)

FalkirkWheel The first time I saw a picture ...Full Article.

Want to Monitor Your Team Foundation Server?

This is a bit easier with the TFS Performance Report Pack - check it out:

http://blogs.msdn.com/granth/archive/2009/02/03/announcing-tfs-performance-report-pack.aspx

Brad Wilson. As a testament to how engaging the sessions were, there are a lot fewer photos from day two i...Full Article.

ALT.NET Seattle Day Three

The third and last day of ALT.NET Seattle was a short one for me. My poor extremely patient wife was not feeling well today so I had to leave right at lunch time. But before I left, I did manage to attend a great session by John Lam and Jimmy Schementi on "Adding Scripting Support to .NET Applications". In fact, you can I finally have my registration worked out and I'm officially going to Mix09 this year! Wo...Full Article.

ASP.NET MVC Release Candidate 2

Today we've made the Release Candidate 2 for ASP.NET MVC available for download.

This post will cover some of the changes with ASP.NET MVC we made in response to internal and external feedback since our last ASP.NET MVC, a new ulcer throbs in my side.

A big part of the frustration is the lack of control and insight into what's going wrong. Jacques (no blog), a developer o...Full Article.

Originals Enjoy