May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

One of the things I'm going to try and start doing is a weekly blog post of useful/interesting links on .NET related topics that I've found on the web.  Below is this week's version:

ASP.NET

  • Storing Binary Files Directly in the Database using ASP.NET 2.0: Scott Mitchell has a good article that shows how to upload and store images within a SQL database, and then serve them out dynamically from within a web application (very useful for photo albums).  You could combine this article with Rick's above to enable an optional "Save As" option that allows site visitors to save high-resolution versions of images or other file types.

Visual Studio

  • Debugging SQL Server 2005 Stored Procedures in Visual Studio: Scott Mitchell published another great article on how to debug SPROCs using Visual Studio 2005.  You can use this approach to set a breakpoint within a SPROC in your database, and then hit it like a normal debug breakpoint when debugging an ASP.NET application that calls it.
  • Using Visual Studio Macros to Increase Productivity: Dan has a nice post describing some of the Macros he has created to manage large projects in Visual Studio.  The Visual Studio macro recorder and editor are two features that not enough developers take advantage of (myself included).  Whenever you find yourself repeating a task a number of times, I'd highly recommend creating a macro within VS to automate it for future uses.

Silverlight

  • Silverlight 1.1 Alpha Layout System and Controls Framework: One of the features missing in the Silverlight 1.1 Alpha that we shipped at MIX is support for layout management.  This is a powerful feature of WPF, and makes it much easier to position and control UI on a page (I'll post more about this in the future).  Dave Relyea from the Silverlight UI team posted a cool sample on his blog that provides a sample implementation of layout management that works with the 1.1 Alpha and includes both Stack and Grid layout manager support.  He also then shipped a number of cool custom controls including buttons, labels, textbox, and border controls.  Very cool stuff.
  • Silverlight Toolbar Example: A nice sample from Vivek that describes how to create an animated toolbar where the buttons expand when you hover over them.  You might also want to check out the "Office UI Ribbon" sample on the www.silverlight.net sample gallery web-site that demonstrates how to build a really cool toolbar within the browser.

WPF

.NET General

  • NDepend 2.2: Scott Dorman has written up a great post on NDepend - which is a .NET utility that enables you to perform code analysis on your .NET projects.  This can be useful especially with large projects that you've inherited.  NDepend also supports a SQL-like query language that enables you to define your own code rules/analytics to search a code base with.
  • Dynamic Language Runtime (DLR) ported to Mono: One of the announcements we made at MIX was that we are shipping a new "dynamic language runtime" framework library for .NET that makes it much easier to build dynamic languages on top of .NET (both the full .NET Framework and Silverlight).  We are also shipping four dynamic language implementations of our own: IronPython, IronRuby, Javascript and Dynamic VB.  We shipped the source code to the DLR and IronPython as a CodePlex project with a permissive license.  This article on O'Reilly describes how someone has already taken the code and got it up and running on Mono.  Miguel de Icaza was up in Redmond this week at a compiler dev lab we held and JasonZ and I got a chance to take him out to dinner last night.  You can read about Miguel's trip on his blog here.

Hope this helps,

Scott

Published Tuesday, May 22, 2007 11:20 AM by ScottGu

Comments

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Tuesday, May 22, 2007 2:38 PM by Laurent Duveau

This is a great idea, sure it will be quality links!

And... the new blog's layout is nice!

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Tuesday, May 22, 2007 2:41 PM by ScottGu

Cool - glad you find it useful!

And I'm glad you like the new blog layout - I decided it was time to look a little more modern. :-)

Thanks,

Scott  

# May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET | Talk Utopia

Pingback from  May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET | Talk Utopia

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Tuesday, May 22, 2007 3:05 PM by modark

very nice template! it is so 2007 ;-)

thanks for the links, very usefull.

# May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET - ScottGu's Blog

Pingback from  May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET - ScottGu's Blog

# » Microsoft and Mono cooperating?

Tuesday, May 22, 2007 3:33 PM by » Microsoft and Mono cooperating?

Pingback from  » Microsoft and Mono cooperating?

# » May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Pingback from  » May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Tuesday, May 22, 2007 4:32 PM by Prashanth

The new look of the blog is beautiful.

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Tuesday, May 22, 2007 4:36 PM by Ponnu

This idea of yours posting a weekly post is too good. Makes my life easier. I don't have to keep track of many blogs.

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Tuesday, May 22, 2007 4:39 PM by Al Pascual

