Streaming Methods in ASP.NET Core gRPC Services

Tue, 03 Sep 2019 10:00:00 GMT

gRPC is not limited to classic request/response unary methods. As this article shows, in gRPC you can use streaming methods to send and receive data piecemeal. The article also shows how to integrate SignalR Core in the client solution for quick notification to the user interface.

Read article

ASP.NET Core gRPC Services

Mon, 01 Jul 2019 10:00:00 GMT

gRPC is a remote procedure call framework that uses a binary protocol over HTTP/2 to connect clients and remote services. Dino Esposito shows how to use gRPC with ASP.NET Core and .NET Core 3.0.

Read article

Revisiting the ASP.NET Core Pipeline

Mon, 03 Jun 2019 10:00:00 GMT

What POCO controllers, SignalR hubs and gRPC services in ASP.NET Core 3.0 have in common? They’re a RPC-style façade for HTTP endpoints and don’t rely on MVC. Yet they need to be written in three different ways.

Read article

Routing and Route Templates in Blazor

Wed, 01 May 2019 10:00:00 GMT

The router is a crucial element in the architecture of client-side frameworks and the engine that maps incoming URLs to the actual processing code. While the Blazor router today provides a basic set of routing capabilities, more will come in the near future.

Read article

Hierarchical Blazor Components

Fri, 01 Mar 2019 10:00:00 GMT

Dino Esposito continues his series on C# development with Blazor. In this column, he explores hierarchical and templated components, which are the most common type in Blazor applications.

Read article

Dealing with Forms in Blazor

Fri, 01 Feb 2019 10:00:00 GMT

Dino Esposito continues his exploration of Blazor. This month, he describes how Blazor is designed to receive and handle events regardless of the surrounding environment, and explores how to handle input forms and client-to-server communication.

Read article

Template-Based Components in Blazor

Wed, 02 Jan 2019 10:00:00 GMT

Any reasonable flavors of components need to have support for templates, and Blazor components are no exception. In his latest column on Blazor, Dino Esposito explores how Blazor components work by updating the type-ahead example featured in his earlier columns, turning it into a template-based component.

Read article

Blazor Custom Components

Sat, 01 Dec 2018 10:00:00 GMT

The .NET revolution in the browser continues. This month, Dino Esposito explains how Blazor components raise the abstraction level of the markup language used to describe static and interactive content.

Read article

Blazor at Work: Events, Binding and Composition

Mon, 01 Oct 2018 10:00:00 GMT

Microsoft is bringing .NET to the browser with Blazor. In his second column in a series, Dino Esposito explores the user interface of a Blazor application, which is made of HTML and CSS bound to JSON data and glued together by C# and JavaScript code.

Read article

Never Mind JavaScript, Here’s Blazor

Sat, 01 Sep 2018 10:00:00 GMT

Blazor is an experimental framework for building .NET-based single page applications for the Web that run in the browser through WebAssembly. Learn how this promising approach could make a lot of developers forget all about JavaScript.

Read article

Social-Style Notifications with ASP.NET Core SignalR

Wed, 01 Aug 2018 10:00:00 GMT

Want to enrich your Web application with social network-style notifications? Dino Esposito shows you how to make it happen with ASP.NET Core SignalR.

Read article

Online Users, Streaming and Other SignalR Goodies

Mon, 02 Jul 2018 10:00:00 GMT

In the second column in a series on ASP.NET Core SignalR, Dino Esposito delves deep into a number of intriguing features in the framework, including streaming and online user counts.

Read article

Under the Covers of ASP.NET Core SignalR

Tue, 01 May 2018 10:00:00 GMT

In the second column in a series, Dino Esposito explores the internal machinery of ASP.NET Core SignalR, including a look at SignalR's messaging and transport protocols.

Read article

Discovering ASP.NET Core SignalR

Sun, 01 Apr 2018 10:00:00 GMT

ASP.NET SignalR was introduced a few years ago as a tool for ASP.NET developers to add real-time functionality to applications. With ASP.NET Core 2.1, SignalR has been completely redesigned. Dino Esposito explores SignalR in ASP.NET Core.

Read article

REST and Web API in ASP.NET Core

Thu, 01 Mar 2018 10:00:00 GMT

Dino Esposito examines Web API support in ASP.NET Core and the features that make building a RESTful API simpler than ever.

Read article

20 Years of Cutting Edge: A Conversation

Mon, 01 Jan 2018 10:00:00 GMT

Dino Esposito this month celebrates 20 years as author of the Cutting Edge column in MSDN Magazine. It's a remarkable run that deserves a moment of recognition.

Read article

Configuring ASP.NET Core Applications

Fri, 01 Dec 2017 10:00:00 GMT

In classic ASP.NET, the web.config file was the favorite repository for application-wide configuration data. That all changes in ASP.NET Core. Learn how to organize and read back the configuration aspects of your applications.

Read article

Guidelines for ASP.NET MVC Core Views

Wed, 01 Nov 2017 10:00:00 GMT

Razor Views in ASP.NET Core are helping change the game around HTML delivery. Dino Esposito offers an exploration of the options you have with Razor views.

Read article

Policy-Based Authorization in ASP.NET Core

Sun, 01 Oct 2017 10:00:00 GMT

ASP.NET Core adds support for authorization policies, which are more powerful and flexible than the traditional role-based approach.

Read article

Cookies, Claims and Authentication in ASP.NET Core

Fri, 01 Sep 2017 10:00:00 GMT

Dino Esposito explains plain direct claims-based authentication in ASP.NET Core.

Read article

Finding the Cheese in ASP.NET Core

Sat, 01 Jul 2017 10:00:00 GMT

Dino Esposito focuses on registering the MVC application model in ASP.NET Core, defining conventional routes and controllers, and passing global data around.

Read article

ASP.NET Core for ASP.NET Developers

Mon, 01 May 2017 10:00:00 GMT

ASP.NET Core provides a couple of capabilities you won't find on any other ASP.NET platform: full control over the pipeline with the ability to create super-simple minimal Web services and applications that can run outside Windows.

Read article

Query JSON Data in SQL Server 2016

Sat, 01 Apr 2017 10:00:00 GMT

Dino Esposito presents JSON-to-rowset native support in SQL Server 2016 and offers a realistic perspective of data query when you have JSON data stored in the database.

Read article

Soft Updates with Temporal Tables

Wed, 01 Mar 2017 10:00:00 GMT

In this month's Cutting Edge column, Dino Esposito delves deeper into SQL Server 2016 temporal tables and their use from within Entity Framework.

Read article

In-House Business Intelligence with Events and CQRS

Wed, 01 Feb 2017 10:00:00 GMT

Once you have raw information saved at the lowest possible level of abstraction, you can use it in many different ways at many different times. This articles show how to add business intelligence capabilities to an event-sourcing solution.

Read article

Rewrite a CRUD System with Events and CQRS

Thu, 01 Dec 2016 10:00:00 GMT

CQRS and Event sourcing are not limited to high-end systems. With some infrastructure around that lets you easily work with aggregates and business workflows, any of today’s CRUD system can be rewritten in a way that brings many benefits, such as preserving the history of the application, potential for scalability, and code resiliency.

Read article

Code First and Database Initialization

Tue, 01 Nov 2016 10:00:00 GMT

Dino Esposito reviews Code First as a multi-customer application, focusing in particular on how to create and fill a database and how to programmatically define its name and connection string.

Read article

Event-Command-Saga Approach for Business Logic

Sat, 01 Oct 2016 10:00:00 GMT

Dino Esposito presents a .NET-based framework specifically devised to implement the business logic of applications using relatively new concepts such as commands and sagas.

Read article

Message-Based Business Logic in Practice

Thu, 01 Sep 2016 10:00:00 GMT

Expressing the logic of a business domain can be a real challenge. An emerging solution is to use business events to express the logic of the domain in a more natural and user-friendly way, as Dino Esposito explains.

