BizTalk Utilities CV ,   Jobs ,   Code library
 
Go to the front page to continue learning about XML or select below:

Contents

ReBlogger Contents

 
WSE
SOA
XML

 
 

All posts by : ScottGus Blog

Page 1 of 2

2008 Nov 21

1 of 94 | jQuery Intellisense in VS 2008 - Last month I blogged about how Microsoft is extending support for jQuery.  Over the last few weeks we've been working with the jQuery team to add great jQuery intellisense support within Visual Studio 2008 and Visual Web Developer 2008 Express (which is free).  This is now available to download and use. Steps to Enable jQuery Intellisense in VS 2008 To enable intellisense completion for jQuery within VS you'll want to follow three steps: Step 1: Install VS 2008 SP1 VS 2008 SP1 adds richer JavaScript intellisense support to Visual Studio, and adds code completion support for a broad range of JavaScript libraries. You can download VS 2008 SP1 and Visual Web Develo......

2007 Jul 20

2 of 94 | VS 2008 JavaScript Debugging - A few weeks ago I blogged about the new JavaScript Intellisense support in VS 2008. One of the other JavaScript features that I'm sure will be popular in VS 2008 is the much-improved support for JavaScript debugging.  This is enabled in both the free Visual Web Developer 2008 Express edition as well as in Visual Studio, and makes using JavaScript and building AJAX applications significantly easier. Setting JavaScript breakpoints in ASP.NET pages One of the annoying things with VS 2005 is that you have to first run your ASP.NET pages before you can set JavaScript breakpoints in them in the debugger.   VS 2008 makes this much better by adding new support that allows ......

2007 Jul 04

3 of 94 | July 4th Links: ASP.NET, ASP.NET AJAX, Visual Studio, Silverlight and IIS7 - I've fallen behind on my weekly link-listing series - apologies for the delay. ASP.NET ASP.NET RSSToolkit 2.0 Released: One of the cool projects for ASP.NET 2.0 that was released last year was this free RSS Toolkit - which makes consuming and exposing RSS feeds in ASP.NET super easy (you can even databind any ASP.NET control against them).  The team working on the CodePlex project has recently released V2 of the RSSToolkit.  You can learn all about it and download it here. Building a Custom Database Driven Site Map Provider: Scott Mitchell has written a great article on how to implement your own site map provider for ASP.NET that is populated from a databa......

2007 Jun 29

4 of 94 | LINQ to SQL (Part 3 - Querying our Database) - Last month I started a blog post series covering LINQ to SQL.  LINQ to SQL is a built-in O/RM (object relational mapping) framework that ships in the .NET Framework 3.5 release, and which enables you to easily model relational databases using .NET classes.  You can then use LINQ expressions to query the database with them, as well as update/insert/delete data from it. Below are the first two parts of my LINQ to SQL series: Part 1: Introduction to LINQ to SQL Part 2: Defining our Data Model Classes In today's blog post I'll be going into more detail on how to use the data model we created in the Part 2 post, and show how to use it to query data within an ASP.NET project. Northwi......

2007 Jun 22

5 of 94 | VS 2008 JavaScript Intellisense - One of the features that web developers will really like with VS 2008 is its built-in support for JavaScript intellisense.  This is enabled in both the free Visual Web Developer 2008 Express edition as well as in Visual Studio, and makes using JavaScript and building AJAX applications significantly easier.  Below is a quick tour of some of the new JavaScript intellisense features to take advantage of: JavaScript Type Inference One of the things you'll notice immediately when you start typing within a script block is the richer support that Visual Studio 2008 now has for JavaScript keywords and language features: JavaScript is a dynamic language, and doesn't......

2007 Jun 20

6 of 94 | VS 2008 Multi-Targeting Support - Earlier this month at TechEd we announced the official name of Visual Studio "Orcas" - which will be called Visual Studio 2008.  We also said that the official name for the .NET Framework "Orcas" release will be called .NET Framework 3.5 (it includes the new LINQ support, integrated ASP.NET AJAX support, new ASP.NET data controls, and more). VS 2008 and .NET 3.5 Beta 2 will ship later this summer, and the Beta 2 release will support a go-live license for those who want to put applications into production using the new features immediately. What is Multi-Targeting? With the past few releases of Visual Studio, each Visual Studio release only supported a specific vers......

