December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, 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.

ASP.NET

ASP.NET AJAX

ASP.NET MVC

  • PagedList<T> Support: Rob Conery posts a sample implementation of a pageable List<T> implementation that I showed in my original ASP.NET MVC demo at the Alt.net conference.

Visual Studio

  • Spell Checker for Visual Studio: My team recently shipped a cool new Visual Studio add-in that provides spell checking support.  In addition to supporting spell checking within HTML files, it also supports spell checking within JavaScript, VB, C# and ASP.NET comments.  Works with both VS 2005 and VS 2008.

  • World of Warcraft for Visual Studio: A cool new add-on that enables support for building World of Warcraft game extensions using Visual Studio.  Definitely something to check out if you play World of Warcraft.

  • VS 2008 Color Schemes: Thomas Restrepo has posted some nice Visual Studio color scheme templates you can use to customize your text editor settings.

Debugging .NET

  • Getting Started with WinDBG Par1 and Part2: Johan Berglin has an excellent set of posts that detail how you can use the WinDBG debugger to drill into a running ASP.NET application and analyze it to see what it is doing.  Microsoft Product Support uses this tool when helping debug deployed applications in production.  It is extremely powerful and something you might want to learn.

  • Automated .NET Hang Analysis: Tess Ferrandez from the ASP.NET Product Support team has a great blog post that describes an automated hang analysis tool she has written that uses WinDBG to pinpoint the root cause of common hangs with .NET applications.  Her blog is an excellent one to subscribe to - and is full of great debugging tips and tricks.

IIS 7.0

  • Behavior Changes for ASP.NET applications running in Integrated Mode on IIS 7.0: Mike Volodarsky from the IIS team has a great blog post that details behavior changes for ASP.NET applications when they run in "integrated mode" on IIS 7.  "Integrated mode" enables ASP.NET developers to take advantage of much tighter integration with IIS - and enables a host of additional scenarios (richer URL rewriting, integrated authentication/authorization, etc).  If one of the behavior changes listed in Mike's document impacts your application, you can optionally change the application to run in "Classic Mode" - which maintains the same ASP.NET behavior as with IIS6.

  • Professional IIS 7 and ASP.NET Integrated Programming: Shahram Khosravi has recently written a great new book that describes how to take advantage of the new IIS7 "integrated mode" features with ASP.NET.  A great book to read if you are looking to take advantage of the new IIS7 features:

WPF

Hope this helps,