Read article

Beyond CRUD: Commands, Events and Bus

Mon, 01 Aug 2016 10:00:00 GMT

In a simple CRUD system, each business event is pertinent to a single aggregate and only rarely the same event touches on multiple aggregates. However, when this happens, and aggregates and events are too numerous, the complexity of the resulting software grows considerably.

Read article

Reflections on Code First, Persistence and Domain Modeling

Fri, 01 Jul 2016 10:00:00 GMT

Code First is about persistence of an object-oriented model through an aptly created set of tables. Domain modeling is about implementing business rules and workflows through an object-oriented model. Logically speaking, the two models are distinct, but sometimes they can be considered just one.

Read article

Building an Historical CRUD, Part 2

Wed, 01 Jun 2016 10:00:00 GMT

An historical CRUD lets you track all business events, thus giving you the chance to check the state of business at any given point in time.

Read article

Building an Historical CRUD

Sun, 01 May 2016 10:00:00 GMT

Create, Read, Update, Delete operations (CRUD) that were modeled on top of plain relational tables are now evolving into what we can generically refer to as historical CRUD, which is a CRUD codebase where the implementation manages to track down the entire list of changes.

Read article

Pushing Notifications to Mobile Apps

Fri, 01 Apr 2016 10:00:00 GMT

Dino Esposito explains what it takes to add a notification layer on top of mobile applications, regardless of the mobile operating system itself. He also reviews the services of the Azure Notification Hub platform.

Read article

The Query Stack of a CQRS Architecture

Tue, 01 Mar 2016 10:00:00 GMT

In the implementation of a modern query stack, the LINQ language backed in the .NET Framework is immensely helpful. Dino Esposito goes through a possible implementation of a read stack where the storage is designed to be close to the organization of data required by the presentation.

Read article

Architecture Spinoffs of UXDD

Mon, 01 Feb 2016 10:00:00 GMT

Software architecture is not an act of faith. Learn how the UXDD design methodology ties together important concepts like CQRS, Event Sourcing and Polyglot Persistence.

Read article

Don’t Gamble with UX—Use Wireframes

Fri, 01 Jan 2016 10:00:00 GMT

Effective wireframes and domain-driven design ubiquitous language provide a means for developers to communicate concepts and ideas in software development.

Read article

Better Architecture with UX-Driven Design

Sun, 01 Nov 2015 10:00:00 GMT

The UX-driven design approach focuses on the business processes that end users need for a system to perform well and as the customer expects.

Read article

Event Sourcing for the Common Application

Tue, 01 Sep 2015 10:00:00 GMT

Event Sourcing is a relatively new storage architecture. It’s not just about auditing and recording business relevant events in a persisted domain. It’s about using a lower abstraction level for saving your data and using ad hoc tools and patterns to create multiple data projections.

Read article

CQRS and Events: A Powerful Duo

Sat, 01 Aug 2015 10:00:00 GMT

Any action is a command or a query—but never both. A command alters the system state. A query reports on the state of the system. This is sometimes referred to as the Command-Query Responsibility Segregation, a potentially groundbreaking architecture.

Read article

CQRS and Message-Based Applications

Wed, 01 Jul 2015 10:00:00 GMT

Command and Query Responsibility Segregation (CQRS) is a software design philosophy that separates the code that alters state and the code that just reads state. The core element of the CQRS approach is simplicity of design.

Read article

CQRS for the Common Application

Mon, 01 Jun 2015 10:00:00 GMT

The CQRS approach to software development is essentially a rework of the classic, multi-layered architecture that leaves the door open for more significant changes and evolution.

Read article

Cutting Edge - Queryable Services

Wed, 01 Apr 2015 10:00:00 GMT

Organizations need to maintain the backend business services they expose as plain HTTP endpoints. Using OData to implement queryable services on top of an ASP.NET Web API lets you give clients the flexibility to download only the fields in which they’re interested.

Read article

Cutting Edge - Type Ahead

Sun, 01 Mar 2015 10:00:00 GMT

A well-done search function is a must in larger sites. This article presents an auto-completion framework built around Twitter typeahead.js.

Read article

Cutting Edge - Lightweight Client-Side Device Detection

Mon, 02 Feb 2015 10:00:00 GMT

WURFL.js is a lightweight device description repository that can improve the user experience in client-side intensive Web applications running on mobile and desktop browsers.

Read article

Cutting Edge - Mobilize an Existing Web Site

Fri, 02 Jan 2015 10:00:00 GMT

Mobile users expect as seamless and smooth an experience working with Web sites on their mobile devices as they have on their desktops. While responsive Web design is one approach, creating discrete sites may be the best answer.

Read article

Cutting Edge - Effective Image Handling in Responsive Web Sites

Mon, 01 Dec 2014 10:00:00 GMT

Responsive Web Design (RWD) creates a unique experience through a fluid and adaptive Web layout. Dino Esposito explores the state of the art of RWD and dives into the critical issue of image handling and performance.

Read article

Cutting Edge - Store User Data in ASP.NET Identity

Mon, 03 Nov 2014 10:00:00 GMT

You can use ASP.NET Identity in Visual Studio 2013 to simplify standard tasks such as managing and controlling access to user data.

Read article

Cutting Edge - Source Code Readability Tips

Wed, 01 Oct 2014 10:00:00 GMT

Readability must be an essential attribute of your coding practices. Follow the three C’s—comments, consistency and clarity—to create code that’s easier to read.

Read article

Cutting Edge - A Look at ClearScript

Tue, 02 Sep 2014 10:00:00 GMT

Add ClearScript into any .NET application to add scripting capabilities, publish objects and enable users to create and run their own scripts within the application.

Read article

Cutting Edge - Documents, Databases and Eventual Consistency

Fri, 01 Aug 2014 10:00:00 GMT

The decision to use relational SQL stores or NoSQL stores to hold disparate types of data will depend on the data and the application. Ultimately, it might not even be necessary to rely on one or the other, says Dino Esposito.

Read article

Cutting Edge - External Authentication with ASP.NET Identity

Mon, 02 Jun 2014 10:00:00 GMT

Dino Esposito shows how to perform authentication through an external OAuth- or OpenID-based server, such as a social network, and the steps you might want to take once authentication is complete.

Read article

Cutting Edge - A First Look at ASP.NET Identity

Mon, 03 Mar 2014 10:00:00 GMT

Dino Esposito explores the basics of ASP.NET authentication and the new ASP.NET Identity system from the perspective of the ASP.NET MVC 5 developer.

Read article

Cutting Edge - Content Negotiation and Web API for the ASP.NET MVC Developer

Mon, 03 Feb 2014 10:00:00 GMT

Dino Esposito discusses Web API from the perspective of the average ASP.NET MVC developer, focusing on the improved content negotiation functionality.

Read article

Cutting Edge - Content Negotiation and Web API for the ASP.NET MVC Developer

Mon, 03 Feb 2014 10:00:00 GMT

Dino Esposito discusses Web API from the perspective of the average ASP.NET MVC developer, focusing on the improved content negotiation functionality.

Read article

Cutting Edge - Programming CSS: Do More with 'LESS'

Fri, 01 Nov 2013 10:00:00 GMT

The LESS Framework enables dynamic generation of CSS content and gives developers and designers alike sophisticated tools for managing and organizing CSS code.

Read article

Cutting Edge - Programming CSS: Bundling and Minification

Tue, 01 Oct 2013 10:00:00 GMT

Learn about bundling and minification of CSS files from the unique perspective of software tooling available in ASP.NET MVC 4.

Read article

Cutting Edge - Creating Mobile-Optimized Views in ASP.NET MVC 4, Part 2: Using WURFL

Thu, 01 Aug 2013 10:00:00 GMT

Dino Esposito follows up on how to serve up ad hoc Web site markup to different classes of devices by using server-side device and feature detection with the Wireless Universal Resource File.

Read article

