ScottGu's Blog
Scott Guthrie lives in Seattle and builds a few products for Microsoft
-
Releasing the Source Code for the .NET Framework Libraries
One of the things my team has been working to enable has been the ability for .NET developers to download and browse the source code of the .NET Framework libraries, and to easily enable debugging support in them.
-
Tip/Trick: Building a ToJSON() Extension Method using .NET 3.5
Earlier this year I blogged about a new language extensibility feature of C# and VB called "Extension Methods".
-
IIS 7.0 Hits RC0 - Lots of cool new IIS7 Extensions Also Now Available
One of the products that my team builds that I am most proud of is IIS 7. IIS 7 is a *major* update of our web-server stack, and introduces a significantly new and improved extensibility, configuration, and administration architecture. I've blogged about some of its features in the past here and here.
-
September 23rd Links: VS, ASP.NET, ASP.NET AJAX, Silverlight, WPF
Here is the latest in my link-listing series. Also check out my ASP.NET Tips, Tricks and Tutorials page for links to popular articles I've done myself in the past.
-
Tip/Trick: Automating Dev, QA, Staging, and Production Web.Config Settings with VS 2005
One of the questions I get asked fairly regularly is: "how can I can easily change different configuration settings in my web.config file based on whether my application is in a dev, qa, staging or production mode?" The most common scenario for this is one where an application uses different database connection-strings for testing and production purposes.
-
The C# ?? null coalescing operator (and using it with LINQ)
One of the subtle (but cool) language features of C# is the ?? "null coalescing" operator. This provides a nice, terse way to check whether a value is null, and if so return an alternate value.
-
VS 2008 Support to Treat HTML, CSS and JScript Validation issues as warnings instead of errors
One of the features that VS 2005 added was support for HTML source validation. This enabled you to validate your page markup against different HTML schemas and standards (XHTML Transitional/Strict, HTML 4.01, various browser types, etc). You could also use the HTML validation features to detect missing link, image or style references in your markup.
-
September 16th Links: ASP.NET, ASP.NET AJAX, IIS7, Visual Studio, Silverlight
Here is the latest in my link-listing series. Also check out my ASP.NET Tips, Tricks and Tutorials page for links to popular articles I've done myself in the past.
-
My Slides/Samples from MIX:UK - Building Silverlight Apps with .NET and Building ASP.NET Apps with VS 2008
The last two days I've been speaking at the the MIX:UK conference that was held this week in London. We had a sold out crowd of 500 people come to learn more about some of the new Microsoft web technologies.
-
LINQ to SQL (Part 9 - Using a Custom LINQ Expression with the <asp:LinqDatasource> control)
Over the last few weeks I've been writing a series of blog posts that cover LINQ to SQL. LINQ to SQL is a built-in O/RM (object relational mapper) that ships in the .NET Framework 3.5 release, and which enables you to model relational databases using .NET classes. You can use LINQ expressions to query the database with them, as well as update/insert/delete data.
Below are the first eight parts in this series:
- Part 1: Introduction to LINQ to SQL
- Part 2: Defining our Data Model Classes
- Part 3: Querying our Database
- Part 4: Updating our Database
- Part 5: Binding UI using the ASP:LinqDataSource Control
- Part 6: Retrieving Data Using Stored Procedures
- Part 7: Updating our Database using Stored Procedures
- Part 8: Executing Custom SQL Expressions
In Part 5 of the series I introduced the new <asp:LinqDataSource> control in .NET 3.5 and talked about how you can use it to easily bind ASP.NET UI controls to LINQ to SQL data models. I also demonstrated how to use it a little more in a follow-up post I did that discusses the new <asp:ListView> control (Part 1 - Building a Product Listing Page with Clean CSS UI).