Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 


Home >Search > Knowledge Base > ASP.Net > Tips & Tricks


Search:
What's New - What's Hot
How to: Add ASP.NET Web Pages to a Web Site  Version: 0.00     Price: $0.00  
Total Hits: 24  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

You can add new and existing Web pages to a Web site. For information about creating an ASP.NET Web site, see How to: Create File System Web Sites.

Web sites in Visual Studio are directory based. When you open a Web site, Visual Studio treats all of the files in the folder you open — whether the files are in the file system, in an Internet Information Services (IIS) application, or on an FTP site — as part of the same Web site....

Importing a PFX file using X509Certificate from ASP/ASP.NET or COM+ fails     
Total Hits: 170  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION....

How to Use Linq  Version: 0.00     Price: $0.00  
Total Hits: 143  |  Today: 0Author: Mehulthakkar1      Rating:  
Read Reviews | Write Review |  Your Rating: 

Linq ( Language Integrated Query) provide you command over manipulating data. Using Linq we can write the query expression in code. With the use of Linq we can manipulate any object which is implemented by the IEnumerable T interface, XML, Dataset or relational database....

How to: Use FileSystemWatcher to listen to local drives  Version: 0.00     Price: $0.00  
Total Hits: 147  |  Today: 0Author: Jaish Mathews      Rating:  
Read Reviews | Write Review |  Your Rating: 

I recently have done with some tasks on FileSystemWatcher class which is under System.IO namespace. This class is not a new one, but looks very interesting that without any customized service from our side, it's capable of listening to your files system and will report to you regarding any changes happening to your local drives. Another reason why I am publishing this article is that I faced with a cross thread issue during execution. But I tackled that using delegate. This also will be fruitfu...

How to: Delete Items from the Cache in ASP.NET  Version: 0.00     Price: $0.00  
Total Hits: 67  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

Data in the ASP.NET cache is volatile — that is, it is not permanently stored. It might be automatically removed from the cache for one of these reasons:
* Because the cache is full.
* Because the item has expired.
* Because an item it is dependent on changes....

How to: Cache Versions of a Page Using Parameters  Version: 0.00     Price: $0.00  
Total Hits: 51  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

There are times when you want to cache a page, but the page might generate different output based on the value of a query string parameter or values sent with the page on postback. For example, if you have a page that shows locations of stores based on a user's state, the page might accept a "state" query string value that generates a different version of the page for each state....

How to: Cache Versions of a Page Using Requesting Browser  Version: 0.00     Price: $0.00  
Total Hits: 58  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

If your Web application contains a page that creates different output based on the type of the requesting browser, you can cache versions of page's output by the major version of the browser that requests the page. For example, when an Internet Explorer 6 browser requests a page, one version of the page is cached. When a Netscape Navigator browser, another version of Internet Explorer, or any other browser requests the page, another version of the page is added to the output cache....

How to: Cache Page Output with Cache Key Dependencies  Version: 0.00     Price: $0.00  
Total Hits: 48  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

At times, you might want to remove a page from the output cache when another item in the cache is removed. For example, you might have a page that displays a process-intensive report that is placed in the application cache and used by multiple pages. When the report is changed or is removed from cache, you want the page output to be removed from the cache also because the report is no longer valid. To do this you can make cached page output dependent on other cached items....

How to: Retrieve Resource Values Programmatically  Version: 0.00     Price: $0.00  
Total Hits: 116  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

You can use declarative syntax to set the values of ASP.NET server control properties to a resource value. Alternatively, you can retrieve resource values programmatically. You might do this if the resource value is not known at design time or if you want to set the resource value based on a run-time condition....

How to move, to delete, or to copy files by using a wildcard character in a Windows Service with Visual C++ .NET or Visual C++ 2005     
Total Hits: 147  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes how to create a Windows Service project with Microsoft Visual C++ .NET 2003 or Microsoft Visual C++ 2005 and then how to install the Windows Service. This article also describes how to provide the Windows Service start-up parameters for a Windows Service and then start the Windows Service....

HOW TO: Use the Performance Administration Tool to Analyze Performance of .NET Framework-based Windows Application     
Total Hits: 130  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes how to use the Performance Administration Tool to analyze the performance of .NET Framework-based Windows applications.