Cutting Edge - Creating Mobile-Optimized Views in ASP.NET MVC 4

Mon, 01 Jul 2013 10:00:00 GMT

Learn how to use server-side logic to offer up the best display for a given device, incorporating a new feature of ASP.NET MVC 4 called display modes.

Read article

Cutting Edge - Social Authentication in ASP.NET MVC 4

Wed, 01 May 2013 10:00:00 GMT

ASP.NET MVC 4 now includes an ad hoc framework to authenticate users via a number of social networks, and Dino Esposito shows you how.

Read article

Cutting Edge - Essential Facebook Programming: Widgets and Timeline

Mon, 01 Apr 2013 10:00:00 GMT

Learn about the tools and techniques to view and retrieve content from a Facebook wall in order to share it through other means and catalog it for something else, such as business intelligence analysis.

Read article

Cutting Edge - Essential Facebook Programming: The JavaScript SDK

Fri, 01 Feb 2013 10:00:00 GMT

Dive into the principal tools you can leverage to add social plugins to your Web sites, with a mix of HTML markup, CSS and JavaScript code.

Read article

Cutting Edge - Essential Facebook Programming: Building a Windows Client

Wed, 02 Jan 2013 10:00:00 GMT

Continuing his series, Dino Esposito builds a WPF client app that uses the Facebook API to authenticate users and post updates.

Read article

Cutting Edge - Essential Facebook Programming: Authentication and Updates

Mon, 03 Dec 2012 10:00:00 GMT

Integrate Facebook functionality into apps and use the Facebook C# API to authenticate users and post programmatically on behalf of the currently logged-in user.

Read article

Cutting Edge - Mobile Site Development, Part 5: jQuery Mobile

Mon, 01 Oct 2012 10:00:00 GMT

Dino Esposito dives into the HTML5-based jQuery Mobile UI technology for popular device platforms. Is it all you need for mobile development?

Read article

Cutting Edge - Mobile Site Development, Part 4: Managing Device Profiles

Tue, 04 Sep 2012 10:00:00 GMT

Dino Esposito shows how to classify mobile devices in order to build a Web site that serves different markup to different devices based on their capabilities.

Read article

Cutting Edge - Mobile Site Development, Part 3: Routing Requests

Wed, 01 Aug 2012 10:00:00 GMT

Dino Esposito explains how to route Web site visitors between the desktop and mobile versions of a site so they can easily jump between the two.

Read article

Cutting Edge - Mobile Site Development, Part 2: Design

Mon, 02 Jul 2012 10:00:00 GMT

Dino Esposito debunks some mobile site development myths as he explains how to present users with Web pages designed to work best with their individual devices.

Read article

Cutting Edge - Mobile Site Development: Markup

Fri, 01 Jun 2012 10:00:00 GMT

This column is the first of a series in which Dino Esposito approaches mobile site development from a perspective that isn’t primarily focused on technology. He says that too often mobile site development is associated with specific frameworks and their solutions without much thinking about use-cases and restructuring of the content. In this colum, he starts from the basics—the mobile markup.

Read article

Cutting Edge - Understanding the Power of WebSockets

Tue, 01 May 2012 10:00:00 GMT

Achieving zero-lag connectivity between Web clients and servers requires going beyond the HTTP protocol. This is just what the WebSocket Protocol provides, and Dino Esposito explains how it's used and what it does.

Read article

Cutting Edge - Long Polling and SignalR

Mon, 02 Apr 2012 10:00:00 GMT

Dino Esposito follows up on last month's column, discussing why long polling is useful and how you can use SignalR to facilitate real-time client/server communication.

Read article

Cutting Edge - Build a Progress Bar with SignalR

Thu, 01 Mar 2012 10:00:00 GMT

SignalR, a jQuery plug-in being developed by the ASP.NET MVC team, presents some extremely promising functionality currently missing from the Microsoft .NET Framework.

Read article

The Cutting Edge - Enhancing the Context-Sensitive ASP.NET MVC Progress Bar

Tue, 03 Jan 2012 10:00:00 GMT

Canceling an ongoing server-side task from within a client browser is not a trivial operation, but Dino Esposito meets the challenge as he enhances last month’s context-sensitive progress bar with cancel capabilities.

Read article

The Cutting Edge - A Context-Sensitive Progress Bar for ASP.NET MVC

Wed, 30 Nov 2011 10:00:00 GMT

Dino Esposito tackles the issue of reporting the status of remote operations, providing context-sensitive feedback that faithfully represents the status of the operation for a given session.

Read article

The Cutting Edge - Design of a Domain Model

Wed, 26 Oct 2011 10:00:00 GMT

Code First encourages the application of domain-driven design principles in the .NET space. However, writing an object model for a realistic scenario raises some issues that currently are not well-addressed. Dino Esposito takes up that challenge.

Read article

Cutting Edge - Objects and the Art of Data Modeling

Mon, 26 Sep 2011 10:00:00 GMT

Today’s apps are too often built around a single data model, says Dino Esposito. He discusses strategies to handle situations where multiple models provide more flexibility and help you develop more layered and robust applications.

Read article

Cutting Edge - Software Disasters: Recovery and Prevention Strategies

Fri, 09 Sep 2011 10:00:00 GMT

Have you ever had to deal with the infamous “big ball of mud” clogging up your project? Learn the best practices to help fix a deteriorated system and patterns to prevent a growing system from growing badly and uncontrolled, degrading over time.

Read article

Cutting Edge - Static Code Analysis and Code Contracts

Fri, 29 Jul 2011 10:00:00 GMT

Dino Esposito delves into static code analysis and discusses how it can be used with Code Contracts to save you time in your builds and, more importantly, save you from nasty bugs that hit your software only in corner cases.

Read article

Cutting Edge - Code Contracts: Inheritance and the Liskov Principle

Thu, 30 Jun 2011 10:00:00 GMT

Dino Esposito goes further into his exploration of Code Contracts in the .NET Framework, explaining what they’re used for, how they compare to assertions and tests and how they can help you improve the quality of your software design.

Read article

Cutting Edge - Invariants and Inheritance in Code Contracts

Wed, 01 Jun 2011 10:00:00 GMT

After discussing two of the most common types of software contracts—preconditions and postconditions—Dino this month introduces the third most important type of contract—the invariant—and proceeds to examine the behavior of contract-based classes when you apply inheritance.

Read article

Cutting Edge - Code Contracts Settings in Visual Studio 2010

Mon, 02 May 2011 10:00:00 GMT

Code contracts in the Microsoft .NET Framework 4 rely on a few features in Visual Studio 2010. We'll review the project options for code contracts, how they affect the rewriter tool and some best practices for argument validation.

Read article

Cutting Edge - Give Your Classes a Software Contract

Fri, 01 Apr 2011 10:00:00 GMT

With the .NET Framework 4, software contracts are available and even integrated with Visual Studio. We show you the benefits of a contact-first approach, such as code maintainability and ease of development.

Read article

Cutting Edge - Application Extensibility: MEF vs. IoC

Fri, 04 Mar 2011 10:00:00 GMT

You can create extensible apps using the Managed Extensibility Framework (MEF), which is built right into the .NET Framework 4. We'll walk through an example to compare plug-in implementations using both MEF and Inversion of Control frameworks.

Read article

Cutting Edge - Policy Injection in Unity

Tue, 01 Feb 2011 10:00:00 GMT

Dino Esposito follows up on his discussion of the Unity interception API by explaining how policy injection lets you concentrate on the details of the behavior you want, leaving the library to decide which methods it applies to based on the rules you give it.

Read article

Cutting Edge - Interceptors in Unity

Tue, 04 Jan 2011 10:00:00 GMT

The Unity framework provides dependency injection for .NET applications. We'll show you how to leverage the interception API in Unity 2.0 to inject your own functionality into exiting code.

Read article

Cutting Edge - Aspect-Oriented Programming, Interception and Unity 2.0