Great idea, I can't believe you got time to look for other peoples post, I'm still waiting for you to visit my blog ;-)

Cheers

Al

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Tuesday, May 22, 2007 4:44 PM by Josh Stodola

Hi Scott,

Thanks for the very useful links, and I feel it is a superb idea to do this weekly.  Your links have always been helpful to me.

I gotta say I like the old blog layout better.  It was so simple, and that really fit well with your easy-to-understand writings (everything you do ends up seeming so simple).  But hey, that's why it says "ScottGu's Blog" at the top - set it up how YOU want!!

Best regards,

-Josh

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Tuesday, May 22, 2007 5:37 PM by Tad

Nice Collection.  

I put out a list of links I had run across a few weeks ago for .NET 3.0, 3.5, TFS, AJAX, ORCAS, CAB, WWF, Expression Tools here:

realworldsa.dotnetdevelopersjournal.com/net30toolsandlinks.htm

But I like your weekly idea better.  I'll be back next week!!!

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Tuesday, May 22, 2007 5:58 PM by Gill Cleeren

Cool idea... I do that on my blog too when I find the time.

Like the new site-design... I think it's very modern and still very clear.

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Tuesday, May 22, 2007 6:42 PM by Simone

I like your new skin

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Tuesday, May 22, 2007 8:14 PM by scottt40

Thanks again scott g for so many great learning opps.  As a non-coder or programmer, your blogs, webcasts, asp.net content and forums have been a godsend to me in learning asp.net from 2.0 to now. Keep up the great work!  One thing may be great for beginner, would be either a tutorial or webcast on both using the sqldatasource's many ways to write a querry, especially querry builder.  

I also think this would be a great idea when this wizard is available for LinQ.

Thanks again for all the great help, and ASP AJAX!  Great Stuff!

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Tuesday, May 22, 2007 9:25 PM by ms

I don't like the new style on your blog....

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Tuesday, May 22, 2007 9:47 PM by DotNetUrls.com

Very useful and thanks! some of the links have already been added to http://www.dotneturls.com when they are published.

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Tuesday, May 22, 2007 11:16 PM by G

Great links. Thanks Scott!

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Tuesday, May 22, 2007 11:21 PM by Dennis

The text in the image at the top is completely screwed up:

"ScottGu's Blog

Scott Guthrie lives in Seattle and builds a few products for Microsoft"

"ScottGu's Blog" manages to stay inside the image, the rest is floating below and is completely unreadable. Use a static font-size if you do not like people who make text larger to be more readable.

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 12:05 AM by Vikram

yea a very good Idea. And even more good on your blog since many - many people read it

P.S. Like your new theme for blog. Was surprised at first to see the new theme, but looks cool

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 12:08 AM by ScottGu

Hi Denis,

Can you tell me what browser you are using? I've tested the new theme with FireFox and IE and didn't see any issues.  If you can let me know which browser you are seeing issues with, I can test it and get it fixed.

Thanks,

Scott

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 12:09 AM by ScottGu

Hi MS,

Can you tell me what in particular you don't like about the new style?  I'm still trying to tweak it and customize is, and so would be interested in understanding if there is something in particular that bothers people with it.

Thanks,

Scott

# ScottGu's List

Wednesday, May 23, 2007 1:21 AM by Paul Mooney

May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET There's a human aggregator on...

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 4:15 AM by Richard

I think the new look is good, but you can recreate Dennis's problem in IE7 by selecting to View|Text Size|Largest.

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 4:16 AM by Richard

I think the new look is good, but you can recreate Dennis's problem in IE7 by selecting View|Text Size|Largest.

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 4:35 AM by Will

Hi Scott,

Any chance you can put links together for WCF and WWF?  Of all the new technology coming out of MS, I've found that those two topics are the least fleshed out in the community.  DinnerNow is the only real example I've found and it looks like that project went to sleep.  Combining LINQ with WCF and WWF are of particular interest with a project I'm working on.

Thanks,

Will

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 5:30 AM by Juan María

Hi, you can read this in spanish here:

thinkingindotnet.wordpress.com/.../links-22-de-mayo-aspnet-visual-studio-silverlight-wpf-y-net

# Silverlight 1.1(Alpha) Layout and Controls Framework

Wednesday, May 23, 2007 5:59 AM by .Net Adventures

Dave Relyea has developed a layout and control framework for Silverlight 1.1 Alpha. It contains a small

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 7:36 AM by Majid Shahabfar