Scott

    Published Sunday, December 16, 2007 11:29 PM by ScottGu

    Comments

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Monday, December 17, 2007 2:47 AM by Youngil

    Good information!

    It is post korean translated in your blog contets.

    I am official, and thank you in permission.

    Think you.

    Korea C# developer Youngil, Kim.

    My Site: http://www.vcug.kr (Visual C# User Group Korea)

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Monday, December 17, 2007 3:07 AM by seerox

    Scott,

    I spent the day looking at Linq to Sql. I'm a bit frustrated. It looks like Linq to Sql has some major issues in a "disconnected" model. Can you give some guidance on this and some pointers on how to build a tiered app and perform updates/deletes? If I have a data layer and a method called update, in that method I instantiate my context in a using block and do an update there seems to be plenty of gotchas. Even if I use Attach what happens if there are related tables that were already loaded? What if those related collections are modified? What are best practices for the lifetime of a context? I know people are going to start storing them in session state etc and I can see plenty of problems with that. What about serializing entities can you touch on that? I found a post by Matt Warren here from April: forums.microsoft.com/.../showpost.aspx.

    He says:

    "There is also a technology in the works that automatically serializes LINQ to SQL objects to other tiers, change tracks and data binds the objects for you on that tier and serializes the objects back, solving the cyclic reference serialization problem and the indescribable schema problem for objects with change sets; which seems to match what many of you are describing." Can you touch on this?

    Sorry for the overload but this seems to be a major point of contention in the community. =]

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Monday, December 17, 2007 3:19 AM by Leon Zandman

    Oh, man... Information overload! And everything's interesting. Gotta learn it all. These are hard times for Microsoft developers ;-)

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Monday, December 17, 2007 3:30 AM by Shail

    Hello Scott,

    Thank you very much for a nice post :).

    Scott, the Automatic caching between SQL Server 2005 and ASP.NET 2.0 is still an uncovered topic. We tried that many times and found some strange behaviors. We are not the only one who faced this problem. I talked to other people also and they also have problem in setting automatic caching between SQL Server 2005 and ASP.NET 2.0 ( where we use command notifications ).

    If this feature can be properly explained with any practical example and scripts, that would be great for performance of our applications.

    Thanks :)

    # December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS

    Monday, December 17, 2007 3:56 AM by DotNetKicks.com

    You've been kicked (a good thing) - Trackback from DotNetKicks.com

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Monday, December 17, 2007 12:26 PM by Art Long

    Hi Scott,

    Did Microsoft ever resolve the issue with DataBinding and the ASP.NET 2.0 Wizard Control? I want to use a Formview inside the Wizard but everything I've read says it will not save the user data. Any ideas?

    Art

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Monday, December 17, 2007 5:00 PM by Jason Mueller

    Scott, little off topic here, but I was hoping one of the links was to the .NET Framework source server.  I know you guys are working hard at making this available.  Do you have an update on when it might be available?  I find myself checking your blog and googling for the url(s) at least 10 times a day hoping to speed up my debugging.

    Thanks for your hard work!

    -jason

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Monday, December 17, 2007 8:48 PM by eagercafe

    Thank you for provide good information~

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Monday, December 17, 2007 10:27 PM by Deepak Raghavan

    Scott does it yet again, gr8 collection of posts!

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Monday, December 17, 2007 11:53 PM by Sambo

    Thank for your list.

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Tuesday, December 18, 2007 12:39 AM by Fredrik

    Hi Scott,

    I am waiting for a good blog from your side regarding the latest progress on DLR. There are no news flowing about the latest DLR, IronRuby, IronPython and ofcourse the most awaited " Dynamic VB ?

    Without information/Blogs, we are unable to get any progress details.The DLR team seems to be very silent, they do not even have their blog section their own so far.

    Pl. blog in short about the progress and possible Beta dates of (1) IronPython, (2) DLR, (3) Dynamic VB  and (4) IronRuby.

    Silverlight will come only after official DLR, thats what i believe.

    Thanks

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Tuesday, December 18, 2007 2:01 AM by Salman Farsi

    The collections is very helpful, thank you for this informative post.

    sfjari@cyber.net.pk

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Tuesday, December 18, 2007 2:56 AM by wyp

    Thanks for your Articles.

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Tuesday, December 18, 2007 3:22 AM by ScottGu

    Hi Shail,

    >>>>>>> Scott, the Automatic caching between SQL Server 2005 and ASP.NET 2.0 is still an uncovered topic. We tried that many times and found some strange behaviors. We are not the only one who faced this problem. I talked to other people also and they also have problem in setting automatic caching between SQL Server 2005 and ASP.NET 2.0 ( where we use command notifications ).

    I will try and put that on the list of future things to cover.  Here are a few posts you can use now:

    www.wrox.com/.../id-306459.html

    quickstarts.asp.net/.../SQLInvalidation.aspx

    www.wrox.com/.../id-306459.html

    Hope this helps,

    Scott

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Tuesday, December 18, 2007 3:23 AM by ScottGu

    Hi Jason,

    >>>>>>>> Scott, little off topic here, but I was hoping one of the links was to the .NET Framework source server.  I know you guys are working hard at making this available.  Do you have an update on when it might be available?  I find myself checking your blog and googling for the url(s) at least 10 times a day hoping to speed up my debugging.

    Send me an email (scottgu@microsoft.com) and I will forward you the instructions.  We are just finishing up the testing of this, and plan to broadly publish the instructions once the holidays are over.

    Thanks,

    Scott

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Tuesday, December 18, 2007 3:24 AM by ScottGu

    Hi Fredrik,

    >>>>>>>> I am waiting for a good blog from your side regarding the latest progress on DLR. There are no news flowing about the latest DLR, IronRuby, IronPython and ofcourse the most awaited " Dynamic VB ?

    The DLR team is making very good progress on this.  I don't have all the details right now to share - but expect to hear more next year.

    Thanks,

    Scott

    # Link Listing - December 17, 2007

    Tuesday, December 18, 2007 7:57 AM by Christopher Steen

    Link Listing - December 17, 2007

    # Enlaces de diciembre: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF &laquo; Thinking in .NET

    Pingback from  Enlaces de diciembre: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF &laquo; Thinking in .NET

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Tuesday, December 18, 2007 2:59 PM by Jay Iyer

    My apologies as I am probably posting this comment under the incorrect blog entry.

    Question:

    When you are inserting an entity, ss there a way to get LinqDataSource to invoke a custom entity constructor in the model. It seems like LinqDataSource by default invokes the parameterless constructor that is automatically created by the ORM Designer. Is there a way to control which constuctor it calls.

    Thanks,

    Jay

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Wednesday, December 19, 2007 8:32 AM by Shail

    Hi Scott,

    Thanks for your reply. I have seen all these. I am using the "Quickstart" Link

    quickstarts.asp.net/.../SQLInvalidation.aspx

    and its topic

    "Sql Server 2005 Notification-based Cache Invalidation".

    I tried this many times. but always something strange. Like sometimes it works, but later stops automatically. There is a section on same Quickstart link to setup the DB for command notifications. if I can get a detailed steps how to setup DB and ASP.NET 2.0 for caching based on Command Notifications, that would be great. And who will be better than you to explain that :).

    Thanks

    # Blogs &laquo; Haluk&#8217;s Weblog

    Wednesday, December 19, 2007 5:27 PM by Blogs « Haluk’s Weblog

    Pingback from  Blogs &laquo; Haluk&#8217;s Weblog

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Wednesday, December 19, 2007 8:54 PM by james_wheeler_pe

    I installed VS2008 (the real release, not the beta) and now an app that targets asp.net 2.0 and AJAX 1.0 is not working when hosted on my machine.  I tried removing VS2005, VS2008 and everything related to .net and then a clean install of VS2008 but still have the same issue.  I even removed IIS and then installed again.

    I am running XP Pro SP2.

    There are no compilation issues and the failure mode is that when I click on an accordion control it expands and partially pushes the controls that are below it further down the page.  By partially pushes what I mean is that the controls below the accordion seem to slightly ride up onto the accordion.  Once the accordion is expanded I cannot collapse it.

    I can copy the site from my machine to a machine that has never had VS2008 and it works perfectly.

    Please tell me someone knows how to resolve this because I don't have too many more things I can try before using the nuclear option.

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Thursday, December 20, 2007 2:25 AM by Lisandro Olmedo

    Hi Scott, I'm following the tutorial ASP.NET MVC Framework (Part 1) and I cannot find the TestViewEngine class while trying to write the UnitTest for the Products Controller. I've noticed other people is having the same issue and already asked the same question, but I don't see an answer. Has "TestViewEngine" been moved or replaced with a different name?

    Thanks,

    Lisandro

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Thursday, December 20, 2007 3:01 AM by lolmedo

    Hi Scott,

    I've been following part 1 of the ASP.NET MVC Framework (Part 1) tutorial and I'm stuck with the Unit Test for ProductsController. I cannot find the TestViewEngine class. I noticed other people has been already asking for it but I haven't seen an answer yet. Could you please point us in the right direction? Has the class been renamed or mover to another Namespace or .DLL ?

    Thanks for your help. MVC rocks!

    Lisandro Olmedo

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Friday, December 21, 2007 3:55 AM by Marco: maltra@tin.it

    Hi, I am an Italian student of Computer Engineering.. I am making a Thesis on the new technologies Microsoft.

    I wanted to ask her if he could furnish me great documentations for the carrying out of the Thesis.

    I am looking for material on asp.net ajax, wpf, silverlight MVC framework.

    I thank her

    Cordially Mark

    ------------------------------------------------

    Salve, sono uno studente Italiano di Ingegneria Informatica .. sto facendo una Tesi sulle nuove tecnologie  Microsoft.

    Volevo chiederle se mi potrebbe fornire documentazioni maggiori per lo svolgimento della Tesi.

    Sto cercando materiale su asp.net ajax ,wpf, silverlight MVC framework.

    La ringrazio

    Cordialmente Marco

    # New and Notable 212

    Sunday, December 23, 2007 9:48 AM by Sam Gentile

    BizTalk Services This is one way to find out that the BizTalk Services hosted at http://biztalk.net have

    # kraiger22 &raquo; New and Notable 212

    Sunday, December 23, 2007 12:38 PM by kraiger22 » New and Notable 212

    Pingback from  kraiger22 &raquo; New and Notable 212

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Wednesday, December 26, 2007 1:10 AM by Forrest

    I'm so excited to have finally got IIS 7 running on my laptop today!  I didn't think Vista Home Premium could run internet information services, so I'm definitely looking forward to trying this out ... it's wildly different from IIS 6.

    The WPF info is great, too.  I've been considering this for a while, and wondering when it makes sense to "switch over" ...

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Wednesday, December 26, 2007 9:20 AM by Paul Irwin

    Scott,

    When are we going to see Visio "2008" for Enterprise Architects on MSDN? Can't install 2005 on a system with VS2008 installed, requires VS2005 to be installed.

    Paul

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Thursday, December 27, 2007 10:52 AM by Joseph Baggett

    I am seeing a lot of new features that are coming out of the new framework that other developers, including myself, which are concerned with the direction the .Net framework is going.  I am more or less concerned with how there are built in tools to do "code generation" for the users, which is suppose to get something out "quick", which is a nice idea, but when it comes down to extensibility, practical use, and when in fact it hurts performance, it should not be implemented.  Rather than build tools that stray away from the object-oriented model, is there a plan to implement code generation templates within Visual Studio itself that adhere to true object-oriented models?  I'll go ahead and point out a control that suffers from limitations of object oriented programming, but claims to be created to be used for objects, the GridView.  In the control, there are bugs still, it does not support objects that have different signatures to be used with the ObjectDataSource, and you cannot programmatically use custom paging with the control without extending the control.  Any plans on .Net heading down this model instead of "throw something up quick" approach?  A lot of developers are creating applications with these tools, run into the problems that something doesn't work, so then you have a mixed architecture.... anyone else run into this problem?

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Thursday, December 27, 2007 1:38 PM by Marco von Frieling

    Hi Scott,

    For testing and debugging ASP.NET applications, I use IE 7 and especially Firefox 2 with lots of useful add-ons (e. g. Web Developer, Firebug (a JavaSvript debugger), Fasterfox, ...). If there'S still a Firefox instance running when starting the debugging, everything works fine. But when there is no instance running it will be created and runs under the same user account as VS 2005/2008 which means with Administrator privileages. My personal user account (I'm using Vista x64 Ultimate) has no administrative privileages and therefore VS and Firefox are running under a different user account. Because I never log in with that account and use it only to run apps elevated, Firefox isn't configured and all the add-ons are not installed under that account. So, is there any way to start the browser using the same user account I'm logged in with, instead of the privileaged account?

    Thanks,

    Marco

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Wednesday, January 02, 2008 8:31 AM by Cihan

    Great list of links. Thanks a lot. I also recommend everybody to get a copy of "Professional IIS 7 and ASP.NET Integrated Programming". It is a very nice book.

    # re: December 16th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, VS, .NET, IIS7, WPF

    Wednesday, January 02, 2008 4:38 PM by Hannah

    Thanks for the heads up Scott.

    # All about asp.net &raquo; Blog Archive &raquo; Jan 4th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Visual Studio, IIS7

    Pingback from  All about asp.net  &raquo; Blog Archive   &raquo; Jan 4th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Visual Studio, IIS7

    # Jan 4th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Visual Studio, IIS7 &laquo; .NET Framework tips

    Pingback from  Jan 4th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Visual Studio, IIS7 &laquo; .NET Framework tips

    # Links 4/Jan: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Visual Studio, IIS7

    Thursday, January 17, 2008 12:10 AM by Mutamblog

    Links 4/Jan: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Visual Studio, IIS7

    # Mandy Gonzales &raquo; Blog Archive &raquo; ScottGu recommends Wrox&#8217;s Professional IIS 7 and ASP.NET Integrated Programming

    Pingback from  Mandy Gonzales  &raquo; Blog Archive   &raquo; ScottGu recommends Wrox&#8217;s Professional IIS 7 and ASP.NET Integrated Programming

    # Odis Morgan &raquo; Blog Archive &raquo; ScottGu recommends Wrox's Professional IIS 7 and ASP.NET Integrated Programming

    Pingback from  Odis Morgan  &raquo; Blog Archive   &raquo; ScottGu recommends Wrox's Professional IIS 7 and ASP.NET Integrated Programming