Atlas – the new AJAX engine for ASP.NET

Mar 31, 2006
Atlas is an ASP.NET control collection for creating AJAX enabled websites. It is also developed by the man who brought us ASP.NET some years ago, the one and only Scott Guthrie. The idea behind Atlas is to make it easy to create powerful AJAX enabled websites, using the same code as you normally use and some new stuff as well. It then wraps all of the difficult plumbing of doing cross-browser DHTML and XMLHTTP requests into a collection of controls you can seamle... [More]* $4.95/month ASP.NET Hosting with FREE SQL 2012 DB! – Click Here!

The one true rich text editor

Mar 28, 2006
Just this moment, I am writing this sentence in a rich text editor here on my blog. It let’s me format text, insert images, tables and a lot of other great stuff as well. I can do bold or italic fonts, which helps clearing up the text and underline my point and what not. I do have a lot of years of experience in using these kinds of online text editors like RichTextBox and FCKeditor. In fact, I build my own 3 years ago. I spend a lot of hours perfecting it, but even ... [More]* $4.95/month ASP.NET Hosting with FREE SQL 2012 DB! – Click Here!

Generate random password in C#

Mar 28, 2006
I recently had to make a method that creates a random generated password in C#. So, I looked at the web for such a function and I found this one. It was really simple and short and just what I was looking for. But, there is always a but, it didn't work. So I modified it a bit, and it now looks like this and it works. private static string CreateRandomPassword(int passwordLength) {  string allowedChars = "abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNOPQRSTUVWXYZ01234... [More]* $4.95/month ASP.NET Hosting with FREE SQL 2012 DB! – Click Here!

Do not catch general exception types

Mar 25, 2006
If you use FxCop, then you are probably also aware of this rule. Exceptions should only be catched if they can be handled. A lot of exception handling code I’ve seen, are handling exceptions that could easily be avoided by simple If-statements. That’s why I don’t do a lot of try/catch blocks, other than when I’m working with external resources like files and MSMQ. In these situations, you cannot be sure of the outcome because you are not in control over the windows file s... [More]* $4.95/month ASP.NET Hosting with FREE SQL 2012 DB! – Click Here!

10 - the new community site from Microsoft

Mar 25, 2006
10 is Channel 9's new community sister site loaded with videos and blogs. There is, however, a great difference between the two. Where Channel 9 is about the people within Microsoft who build software, 10 is about sharing insight to different technologies both inside and outside Microsoft. 10 is for enthusiasts who dream of changing the world through technology and is based widely on contributions from these enthusiasts. Every weekday at 10:00 AM a new video is r... [More]* $4.95/month ASP.NET Hosting with FREE SQL 2012 DB! – Click Here!

Calling GC.Collect from ASP.NET

Mar 20, 2006
It can be a risky business to manually intervene with the Garbage Collector. You have to trust it to know how to manage the memory efficiently. Otherwise you could end up stressing the web server unnecessary or even crash your site as a worst case scenario.   It’s a rule of thumb not to intervene, but today I found it necessary to do so. I had a major memory leak from ASP.NET, and had to do something about it. It is a memory consuming applic... [More]* $4.95/month ASP.NET Hosting with FREE SQL 2012 DB! – Click Here!

AJAX used the right way

Mar 19, 2006
I find AJAX to be a great way of combining server-side and client-side experiences. Its' the perfect example of synergy, where the whole experience is greater than the sum of it's parts. Having said that, a lot of websites over-use it to such an extent that the only real purpose have been to show of. Pelle Svane explained this AJAX show off phenomenon. Doing it right The new image search engine at live.com is a perfect example of doing... [More]* $4.95/month ASP.NET Hosting with FREE SQL 2012 DB! – Click Here!

GhostDoc for XML code comments and documentation

Mar 18, 2006
"GhostDoc is a free add-in for Visual Studio that automatically generates XML documentation comments." I have known about GhostDoc for some time now, but didn’t believe it to be very useful in any way. I expected it to provide poorly written XML comments for the methods it’s commenting. Anyway, today was the day I gave it a go. I downloaded it and installed it in about 30 seconds without errors. I opened Visual Studio 2005 and was met with this new conte... [More]* $4.95/month ASP.NET Hosting with FREE SQL 2012 DB! – Click Here!

A .NET resource editor application for .resx files

Mar 18, 2006
Working with resource files (.resx) in Visual Studio 2002/2003/2005 is very easy and straightforward. A .resx file is a fairly simple XML file that can be used for a lot of things. Where I have used it the most is for localization of ASP.NET websites and Windows Forms applications. All though it can contain images and other file types, I have only used for storing strings. At work, we are working with a localized ASP.NET application that has to be translated into sev... [More]* $4.95/month ASP.NET Hosting with FREE SQL 2012 DB! – Click Here!

Book review: Test-Driven Development in Microsoft .NET

Mar 15, 2006
I have unit tested my code for years now, but have never got around to using a unit testing framework like NUnit. I’ve been dancing around it for some time now, but haven’t had the time to get to know it or maybe I just forgot about it. I manually write my tests and it works fine, but it does not provide the level of consistency that NUnit provides. So I decided to read the book "Test-Driven Development in Microsoft .NET", to get me started, or at least inspired. The ... [More]* $4.95/month ASP.NET Hosting with FREE SQL 2012 DB! – Click Here!

About the author

Mads Kristensen

Mads Kristensen
Program Manager at the Microsoft Web Platform team and founder of BlogEngine.NET.

More...

Month List

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer’s view in any way.