2007 Jun 19

7 of 94 | Building Silverlight Applications using .NET - I'm just about to hop on the flight back to Seattle after finishing up a 10 day business trip to Europe where I spoke at conferences and user group events in Budapest, Amsterdam and Zurich.  Although trips like these are a little exhausting, I find them really valuable as a way to connect with developers from around the world, as well as provide me the opportunity to create and deliver new presentations and samples. One of the talks I delivered on this trip was a new "Building Silverlight Applications using .NET" talk that people seemed to really like.  Building Silverlight Applications using .NET Talk I tried to keep the format and samples in this talk simpl......

2007 Jun 08

8 of 94 | New ASP.NET AJAX Control Toolkit Release - Yesterday the ASP.NET AJAX Control Toolkit team released an updated version.  You can download it from the http://ajax.asp.net web-site, and run samples built with it on the online samples page here. The ASP.NET AJAX Control Toolkit is a free download and contains more than 40 additional AJAX controls and components that work on top of the core ASP.NET AJAX 1.0 release.  In addition to having Microsoft developers contribute, the project also has more than 15 non-Microsoft contributors adding great features and controls.  You can download either a binary version of the ASP.NET AJAX Control Toolkit to use (just add to your toolbox and you are good to go), or you can down......

2007 Jun 07

9 of 94 | My "Lap Around Silverlight" Talk at TechEd - On Monday I gave an overview talk called "A Lap Around Silverlight" at TechEd in Orlando.  You can download the slides of my talk here (warning: due to images the download is 12Mb).  You can also learn more about Silverlight from my Silverlight blog post here. One of the things I did during the talk was to demo a bunch of cool applications built with Silverlight.  Below are pointers to a few of the cool ones you can check out on the web today (note: install the Silverlight 1.1 Alpha to run them): Silverlight Airlines Sample This was a demo I coded on-stage in my keynote at MIX, and demonstrated an on-line trip scheduler application:   You can watch a video of me walking......

2007 Jun 01

10 of 94 | May 31st Links: ASP.NET, ASP.NET AJAX, Visual Studio and .NET - Below is this week's list of useful .NET links for my weekly link-listing series.  This morning I also updated my ASP.NET 2.0 Tips, Tricks and Gotchas Page to also include some more recent content posts I've done on my own blog this past spring.  This page list ~60 past blog posts I've done, organized by category (VS, UI, Data, Security, Deployment, Performance, etc).  ASP.NET SubSonic Documentation and Project Site: SubSonic is a great, free, open source project for ASP.NET that provides a highly productive OR/M implementation that can dramatically improve productivity when building data driven sites.  Earlier today Rob Conery and the SubSonic tea......

2007 Apr 29

11 of 94 | IIS 7.0 Beta3 Ships with a Go-Live License - This week we shipped IIS 7.0 Beta 3 as part of the Windows "Longhorn" Server release.  IIS 7.0 is the biggest release of IIS in the history of the product, and brings with it major improvements to the Microsoft web-server stack.  This article and this blog post list just a few of the major improvements it delivers. New IIS 7.0 Beta3 Features This week's IIS 7.0 Beta3 release introduces a bunch of new features and capabilities above and beyond what shipped in the IIS 7.0 release that came with Windows Vista.  These include: Web Farm Shared Configuration: You can now configure your web-servers to be stateless, and centralize all configuration, code and content ......

2007 Apr 24

12 of 94 | Javascript Intellisense in Visual Studio "Orcas" - In February I did a blog post called My "First Look at Orcas" Presentation. It provided a good summary of some of the cool web development features coming with Visual Studio "Orcas".  If you haven't had a chance to read it, I recommend checking it out here. One of the most highly anticipated features is the support for client Javascript Intellisense within Visual Studio "Orcas" (this feature also works in the free Visual Web Developer Express edition). If you have ever been frustrated by manually typing Javascript before, you are going to be in for a pleasant treat with "Orcas".  Visual Studio now provides full Javascript Intellisense completion in .aspx files, .htm files, as w......

2007 Apr 21

