Data Points: Designing an Entity Data Model
With the Entity Framework, developers are given more flexibility by being able to design around a conceptual model rather than a relational data model. To get started, you need to know how to design an Entity Data Model. John Papa walks you through that process.
John Papa - February 2008
Data Points: Accessing Data from a Mobile Application
This month John Papa takes a look at developing a mobile application that can access data on your application server.
John Papa - January 2008
Data Points: Data Binding in WPF
WPF is one of the most important new technologies in the .NET Framework 3.0. This month John Papa introduces its data binding capabilities.
John Papa - December 2007
Data Points: Common Table Expressions
In T-SQL, views and derived tables serve similar purposes and have their advantages. But when working with SQL Server 2005,there's a third option--using Common Table Expressions (CTEs). John Papa explains.
John Papa - October 2007
Data Points: ADO.NET Entity Framework Overview
The new Entity Framework in ADO.NET will let you manipulate data using an object model. John Papa explains.
John Papa - July 2007
Data Points: SQL Server Management Objects
SQL Server Management Objects offer developers a robust toolset for backing up and restoring databases, and issuing DDL commands, as John Papa explains.
John Papa - June 2007
Data Points: Disabling Constraints and Triggers
What to do when you need to disable triggers and constraints to perform data synchronization and other tasks with an offline database.
John Papa - April 2007
Data Points: Data Bound Applications with ADO.NET and Custom Objects
In this column see how to bind a custom list of business entities using the binding tools in the .NET Framework 2.0.
John Papa - February 2007
Data Points: Column Expressions, DataRelations, and Computations
This month John Papa fields some of his favorite questions regarding data manipulation with ADO.NET.
John Papa - January 2007
Data Points: RSS Feeds on a Smartphone
John Papa builds a Windows Mobile 5.0 application that reads RSS feeds and loads them into an ADO.NET DataSet.
John Papa - December 2006
Data Points: Revisiting System.Transactions
The System.Transactions namespace of the Microsoft .NET Framework makes handling transactions much simpler than previous techniques. Read all about it this month.
John Papa - November 2006
Data Points: Report Controls in SQL Server 2005 Reporting Services
Reporting has always been one of the dark arts of development. The tools typically seem to do just enough to get you to a certain point, then leave you to find workarounds to solve more complex issues.
John Papa - July 2006
Data Points: Designing Reports with SQL Server Reporting Services 2005
Many applications require some degree of integration with a reporting tool. A good solution, SQL Server™ Reporting Services 2005, provides Web-based reports and can be integrated into both Windows® Forms and Web-based applications.
John Papa - June 2006
Data Points: SQL Server 2005 XML Support, Exception Handling, and More
SQL Server 2005 includes several important improvements to the Transact-SQL (T-SQL) language. One added feature is a new kind of trigger that fires when data definition language (DDL) statements run.
John Papa - May 2006
Data Points: Using XQuery, New Large DataTypes, and More
SQL Server 2005 introduces a lot of new features, but it also enhances the popular and oft-used Transact-SQL (T-SQL) language. Changes include the introduction of new datatypes to store large values using the MAX indicator, the integration of enhanced XML querying and data modification with XQuery, and the new XML datatype.
John Papa - March 2006
Data Points: SqlConnectionStringBuilder, DataView, and More
Several significant enhancements have been made to ADO. NET 2. 0 in the areas of improved performance, increased flexibility, and added features. In my last column (Data Points: DataSet and DataTable in ADO.
John Papa - January 2006
Data Points: DataSet and DataTable in ADO.NET 2.0
ADO. NET 2. 0 sports some exciting enhancements to the core classes found in ADO. NET 1. x and introduces a variety of new classes, all of which promise to improve performance, flexibility, and efficiency.
John Papa - November 2005
Data Points: The Enterprise Library Data Access Application Block, Part 3
E nterprise applications can have a wide variety of data update requirements. Sometimes you need to save multiple rows of changes at once within a single transaction. Other times, the user must be allowed to enter multiple rows of data, send them to the database in a batch; and if a row or two fails, only the rows that succeeded should be committed and remain committed.
John Papa - October 2005
Data Points: The Enterprise Library Data Access Application Block, Part 2
Last month I explored the foundation of the Enterprise Library Data Access Application Block (DAAB) including how it all fits into an architecture (see Data Points: The Enterprise Library Data Access Application Block, Part 1).
John Papa - August 2005
Data Points: The Enterprise Library Data Access Application Block, Part 1
A solid data access later (DAL) can benefit an application by hiding redundant tasks, helping handle exceptions more gracefully, helping clean up resources more efficiently, and providing a layer of abstraction from the database.
John Papa - July 2005
Data Points: XML Features in SQL Server 2000
SQL Server™ 2000 includes several XML features that let you transform relational rowsets into hierarchical XML documents, read XML documents, and bulk load data via XML. For example, you can pass an XML document to a stored procedure, join the XML to some tables and return a rowset, or even modify data in the database.
John Papa - June 2005
Data Points: Data Access Strategies Using ADO.NET and SQL
When your goal is a scalable and efficient enterprise solution, you need to develop an efficient data-access strategy. You can't just do some testing on your production machines and rely on the results.
John Papa - May 2005
Data Points: ADO.NET and System.Transactions
The Microsoft® . NET Framework versions 1. 0 and 1. 1 represented major changes in software development. However, one important thing that did not change much was support for distributed transactions.
John Papa - February 2005
Data Points: Data Source Controls in ASP.NET 2.0
ASP. NET 2. 0 introduces a series of new tools that improve data access including several data source and data bound controls. The new assortment of data source controls can eliminate a ton of repetitive code that was required in ASP.
John Papa - January 2005
Data Points: Efficient Coding With Strongly Typed DataSets
Someone once said to me that the hallmark of a good developer is the desire to spend time efficiently. Developers are continually pursuing ways to make coding easier and faster, and to reduce the number of errors.
John Papa - December 2004
Data Points: Updating Data in Linked Servers, Information Schema Views, and More
Every day a developer somewhere needs to write code to iterate through SQL Server™ system objects, query and update tables in linked servers, handle optimistic concurrency, and retrieve column and stored procedure metadata.
John Papa - November 2004
Data Points: Handling Data Concurrency Using ADO.NET, Part 2
Enterprise development has been moving towards a discon-nected model in recent years and ADO. NET development is no exception. While the disconnected model of the ADO. NET DataSet offers great flexibility, that adaptability also means looser control over data updates than you get with a connected data access model.
John Papa - October 2004
Data Points: Handling Data Concurrency Using ADO.NET
One of the key features of the ADO. NET DataSet is that it can be a self-contained and disconnected data store. It can contain the schema and data from several rowsets in DataTable objects as well as information about how to relate the DataTable objects—all in memory.
John Papa - September 2004
Data Points: Migrating from ADO to ADO.NET, Part 2
As you move forward with your use of ADO. NET, you'll need to know how to approach situations that you previously learned to handle in ADO and now have to tackle with ADO. NET. Just as n-tiered solutions developed using Visual Basic®, C++, and ASP often rely on ADO for their data access needs, Windows® Forms, Web Forms, and Web services rely on ADO.
John Papa - August 2004
Data Points: Migrating from ADO to ADO.NET
In recent years ADO has taken the lead as the preferred method for implementing data access in Windows®-based applications. Huge numbers of ADO applications are in use today and many developers are well versed in ADO development.
John Papa - July 2004
Data Points: Contrasting the ADO.NET DataReader and DataSet
John Papa - June 2004
Data Points: Saving Parent-child Data in a Multitiered App Using ADO.NET
John Papa - May 2004
Data Points: Creating Audit Tables, Invoking COM Objects, and More
Dealing with error handling between T-SQL and a calling application, evaluating when a field's value has changed, and creating auditing tables in SQL Server™ are all common issues that developers must tackle.
John Papa - April 2004
Data Points: Exception-handling Techniques
John Papa - March 2004
Data Points: Exploring SQL Server Triggers: Part 2
John Papa - January 2004
Data Points: Exploring SQL Server Triggers
John Papa - December 2003
Data Points: SQL Server User-defined Functions
John Papa - November 2003
Data Points: Exploring the ADO.NET DataRow
John Papa - October 2003
Data Points: Developing Apps with the .NET Compact Framework, SQL Server CE, and Replication
John Papa - September 2003
Data Points: Managing Hierarchical Inserts in ASP.NET and ADO.NET
John Papa - July 2003
Data Points: Techniques in Filling ADO.NET DataTables: Performing Your Own Analysis
How do you know which technique is best for retrieving data and populating a DataSet in ADO.NET?. Since the Microsoft .NET Framework offers so many choices on how to write the code, many developers are now taking a close look at the different options. See what they are.
John Papa - June 2003
Data Points: Techniques for Managing Rowset Paging
There are a number of ways to handle paging in Web applications. This month I'll examine several paging techniques and weigh their pros and cons. John Papa discusses how to manage paging and caching issues through the lower tiers of an n-tiered architecture, including how to make SQL Server manage the paging on your app's behalf.
John Papa - May 2003
Data Points: Expressions in ADO.NET
Managing relations in a database became a whole lot easier with ADO. NET. Instead of returning a single rowset to a data store, you can return a series of rowsets and relate them within a DataSet. There are numerous advantages to using related DataTables in ADO.
John Papa - January 2003
Data Points: DataRelations in ADO.NET
One of the biggest differences between traditional ADO and ADO. NET is that the rowsets stored within ADO. NET can be truly relational. For example, a DataSet can store one DataTable containing customers and another DataTable containing the customers' orders.
John Papa - November 2002
Data Points: Five Ways to Rev up Your SQL Performance
John Papa - July 2002
Data Points: Building a Tiered Web App Using the DataSet and the ASP DataGrid
John Papa - May 2002
Data Points: Establishing Relationships Between Rowsets with ADO.NET
John Papa - February 2002
Data Points: Using the ADO.NET DataSet for Multitiered Apps
John Papa - January 2002
Data Points: Abstracting ADO.NET
John Papa - November 2001
Data Points: ADO to XML: Building a Data Access Tier with the DataManager Component
John Papa - August 2001
Data Points: Revisiting the Ad-Hoc Data Display Web Application
John Papa - June 2001
Secure Sockets Layer: Protect Your E-Commerce Web Site with SSL and Digital Certificates
Security is one of the most important factors in the future growth of e-businesses. Making sure that communications remain secure between customers and the Web server is a critical issue. Secure Sockets Layer (SSL) is the standard that secure Web sites are built upon today. This article presents an overview of SSL-based Web security, explaining such fundamental concepts as digital certificates and their distribution, encryption, and the proper configuration of Microsoft Internet Information Services (IIS). Acquiring a certificate, installing it, and configuring IIS for SSL are outlined in a step-by-step process.
John Papa - April 2001
Taming the Stateless Beast: Managing Session State Across Servers on a Web Farm
Running a Web farm means managing session state across servers. Since session state can't be shared across a Web farm with Internet Information Services 5.0, a custom solution is required. One such solution using a tool called the session manager is described here. The article begins with a description of the SQL Server database used to store state information, the stored procedures used to update it, and the retrieval of session data. ASP code drives the session manager tool and the COM and COM+ components that run the stored procedures.
John Papa - October 2000
Data Points: Standard Query Operators with LINQ
LINQ to Objects and LINQ to Entities have an arsenal of Standard Query Operators that operate on sequences to perform a wide variety of operations.
John Papa - March 2008
Data Points: Entity Framework Q&A
The Entity Framework is a hot topic, but how do you know when to use EntityClient, Object Services, Entity SQL, or LINQ? Find out here.
John Papa - May 2008
Data Points: The Entity Framework in Layered Architectures
Here we build a solution that fits the Entity Framework into an n-tier architecture that uses WCF and WPF and the MVP pattern.
John Papa - July 2008
Data Points: Service-Driven Apps With Silverlight 2 And WCF
Here John Papa demonstrates how to build a Silverlight 2 user interface that communicates through WCF to interact with business entities and a database.
John Papa - September 2008
Data Points: Cloud Gazing From Silverlight 2
John Papa tackles questions about calling services from Silverlight 2 applications.
John Papa - November 2008
Data Points: Using Silverlight 2 With ADO.NET Data Services
ADO.NET Data Services and Silverlight make a powerful combination, but to make them work well together, there are a few things you need to understand. Here, John Papa explains.
John Papa - April 2009
Data Points: Syndicated Data And Isolated Storage In Silverlight
Here we build a syndicated news reader application to illustrate the use of isolated storage and data syndication in Silverlight.
John Papa - February 2009
Data Points: Building An Out-of-Browser Client With Silverlight 3
Silverlight 2 applications are restricted to running inside a browser. However, Silverlight 3 applications can run inside the browser or out. Here we build a social networking app as a standalone Silverlight 3 application.
John Papa - June 2009
Data Points: Data Performance and Fault Strategies in Silverlight 3
In this month’s column, the author shows how binary encoding works, the effect it has on an application’s performance, and how it behaves by demonstrating it in action.
John Papa - August 2009