Fri, 03 Dec 2010 10:00:00 GMT

Learn about the aspect-oriented programming paradigm and the related capabilities you find in Unity 2.0 as Dino Esposito explores how to deal with cross-cutting concerns in your code.

Read article

Cutting Edge - Dynamic Action Filters in ASP.NET MVC

Tue, 02 Nov 2010 10:00:00 GMT

Action filters are a powerful feature of ASP.NET MVC controllers that can help you build aspect-oriented Web solutions. In this issue we dive deeper into creating your own dynamic action filters.

Read article

Cutting Edge - Action Filters in ASP.NET MVC

Fri, 01 Oct 2010 10:00:00 GMT

Here’s an in-depth exploration of a powerful feature of ASP.NET MVC controllers that can greatly help you in the building of aspect-oriented Web solutions.

Read article

Cutting Edge - Better Web Forms with the MVP Pattern

Tue, 31 Aug 2010 10:00:00 GMT

The Model-View-Presenter (MVP) pattern is an evolution of MVC. We take a look at implementing MVP for ASP.NET Web Forms and compare it to ASP.NET MVC and MVVM for Windows Presentation Foundation (WPF) and Silverlight.

Read article

Cutting Edge - Don’t Worry, Be Lazy

Fri, 30 Jul 2010 10:00:00 GMT

Being lazy in software development can be a good thing, but until the Microsoft .NET Framework 4, coders had to implement lazy behavior themselves. Dino Esposito shows how to use the new Lazy<T> class to maximize your resources.

Read article

Cutting Edge - Expando Objects in C# 4

Tue, 29 Jun 2010 10:00:00 GMT

The .NET Framework 4 introduces some new features that enable you to go beyond static types. We explore dynamically expando objects and demonstrate how they can be used like dynamically updatable dictionary objects.

Read article

Cutting Edge - C# 4.0, the Dynamic Keyword and COM

Mon, 07 Jun 2010 10:00:00 GMT

Are you a Microsoft .NET Framework programmer who struggles with critical legacy applications using COM objects that are beyond your control? Dino Esposito shows how to lessen the burden by going dynamic.

Read article

Cutting Edge - Using the Dynamic Keyword in C# 4.0

Mon, 03 May 2010 10:00:00 GMT

C# 4 provide a new dynamic keyword that enables dynamic typing in what has traditionally been a strongly typed language. We explain how the dynamic keyword works and what it offers that casting, var, and System.Object cant’ match.

Read article

Cutting Edge - Revisiting Asynchronous ASP.NET Pages

Fri, 02 Apr 2010 10:00:00 GMT

If you need to scale up an existing Web application, you should first look to asynchronous operations, says Dino Esposito. He explains how new features coming in ASP.NET MVC 2 make this easier.

Read article

Cutting Edge - ASP.NET Ajax Library and WCF Data Services

Wed, 24 Feb 2010 10:00:00 GMT

This month Dino takes a look at the JavaScript components coming in the ASP.NET Ajax Library and explains how they can be used for effective client-side data access.

Read article

Cutting Edge - Predictive Fetch with jQuery and the ASP.NET Ajax Library

Wed, 03 Feb 2010 10:00:00 GMT

Dino Esposito builds upon his exploration of new data binding features coming in the ASP.NET Ajax Library, explaining how to implement the predictive fetch design pattern.

Read article

Cutting Edge - Master-Detail Views with the ASP.NET Ajax Library

Wed, 06 Jan 2010 10:00:00 GMT

When you think of data-driven Web pages, most of the time what you really have in mind is a master-detail view of some cross-related data. Dino builds an example with ASP.NET AJAX 4 and jQuery.

Read article

Cutting Edge - Live Data Binding in ASP.NET AJAX 4.0

Mon, 14 Dec 2009 10:00:00 GMT

Dino Esposito discusses various forms of client-side data binding as they are coming out in ASP.NET AJAX 4.0, focusing on some advanced features of data binding and observable objects.

Read article

Cutting Edge - Conditional Rendering in ASP.NET AJAX 4.0

Mon, 16 Nov 2009 10:00:00 GMT

Last month, Dino covered the basics of the new DataView client control and the binding techniques most commonly used. In this article, he goes one step further and covers conditional template rendering.

Read article

Cutting Edge - Data Binding in ASP.NET AJAX 4.0

Mon, 12 Oct 2009 10:00:00 GMT

In this article, Dino reviews the pillars of real-world AJAX development as supported in ASP.NET AJAX 4.0. In doing so, he mostly focuses on client-side templates and data-binding but doesn’t ignore other goodies, such as ADO.NET Data Services proxy classes and programming facilities.

Read article

Cutting Edge - Exploring ASP.NET 4.0—Web Forms and Beyond

Fri, 14 Aug 2009 10:00:00 GMT

The upcoming ASP.NET 4.0 platform has the same foundation as the latest 3.5 SP1 version, but it provides further refinement in the areas of Web Forms, Dynamic Data controls, and ASP.NET AJAX. In this article, Dino takes a look at what’s new and improved in the Web Forms model.

Read article

Cutting Edge - Pros and Cons of Data Transfer Objects

Fri, 24 Jul 2009 10:00:00 GMT

After a brief refresher on procedural and object based patterns for organizing the business logic layer, the author focuses on data transfer objects and the impact they have on the development of the software project.

Read article

Cutting Edge - Comparing Web Forms And ASP.NET MVC

Thu, 18 Jun 2009 10:00:00 GMT

In this month's column, we’ll explore the pros and cons of both ASP.NET Web Forms and ASP.NET MVC.

Read article

Cutting Edge - Go Beyond HTML Forms With AJAX

Mon, 18 May 2009 10:00:00 GMT

This month we examine forms in the context of AJAX applications and look at various approaches to implementing features such as auto-saving, just-in-time validation, and submission throttling.

Read article

Cutting Edge - Build Rich User Interfaces with jQuery

Mon, 20 Apr 2009 10:00:00 GMT

In this month's installment we build modal and modeless dialog boxes in jQuery and explain how to post data from them to the Web server.

Read article

Cutting Edge - Explore Rich Client Scripting With jQuery, Part 2

Thu, 19 Mar 2009 10:00:00 GMT

Achieving cross-browser compatibility for events is no easy task. The jQuery event handling API addresses the differences in event handling across browsers, allowing you to write more predictable JavaScript.

Read article

Cutting Edge - Explore Rich Client Scripting With jQuery, Part 1

Thu, 19 Feb 2009 10:00:00 GMT

Thanks to selectors and function chaining, jQuery allows you to write compact, cross-browser code.

Read article

Cutting Edge - Managing Dynamic Content Delivery In Silverlight, Part 2

Fri, 23 Jan 2009 10:00:00 GMT

This month Dino continues his look at managing dynamic Silverlight content by discussing caching and isolated storage.

Read article

Cutting Edge - Managing Dynamic Content Delivery In Silverlight, Part 1

Fri, 19 Dec 2008 10:00:00 GMT

This month Dino tackles the problem of large download size for Silverlight applications, explaining when to use streaming, when to divide the download, and other techniques for better performance over the wire.

Read article

Cutting Edge - ASP.NET Presentation Patterns

Wed, 19 Nov 2008 10:00:00 GMT

Choosing the right design pattern for your ASP.NET Web application can help you achieve the separation of concerns between your presentation layer and the layers beneath it.

Read article

Cutting Edge - Browser Interoperability In Silverlight 2

Thu, 23 Oct 2008 10:00:00 GMT

This month Dino Esposito explains how the browser interoperability layer in Silverlight addresses a number of your Silverlight / Web page interaction needs.

Read article

Cutting Edge - Code reuse in WPF and Silverlight 2.

Fri, 19 Sep 2008 10:00:00 GMT

There’s a strong similarity between Web-based Silverlight 2 applications and desktop WPF applications. Enabling easy code reuse between the two is Dino’s focus here.

Read article

