.NET news » ASP.NET ASP.NET Rss Feed

ASP.NET 3.5 Unleashed
Author: Stephen Walther
Average rating: 4.0 / 27
(27 reviews)
More .NET ASP.NET books
download
Introduction to Web Parts
A brief introoduction to using WebParts in your applications
1 Mar 2007, 13:09:00   Source: Introduction to Web Parts   Tags: ASP.NET
Bullet Proof Cookies
You always read how cookies play an important role in the security of a web application. Cookies have several uses in web applications, for instance ASP.NET itself uses cookies to identify a session, some sites use cookies to implement the feature of "remember me" when you log in to their site, other sites save user preferences in cookies. I am going to talk briefly about cookies and what makes them vulnerable to attacks, I will give some example of how cookies can be abused and finally I will talk about what we need to do to make our cookies bullet proof to defeat each one of the vulnerabilities.
28 Feb 2007, 15:41:00   Source: Bullet Proof Cookies   Tags: ASP.NET Security
Multi User Chat Room Using ASP.NET 2.0 and AJAX
Describes how you can build a multi user chat room using ASP.NET 2.0 and AJAX extensions
28 Feb 2007, 12:05:00   Source: Multi User Chat Room Using ASP.NET 2.0 and AJAX   Tags: ASP.NET Ajax
Using Asymmetric Encryption and Digital Signatures in a SQL Server 2005 Database

In this article we start with a look at the T-SQL commands for performing asymmetric encryption and decryption. Next, we discuss using digital signatures as a means for ensuring the integrity of the encrypted data. This article concludes with an ASP.NET 2.0 website example that ties together the lessons learned throughout this article series. Specifically, the database used by this ASP.NET application stores customer information with the customer's credit card information encrypted. An ASP.NET page provides a means to view the sensitive information in plaintext as well as a means to add new customers to the database with the credit card information properly encrypted.

Using TemplateFields in the GridView Control (C#)
This tutorial examines how to use TemplateField to achieve a greater degree of customization with GridView. This tutorial looks also at another way to customize the formatting based on underlying data: by calling formatting methods from within a template.
22 Feb 2007, 18:11:15   Source: Using TemplateFields in the GridView Control (C#)   Tags: ASP.NET
Custom Formatting Based Upon Data (C#)

The appearance of the GridView, DetailsView, and FormView controls can be customized through myriad style-related properties. Properties like CssClass, Font, BorderWidth, BorderStyle, BorderColor, Width, and Height, among others, dictate the general appearance of the rendered control. Properties including HeaderStyle, RowStyle, AlternatingRowStyle, and others allow these same style settings to be applied to particular sections. Likewise, these style settings can be applied at the field level.

In many scenarios, though, the formatting requirements depend upon the value of the displayed data. For example, to draw attention to out of stock products, a report listing product information might set the background color to yellow for those products whose UnitsInStock and UnitsOnOrder fields are both equal to 0. To highlight the more expensive products, we may want to display the prices of those products costing more than $75 in a bold font.

Adjusting the format of the GridView, DetailsView, or FormView based upon the data bound to it can be accomplished in multiple ways. In this tutorial, we'll look at how to accomplish data bound formatting through the use of the DataBound and RowDataBound event handlers. In the next tutorial we'll explore an alternative approach...

22 Feb 2007, 18:01:59   Source: Custom Formatting Based Upon Data (C#)   Tags: ASP.NET
Solve Postback Hassles with Cross-Page Postbacks in ASP.NET 2.0
ASP.NET 2.0's new cross-page postback capability gives developers three choices to choose between when transferring server processing from one page to another—and they're all useful in different scenarios.
21 Feb 2007, 17:02:48   Source: Solve Postback Hassles with Cross-Page Postbacks in...   Tags: ASP.NET
Using Symmetric Encryption in a SQL Server 2005 Database

As the attacks in which hackers use become more and more sophisticated, and the programs in which they attack become increasingly complex, encryption is becoming the last line of defense in database management system (DBMS) security.

In this article we will look at how, specifically, to encrypt the data in a SQL Server 2005 database using symmetric encryption techniques. We'll start with examining the facilities for managing keys in SQL Server and then explore symmetric encryption in SQL Server 2005.

Dynamic controls, Page Life Cycle, MultiView and Wizard
Best Practices in ASP.NET for writing User Control In MultiView And Wizard using Dynamic controls.
20 Feb 2007, 16:11:00   Source: Dynamic controls, Page Life Cycle, MultiView and Wizard   Tags: ASP.NET
Thumbnail Image Viewer Control for ASP.NET 2.0
A thumbnail image viewer control which downloads and displays the full size image in modal form using a floating div and javascript.
18 Feb 2007, 14:17:00   Source: Thumbnail Image Viewer Control for ASP.NET 2.0   Tags: ASP.NET Components