It's a great adia and very helpful.

Thanks a lot for your impressive job.

By the way the new look of the blog is cool.

Good luck

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 9:31 AM by Steve Harman

Hey Scott,

I'm digging the new look, but you might want to consider some kind of visual separation for the comments.

It's easy to tell which comments are yours (due to the 'eommentowner' CSS class and styling), but its hard to distinguish between the regular comments... they all seem to run together. So perhaps a light grey bounding box? Something like:

.comment

{

background-color:#F2F2F2;

border:1px solid #CCCCCC;

margin-top:1em;

padding:4px;

}

And Yes, my design skills are pretty weak. :)

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 9:49 AM by Josh Stodola

Hi Scott,

It seems you are looking for some specific feedback on the new blog style.  Perhaps I can enlighten you :)

Some things that might need consideration...

1)  Although the new page header is fairly elegant, it takes up too much space.

2)  I wish the front page still displayed the full blog posts.

3)  Probably should use a difference in font-weight rather than light blue for "visited" links (or no diff at all).

4)  All headings appear squished together for some reason.

5)  Why does it tell us the author of each blog post?  Is there any chance it will be someone else?

6)  I would prefer the navigational bar on the left.

7)  The contrast between light brown and light blue seems a little odd.  It's not bad, though.

8)  The comment layout is not very appealing (too plain, need a border or something).

What I like...

1)  Emphasis on the number of comments on the front page.

Hope this helps,

-Josh

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 10:14 AM by James

Great links - thanks. Love the new look for your blog.

<p>Got a slight layout problem with your blog when I select a Tag (for example ASP.NET) - the first two posts are shown correctly, then the rest are displayed under the Favourite links column, with a large gap between the first two and the rest - this is on IE7. Hope this helps.

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 10:26 AM by Caleb

Hi Scott,

I'm having problems installing Silverlight on my machine, I have Vista, but I think in the past I installed WPF/E, I have no idea how to un-install WPF/E so I can Install Silverlight, thanks for the links, I already bought Essential WPF book, the new show of your blog, I like it.

Caleb

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 10:44 AM by ajaxus.net

Hi Scott,

It will be magic if you can do these posts weekly!

Can we help with something? like providing useful links?

Best

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 10:48 AM by Jesse

All the links are very useful, definately will look forward to these posts! I also agree that the layout looks great! Happy Wednesday Scott

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 10:53 AM by Bryan

Will you be posting the link to the collected Tips and Tricks that your old site had?

Thanks,

Bryan

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 11:04 AM by ScottGu

Hi Steve/Josh,

Thanks for the suggestions.  I just applied Steve's suggestion for the comment CSS - so hopefully the comments are now easier to read above.  I'm going to see if I can make a few of the other suggestions on Josh's list as well over the next few weeks.

Thanks,

Scott

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 11:05 AM by ScottGu

Hi James,

There is a bug in the current skin that the folks who run weblogs.asp.net are going to be fixing shortly about the tag and search results (there is an extra div which cases the weird wrapping).  Hopefully that will be fixed soon!

Thanks,

Scott

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 11:05 AM by ScottGu

Hi Bryan,

I'll be adding my tips/tricks link back to my site soon - not sure why it was lost with the new skin!

Thanks,

Scott

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 11:06 AM by ScottGu

Hi Caleb,

If you can send me details about the Silverlight install problem you are having, I can have someone help fix it.  There is indeed an issue that some people have run in if they have an older version of WPF/E on their machine.  The good news is that it is easy to fix (just delete a reg key).  I can loop you in with someone to give you the exact steps.

Thanks,

Scott

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 12:04 PM by Nathanael Jones

Nice new look!

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 12:11 PM by Nathanael Jones

I'm looking for a HttpHandler (like StaticFileHandler) that has resume support. I found the MSDN article on how to do it, but their method doesn't use TransmitFile. I'd also prefer to use one that has been thoroughly tested.

msdn.microsoft.com/.../default.aspx

I will be adding the content-disposition header when ?download=true, then passing the request off to the new handler.

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 12:43 PM by ScottGu

Hi Nathanael,

The HttpResponse.TransmitFile method has an overloaded version that allows you to pass in the start and length segments of a file to send.  I haven't looked at the resume protocol in any depth - but this method should in theory give you the server piece needed to implement it.

Thanks,

Scott

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 1:32 PM by Josh Stodola

Hi Scott,