Cutting Edge - Building A Secure AJAX Service Layer

Wed, 20 Aug 2008 10:00:00 GMT

This month Dino builds a service layer that authenticates users of Silverlight 2 and ASP.NET AJAX services to prevent illegal access to sensitive back-end services.

Read article

Cutting Edge - Programming AJAX with ASP.NET Partial Rendering

Tue, 29 Jul 2008 10:00:00 GMT

Dino Esposito compares the use of AJAX patterns and DOM manipulations to the use of the ASP.NET partial rendering engine.

Read article

Cutting Edge - The HTML Message Pattern

Fri, 20 Jun 2008 10:00:00 GMT

In this installment, the author provides an enhanced implementation of the BST pattern and compares it to HTM solutions.

Read article

Cutting Edge - ASP.NET AJAX and Client-side Templates.

Thu, 22 May 2008 10:00:00 GMT

AJAX is meant to go beyond mere partial page rendering. Find out where Dino Esposito thinks dynamic pages are headed in the future with ASP.NET AJAX.

Read article

Cutting Edge - Single-page Interface and AJAX Patterns

Thu, 17 Apr 2008 10:00:00 GMT

This month we begin a look at the Single Page Interface (SPI) model and some design patterns for designing AJAX applications.

Read article

Cutting Edge - ListView Tips and Tricks

Mon, 14 Apr 2008 06:17:18 GMT

This month, use nested ListView controls to create hierarchical views of data and extend the eventing model of the ListView by deriving a custom ListView class.

Read article

Cutting Edge - Modal Dialog Boxes with AJAX

Wed, 23 Jan 2008 10:00:00 GMT

This month Dino Esposito shows you how to get Windows-style modal dialog boxes for your Web applications thanks to theAjax Control Toolkit and some clever coding.

Read article

Cutting Edge - Customize Controls with AJAX Extenders, Part 2

Tue, 18 Dec 2007 10:00:00 GMT

This month Dino looks at AJAX control extenders again, adding more advanced features including masked editing and autocompletion.

Read article

Cutting Edge - Customize Controls with AJAX Extenders

Tue, 11 Dec 2007 10:00:00 GMT

AJAX Extenders extend the behavior and features of ordinary Web controls so you can reduce postbacks and control input even better than with AJAX alone.

Read article

Cutting Edge - Inside the Microsoft AJAX Library

Wed, 24 Oct 2007 10:00:00 GMT

Dino Esposito introduces the Microsoft AJAX Library and the JavaScript library for ASP.NET AJAX 1.0.

Read article

Cutting Edge - Managing the User Experience in AJAX

Fri, 28 Sep 2007 10:00:00 GMT

This month Dino takes a look at limitations and UI issues in Partial Rendering AJAX pages and techniques for managing the UI.

Read article

Cutting Edge - AJAX application architecture, Part 2

Wed, 19 Sep 2007 10:00:00 GMT

The second of this two-part series delves into the script services programming model, which is useful if you're looking for a full paradigm shift in building AJAX applications.

Read article

Cutting Edge - AJAX Application Architecture, Part 1

Tue, 17 Jul 2007 10:00:00 GMT

In the first of a two-part column, Dino explains AJAX from an architectural standpoint to help developers, architects, designers, and administrators better understand the issues that affect their sites.

Read article

Cutting Edge - Canceling Server Tasks with ASP.NET AJAX

Tue, 19 Jun 2007 10:00:00 GMT

This month Dino explains how to remotely cancel tasks running on the server using ASP.NET AJAX.

Read article

Cutting Edge - Context-Sensitive Feedback with AJAX

Tue, 22 May 2007 10:00:00 GMT

Beyond progress bars: talking to server-side apps with ASP.NET AJAX.

Read article

Cutting Edge - Transactional Workflows

Wed, 18 Apr 2007 10:00:00 GMT

When modeling business logic, workflows inevitably represent transactional tasks, so you need to know how to code transactional semantics in the Windows Workflow Foundation.

Read article

Cutting Edge - Subclassing and Overriding ASP.NET Pages—Part II

Wed, 11 Apr 2007 10:00:00 GMT

Read article

Cutting Edge - Subclassing and Overriding ASP.NET Pages—Part I

Tue, 13 Mar 2007 10:00:00 GMT

There are a number of techniques that allow you to modify a running ASP.NET page without touching its source code. Dino discusses some this month.

Read article

Cutting Edge - Validating ASP.NET Query Strings

Mon, 15 Jan 2007 10:00:00 GMT

Read article

Cutting Edge - Perspectives on ASP.NET AJAX

Thu, 21 Dec 2006 10:00:00 GMT

AJAX allows you to build rich browser applications using powerful combinations of existing client-side Web technologies. This month Dino delves into AJAX

Read article

Cutting Edge - The Server Side of ASP.NET Pages

Wed, 22 Nov 2006 10:00:00 GMT

Where are the files generated by ASP.NET stored and how are they used to serve page requests? This month Cutting Edge explains.

Read article

Cutting Edge - The Client Side of ASP.NET Pages

Wed, 18 Oct 2006 10:00:00 GMT

This month Dino Esposito dissects the client-side source code generated by ASP.NET pages.

Read article

Cutting Edge - A Tour of Windows Workflow Activities

Thu, 12 Oct 2006 10:00:00 GMT

Windows Workflow Foundation supports virtually any scenario where human opera¬tors are involved.Learn how to use it to tame your workflows.

Read article

Cutting Edge - Simplify Task Progress with ASP.NET 'Atlas'

Wed, 09 Aug 2006 10:00:00 GMT

Dino Esposito rewrites his task progress bar with the help of ASP.NET “Atlas.”

Read article

Cutting Edge - Reporting Task Progress With ASP.NET 2.0

Thu, 03 Aug 2006 10:00:00 GMT

The progress bar is great for keeping users informed about the progress of a task. Unfortunately, there’s no progress bar element built into ASP.NET, so Dino Esposito solves that problem with his ProgressPanel control.

Read article

Cutting Edge - All About Enums

Thu, 06 Jul 2006 10:00:00 GMT

Dino Esposito reviews the basics of enumeration types and their implementation in the Microsoft .NET Framework.

Read article

Cutting Edge - Context-Sensitive PictureBox Controls

Thu, 08 Jun 2006 10:00:00 GMT

Great ideas are timeless.A long time ago in Microsoft Systems Journal Paul DiLascia demonstrated a neat trick to display context-sensitive tooltips floating over pictures.As the user moved the mouse over the picture, the tooltip control updated its text to reflect the name of the pointed figure.

Read article

Cutting Edge - A Provider-Based Service for ASP.NET Tracing

Thu, 04 May 2006 10:00:00 GMT

When it comes to catching programming errors, the debugger is a developer's best friend.ASP. NET tracing, however, is a nice complement to the debugger and shouldn't be overlooked.It enables your ASP.

Read article

Cutting Edge - Extending the GridView Control

Thu, 06 Apr 2006 10:00:00 GMT

Welcome to my100th consecutive installment of Cutting Edge.I've been writing this column since January 1998 in Microsoft Internet Developer.Looking back over the past eight years, I realize that I've touched on almost every subject in the Windows® SDK and the Microsoft® .

Read article

Cutting Edge - Windows Workflow Foundation, Part 2

Thu, 09 Mar 2006 10:00:00 GMT

In last month's column, I presented a helpdesk workflow sample that focused on Windows® Forms client applications.This month I'll discuss ASP. NET workflow applications and the ability to expose a workflow as a Web service and invoke a Web service from a workflow.

Read article

Cutting Edge - Windows Workflow Foundation

Thu, 09 Feb 2006 10:00:00 GMT

In the January 2006 issue, Don Box and Dharma Shukla introduced Windows® Workflow Foundation and discussed the overall architecture of the framework and its constituent components (see WinFX Workflow: Simplify Development With The Declarative Model Of Windows Workflow Foundation).

Read article

