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

Implementing Generic Caching : DaveTheKnave

Thursday, February 12 2009

I develop for a large, high-availability website, with hundreds of thousands of daily users. As such, we need to cache a lot of data in our web-server memory (which is cheap) to save numerous hits to our main database cluster (which is very expensive). I would imagine the desire to improve performance by saving on database hits is common across many web applications – and caching frequently used data is often seen as one of the best ways to solve this problem. There are two further specific problems I face in every-day life, and these are....

Speed Up with Project Templates Using Visual Studio 2005 - Part 2 : Ameet Phadnis

Tuesday, February 03 2009

In this second part of the article, Ameet demonstrates how to create Project and Item Templates using Visual Studio 2005. Since my very first project I have been trying to find easy way out of coding or a way to jump start my projects. My very first article published on ASPAlliance also dealt with how to speed up projects using project templates in VS 2003. Readers really liked the process explained in those articles and I received some good reviews on it. After the release of VS 2005, I have been getting e-mails about how the previous process can be utilized for VS 2005. Frankly, the process in...

Drag and Drop Using JavaScript : Mohammad Azam

Monday, January 26 2009

JavaScript is an incredibly powerful scripting language. You can create all sort of cool effects using different features provided by JavaScript. One of the coolest effect is the drag and drop feature. As, the name implies you can drag the items on the screen and drop it anywhere hence, changing the position of the items. Usually the draggable item is dropped in the zone known as the drop zone. In this article I will cover the basics of the drag and drop functionality provided by the JavaScript. Creating a Drag Element: You can create any HTML element as the drag element. I prefer to use the DIV...

Creating Custom Label Controls : Brian Mains

Monday, January 12 2009

This article looks at how to extend the label control to make a more complex label control that is reusable and more functional. The label control is a simple control for rendering output or other HTML-based content. Overall, the label is somewhat limited in what it can do, as compared to the other .NET controls. For instance, a label can only render the text it has been given, and can show/hide that text. What about more complicated situations? This article will look at some possible additions to the control....

Sorting Custom Paged Data : Scott Mitchell

Thursday, January 08 2009

In the previous tutorial we learned how to implement custom paging when presentating data on a web page. In this tutorial we see how to extend the preceding example to include support for sorting and custom paging. Compared to default paging, custom paging can improve the performance of paging through data by several orders of magnitude, making custom paging the de facto paging implementation choice when paging through large amounts of data. Implementing custom paging is more involved than implementing default paging, however, especially when adding sorting to the mix. In this tutorial we’ll extend...

Using Forms Authentication with Active Directory : Richard Bean

Friday, December 26 2008

Explains how to implement form authentication using Active Directory warehouse credentials. Forms Authentication is a system in which unauthenticated requests are redirected to a Web form where users are required to provide their credentials. Upon submitting the form, and being properly verified by your application, an authorization ticket is issued by Web application, in the form of a cookie. This authorization cookie contains the user's credentials or a key for reacquiring the user's identity (therefore making the user's identity persistent). In essence, Forms Authentication is a means for wrapping...

Application Domains in .NET : Joydip Kanjilal

Friday, November 28 2008

An Application Domain is a light-weight process. It is a logical and physical unit of isolation built around every .NET application by the Common Language Runtime (CLR) and contains its own set of code, data and configuration settings. Multiple application domains can exist simultaneously in the same process. The default application domain is created when the Common Language Runtime is first loaded into a process. From then on, the CLR loads an assembly implicitly into an Application Domain the first time it encounters and references a type in the MSIL code. Assemblies can also be created explicitly...

Atlas 7: Caching web service response on browser and save bandwidth significantly : Omar AL Zabir

Tuesday, November 11 2008

The browser can cache images, JavaScripts, and CSS files on the user's hard drive, and it can also cache XML HTTP calls if the call is an HTTP get. The cache is based on Url. If it's the same Url and it's cached on the computer then the response is loaded from cache, not from the server when it is requested again. Basically, browser can cache any HTTP GET call and return cached data based on Url. If you make an XML HTTP call as HTTP GET and server returns some special header which informs the browser to cache the response; on future calls, the response will be immediately returned from the cache...

LINQ Provider Basics : Mehfuz Hossain

Monday, November 10 2008

Learn how to create custom LINQ providers. LINQ (Language Integrated Query) works as a middle tier between data store and the language environment. From a developer's point of view, it is just a new pattern for querying data from multiple data structures directly in the IDE. Behind the scenes it does a whole lot of tasks like expression processing, validation and calling the right routine to fetch data or build a query to run in SQL Server. In short, LINQ stands as common query gateway between the language and the data store....

Creating and Using Code Snippets in Visual Studio 2005 : Scott Mitchell

Monday, November 03 2008

f you create your web applications using Visual Basic, you're likely aware that Visual Studio .NET 2002/2003 provides some nice auto-complete features that were sorely missing from the C# side. For example, when creating a class in Visual Studio .NET 2002/2003 using Visual Basic, by merely typing in Public Property propertyName As Type and hitting Enter, Visual Studio automatically expands the code to include both the Get and Set accessors. While not as profound a time-saver as IntelliSense, Visual Basic's auto-complete support definitely speeds things up. The good news is that Visual Studio 2005...