13 of 94 | New "Orcas" Language Feature: Query Syntax - Last month I started a series of posts covering some of the new VB and C# language features that are coming as part of the Visual Studio and .NET Framework "Orcas" release.  Here are pointers to the first three posts in my series: Automatic Properties, Object Initializer and Collection Initializers Extension Methods Lambda Expressions Today's blog post covers another fundamental new language feature: Query Syntax. What is Query Syntax? Query syntax is a convenient declarative shorthand for expressing queries using the standard LINQ query operators.  It offers a syntax that increases the readability and clarity of expressing queries in code, and can be easy to read and write c......

2007 Apr 19

14 of 94 | Update of SQL Server Database Publishing Toolkit for Web Hosting - A few months ago I posted about the new SQL Server Database Publishing Hosting Toolkit built and published by the SQL Server team.  You can read about what it offers and how to use it in these previous two blog posts of mine: Recipe: Deploying a SQL Database to a Remote Hosting Environment Tip/Trick: How to Upload a .SQL file to a Hoster and Execute it to Deploy a SQL Database The SQL Server Hosting Toolkit is a free download that makes it super easy to create a .SQL script file capable of re-creating your database (including the schema, sprocs, and actual data content).  When it is installed you can simply right-click on a database inside Visual Studio or Visual Web Developer ......

2007 Apr 14

15 of 94 | Working with Data in ASP.NET 2.0 - A ton of great articles and tutorials on working with data in ASP.NET 2.0 applications has been published recently. This post highlights a few of them: Working with Data in ASP.NET 2.0 Tutorial Series Scott Mitchell recently finished writing his multi-part Working with Data in ASP.NET 2.0 tutorial series for the www.asp.net site.  This tutorial series contains more than 75 data tutorials (and over 750 pages of content!).  There are VB and C# versions available for all of the tutorials, and the articles can optionally be downloaded in PDF format.  If you haven't read the tutorials yet, I'd highly checking them out here.  Below is the table of contents and links to&......

2007 Apr 08

16 of 94 | New "Orcas" Language Feature: Lambda Expressions - Last month I started a series of posts covering some of the new VB and C# language features that are coming as part of the Visual Studio and .NET Framework "Orcas" release.  Here are the first two posts in the series: Automatic Properties, Object Initializer and Collection Initializers Extension Methods Today's blog post covers another fundamental new language feature: Lambda Expressions. What are Lambda Expressions? C# 2.0 (which shipped with VS 2005) introduced the concept of anonymous methods, which allow code blocks to be written "in-line" where delegate values are expected. Lambda Expressions provide a more concise, functional syntax for writing anonymous methods.  Th......

2007 Apr 04

17 of 94 | JSON Hijacking and How ASP.NET AJAX 1.0 Avoids these Attacks - Recently some reports have been issued by security researchers describing ways hackers can use the JSON wire format used by most popular AJAX frameworks to try and exploit cross domain scripts within browsers.  Specifically, these attacks use HTTP GET requests invoked via an HTML <script src=" "> include element to circumvent the "same origin policy" enforced by browsers (which limits JavaScript objects like XmlHttpRequest to only calling URLs on the same domain that the page was loaded from), and then look for ways to exploit the JSON payload content. ASP.NET AJAX 1.0 includes a number of default settings and built-in features that prevent it from being susceptible to......

2007 Mar 13

18 of 94 | New "Orcas" Language Feature: Extension Methods - Last week I started the first in a series of blog posts I'll be making that cover some of the new VB and C# language features that are coming as part of the Visual Studio and .NET Framework "Orcas" release later this year.  My last blog post covered the new Automatic Properties, Object Initializer and Collection Initializer features.  If you haven't read my previous post yet, please read it here.  Today's blog post covers a much more significant new feature that is available with both VB and C#: Extension Methods. What are Extension Methods? Extension methods allow developers to add new methods to the public contract of an existing CLR type, without having to sub......

2007 Feb 27

19 of 94 | Tip/Trick: Url Rewriting with ASP.NET - People often ask me for guidance on how they can dynamically "re-write" URLs and/or have the ability to publish cleaner URL end-points within their ASP.NET web applications.  This blog post summarizes a few approaches you can take to cleanly map or rewrite URLs with ASP.NET, and have the option to structure the URLs of your application however you want. Why does URL mapping and rewriting matter? The most common scenarios where developers want greater flexibility with URLs are: 1) Handling cases where you want to restructure the pages within your web application, and you want to ensure that people who have bookmarked old URLs don't break when you move pages around.  Url-rewriting ......

