Entries Tagged 'Atlas' ↓

Feb 6th Links: ASP.NET, ASP.NET AJAX, Visual Studio, .NET, 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

  • .NET Debugging Demos Lab: Tess Ferrandez, who is an ASP.NET escalation engineer for Microsoft support and who also posts incredible articles on the art of debugging production ASP.NET applications, has started a new tutorial series that provides a sample "buggy" application and a series of questions/problems you can work through to learn how to debug problem applications in production environments.
  • 4 Alternative View Engines for ASP.NET MVC: The open source MvcContrib project has been adding lots of cool goodness on top of the ASP.NET MVC Framework.  Jeffrey Palermo posts about 4 alternative view rendering engines now in the project that you can use if you don't want to use the default .aspx based view engine.  BTW - I'll be doing a new post on ASP.NET MVC within the next week talking about some of the cool new features coming soon with the next refresh. 

ASP.NET AJAX

  • Boost ASP.NET Performance with Deferred Content Loading: Dave Ward continues his great articles on ASP.NET AJAX.  This article talks about how you can improve the perceived load-time of a page by using an AJAX callback to retrieve HTML content once the page loads on the client.  This approach is similar to the one I wrote about in my tip/trick post here.

Visual Studio

  • Visual Studio 2008 Product Comparison: Several people have sent me email in the past asking for a page that describes the differences between the various Visual Studio 2008 editions (Standard, Professional, Visual Studio Team System, etc).  This link is useful to bookmark if you want to learn more about this.
  • Did you know...You can Shift+ESC to close a tool window: Sara Ford continues her excellent "Did you know..." VS 2008 tips and tricks series.  I confess I didn't know this one.  One productivity tip I always recommend is to really learn the keyboard shortcuts of your development tool environment well - since using them over time can yield significant productivity savings.  Click here to download a VB 2008 key bindings poster, or click here to download the C# 2008 key bindings poster equivalent.  Print them out and put them under your pillow to absorb them while you sleep.

.NET

  • The Power of Yield: Joshua Flanagan has a nice article on one of the coolest, yet underused, feature of C# in .NET 2.0 - which is the yield keyword.  This is a very powerful feature that enables you to efficiently work with IEnumerable scenarios and enable deferred iteration (LINQ leverages this heavily with .NET 3.5).  To master C# even more, I also highly recommend the new C# 3.0 In a Nutshell book (I posted a 5 star review of it on Amazon).

WPF

  • Making VS 2008 Open in XAML Mode By Default: Matthias Shapiro has a nice post that shows how you can configure VS 2008 to by default load WPF files in XAML mode instead of design-mode.  A very useful shortcut if your natural inclination is to work directly with XAML markup.
  • How can I debug WPF bindings? Beatriz Costa from the Microsoft WPF team has a great post that talks about tips/tricks you can use to better identify "what went wrong" when a databinding expression fails with WPF.
  • Programming WPF and Windows Presentation Foundation Unleashed: If you would like to learn WPF (especially now that there is project and designer support for it in VS 2008), I recommend these two books by Chris Sells and Adam Nathan.  Both are excellent resources to use to learn from.

Hope this helps,

Scott

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

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

  • BlogEngine.NET 1.3 Released: Mads Kristensen blogs about the new release of BlogEngine.NET.  This excellent ASP.NET open source blog engine keeps getting richer and richer.

  • Web Hosters Offering ASP.NET 3.5: Brad Abrams has a nice post that lists some great web hosting providers that are already offering ASP.NET and .NET 3.5 offerings.

ASP.NET AJAX

  • Using the ASP.NET 3.5 Extensions History Support: Dino Esposito has a nice article that demonstrates how you can use the new "EnableHistory" feature on the <asp:scriptmanager> control to add named history points to the browser.  This enables browser forward/back button integration with ASP.NET AJAX applications.  Also read David Barkol's post about this feature here.

  • ASP.NET AJAX History How Do I Video: To learn more about the new ASP.NET AJAX history support, watch this great 15 minute video from Bertrand Le Roy of the ASP.NET team.  He demonstrates how to AJAX enable an <asp:wizard> control, and then add history marker points to it.

  • Script# Update: Nikhil Kothari recently posted an update to his awesome Script# framework, which allows you to compile C# into JavaScript.  Included within this update are project and file templates for VS 2008.  You can learn more about Script# here.

