January 2006 - Posts
Microsoft has released additional Visual Studio 2005 code snippets for C#.
Those are task-based code snippets that are included in the box for VB.NET, but not for C#. They can help you with programming tasks ranging from working with databases and windows applications to writing mobile device applications and networking programs.
I've just created a Google Group for PageMethods
If you have questions or suggestions, feel free to join the discussion!
Travis Illig has a great Visual Studio add-in that allows you to see a preview of your XML document comments in real-time, as you edit the comments.
CR_Documentor offers the ability to choose the level of tags you want to be "compatible" with, the manner in which "unrecognized" tags are handled, and other formatting options. It also offers context-menu support to aid in working with XML documentation comments, including inserting templates, embedding selections in templates, toggling outlining on XML doc comments, and toggling visibility of the CR_Documentor window.
CR_Documentor is based on the code of the original Documentor from Lutz Roeder (of .NET Reflector's fame).
It's good to see that Documentor did not disappear completely and comes back nicely improved!
PS: Reflector has been updated with support for web proxies, string search, Google and MSDN search, font customization, print preview, and generics fixes. A great release!
Put your headphones on and listen to this mp3...
I haven't tried but apparently it also works with stereo speakers (not surround ones though).
This is not new but I didn't know about it. It's holophonic sound.
This mp3 comes from this page.
These days a new programming paradigm is gaining momentum: GSCP.
In fact, a lot of us already practice it even without knowing it. What does GSCP mean, will you ask... Simply Google Search, Copy/Paste!
Spotted in the German magazine dot.net magazin. (thanks Florian)
Are you GSCP certified?
I've never used Windows Live and I don't think I need it, but it seems fabulous.
Just look at its latest feature:
Browser back behavior (we're really excited about this one in particular :) )
Click on a search result, filters, pages and click the browser back to go back to your previous search results/state
Great, these guys have just invented the browser's Back button! 13 years later or something?
Ever felt like there was a problem with other search web sites?
If you try to use URL rewriting and ASP.NET 2 themes at the same time, you will likely get broken pages, because the two don't mix very well.
A typical link to a theme's stylesheet looks like this in the generated HTML:
<link href="App_Themes/Theme1/StyleSheet.css" type="text/css" rel="stylesheet" />
The problem is that these links to CSS documents are using relative paths, which is not going to work fine if you use RewritePath on your web requests.
Update: as Scott and Wilco wrote in comments, a much simpler solution is to use the new overload of the RewritePath method that takes one additional parameter named "rebaseClientPath".
Thomas Bandt has a solution, described in German (the source is available), that relies on response filters.
Here is another solution I use. It consists on overriding the Render method in a base page or in a master page:
protected override void Render(HtmlTextWriter writer)
foreach (Control control in Page.Header.Controls)
link = control as HtmlLink;
if ((link != null) && link.Href.StartsWith("~/"))
if (Request.ApplicationPath == "/")
link.Href = link.Href.Substring(1);
link.Href = Request.ApplicationPath+"/"+link.Href.Substring("~/".Length);
I'm back to working on web applications and this time it is with ASP.NET 2 of course.
To help you get started with the new ASP.NET version, here are some great weblogs you don't want to miss:
Good places where you'll find a lot of tips as well as code samples, tutorials or the latest news about ASP.NET and Atlas.
I probably missed some, but this is a good start. Any suggestion?