2007 Feb 22

20 of 94 | WPF Text Reading and Flow Document Support, and the new NYTimes, Daily Mail, and Seattle Post-Intelligencer Reader Applications - Windows Presentation Foundation (WPF aka "Avalon") is a massive step forward for Windows client development, and delivers a super-rich .NET UI framework that integrates vector graphics, rich flow text support, and 3D visualization with a powerful control model framework.  You get WPF support with .NET 3.0 (which is built-in with Windows Vista and available as a separate download for other Windows OS versions). Visual Studio "Orcas" will ship with a rich WYSIWYG designer and project support for developers to easily build WPF applications.  The Microsoft Expression suite of designer products will also then provide killer support for designers to work on WPF visuals and interac......

2007 Feb 06

21 of 94 | ASP.NET 2.0 Tips and Tricks and ASP.NET, IIS7 and ASP.NET AJAX End to End Talks - I've finished my whirlwind speaking tour of Europe (Belgium, UK and Netherlands in less than one week), and was fortunate to have had the chance to present to several hundred people along the way.  Many thanks to everyone who came out to attend my talks! Here are the first two slide decks + samples from the talks I gave: ASP.NET Tips and Tricks:  This talk covered ASP.NET UI, AJAX, Caching and Deployment Tips and Tricks, and Visual Studio 2005 tips/tricks.  The samples include updated versions of ASP.NET AJAX that all work with ASP.NET AJAX 1.0.  You can download the slides+samples here. You can learn more about the Visual Studio build performance optimization sug......

2007 Jan 29

22 of 94 | Video: Using LINQ with ASP.NET in VS "Orcas" (Part 1) - One of my goals this year is to use video more with my blog.  My theory is that video is often a better medium than text to walkthrough how something works, and can also help you avoid the tedium of reading though some of my really long blog posts... :-) Over the next few months I'm going to try and create a new video every other week or so on various topics.  Many of these videos are going to involve first looks at some of the new features coming with Visual Studio "Orcas", which is our new release that will ship later this year.  For today's video I decided to focus on introducing LINQ - which I think is one of the most exciting features coming with "Or......

2006 Dec 22

23 of 94 | Recipe: Deploying a SQL Database to a Remote Hosting Environment (Part 1) - Scenario: You finish building a great ASP.NET application, have everything tested and working right on your local system, are taking full advantage of the new ASP.NET 2.0 Membership, Role and Profile features, and are ready to publish it to a remote hosting environment and share it with the world.  Copying the .aspx files and compiled assemblies to the remote system is pretty easy (just FTP or copy them up).  The challenge that confronts a lot of developers, though, is how to setup and recreate the database contents - both schema and data - on the remote hosted site.  Unfortunately there hasn't historically been a super-easy way to accomplish this. The good news is tha......

2006 Dec 15