ASP.NET MVC

  • Using ASP.NET MVC from Visual Web Developer Express 2008: Jason Whitehorn has published a nice project template that enables you to use the ASP.NET MVC framework with a web-site project in Visual Web Developer Express 2008.  We'll be adding both class library and web application project support to Visual Web Developer Express 2008 SP1 later this year - which will enable you to optionally use the MVC web application project templates with the free VWD Express as well.

  • Accessing Server Controls from CodeBehind with ASP.NET MVC Views: David Hayden has a good post that discusses a workaround for a bug with the current ASP.NET MVC CTP view templates - which prevents you from coding against server controls in view template code behind classes.  You can right-click on the MVC view files and select "Convert to Web Application" to fix it.  Alternatively, you can download updated MVC Templates that Troy Goode recently posted here.  This issue will be fixed with the next MVC update.

Visual Studio

  • Visual Studio 2008 and .NET Framework 3.5 Training Kit: Microsoft recently shipped a free training kit that you can download that contains tons of excellent material that will help you learn the new features of VS 2008 and .NET 3.5.  Mike Ormond has a nice blog post that discusses it here.

  • Spell Checker Update 2.1: The web tools team has a bug fix and feature addition update to the free spell checking download you can use with VS 2005 and VS 2008.  You can also learn more about the spell checker features here.

IIS 7.0

  • IIS Manager Module to Scan for Assemblies Built in Debug Mode: Vijay from the IIS team has a nice post that shows off how he used the IIS7 admin tool extensibility to build a module that automatically scans deployed applications looking for assemblies that have been accidentally deployed in debug mode.

Hope this helps,

Scott

Using VS 2008 to Create New ASP.NET 2.0 with ASP.NET AJAX 1.0 Projects

One of the great new features of VS 2008 is its support for framework multi-targeting.  This enables you to use VS 2008 on .NET 2.0, .NET 3.0 and .NET 3.5 projects, and does not require you to upgrade your projects to the latest version of the .NET Framework in order to take advantage of new Visual Studio 2008 features (like JavaScript Intellisense, JavaScript Debugging, code editing, nested master pages, and the improved web designer and CSS features - all of which work with .NET 2.0, 3.0 and 3.5 projects).

ASP.NET AJAX 1.0 Multi-Targeting Support

VS 2008 out of the box allows you to open and edit existing ASP.NET 2.0 applications built with the separate ASP.NET AJAX 1.0 download we shipped last year.  The VS 2008 multi-targeting support works just fine with these projects, and you can use the improved JavaScript and web designer support with them - while still targeting .NET 2.0 and ASP.NET AJAX 1.0.

New ASP.NET AJAX 1.0 Project Templates for VS 2008

Out of the box VS 2008 doesn't include project templates for creating brand new ASP.NET 2.0 with ASP.NET AJAX 1.0 applications.  Right before Christmas we shipped a web free web download for VS 2008 that enables these project templates options.  You can download them here (note: you also need to make sure you have ASP.NET AJAX 1.0 installed on your machine in order to use them). 

Once these additional project templates are installed, you can use File->New Project or File->New Web Site within VS 2008 to create ASP.NET AJAX 1.0 applications that run on ASP.NET 2.0:

New ASP.NET AJAX 1.0 Web Site:

New ASP.NET AJAX 1.0 Web Application:

Applications built using these project templates do not require .NET 3.5 to be installed on a server in order to work - you can copy them to any existing web server that has .NET 2.0 and ASP.NET AJAX 1.0 installed and they will work fine.

Hope this helps,

Scott