Performance monitoring for .NET Framework applications differs from conventional Windows applications in several ways. The most fundamental difference is that applications are executed by the common language runtime (CLR). The common language runtime accepts requests for resources from applications, determines whether the application is permitted t...

How To Create an ASP.NET Application from Multiple Projects for Team Development     
Total Hits: 129  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes how to make multiple ASP.NET projects participate in the same Web application.

You may find it useful to separate a large Web application project into multiple projects for team development of ASP.NET Web applications in Microsoft Visual Studio .NET. Microsoft recommends that you use source control software, such as Microsoft Visual SourceSafe, in all scenarios....

Tracking down ASP.NET view-state issues in the Knowledge Base     
Total Hits: 76  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

This month we are going to look at view-state issues in Microsoft ASP.NET; specifically, how to find answers to them in the Microsoft Knowledge Base (KB). View state can be a wonderful thing as long as you know how it works, how it might relate to particular issues that you encounter, and what issues to be aware of while leveraging it. Of course, if you knew what potential issues to expect, you probably would not have run into them in the first place. This is where the KB comes into play. The KB...

How to troubleshoot connection problems     
Total Hits: 289  |  Today: 0Author: Alexander Chigrik      Rating:  
Read Reviews | Write Review |  Your Rating: 

In this article, Alexander Chigrik explains how you can resolve the connection problems....

How to strip HTML tags and show just web page text     
Total Hits: 269  |  Today: 0Author: Anil' Radhakrishna      Rating:  
Read Reviews | Write Review |  Your Rating: 

Using C# & Regular Expressions, it can be done like this
string stripped = System.Text.RegularExpressions.Regex.Replace(text,@"(.|\n)*?",string.Empty);
The lean, mean & Swiss knife of an editor
Editplus has a short cut for it - Ctrl + Shift + P or from the menu:
Edit HTML Strip HTML tags...

HOW TO position an image or text over another image in a web page?     
Total Hits: 143  |  Today: 0Author: 'Anil' Radhakrishna      Rating:  
Read Reviews | Write Review |  Your Rating: 

The trick is to use the position and z-index CSS attributes with a DIV
tag to create a "layer" for each entity and then position the layers
as required....

Casting from a Collection to a Data Table using Generics and Attributes     
Total Hits: 521  |  Today: 0Author: jfinster.      Rating:  
Read Reviews | Write Review |  Your Rating: 

The following step by step example will demonstrate how you can use Aspect Oriented Programming (AOP) to cast a collection of objects into a DataTable. This particular example will leverage the power of attributes, generics, and reflection to explicitly convert a collection of container classes into a DataTable....

Multilevel Nested Master/Detail Data Display Using GridView     
Total Hits: 1255  |  Today: 0Author: G. Mohyuddin.      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article presents how the GridView control can be nested to show master/detail relationships for multilevel hierarchal data. In this article, I have implemented it for three levels, and it can be implemented for n levels quite easily, by maintaining the information about the edit index of the parent GridView controls.

This article provides a simple, easy, and clean solution for displaying data with multilevel master/detail relationships. This article also shows how the GridView can be...

HOW TO: Access ASP.NET Intrinsic Objects in a Visual Basic 6.0 Component     
Total Hits: 173  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article describes how to access ASP.NET intrinsic objects in a Microsoft Visual Basic Component Object Model (COM) component....

How to transfer data-items from 1 listbox to another - Code written in VB.NET & javascript     
Total Hits: 1050  |  Today: 0Author: DotNetDoctor      Rating:  
Read Reviews | Write Review |  Your Rating: 

When a programmer needs to get data from & to input-Listbox into/out-of output-listbox, he always has two otions -To write Server-side code [VB.NET or C#] or Client-side code [javascript] This article explains how to achieve the purpose using client-side script - i.e. using javascript -
i.e. without having postbacks every time the action/processing occurs.
Basically :
All u need is Two asp.net listboxes, where u have to set Property-Selection-mode for both as "Multiple".Also,Place two...


1  2  3  Next >> 


Disclaimer - Privacy
© 2002-2017 DevASP.net