Cutting Edge - Build Providers for Windows Forms

Tue, 10 Jan 2006 10:00:00 GMT

In ASP. NET and Windows Forms projects, some file types are treated differently than others.For example, ASPX and ASCX files are dynamically parsed and compiled to an assembly on the fly.The contents of an XML Schema Definition (XSD) file are used to create a new, strongly typed DataSet-based object at design time.

Read article

Cutting Edge - Custom Data Control Fields

Tue, 13 Dec 2005 10:00:00 GMT

In ASP. NET 2. 0, the GridView and DetailsView controls are designed to work together.They don't merely provide complementary services, they also share a number of helper classes and components.The output of the GridView control consists of a sequence of rows, each with a fixed number of columns.

Read article

Cutting Edge - Flexible Custom Data Views

Tue, 08 Nov 2005 10:00:00 GMT

ASP. NET 1. x introduced some powerful and useful data-bound controls.However, none were designed specifically to manage the view of a single record.When you build master/detail views, you need to display the contents of a single record.

Read article

Cutting Edge - A Quick Tour of Themes in ASP.NET 2.0

Tue, 11 Oct 2005 10:00:00 GMT

It's much easier to build a rich user interface into your Web application in ASP. NET 2. 0 than it was in previous versions.Master Pages let you build pages based on existing templates of markup and code.

Read article

Cutting Edge - Personalization and User Profiles in ASP.NET 2.0

Tue, 13 Sep 2005 10:00:00 GMT

Personalization is growing to be more and more of an essential ingredient in many types of Web apps, including portals and shopping sites.Without it, it's quite difficult to serve your customers efficiently.

Read article

Cutting Edge - ASP.NET Forms

Tue, 09 Aug 2005 10:00:00 GMT

Forms are an essential piece of ASP. NET—the ASP. NET Web programming model itself wouldn't be possible without forms.The use of forms is not constrained in pure HTML, but it is subject to some restrictions in ASP.

Read article

Cutting Edge - DataSets vs. Collections

Tue, 12 Jul 2005 10:00:00 GMT

In software, five years is like a geological era.Five years ago, the Microsoft® . NET Framework had just been announced.Since then, the DataSet has emerged as the key object for performing a variety of data-related tasks in .

Read article

Cutting Edge - DHTML-Enabled ASP.NET Controls

Tue, 14 Jun 2005 10:00:00 GMT

In the past, I've covered some core aspects of the interaction between DHTML behaviors, the browser, and ASP. NET runtime (see Cutting Edge: Extend the ASP. NET DataGrid with Client-side Behaviors and Cutting Edge: Moving DataGrid Rows Up and Down).

Read article

Cutting Edge - Data Repeater Controls in ASP.NET

Tue, 10 May 2005 10:00:00 GMT

The ASP. NET Repeater is a basic container control that allows you to create custom lists from any data available to the page.It's a handy control, especially since most ASP. NET pages that display data need to repeat the same kinds of data over and over.

Read article

Cutting Edge - Collections and Data Binding

Tue, 12 Apr 2005 10:00:00 GMT

When it's time to design the Data Access Layer (DAL) of your distributed Microsoft® . NET Framework-based app, one of the key decisions you'll make is how you'll pass data to and from methods of DAL classes.

Read article

Cutting Edge - A New Grid Control in Windows Forms

Tue, 15 Mar 2005 10:00:00 GMT

Grid controls are essential in many of today's apps.Until now, though, mostdevelopers using Visual Basic® have had to buy third-party components to get an effective, easy to use grid component.The Windows® Forms DataGrid turned out to lack too many features for the average developer.

Read article

Cutting Edge - Moving DataGrid Rows Up and Down

Tue, 15 Feb 2005 10:00:00 GMT

Imagine opening your Inbox one morning and finding a message that reads 'Dear Mr. DataGrid, I urgently need an ASP.NET DataGrid that lets my users move rows on the client. You're my last hope. Will you please help me?'

Read article

Cutting Edge - Adding a Context Menu to ASP.NET Controls

Tue, 11 Jan 2005 10:00:00 GMT

Although the context menu is a common element of most desktop applications, it is still fairly uncommon in Web application names because it doesn't map well to a server-based technology like ASP. NET.

Read article

Cutting Edge - Custom Script Callbacks in ASP.NET

Tue, 14 Dec 2004 10:00:00 GMT

ASP. NET client callbacks represent a neat and elegant way to execute server-side code without posting and refreshing the current page.I discussed ASP. NET callbacks in the August and December 2004 installments of Cutting Edge, considering them from the perspective of rendered pages making background callbacks to the server, sending input data to the relevant page, and receiving a response.

Read article

Cutting Edge - Implications of Script Callbacks in ASP.NET

Tue, 16 Nov 2004 10:00:00 GMT

Script callbacks in ASP. NET 2. 0 is a feature whose time has come.Script callbacks can significantly speed up an application by limiting server postbacks.They also allow you to execute small portions of server-side code without having to manage the view state for reading or writing.

Read article

Intrusion Prevention - Build Security Into Your Web Services with WSE 2.0 and ISA Server 2004

Tue, 19 Oct 2004 10:00:00 GMT

Once you've addressed security in your code, it's time to look at the environment it runs in. Firewalls stop unauthorized traffic from getting into your network, and smart Web service-specific firewalls, like the one that comes with Internet Security and Acceleration (ISA) Server 2004, bring XML intrusion prevention to your system for that added layer of safety.

Read article

Cutting Edge - The ASP.NET 2.0 Wizard Control

Tue, 19 Oct 2004 10:00:00 GMT

ASP.NET has a lot to offer to both the low-level programmer willing to control every little step of the code and the busiest of developers who needs to point-and-click his way through Web app development using just a few existing components.

Read article

Cutting Edge - Binary Serialization of DataSets

Tue, 14 Sep 2004 10:00:00 GMT

The ADO. NET DataSet object plays an essential role in most of today's distributed, multitiered applications.Instances of the DataSet class are used to move data across the tiers and to exchange data with external services.

Read article

Cutting Edge - Design Smarter Tracing for ASP.NET Pages

Tue, 17 Aug 2004 10:00:00 GMT

Tracing is important to the success of your ASP. NET applications.When tracing is enabled for an ASP. NET page, a large chunk of runtime information is appended to the page's output for your perusal.

Read article

GridView - Move Over DataGrid, There's a New Grid in Town!

Tue, 20 Jul 2004 10:00:00 GMT

When incorporating the ASP.NET DataGrid control into your Web apps, common operations such as paging, sorting, editing, and deleting data require more effort than you might like to expend. But all that is about to change. The GridView control--the successor to the DataGrid-- extends the DataGrid's functionality it in a number of ways. First, it fully supports data source components and can automatically handle data operations, such as paging, sorting, and editing, as long as its bound data source object supports these capabilities. In addition, the GridView control offers some functional improvements over the DataGrid. Here DataGrid expert Dino Esposito introduces the GridView and explains all its long-awaited features.

Read article

Cutting Edge - Script Callbacks in ASP.NET

Tue, 20 Jul 2004 10:00:00 GMT

If you're involved in Web development you may have faced a problem that you couldn't find a good solution for—making client-to-server calls outside the current page.For example, you might want to validate the content of a textbox against data stored on the server asynchronously, without interrupting the continuity of the work or without forcing a full page refresh, which is particularly heavy for UI-rich pages.

Read article

Cutting Edge - Implement Custom Cache Dependencies in ASP.NET 1.x

Tue, 15 Jun 2004 10:00:00 GMT

One of the most compelling improvements that ASP. NET brought to ASP programming was the Cache object.The Cache has some similarities to the Application object and is a container of global data (as opposed to session-specific data) that features a fair number of innovative characteristics.

Read article

Data - More Load, Less Code with the Data Enhancements of ASP.NET 2.0

Tue, 18 May 2004 10:00:00 GMT

