ScottGu's Blog
Scott Guthrie lives in Seattle and builds a few products for Microsoft
-
Code Snippets in Visual Web Developer and VS 2005
One of the nice new features of Visual Web Developer (which is free) and VS 2005 is the new "Code Snippet Support" that has been added. This handy feature allows you to quickly find and use code-libraries of common patterns (examples: get/set property definitions, data access code, file IO, exception handling blocks, etc).
-
Nice Introduction to ASP.NET 2.0 WebParts
Jesse Liberty recently published a nice tutorial on building dynamic portal-like UI with drag/drop end-user customization using the new ASP.NET 2.0 Web Parts functionality. You can read it here.
-
Customizing TreeNodes with the new ASP.NET 2.0 TreeView
Danny Chen has a great post that talks about how to customize the new ASP.NET 2.0 TreeView. One technique he shows is how to sub-class the TreeNode class and insert your own TreeNode type into the tree (complete with template support).
-
Community Server 2.0 Beta3 Available for Download (and now runs on ASP.NET 2.0)
Community Server is a cool ASP.NET application that provides a blog system, forums system, photo album, rss reader/aggregator system and more. It also provides an admin tool interface for managing the application -- so no coding required in order to setup and manage a site using it. There is a nice video on their home-page site that shows off how to use it.
-
Adding Custom Properties to XML Site Maps in ASP.NET 2.0
I published a step by step tutorial on using Master Pages and Site Navigation last week. One of the questions that someone posted in the comments was whether there was an ability with Site Navigation to add custom properties or settings on a per-node basis. For example: a custom icon property (eg: imageUrl) for each item in the Site Map that could then be later rendered by the new asp.net 2.0 menu control on a page:
-
Creating Custom Parameter Types for DataSource Controls in ASP.NET 2.0
I've posted in the past about how to create your own custom datasource controls using ASP.NET 2.0. One of the other cool new ASP.NET 2.0 extensibility points is the ability to create your own custom datasource parameter objects. These can then be used with any datasource control (including built-in ones like ObjectDataSource or SqlDataSource -- or any other custom ones). That way, you could write code like this (where I have a sortable, pagable GridView binding against a business object or DAL like this):
-
Google Maps Control for ASP.NET 2.0
I found this article recently which I thought was pretty cool. It describes how to build and use an ASP.NET Server Control that makes Google Map integration easy within ASP.NET applications:
-
ASP.NET 2.0 Web Part Drag/Drop Browser Support in FireFox w/ Atlas
Mike and Andres on my team have been doing some really cool work with integrating the ASP.NET 2.0 Web Part functionality with Atlas.
-
Cool ASP.NET 2.0 Site: Squeet.com
Scott Cate blogged a review about a cool new RSS email subscription site he has been using called Squeet.com:
-
UrlRewritingModule w/ Regular Expression Support for ASP.NET 2.0
Here is a really cool URL rewriting module for ASP.NET 2.0. You can configure it using regular expressions in your web.config file like so: