Learn ASP.NET

Latest Content

Video

18 Dec 2009

How Do I: Customize Error Handling for the ASP.NET AJAX UpdatePanel

When an error occurs during the processing of a postback triggered by an ASP.NET AJAX UpdatePanel, the client-side PageRequestManager will show an alert (.NET 2.0 or 3.0) or just re-throw the exception (.NET 3.5 or later). In either case, the experience for the end user is less that optimal. In this video, Rob Windsor will demonstrate how to address this issue by customizing the handling of errors associated with the UpdatePanel

Webcast

17 Dec 2009

Building a Twitter Application with Silverlight 3 (Part 2 of 2)

In part 2 of our series on building a Twitter application with Microsoft Silverlight, we get very hands on and dig in to see Silverlight in action. First, we explain how you can display table data in a few different ways, including a traditional grid view and more visually appealing views, such as a chart or a graph. Next we take a look at behaviors. Behaviors are an exciting new feature in Silverlight 3 and Microsoft Expression Blend that make is possible for you to separate more code from your view, making your code more reusable and easier to maintain. Another new feature in Silverlight 3 is the ability to run your application outside of the browser and to launch it, even if you are not connected to the Internet. Join us to see how you can take your Twitter application out of the browser. Silverlight has always been exceptionally strong in the area of video playback and Silverlight 3 raises the bar again--we take a quick look at Microsoft Expression Encoder and explain how it can help to create video for Silverlight playback, including support for Internet Information Services (IIS) Smooth Streaming which is ideal for streaming of high-definition video over the Web.

Webcast

16 Dec 2009

An Introduction to Visual Studio 2010 Extensibility

Want to customize and enhance the out-of-box Microsoft Visual Studio 2010 development environment? Want to build your own Windows Presentation Foundation (WPF) tool window but don't know how to get started? In this webcast, we cover the basics of Visual Studio extensibility and show you how to take advantage of the numerous extension options inside Visual Studio. Additionally, we discuss the new extensibility enhancements in Visual Studio 2010 and how you can take advantage of those enhancements in your application. This is a fun session with plenty of demos, we have something to offer the Visual Studio novice up to the seasoned veteran.

Video

11 Dec 2009

How Do I: Work with Data in ASP.NET MVC Partial Views?

In this video Chris Pels shows how to organize and pass data to partial views in an MVC application. A sample MVC application is created that contains domain models for several business entities as well as a view model that packages instances of the classes. A demo view is then created along with several partial views, all of which are strongly typed and make use of the view model class. The partial views are then added to the demo view and the instance of the view model is used to easily pass the appropriate data down to the partial views. Finally, the uses of the concepts implemented in the sample in a more extensive MVC application are discussed.

Video

11 Dec 2009

How Do I: Implement View Models to Manage Data for ASP.NET MVC Views?

In this video Chris Pels shows how to use the concept of a "View Model" for managing data for ASP.NET MVC views. First, a sample MVC project is created that uses a ViewDataDictionary to package and pass data from a controller to a view. Next, a class is created which represents a view model for a view in the sample MVC project. As part of this implementation, the advantages of the view model approach are discussed. Finally, there is a discussion of how to partition the application logic when using a view model implementation.

Video

11 Dec 2009

How Do I: Create a Custom HTML Helper for an MVC Application?

In this video Chris Pels shows how to create a custom HtmlHelper that is not available in the standard set in an MVC application. First, a sample MVC application is created with a demo controller and view to test the custom HtmlHelper. Next, a module is created with a public function that is an extension method which represents the implementation of the custom HtmlHelper. The custom helper is for creating <img> tags in a page and receives several inbound parameters including the id, url, and alt text for the image tag. The logic is then added to the function for returning the completed <img> tag with the specified information. Then the custom HtmlHelper is used on the demo page to display an image. Finally, the custom HtmlHelper is expanded to include multiple constructor overrides which provide flexibility for more easily creating different <img> tags.

Webcast

10 Dec 2009

Comparative Windows Code Protection Technologies, Strengths, and Weaknesses

As a developer, you not only have to consider writing great applications with broad appeal, but you also need to consider how to protect applications so that they are not pirated or stolen by competitors. The Windows operating system and supporting technologies, like the Microsoft Visual Studio development system, are great for building applications, and the Microsoft .NET Framework can help accelerate the development life cycle. However, there are hackers out there who want to undo all the good that you get from using the Windows operating system and toolset. To combat hackers, there are several types of code protection offered by multiple vendors. These include obfuscation, encryption, anti-tampering protections; there are also other things you can do with your code to make it harder to understand and harder to crack. What are the relative strengths and weaknesses of each? Why is code protection important to your bottom line? What are the characteristics of a good code protection solution? Join this webcast to see how you can help maximize your investment in Windows and tools. We walk through the different code protection technologies and discuss each. We also demonstrate an example of a code protection solution that combines some of the code protection technologies and explain how it works.

Video

16 Nov 2009

ASP.NET 4 "Quick Hit" - jQuery Syntax for Microsoft Ajax

In this video you will learn about jQuery syntax for Microsoft Ajax.

ASP.NET Books

Microsoft Learning

Course 50205A: SharePoint 2007 Web Development

For those web developers new to ASP.NET and SharePoint Web Customization. This course addresses aspects of design such as applying alternate page...

Learning Plan for the Web Developer Job Role (Visual Studio 2005)...

This learning plan will help you train to become a developer of ASP.NET Web applications, and earn the Microsoft Certified Professional Developer...

Microsoft Communities