A data source control is a server control that wraps some basic functions of a data source - be it a SQL Server database, an XML document, an Excel worksheet, or a sitemap description. Through the services of a similar component, data-bound controls can fetch data as well as insert new records or update and delete existing ones. Data source controls enable a consistent model across a variety of data sources and dramatically reduce the amount of code needed to implement a two-way data-binding scenario. This article provides an introduction to data source controls and other related data binding features.

Read article

Cutting Edge - Dress Your Controls for Success with ASP.NET 1.1 Themes, Part 2

Tue, 18 May 2004 10:00:00 GMT

Read article

Cutting Edge - Dress Your Controls for Success with ASP.NET 1.1 Themes

Tue, 20 Apr 2004 10:00:00 GMT

Read article

Cutting Edge - Image Generation Service for ASP.NET 1.1

Tue, 16 Mar 2004 10:00:00 GMT

Read article

Cutting Edge - Personalization in ASP.NET 1.1

Tue, 17 Feb 2004 10:00:00 GMT

Read article

Cutting Edge - Owner-Drawing in .NET

Tue, 13 Jan 2004 10:00:00 GMT

Read article

Code Name Longhorn - A First Look at Writing and Deploying Apps in the Next Generation of Windows

Tue, 16 Dec 2003 10:00:00 GMT

The next version of the Microsoft Windows operating system, code-named Longhorn, marks a significant change not only in terms of how the operating system works, but also in the way in which applications are built. The Longhorn version of Windows includes a new storage system, natural search technology, and an increased emphasis on security and trustworthy computing. Here the author provides an overview of Longhorn, focusing on the build-once, deploy n-times application model. In addition, he discusses the new language, code-named XAML, that's used to create UI elements, then presents some working samples.

Read article

Cutting Edge - Extend the ASP.NET DataGrid with Client-side Behaviors

Tue, 16 Dec 2003 10:00:00 GMT

Read article

Cutting Edge - Custom Design-time Control Features in Visual Studio .NET

Tue, 18 Nov 2003 10:00:00 GMT

Read article

Cutting Edge - Custom Provider Controls

Tue, 14 Oct 2003 10:00:00 GMT

Read article

Cutting Edge - Nested Grids for Hierarchical Data

Tue, 16 Sep 2003 10:00:00 GMT

Read article

Cutting Edge - Managing Your Remote Windows Clipboard

Tue, 12 Aug 2003 10:00:00 GMT

Read article

Cutting Edge - Creating a Multi-table DataGrid in ASP.NET

Tue, 15 Jul 2003 10:00:00 GMT

If you bind a multi-table DataSet to a DataGrid, only the first table is recognized. Here Dino Esposito writes a custom solution the the multi-table problem.

Read article

Real-World XML - Manipulate XML Data Easily with the XPath and XSLT APIs in the .NET Framework

Tue, 17 Jun 2003 10:00:00 GMT

XPath is emerging as a universal query language.With XPath, you can identify and process a group of related nodes in XML-based data sources. XPath provides an infrastructure that is integral to XML support in the .NET Framework. The XPath navigation model is even used under the hood of the XSLT processor. In this article, the author reviews the implementation details of the XPath navigator and the XSLT processor and includes practical examples such as asynchronous transformations, sorted node-sets, and ASP.NET server-side transformations.

Read article

Cutting Edge - Working with Images in the .NET Framework

Tue, 17 Jun 2003 10:00:00 GMT

Read article

Cutting Edge - ASP.NET Controls Templates

Tue, 13 May 2003 10:00:00 GMT

It's easy to create a custom control in ASP.NET by deriving a new class from an already existing control. Creating a new ASP.NET control from scratch, on the other hand, is more challenging. When you need a Web server control and none of the existing ones meet your requirements, you can derive from one of the base classes - Control or WebControl. Try it out.

Read article

Real-World XML - Manipulate XML Data Easily with Integrated Readers and Writers in the .NET Framework

Tue, 15 Apr 2003 10:00:00 GMT

In the .NET Framework, XmlTextReader and XmlTextWriter provide for XML-driven reading and writing operations. In this article, the author discusses the architecture of readers and how they relate to XMLDOM and SAX parsers. He also shows how to use readers to parse and validate XML documents, how to leverage writers to create well-formed documents, and how to optimize the processing of large XML documents using functions to read and write Base64 and BinHex-encoded text. He then reviews how to implement a stream-based read/write parser that combines the functions of a reader and a writer into a single class.

Read article

Cutting Edge - Form-based Programming in ASP.NET

Tue, 15 Apr 2003 10:00:00 GMT

One of the most common snags that ASP developers encounter when they first approach ASP.NET is that managed Web applications must be written according to a single-form interface model. Find out how it works.

Read article

Cutting Edge - MyTracer Monitors and Traces ASP.NET Apps

Tue, 11 Mar 2003 10:00:00 GMT

The Microsoft® . NET Framework comes with a rich set of programming tools for debugging and tracing applications.I'm not talking about integrated debuggers; I'm referring to software components that you use in the development cycle.

Read article

Cutting Edge - Customize Your Open File Dialog

Tue, 11 Feb 2003 10:00:00 GMT

Displaying an Open File dialog is certainly easy in the Microsoft® . NET Framework with Windows® Forms, but the resulting window is not as customizable as when you create it through the Win32® API.With Windows 2000, Microsoft added a nice feature—the places bar, which is the vertical toolbar that appears on the left side of the window to let you select a frequently visited folder.

Read article

Cutting Edge - The ASP.NET View State

Tue, 14 Jan 2003 10:00:00 GMT

In ASP. NET pages, the view state represents the state of the page when it was last processed on the server.It's used to build a call context and retain values across two successive requests for the same page.

Read article

Cutting Edge - ASP. NET Client-side Hosting with Cassini

Tue, 17 Dec 2002 10:00:00 GMT

In the September and October 2000 issues of MSDN® Magazine I discussed how to build a client-side environment for ASP applications; that is, a serverless environment to run ASP pages (see Cutting Edge: A Client-side Environment for ASP Pages and Cutting Edge: A Client-side Environment for ASP Pages—Part 2).

Read article

Cutting Edge - Binary Serialization of ADO.NET Objects

Tue, 12 Nov 2002 10:00:00 GMT

One of the key elements that makes ADO. NET superior to ADO is the level of integration with XML.In ADO, XML is just an I/O format.In addition, the ADO XML format is totally inflexible and doesn't allow any type of customization.

Read article

Cutting Edge - Using Windows Hooks to Enhance MessageBox in .NET

Tue, 15 Oct 2002 10:00:00 GMT

It's fairly safe to assume that all programmers working in Windows® environments are familiar with MessageBox.The MessageBox function displays a message through a popup dialog box and lets programmers add dialog buttons and icons to the message to improve user feedback.

Read article

.NET Remoting - Design and Develop Seamless Distributed Applications for the Common Language Runtime

Tue, 17 Sep 2002 10:00:00 GMT

Prior to the advent of .NET, DCOM was the underlying technology for remote communications between Windows-based applications. But DCOM is quirky to set up and configure and not as interoperable as it should be. In .NET, XML Web Services and .NET Remoting are a seamless and effective answer to the demand for tools to build distributed applications.This article provides a primer on .NET Remoting with insights into the internal plumbing. Important aspects of remoting, such as channels, object lifetime management, and clients for remote objects are discussed. In addition, some practical examples are provided.

Read article

Cutting Edge - Windows Hooks in the .NET Framework

Tue, 17 Sep 2002 10:00:00 GMT

If you wanted to, you could distinguish two general categories of classes in the Microsoft® . NET Framework—classes that introduce new functionality such as XML readers and ADO. NET providers, and collections and classes that wrap underlying Win32® system functions.

Read article

Cutting Edge - Using an Eval Function in Web Services

Tue, 13 Aug 2002 10:00:00 GMT

