:::: MENU ::::

Monday, April 28, 2008

I do a LOT of interviewing here, and for a while we were hiring ASP.NET people.  Here's some of the questions that I asked them.  I came up with these questions because you'd "just know" this stuff if you spent time working on a REAL WORLD ASP.NET site - through design, development, debugging, production debugging, and deployment. Do they suck? Did I miss any?  How do you think people did? From constructor to destructor...
Compression is a very "cheap and easy" way to improve responsiveness of your site. Here is an excerpt from an excellent white paper: High Performance Web Sites: The Importance of Front-End Performance There are three main reasons why front-end performance is the place to start. There is more potential for improvement by focusing on the front-end. Cutting it in half reduces response times by 40% or more, whereas cutting back-end performance...
In this walkthrough you will learn how to create Web-Sites, Web Applications, Virtual Directories and Application Pools. Introduction The IIS PowerShell namespace consists of items like Web-Sites, Apps, Virtual Directories and Application Pools. Creating new namespace items and managing them is very easy using the built-in PowerShell cmdlets. Creating Web-Sites  If you are familiar with PowerShell you know that the New-Item cmdlet...

Thursday, April 24, 2008

If you have multiple controls in your ASP.Net, especially third-party ones, which in turn have a dependency on another third-party component, you are in for a world of pain if different controls use different versions of the same third-party component. Since your app has only one "bin" folder where all the assemblies reside, putting one version of the third-party component will break controls that rely on the other version. Luckily, the .Net developers...
Did you know there's T4 (Text Template Transformation Toolkit) support inside VS2008 now? Add a file with the .tt or .t4 extension to your project and you got a T4 template which VS2008 will automatically run when you save it. If you're into this and want to try it out, go to http://www.t4editor.net/ and download the T4-editor from Clarius. It gives you proper editing support from within Visual Studio. They got a version for vs2003 as well. This...

Wednesday, April 23, 2008

Introduction Developing a nice custom control is just one part of the story. As a control author you should also pay attention about the experience of other developers who will be using your control. In most of the real world cases developers use Visual Studio as the IDE for developing .NET applications. You can enhance the experience of other developers using your control by providing proper designer support. For example, you can control how...

Monday, April 14, 2008

I get this question all the time and if you happen to attend one of my presentations on using each you should know by the end of the presentation. I also see this asked often on the ASP.NET forums and I thought it would be worthwhile to address the question here for a reference point. The quick answer is httpModule works with the web application as sort of an adjunct to the request pipeline because modules generally add some processing in response...
Custom errors and early error-logging effort In the beginning, webs were just "webs", webs of interconnected links to static HTML pages. Now webs resemble more of communities bustling with activities, with members of different roles, media in all forms and shapes, etc. As a web site grows more complex, the opportunities for errors and exceptions multiply. As it attracts more users, it becomes a bigger target of malicious attacks. Now it has become...
In this article, Steve walks through the steps required to implement a Session Logged Out page that users are automatically sent to in their browser when their ASP.NET session expires. He examines each step with the help of detailed explanation supported by relevant source code.   Introduction In many applications, an authenticated user's session expires after a set amount of time, after which the user must log back into the system to continue...

Friday, April 11, 2008

After almost one year of work and organization, I am very happy to share this project with you: http://code.msdn.microsoft.com/vlinq The Visual Linq query builder is a Visual Studio 2008 addin. It's a designer that helps you create Linq to Sql queries in your application. Both C# and VB projects are supported. As you will read it in this post, this project developed by interns is a prototype for a new kind of designers. Please give us your...

Tuesday, April 8, 2008

Overview: Like mathematicians, developers talk about their code in aesthetic and sometimes hygienic terms. The code is “elegant,” or it “looks clean,” and sometimes it “smells bad”. I have even heard developers refer to their code as “sexy.” Talking about your code as sexy is surely a sign that you need to get out more! Achieving elegant code is...