Practical .NET


Integrating Lambda Expressions and Events

Using lambda expressions is a more compact way of wiring up events in both C# and Visual Basic. It also provides a way of passing parameters to an event without having to redefine the event's parameters.

Recognizing Mobile Browsers

ASP.NET 4 upgrades the support for detecting browser capabilities with profiles for the latest mobile browsers. The good news is that you can use that new information with older versions of ASP.NET.

Insider: A Debugging Story

Peter Vogel looks at debugging from a different specific: One incident whose resolution depended, in part, on understanding who'd already searched for the bug and the history of the bug itself.

Debugging Tools for the .NET Developer

Visual Studio provides a rich set of tools for finding bugs, though most developers aren't aware or don't take advantage of all of them.

Insider: Facilitating SOA

Peter Vogel describes why he doesn't design service-oriented architectures for his clients: he "facilitates" them.

Updates in Entity Framework

A primer on how to update objects, including adds and deletes, in the Entity Framework.

WebSockets for Faster, More Scalable Ajax Applications

If you want to call a service you can—but the service can't call you back. WebSockets offers the potential for real, two way communications -- and it's as simple as calling a Web Service.

Using MEF to Retrieve Connection Strings

Rather than try to ensure that he's getting the right config file for his production and test systems, Peter Vogel lets the application configure itself, using the Managed Extensibility Framework to enable automatic selection of the right connection string

Using the Form View with Any Data Collection

The ASP.NET DataViews are powerful tools when coupled with a DataSource. But you can skip the DataSource and use the DataViews to handle displaying and updating any collection of objects you want, with a few lines of code.

To Think in LINQ

If you start "thinking in LINQ" you'll get more done with less code, and what you write will be simpler than using SQL.

ASP.NET: Managing DOM Events Interoperably

Peter Vogel introduces you to the new dynamic event model for JavaScript that's available in all the contemporary browsers.

Simplify Workflow with Custom Activities

The number of built-in Activities that you can use to create a service that handles a long running service is small. Fortunately, it's easy to add additional Activities that wrap up business logic.

Dynamically Loading Classes at Runtime

Making the right runtime design decisions can help -- or harm -- your program.

Insider: Design Patterns and Dynamic Runtime Configuration

Peter Vogel helps you understand the benefits of dynamic loading at runtime.

WCF: Creating Long-Running Services

Not all business operations finish in seconds. Using Windows Communication Foundation you can still create -- as a single project -- an application that supports business services that take hours (or days or weeks or months) to complete.

Subscribe on YouTube