I just wanted to say the change you made to the comment layout makes a big difference!  They look good now.  The comments posted date seems like it should be a little smaller, though, so that it doesn't appear to be a part of the comment itself.  Other than that - perfect!

Thanks so much for considering our suggestions - I love visiting your blog.

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 23, 2007 5:24 PM by Nathanael Jones

Thanks.

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Thursday, May 24, 2007 12:26 AM by Bill Staples

Don't forget important IIS links! :)

I wrote up a blog post on how to asp.net forms, membership and the built-in IIS admin tool with all types of content, and posted a video to watch step-by-step.

blogs.iis.net/.../using-asp-net-forms-authentication-with-all-types-of-content-with-iis7-video.aspx

I also wrote up a blog post on the new URLauthorization support in IIS7, which you can use with all types of authentication schemes (including windows, basic, digest, etc.) and avoid having to set NTFS permissions to protect content.

blogs.iis.net/.../iis7-urlauthorization-get-rid-of-setting-file-system-permissions.aspx

Mike announced the latest release of WCAT, the performance testing tool we use internally to stress and test performance of the server.  It's a very powerful tool every Web dev should have.

blogs.iis.net/.../wcat-6-3-web-performance-and-scalability-test-tool-released.aspx

Carlos wrote up a great post on IIS Manager (admin tool) extensibility.  

blogs.iis.net/.../extending-the-iis-manager-home-page.aspx

# Downloading a File with a Save As Dialog in ASP.Net

Thursday, May 24, 2007 5:48 AM by Buz

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Thursday, May 24, 2007 1:18 PM by Nathanael Jones

Question: Are themes still a supported part of ASP.NET? Is support for them phasing out?

Expression Web doesn't work with themes when they are used in stylesheet mode. The tech rep said that they were dropping support for themes altogether in EW.

I initially implemented them per Microsoft recommendations, so I was wondering the 'recommended' way has changed.

Thanks,

Nathanael

# Mike&#8217;s Blog on Many Things &raquo; Blog Archive &raquo; links for 2007-05-23

Pingback from  Mike&#8217;s Blog on Many Things  &raquo; Blog Archive   &raquo; links for 2007-05-23

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Friday, May 25, 2007 1:02 AM by ScottGu

Hi Nathaneal,

Themes are definitely still supported.  Unfortunately the Expression team didn't have time to get them in for V1 of Expression Web. But they are fully supported in VS (both VS 2005 and VS Orcas).

Hope this helps,

Scott

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Friday, May 25, 2007 4:47 AM by Morten Post

I've been using the Save-As method for quite a while, but was extremely annoyed that if you tried to open the file  [1] would always be appended to the end of the name.

The way I worked around this was removing:

Response.AppendHeader("Content-Disposition", "attachment; filename=" + filename);

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Friday, May 25, 2007 8:38 AM by Nathanael Jones

Thanks. We bought a pile of licenses for our designers under the assumption that they would work... It turns out even Web Developer Express does a better job. What do you recommend we do?

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Friday, May 25, 2007 8:42 AM by Nathanael Jones

It's nice to know they will be supported in Orcas. Will there be a free patch/upgrade for Expression Web? We bought a pile of EW licenses just to get good design-time support for our designers....

Thanks,

Nathanael

# Sono stato Gu'ed

Tuesday, May 29, 2007 11:34 PM by FoxyBlog

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, May 30, 2007 11:55 AM by Matteo Migliore

Hi Scott. There's "Silverlight Playground 1.0" too

of Andrea Boschin, an Italian dev, for Silverlight new entries :-) :

www.codeplex.com/silverlight

Bye,

Matteo Migliore.

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Thursday, May 31, 2007 11:43 AM by overthetop

Don't stop Scott...you've made my day once again :)

# BlogZaa &raquo; Blog Archive &raquo; ASP.NET, ASP.NET AJAX, Visual Studio and .NET

Pingback from  BlogZaa  &raquo; Blog Archive   &raquo; ASP.NET, ASP.NET AJAX, Visual Studio and .NET

# re: May 22nd Links: ASP.NET, Visual Studio, Silverlight, WPF and .NET

Wednesday, June 06, 2007 3:47 AM by thara

Great Work!!!!!!!

But the link,  

* Using Visual Studio Macros to Increase Productivity

doesn't seem to be working... :^)

# Silverlight 1.1(Alpha) Layout and Controls Framework | devintelligence.com

Pingback from  Silverlight 1.1(Alpha) Layout and Controls Framework | devintelligence.com