Web Services are often presented as the perfect tool for pro-grammers.They're interoperable, based on open standards such as SOAP and WSDL, and are fully integrated with the Microsoft® . NET platform.

Read article

Cutting Edge - Designing Reader Classes for .NET Documents

Tue, 16 Jul 2002 10:00:00 GMT

Read article

Cutting Edge - Designing Extensible Windows Forms Applications

Tue, 18 Jun 2002 10:00:00 GMT

Read article

Cutting Edge - Building a Data Navigator Control, Part III

Tue, 14 May 2002 10:00:00 GMT

Read article

Scripting - Windows Script Host 5.6 Boasts Windows XP Integration, Security, New Object Model

Tue, 16 Apr 2002 10:00:00 GMT

Windows Script Host (WSH) 5.6, a major upgrade for the WSH environment, provides some significant improvements over previous versions. A brand new security model that is tightly integrated with security in Windows XP allows administrators to place fine-grained restrictions on scripts reducing the risk from malicious code. In addition, local scripts can now run on remote machines, and enhancements to the object model reduce the amount of boilerplate code needed when writing professional code. This overview of WSH 5.6 explains these changes and how .NET and scripting work together.

Read article

Cutting Edge - Building Editing Capabilities into the SqlDataNavigator ASP.NET Control

Tue, 16 Apr 2002 10:00:00 GMT

Read article

Cutting Edge - Building a DataNavigator Control

Tue, 12 Mar 2002 10:00:00 GMT

Read article

Cutting Edge - ASP.NET Data Shaping

Tue, 12 Feb 2002 10:00:00 GMT

Read article

Cutting Edge - Data Binding Between Controls in Windows Forms

Tue, 15 Jan 2002 10:00:00 GMT

Read article

Cutting Edge - Understanding Templates in ASP.NET

Tue, 18 Dec 2001 10:00:00 GMT

Read article

Cutting Edge - Using Session and Application Objects in ASP.NET, Part 2

Tue, 13 Nov 2001 10:00:00 GMT

Read article

New Graphical Interface - Enhance Your Programs with New Windows XP Shell Features

Tue, 16 Oct 2001 10:00:00 GMT

The Windows XP shell introduces many new features that both users and developers are sure to welcome. The interface supports a number of styles that will be new to users, and it also supports customization of those styles through a new concept called themes. There are more shell registry settings available to the user and developer, a facility for customizing infotips, and infotip shell extensions. In addition, folder views can be customized. This article covers these shell changes and includes a discussion of a number of other Windows XP additions. These include fast user switching, which lets users log on and off quickly, and AutoPlay support for a variety of devices and file types not previously supported.

Read article

Cutting Edge - Using Session and Application Objects in ASP.NET

Tue, 16 Oct 2001 10:00:00 GMT

Read article

Cutting Edge - Reusability in ASP.NET, Part 2

Tue, 14 Aug 2001 10:00:00 GMT

Read article

Cutting Edge - Reusability in ASP.NET: Code-behind Classes and Pagelets

Tue, 17 Jul 2001 10:00:00 GMT

Read article

Cutting Edge - Custom Web Data Reporting

Tue, 12 Jun 2001 10:00:00 GMT

Read article

Pocket PC - Seamless App Integration with Your Desktop using ActiveSync 3.1

Tue, 15 May 2001 10:00:00 GMT

ActiveSync 3.1, AvantGo channels, and Internet Explorer 5.0 Mobile Links allow you to provide content for Pocket PC users over the Internet or company intranet. This article explains how to take advantage of ActiveSync and AvantGo functionality as well as how to extend ActiveSync's data synchronization capabilities by writing a custom service provider for Windows CE. The second part of the article uses eMbedded Visual C++ to develop ActiveX controls for the Pocket PC that work on both the desktop PC and on the Pocket PC platforms. Customizing the Pocket PC's Today screen using a custom Today item is demonstrated.

Read article

Cutting Edge - DataGrid In-place Editing

Tue, 15 May 2001 10:00:00 GMT

Read article

Cutting Edge - Server-side ASP.NET Data Binding, Part 3: Interactive DataGrids

Tue, 17 Apr 2001 10:00:00 GMT

Read article

Cutting Edge - Server-side ASP.NET Data Binding, Part 2: Customizing the DataGrid Control

Tue, 13 Mar 2001 10:00:00 GMT

Read article

Cutting Edge - Server-side ASP.NET Data Binding

Tue, 13 Feb 2001 10:00:00 GMT

Read article

Cutting Edge - The Component Model in ASP.NET

Tue, 16 Jan 2001 10:00:00 GMT

Read article

Cutting Edge - Binary Behaviors in Internet Explorer 5.5

Tue, 12 Dec 2000 10:00:00 GMT

Read article

Cutting Edge - Element Behaviors in Internet Explorer 5.5

Tue, 14 Nov 2000 10:00:00 GMT

Read article

Windows 2000 Registry - Latest Features and APIs Provide the Power to Customize and Extend Your Apps

Tue, 17 Oct 2000 10:00:00 GMT

The Windows registry as it is recognized today first appeared in Windows 95. Its introduction simplified the storage of initialization information and made that data more secure. This article covers the history of the registry, the form it took in the early days, and its current incarnation in Windows 2000. Practical tips for managing data in the registry are outlined, along with descriptions of special keys, functions, and file types. Manipulation of the registry to customize both application behavior and certain features in Windows is discussed. Also covered are future directions of the registry, including the use of XML to store registry information in a hierarchical fashion.

Read article

Cutting Edge - Extend the WSH Object Model with Custom Objects

Tue, 17 Oct 2000 10:00:00 GMT

Read article

Cutting Edge - Client-side Environment for ASP Pages-Part 2

Tue, 12 Sep 2000 10:00:00 GMT

Read article

Cutting Edge - A Client-side Environment for ASP Pages

Tue, 15 Aug 2000 10:00:00 GMT

Read article

Cutting Edge - SQL Server 7.0 and OLE DB Heterogeneous Queries

Tue, 18 Jul 2000 10:00:00 GMT

Read article

Cutting Edge - Writing Custom OLE DB Providers Using ATL

Tue, 13 Jun 2000 10:00:00 GMT

Read article

More Windows 2000 UI Goodies - Extending Explorer Views by Customizing Hypertext Template Files

Tue, 16 May 2000 10:00:00 GMT

The Web-style interface is the default Explorer folder view for the Desktop Update in Windows 2000. The Desktop Update uses HTML-based hypertext templates to create the Web view, and you can customize these templates to include your own views and commands. This article shows you how the Explorer Web view works and how to build your own custom templates for it. You'll see how to add a command prompt and task buttons to a new folder view using HTML, script, and ActiveX controls. The shell object model and thumbnail shell extensions are also examined, then used to build a simple icon viewer for Explorer.

Read article

Cutting Edge - Creating and Optimizing Performance for XML Document/View Web Applications

Tue, 16 May 2000 10:00:00 GMT

Read article

Cutting Edge - Extending HTML with Custom Tags

Tue, 18 Apr 2000 10:00:00 GMT

Read article

Cutting Edge - Exchanging Data Over the Internet Using XML

Tue, 14 Mar 2000 10:00:00 GMT

Read article

Windows 2000 UI Innovations - Enhance Your User's Experience with New Infotip and Icon Overlay Shell

Tue, 15 Feb 2000 10:00:00 GMT

Windows 2000 includes some helpful new UI features you can customize and implement in your own applications. In this article you'll see how to provide infotips for files, after making the appropriate registry entries. Then create a custom column handler extension, resulting in a new column for the Explorer's Details view. In order to further extend the shell, additional UI goodies will also be examined and implemented including: search handlers, cleanup handlers, folder customizations using property sheet handlers and icon overlays, and context menu shell extensions. All the code samples are rolled up into a handy package which we've named, by tradition, ShellToys.

Read article

Cutting Edge - Accessing Recordsets over the Internet

Tue, 15 Feb 2000 10:00:00 GMT

Read article