AspNetAtoms.com daily updates on ASP.NET Tutorials, Articles, Authors and more. Subscribe to our newsletter and receive updates on ASP.NET resources on the Internet.

Categories

Recent Posts

Forms authentication using ASP.NET 2.0 and VB.NET

Monday, June 30 2008

Forms authentication enables user and password validation for Web applications that do not require Windows authentication. With forms authentication, user information is stored in an external data source. You can require that all requests to an application contain a valid user authentication ticket by using the authorization configuration element to deny the request of any unknown user. This tutorial will show you how to forms authentication using ASP.NET 2.0 and VB.NET. And we only using the default namespace. In tutorial, the only configuration step beyond that is to add the following code in...

Validating with RegExs using ASP.NET 2.0 and C# .NET

Monday, June 30 2008

The .NET Framework offers a number of controls that simplifies the process of validating user input on a web form. One such control is the RegularExpressionValidator. This control allows you to specify an arbitrary regular expression to validate the input to any one control. To perform RegEx validation using this control we do not need to be using any extra namespaces. All we need to do is add a RegularExpressionValidator to the web form. We'll put our code in the btnSubmit_Click() event...

Encrypting configuration sections : Bipin Joshi

Monday, June 30 2008

Encrypting configuration sections Developers often store confidential information the configuration files. Database connection strings, user names and passwords are some of the examples. One of the requested feature during ASP.NET 1.x days was to provide some way to easily encrypt and decrypt such information. Thankfully ASP.NET 2.0 fulfils this request in a flexible way...

Adding Client Side functionality to Custom Controls : ali sakhi

Monday, June 30 2008

In the previous tutorial we added the server side validation functionality to our textBox. In this tutorial we will add the client side validation functionality to our textBox. This tutorial consists of two Parts A and B. In part A we will learn how to use Page.ClientScript property which returns ClientScriptManager object. And in the next tutorial we will learn how to clean our code using Web Resources and how easy it makes to deploy our control....

Sandboxing Gotcha in a Partially Trusted App : Don Kiely

Friday, June 27 2008

One of the three basic ways to build an ASP.NET Web site with partial trust is to use the sandboxing method, which provides enormous flexibility for how you protect your application. Our resident security expert recently had occasion to use this combination technique. It was a more painful experience than it should have been, so Don shares his experience in the hopes that you can avoid this particular bit of pain. The sandboxing method is commonly used with a custom trust level, giving you enormous flexibility about how you protect your application. I recently had occasion to use this combination...