ScottGu's Blog
Scott Guthrie lives in Seattle and builds a few products for Microsoft
-
Building your own Data Source Controls in ASP.NET 2.0
ASP.NET 2.0 introduces a powerful new declarative data-source model. Among other things, it makes doing data access much easier in a stateless-web world -- and eliminates many of the hurdles developers have to jump through today to handle repeated data UI operations on the server. Included in the box is the new ObjectDataSource control, which you can use to databind to any .NET class -- no special databinding interfaces are required, and it enables pretty easy three-tier databinding scenarios.
-
Google SiteMap Integration with ASP.NET 2.0
Google has a little-known feature that enables web site authors to tell the search engine about the structure of their site. ASP.NET 2.0 also now supports a way of representing the structure of a site in a map (we call it the site navigation system).
-
Cache Manager
Steve Smith has written a cool application that helps you monitor and manage your cache values in ASP.NET. Read all about it and track its progress here.
-
Auto-incrementing assembly build numbers for ASP.NET web apps with VS 2005
Brad Bartz has a really great write-up on how to build a custom MSBuild task that enables you to auto-increment the build version number generated in your deployed assemblies on each new build. Definitely worth checking out if you are using either the Visual Studio Web Deployment Project download, or are using MSBuild.
-
VS 2005 Intellisense in web.config files
I’ve seen a few questions about intellisense support for ASP.NET web.config files with VS 2005, and thought I’d blog a quick post to answer a few of them.
-
VS Macro to Build a Web.SiteMap file from your project system file layout
Scott Allen has been blogging up a ton of great ASP.NET 2.0 content the last few months. One of his posts from earlier this week is a great one -- it provides a VS 2005 macro that you can run to dynamically build a web.sitemap file based on the files in your project.
-
ASP.NET 2.0 Security FAQs Online
The Channel9 guys have recently published a new Wiki on ASP.NET 2.0 Security Topics where you can read and comment on common security questions (example questions/answers: how to use forms authentication with Active Directory, how to create custom trust levels, how to implement single-sign on, etc).
-
VirtualPathProvider Extensibility in ASP.NET 2.0
One of the really powerful things we did in ASP.NET 2.0 was to build a pluggable provider abstraction for a web app’s file activity, and to then re-plumb the ASP.NET parser, compiler, and other path/content/page related work to go through it. What this ends up delivering is a lot of extensibility capabilities not possible in ASP.NET V1.1.
-
HTML Validation Checking in VS 2005 (and how to optionally turn it off if you want)
I posted earlier about some of the cool new HTML source editor features in VS 2005 and Visual Web Developer. One of the big new things is much richer html source validation. Specifically you can now validate against different HTML schemas and standards (XHTML Transitional/Strict, HTML 4.01, and various browser types).
-
A few of my favorite new HTML source editor features in Visual Web Developer & VS 2005
We spent a lot of time in Visual Web Developer and VS 2005 focusing on delivering a really great HTML source editing experience (we also did a lot in design-view – but this blog post is just about the HTML source editor). Below are a few of the cool new features it enables (none of these were in VS 2003). All but one of the features are in the free Visual Web Developer Express version that you can download.