24 of 94 | ASP.NET AJAX 1.0 Release Candidate Now Available - Earlier today the ASP.NET team shipped the release candidate for ASP.NET AJAX 1.0.  This is the penultimate release of ASP.NET AJAX - the next public release will be the final, fully supported, 1.0 product.  This release candidate build includes several new features, and one important change, from the Beta2 release.  You can read a document that lists all changes from the CTP->Beta1->Beta2->RC here.  At a high-level, the changes from Beta2 to RC include: - Inclusion of a built-in VS 2005 Web Application Project template to create new ASP.NET AJAX applications.  This now allows you to pick File->New Project (in addition to the existing template in......

2006 Nov 30

25 of 94 | Extending the ASP.NET 2.0 Localization Model with a Database Resource Provider - Earlier this spring, Michèle Leroux Bustamante wrote a great article for MSDN: ASP.NET 2.0 Localization Features: A Fresh Approach to Localizing Web Applications.  It covers the basics of how to use the new localization features available within ASP.NET 2.0 to build localized, culture-aware, web applications. To watch how to quickly apply these localization techniques, I'd also highly recommend checking out this free 13 minute video: How do I: Create a Multi-Lingual Site with Localization?  It is part of the excellent ASP.NET 2.0 How Do I video series and demonstrates step-by-step how to build and localize an ASP.NET application from scratch (as well as how to dynamically se......

26 of 94 | Tip/Trick: Use the ASP.NET 2.0 CSS Control Adapters for CSS friendly HTML output - Tired of having html <table> elements rendered by the built-in ASP.NET server controls and wishing you could use a pure CSS solution instead?  If so, read on... Last week we released Version 1.0 of the ASP.NET 2.0 CSS Control Adapters.  These adapters take advantage of a new extensibility feature in ASP.NET 2.0 that we call the "Control Adapter Architecture", and which enables developers to override, modify and/or tweak the rendering output logic of an existing server control (without changing any of its properties, supported events, or programming model). The ASP.NET 2.0 CSS Control Adapters that we released last week provide pre-built control adapters for 11 of the ......

2006 Nov 20

27 of 94 | Podcasts and Prototyping - Ron Jacobs recently published a podcast with me for his ARCast.net show (which is a free Podcast series aimed at architects).  In the podcast we covered a couple of topics people might find interesting: Some of the history behind .NET and specifically ASP.NET The importance of prototyping (and how not to screw it up) The importance of developing "soft skills" to be a successful architect The prototyping discussion is one that I think has a lot of relevance to many projects out there.  It is a best practice that I really encourage all developers to dedicate more time towards -- since done right it really allows you to experiment and quickly try out a lot of ideas and conce......

2006 Nov 09

28 of 94 | Windows Vista Ships with .NET FX 3.0 and IIS7 Built-in - As you might have already heard, earlier today Microsoft released to manufacturing (aka RTM'd) Windows Vista.  This is a huge milestone, and the product contains a ton of great features and value.  I've been running it as my only operating system since July, and have been really impressed the last few months (I haven't had a single crash or issue with it since RC1 - despite using it heavily 12+ hours every day). Two feature highlights I'm particularly excited about being built-in to Vista: .NET Framework 3.0 (including the new Avalon, Indigo, Workflow and CardSpace libraries) IIS 7.0 (including its deep integration with ASP.NET) These are going to significantly improv......

2006 Oct 28

29 of 94 | CSS Control Adapters Update (Beta3) - I've blogged in the past about the great CSS Control Adapters that Russ and Heidi have been working on.  These adapters use a new built-in extensibility mechanism in ASP.NET 2.0 called "control adapters" that allow you to plug-in into any ASP.NET server control and override, modify and/or tweak the rendering output logic of that control. The control adapters that Russ and Heidi built provide a pure CSS based rendering (no tables) for all of the ASP.NET Data (GridView, DataList, DetailsView, FormView, etc), Navigation (Menu, TreeView), and Login (Login, CreateUserWizard, ChangePassword,  PasswordRecovery, LoginStatus) controls.  You can learn more about them and how to......

2006 Oct 23

30 of 94 | Tip/Trick: Cool UI Templating Technique to use with ASP.NET AJAX for non-UpdatePanel scenarios - I've been having some fun playing around with the ASP.NET AJAX Beta release this weekend.  Usually when I integrate AJAX functionality into my code I just end up using the built-in server controls that ASP.NET AJAX provides (UpdatePanel, UpdateProgress, etc) and the cool controls in the ASP.NET AJAX Control Toolkit.  Scott Hanselman had jokingly called using these AJAX controls "cheating" when he interviewed me two weeks ago for his latest podcast - since they don't require that you write any client-JavaScript for most common scenarios. This weekend I decided to focus my coding on some of the client JavaScript pieces in the ASP.NET AJAX framework that don't use UpdateP......

2006 Oct 20

31 of 94 | ASP.NET AJAX Beta 1 Released - Last month I posted about the official new name for “Atlas,” and discussed the roadmap plan for shipping a free, fully-supported, v1.0 release that works on top of ASP.NET 2.0 and Visual Studio 2005. Today I am very pleased to announce the first official Beta release of Microsoft ASP.NET AJAX v1.0. You can download it now from the http://ajax.asp.net site. Available on the site are three download options: 1) The ASP.NET AJAX v1.0 “Core” download. This redist contains the features that will be fully supported by Microsoft Product Support, and which will have a standard 10 year Microsoft support license (24 hours a day, 7 days a week, 365 days a year). The download includes support for th......

2006 Sep 22

32 of 94 | Tip/Trick: Optimizing ASP.NET 2.0 Web Project Build Performance with VS 2005 - This posts covers how to best optimize the build performance with Visual Studio 2005 when using web projects.  If you are experiencing slow builds or want to learn how to speed them up please read on. Quick Background on VS 2005 Web Site Project and VS 2005 Web Application Project options VS 2005 supports two project-model options: VS 2005 Web Site Projects and VS 2005 Web Application Projects.  VS 2005 Web Site Projects were built-in with the initial VS 2005 release, and provide a project-less based model for doing web development that uses that same dynamic compilation system that ASP.NET 2.0 uses at runtime.  VS 2005 Web Application Projects were released as a......

2006 Sep 08

33 of 94 | CSS Control Adapter Toolkit Update - Today we released a refresh of the CSS Control Adapters for ASP.NET 2.0.  You can download it for free and immediately begin using it to enable pure CSS optimized markup for the following ASP.NET controls: Menu TreeView GridView (new) DetailsView FormsView DataList Login (new) ChangePassword (new) CreateUser (new) PasswordRecovery (new) LoginStatus (new) As I blogged about with the first release of the CSS Control Adapters, these control adapters use a new built-in extensibility mechanism in ASP.NET 2.0 called "control adapters".  A control adapter allows you to plug-in into any ASP.NET server control and override, modify and/or tweak the rendering output logic o......

2006 Sep 07

34 of 94 | IIS 7.0 RC1 - As you might have already heard, Windows Vista RC1 was released late last week.  I've been running it on my primary machine the last few days and have been really impressed with it.  Zero crashes so far, and it is running really smoothly for me.  The code in Vista that I've been very involved with is IIS 7.0 - which is a major update to the Microsoft web server platform, and brings tons of goodness.  Earlier this summer we launched the www.iis.net web-site, which you can visit to learn more about IIS7 and all the cool things you can do with it.  Bill Staples, who runs the IIS7 team, has recently written a good blog post about some of the cool changes/improvem......

2006 Aug 31

35 of 94 | Windows Workflow Foundation - Workflow is one of the new core capabilities (along with WPF aka Avalon and WCF aka Indigo) being added in the .NET Framework 3.0 release later this year.  It provides an in-process workflow engine to process rules, a designer for VS 2005 to enable both developers and non-developers to define custom workflow processes graphically, and a new Workflow namespace to integrate these within code.  The official site to learn more about Windows Workflow Foundation can be found here. Over the last two weeks I've also seen a number of great new posts and web-casts published that cover it in more detail.  Below is a list of some of them you might want to explor......

2006 Aug 25

36 of 94 | Great New Atlas Videos Published (All Free) - Joe Stagner has been busy at work publishing more Atlas videos on the www.asp.net website (click here for the full video listing).  Here are a few pointers to some of the recent Atlas videos he has posted:   Add "Atlas" features to an existing ASP.NET web application: Learn how to easily add Atlas functionality to an existing ASP.NET application, and demonstrates how to add the Atlas assembly and configure it within a site (4 minutes, 33 seconds). Implement Dynamic Partial-Page Updates using Atlas: Learn how to to use the Timer control in Atlas to dynamically refresh portions of an ASP.NET page (5 minutes, 31 seconds). Using the Atlas Control Toolkit Cascading Dropdownlist Exten......

2006 Aug 09

37 of 94 | August 9th ASP.NET Link-Listing - Below are some nice articles and links I’ve found on the web over the last week that I enjoyed, and recommend setting aside some time to consider reading:ASP.NET TopicsSending Email in ASP.NET 2.0: This is a great article from Scott Mitchell that demonstrates how to use the new System.Net.Mail APIs in .NET 2.0 to send email from an ASP.NET application.Sending Email in ASP.NET 2.0: HTML-Formatted Emails, Attachments, and Gracefully Handling SMTP Exceptions: This is a great follow-up article on email from Scott Mitchell that discusses some more advanced email scenarios using System.Net.Mail.UrlRewritingNet.UrlRewrite V2.0 Released: Albert Weinert sent me mail on Friday pointing me at th......

2006 Jul 23

38 of 94 | Recipe: Dynamic Site Layout and Style Personalization with ASP.NET - Problem: You want to enable end-users visiting your web-site to dynamically customize the look and feel of it.  Specifically, you want to enable them to choose different content layouts for the site, as well as different style experiences (colors, fonts, etc).  When building this customization system, you want to make sure you avoid duplicating logic throughout the multiple pages.  Instead, you want to be able to author the dynamic personalization logic once and have all pages inherit it.Solution:ASP.NET 2.0 makes dynamically customizing the UI experience of a web-site easy.  Specifically, it provides a flexible mechanism for defining page layouts using a feature called ......

2006 Jul 22

39 of 94 | Upcoming Free ASP.NET Team Webcasts -- "Live from Redmond" - Earlier this spring the ASP.NET Team presented several great MSDN web-casts.  The response to those was so great that we've scheduled a bunch of new ASP.NET 2.0 talks over the next two months.  Below is a list of them, along with a registration URL that you can use to sign-up to watch them for free: DateTitleSpeakerRegistration URL25-JulASP.NET: An Overview of ASP.NET and Windows Workflow Foundation IntegrationKashif AlamClick here3-AugASP.NET: Building Real-World Web Application UI with Master Pages, Themes and Site NavigationPete LePageClick here10-AugASP.NET: Creating Web Applications Using Visual Studio 2005 Team SystemJeff KingClick here17-AugASP.NET Atlas: A Develop......

2006 Jul 18

40 of 94 | Remote Membership/Roles Management of ASP.NET 2.0 Applications - Peter Kellner recently published parts 3 and 4 of his popular how-to series on building a custom remote security management application for ASP.NET 2.0's Membership and Roles feature.  Part 3 covers Ajax enabling it with Atlas, and Part 4 covers adding personalization support with profiles.  You can find the entire series on MSDN here:ASP.NET 2.0 Member/Role Management, Part 1: Security and Configuration OverviewASP.NET 2.0 Member/Role Management, Part 2: ImplementationASP.NET 2.0 Member/Role Management, Part 3: AJAX Enhancements with Microsoft AtlasASP.NET 2.0 Member/Role Management, Part 4: Adding Personalization with Profiles to the ObjectDataSourceFor more ASP.NE......

2006 Jul 07

41 of 94 | Tip/Trick: Custom formatting HTML in Visual Web Developer and Visual Studio 2005 -   Problem   You receive an HTML or ASP.NET page from another developer you work with whose html source formatting standards are different from your own (bad use of casing, inconsistent indenting, etc).   You want to quickly clean-up and format the HTML “the right way” – where “the right way” is naturally defined as own your personal preference (and naturally every developer thinks their preference is "right" <g>).   Solution   Visual Web Developer and Visual Studio 2005 include a rich HTML source formatting rules engine that enables you to configure exactly how you want HTML markup to look.   These HTML formatting rules are used by default when......

2006 Jul 06

42 of 94 | Tip/Trick: Gathering Custom User Registration Information - Problem You are building a web-site that allows customers to register new users on the site.  As part of the registration process, you naturally want to allow them to create a username and password.  You also want them to enter additional personalization/registration data like their address, zipcode, gender, age, etc. and associate it with the newly created account.  You want to create an intuitive wizard-like navigation UI that enables customers to easily manage this workflow. Solution ASP.NET 2.0 now provides a built-in control -- <asp:createuserwizard> -- that provides developers with an easy way to create user registration workflows for their site.  The <......

2006 Jun 23

43 of 94 | 15 Great ASP.NET 2.0 Data Tutorials Published - Earlier this year I posted two long data access tutorial posts.  My goal was to then follow up these popular posts (90,000+ views and counting!) with a whole series around them.  Unfortunately work sidetracked me and I found I didn't have the time to-do them justice... Thankfully Scott Mitchell kindly offered to help write them instead, and has put together an awesome data access tutorial series that is now online here under the "Learn" tab of the http://www.asp.net website.  15 of the data tutorial segments can now be read online, with another 25 still on their way.  Each of the tutorials is available in both VB and C#, and in both HTML and PDF form......

2006 Jun 05

44 of 94 | Using DLINQ with ASP.NET (Part 2 of my LINQ series) - Last month I wrote about the new LINQ language features for VB and C#.  My blog post introduced some of the core concepts of LINQ, and demonstrated how you can use LINQ to perform rich queries over standard .NET business classes and object collections.  I also showed how you could easily bind the results of these queries against ASP.NET controls.  You can read all about how to-do this here.   One of the really powerful aspects of LINQ is that it can be used against any type of object or data source, and provides a consistent programming model for doing this.  LINQ ships with implementations that support LINQ against regular object collections, databases, entitie......

2006 Jun 02

45 of 94 | VS 2005 Web Application Projects, MSBuild, and Continuous Integrations - One thing that I thought would be worth spending a few minutes writing about is the built-in MSBuild support provided with the VS 2005 Web Application Project Model option. The project file used with VS 2005 Web Application Projects is a standard XML-based MSBuild file (just like a class library or any other project type within VS 2005), and allows you to add any custom MSBuild action with it.  Here is a pointer to an old blog post I wrote that listed a number of free MSBuild actions you can download and incorporate (including ones to create IIS application pools, FTP content, and provision databases).  When you do a build within the Visual Studio IDE, it will use the MSBuild Pro......

2006 May 31

46 of 94 | ASP.NET 2.0 Localization (Video, Whitepaper, and Database Provider Support) - ASP.NET 2.0 and VS 2005 add a bunch of features that make localizing ASP.NET applications much easier. To learn more about how the localization features work, I'd recommend first checking out this excellent 13 minute video in the ASP.NET 2.0 "How Do I?" video series.  In it Scott Stansfield walks-through how to build and localize an ASP.NET application from scratch, and how to support both dynamically picking the language used based on the incoming user-agent string of the client, as well as allowing a user to explictly choose their language preference from a dropdownlist.  I think you will walk away being surprised at how easy it is.   Wei-Meng Lee has also writt......

2006 May 29

47 of 94 | Eliminating CSS Image Flicker with IE6 - One challange that web designers and developers often wrestle with is an annoying "image flicker" issue that sometimes shows up when using CSS image references.  For example, when using a CSS rule like so:      .someClassName        {            background:#AABBCC url(someBackGroundImage.gif) repeat-x;        } This can cause some browsers (including IE 6) to have an annoying flicker when rendering the image (especially when used with hover styles or for background images).  In particular, this often shows up when building hie......

2006 May 02

48 of 94 | CSS Control Adapter Toolkit for ASP.NET 2.0 - Tired of having <table> elements rendered by the built-in ASP.NET server controls and wishing you could use a pure CSS solution instead?  Read on...   Today we published the CSS Control Adapter Toolkit for ASP.NET.  This toolkit provides information about how the ASP.NET 2.0 Control Adapter Architecture works, as well as a set of 5 sample control adapters (with full source that you can optionally tweak/modify) that provide CSS friendly adapters for 5 of the built-in ASP.NET controls (specifically: Menu, TreeView, DetailsView, FormView and DataList).    You can download this release for free from here, and immediately begin using it in your ASP.NET 2.0 sites t......

49 of 94 | CSS Control Adapter Toolkit for ASP.NET 2.0 - Tired of having <table> elements rendered by the built-in ASP.NET server controls and wishing you could use a pure CSS solution instead?  Read on...   Today we published the CSS Control Adapter Toolkit for ASP.NET.  This toolkit provides information about how the ASP.NET 2.0 Control Adapter Architecture works, as well as a set of 5 sample control adapters (with full source that you can optionally tweak/modify) that provide CSS friendly adapters for 5 of the built-in ASP.NET controls (specifically: Menu, TreeView, DetailsView, FormView and DataList).    You can download this release for free from here, and immediately begin using it in your ASP.NET 2.0 sites t......

50 of 94 | CSS Control Adapter Toolkit for ASP.NET 2.0 - Tired of having <table> elements rendered by the built-in ASP.NET server controls and wishing you could use a pure CSS solution instead?  Read on...   Today we published the CSS Control Adapter Toolkit for ASP.NET.  This toolkit provides information about how the ASP.NET 2.0 Control Adapter Architecture works, as well as a set of 5 sample control adapters (with full source that you can optionally tweak/modify) that provide CSS friendly adapters for 5 of the built-in ASP.NET controls (specifically: Menu, TreeView, DetailsView, FormView and DataList).    You can download this release for free from here, and immediately begin using it in your ASP.NET 2.0 sites t......

Page 1 of 2

Newest posts
 

    Email TopXML