ASP.NET Tutorials & Articles
-
New features for web developers in ASP.NET 2.0
by Alex HomerASP.NET 2.0 brings enhanced performance and many new features that make the web developer's life easier. Alex Homer takes you through what's new.
-
DataGrid/GridView Paging and Sorting Using A DataReader
by Dimitrios MarkatosThis article will demonstrate two ways one could implement the DataReader to bind a DataGrid, that includes caching, paging and persistent bi-directional sorting, all without the use of a DataAdapter/DataSet at all, and includes ASP.NET 2.0 GridView version!
-
Selecting, Confirming & Deleting Multiple Checkbox Items In A DataGrid/GridView - Part 2: Maintaining CheckBox State Acr
by Dimitrios MarkatosIn this article, we will examine how to create a fully functional DataGrid and GridView in .NET 2.0 with all the features you'd find set up on Hotmail, Yahoo, and AOL Mail, and further demonstrate how you can multi-select items across pages and batch delete them all.
-
Test-Driven Development in .NET
by Peter ProvostAn article presenting benefits and techniques for using test-driven development in .NET, specifically examining the NUnit testing framework.
-
Generate Thumbnail Images from PDF Documents in .NET
by Jonathan HodgsonThis article presents VB.NET code to create thumbnail images from a directory of Adobe Acrobat PDF documents using the .NET Framework.
-
To SP or not to SP in SQL Server
by Douglas ReillyThe topic of using or not using stored procedures reaches the level of religious fervor in many quarters. Douglas Reilly, a Microsoft MVP, weighs in on the topic with an in-depth analysis.
-
Implementing AJAX in ASP.NET
by Karl SeguinAsynchronous JavaScript and XML (AJAX) has recently become the craze thanks, in no small part, to Google’s usage of it in Google Suggest as well as Google Maps. Karl looks at how it works, and how we can implement it in ASP.NET using a free AJAX.NET wrapper.
-
Web Services Interoperability between J2EE and .NET - Part 1
by Wangming YeWeaving together Web services to create cross-organizational business processes requires all partners to program to the same standard model and to avoid exposing proprietary implementations. However, the ultimate goal of making Web services interact seamlessly is still a frequent concern and a hot discussion topic. The first part of the series stresses the importance of WSDL design and analyzes the strength and pitfalls of the traditional RPC/encoded style in Web services interoperability.
-
Dynamic Column Sorting and Paging in ASP.NET
by Dimitrios MarkatosDemonstrates how to enable your visitors to sort your datagrid by columns, and implement paging.
-
Building a Full-Featured Custom DataGrid Control
by Dimitrios MarkatosIn this article, we will demonstrate how you can build your very own Datagrid control component, one that you will be able to customize, and more importantly reuse. Based on this ability, you will then end up with one powerful control that will have many implementations, from which you could learn about creating almost any other types of custom controls.
-
How to access Outlook and post to a blog using C#
by Simon SoanesAn article for all those like Robert Scoble who would like to be able to drag and drop an item to a folder in their Outlook and post it instantly to their Blog. We also briefly cover web services and talking to Outlook.
-
Implementing two-way Data Binding for ASP.NET
by Rick StrahlASP.NET simplifies many things but data binding simple controls like textboxes and checkboxes leaves a lot to be desired. Databinding is one-way only and you end up doing lots of repetitive work to publish your data. In this article I'll show you how simple databinding in .Net works and then show how to create custom controls that implement two-way binding to make short work of creating databound forms.
-
SQL Injection Attacks by Example
by Stephen J. FriedlSteve Friedl takes a look at how your site could be vulnerable to SQL injection attacks - complete with numerous examples - and the action you can take to prevent them.
-
Tree structures in ASP.NET and SQL Server
by James CrowleyTakes a look at how tree structures can be usefully stored in a relational database such as SQL Server, and how to implement web directory-like features such as breadcrumbs.
-
Implementing HTTP Handlers in ASP.NET
by Michael FlanakinASP.NET uses HTTP handlers to process all requests - and we can use these to interact with HTTP requests before they get to a web page. This article is an in-depth discussion on the topic of HTTP handlers including pros, cons, and a sample implementation that you can extend.
-
Valid XHTML within .NET
by Kevin BrownAt present none of Microsoft's ASP.NET controls intrinsically support the strict W3C XHTML standards. This can cause problems when using ASP.NET controls on pages that need to conform to one of the XHTML standards. In order to use Microsoft's supplied controls some modifications will be required. This series of articles intends to focus on the more widely used controls and the steps required to make them output valid code.
-
ASP.NET Controls Explained: Part 1/2
by James YangIn ASP.NET, there are several features that we can use to make our code reusable and independent of other code, including user controls, server controls, and the code behind method. In this article James explains what each of these features are used for, and also shows you how to use each one by providing a number of simple yet detailed ASP.NET examples.
-
ASP.NET Controls Explained: Part 2/2
by James YangIn this, the final article of the two part series relating to ASP.NET controls, James teaches us about custom controls and components. He talks about creating them, as well as compiling them from the command prompt using the C# compiler. He also provides two ASP.NET examples that demonstrate how to both create and integrate custom controls and components into our ASP.NET pages.
-
Selecting, Confirming & Deleting Multiple Checkbox Items In A DataGrid (i.e. HotMail & Yahoo)
by Dimitrios MarkatosIn this article, we will examine how to create a fully functional DataGrid with all the features you'd find set up on Hotmail or Yahoo. As an added bonus we'll be performing all of our data tasks strictly utilizing Microsoft's new Data Access Application Block or DAAB v2.
-
Making skinned custom controls
by Thomas JohansenThis article will show you how you can easily make your custom controls skinned by deriving from a new control class that we will call SkinControl.