Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Sunday, November 23, 2008

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Articles & Samples > ASP.Net > File Management > File Manipulation
Search:
What's New - What's Hot


How to Manipulate Files in ASP.NET        
Total Hits: 1422  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

The whole concept of File Manipulation in ASP.NET revolves around the System.IO namespace. This namespace has the classes required for reading and writing file manipulations. This startup article explains the concept of file manipulations, such as reading from a file, writing to a file and deleting a file, in ASP.NET from the ground up.
...

Efficiently Uploading Large Files via Streaming        
Total Hits: 47  |  Today: 0 Author: Dina Fleet Berry       Rating:  
Read Reviews | Write Review |   Your Rating: 

When uploading a file to a web server, the upload process generally requires the incoming file to be stored in memory until the upload is complete. If an uploaded file is larger than the available memory, memory usage in general and performance in particular will suffer.

Typically, the uploaded file is either held in memory or the length of the posted file is checked and refused the file if it is too large. The streaming solution presented in this article allows you to grab an uploaded fi...

Web File Manager        
Total Hits: 60  |  Today: 1 Author: wumpus1       Rating:  
Read Reviews | Write Review |   Your Rating: 

I often deploy ASP.NET websites to servers that I don't control. In these situations, I can't get to the underlying file system to do any file maintenance, because I don't have direct access to the server. So I have to access the file system indirectly, through the website that I am deploying. Rather than writing a bunch of special purpose pages to deal with file management, I developed a generic WebFileManager page than can be dropped into any ASP.NET website. This page performs the most common...

Image to xml File or to file transfer using asp.net c#        
Total Hits: 100  |  Today: 0 Author: Balaji Manoharan       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article consist of operations which will transfer data to xml file and read data from xml file....

ASP.NET/C# File Repository        
Total Hits: 106  |  Today: 1 Author: swprofile       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article shows how to create a reusable file repository written using ASP.NET/C# that features an n-tiered directory structure, file uploading, directory creation, file previewing, and customization for supported file types....

Reading Text Files in an ASP.NET Web Page        
Total Hits: 31  |  Today: 0 Author: Scott Mitchell       Rating:  
Read Reviews | Write Review |   Your Rating: 

There are many real-world situations in which you may wish to read part of or an entire text file into a string variable in a Web page. To read a text file in classic ASP you would simply use the FileSystemObject. In fact, there is an entire FAQ category on the FileSystemObject at ASPFAQs.com....

Working with Files and Directories using ASP.NET        
Total Hits: 342  |  Today: 0 Author: SANJIT SIL       Rating:  
Read Reviews | Write Review |   Your Rating: 

In our real life applications it is required to read, write, or manipulate files and directories. The .NET Framework provides a set of classes in the System.IO namespace to allow synchronous and asynchronous reading from and writing to data streams and files. Before working with files and directories it is essential to make sure that security permissions are set properly on folders and files where you want to write. The .NET Framework runs all ASP.NET processes under the local ASPNET account....

Isolated Storage        
Total Hits: 246  |  Today: 1 Author: Brian Mains       Rating:  
Read Reviews | Write Review |   Your Rating: 

Isolated storage is a file storage mechanism without knowing the actual physical location. The objects to utilize this reside in the System.IO.IsolatedStorage namespace, although some of the enumerations needed for isolated storage operations are in the System.IO namespace. This storage area is beneath the user's Application Data folder (see Figure 1), which the folders/files are unique to a user and .NET assembly. However, the security for these files can be an issue. Administrators on the syst...

Using Memory Mapped Files in ASP.NET using VB.NET        
Total Hits: 38  |  Today: 0 Author: Michael Vanhoutte       Rating:  
Read Reviews | Write Review |   Your Rating: 

MemoryMappedCache is a small project can be used to host a proactive loaded cache using a Windows Service. This cache uses Memory Mapped Files internally. Other applications on the same computer can then also use MemoryMappedCache to access information stored in this cache. This is done much quicker than using .NET Remoting. A significant amount of time was spent to ensure that this cache can be accessed from within ASP.NET if the cache is hosted by a Windows Service....

HOW TO: Write Binary Files to the Browser Using ASP.NET and Visual Basic .NET (Q307603)        
Total Hits: 2793  |  Today: 0 Author: MSDN       Rating:  
Read Reviews | Write Review |   Your Rating: 

This step-by-step article creates a sample page that demonstrates how to retrieve binary data from a file and then how to write the data out to the browser using ASP.NET and Visual Basic .NET. Although this demonstration uses an Adobe Acrobat (.pdf) file (which Web application developers commonly use), you can apply this procedure to other binary file formats....

HOW TO: Write Binary Files to the Browser Using ASP.NET and Visual C# .NET (Q306654)        
Total Hits: 915  |  Today: 0 Author: MSDN       Rating:  
Read Reviews | Write Review |   Your Rating: 

This step-by-step article creates a sample page that demonstrates how to retrieve binary data from a file and then how to write the data out to the browser using ASP.NET and Visual C#. Although this demonstration uses an Adobe Acrobat (.pdf) file (which Web application developers commonly use), you can apply this procedure to other binary file formats....

Problems and solutions to Microsoft Configuration Management Application Block's "XmlFileStorage" in Web Applications        
Total Hits: 27  |  Today: 0 Author: Omar Al Zabir       Rating:  
Read Reviews | Write Review |   Your Rating: 

In a web application, the most common requirement for storing configuration is like this:

* You have a static singleton class (e.g. MyConfiguration) which stored the configuration data. It has properties like "DatabaseConnectionString" to store configuration settings
* You need to store it in a XML file.
* You do not want to store it in web.config because whenever you change the values, your web application restarts
* You want to programmatically modify the config...

Attaching Files with CDO Mail        
Total Hits: 56  |  Today: 0 Author: rampdci       Rating:  
Read Reviews | Write Review |   Your Rating: 

Hello guys here is the code for who search for CDO mailing attachment.
In this case I have used the file attachment based on the no of selected items in Request Page.If the relevant check is done for file download then related files will be added in attachment and sent as mail....

Hangman in ASP.NET        
Total Hits: 339  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

The rules of hangman are quite simple. There's a secret word that you must guess by choosing one letter at a time. If you chose a letter that appears one or more times in the secret word, the letters and their positions are revealed. If, however, you guess a letter that is not in the secret word, then a piece of the man being hanged is added to the gallows. If you incorrectly guess six letters, the complete hangman character is drawn, meaning you lose!...

How to write to an XML file        
Total Hits: 825  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

Writing to XML files is quite easy in ASP.NET as there are so many objects prepared for you -- you just need the syntax on how to use them. This code shows you how to write a simple member XML file....

Displaying Processing Messages, Accessing File Size and Bandwidth, and Debugging ASP        
Total Hits: 9  |  Today: 0 Author: Robert Hess       Rating:  
Read Reviews | Write Review |   Your Rating: 

I am developing an ASP application in which the user enters some information in screen A. After processing this information, I display screen B. But the processing sometimes takes a while, so I want to display a screen between A and B that says "Please wait..." or " Processing....". In the interim, I�ll do the processing while that screen is displayed, then automatically switch to screen B when ready. I want to avoid any client-side scripting, so I need to process the information on the server...

ASP FileOpen Dialog        
Total Hits: 50  |  Today: 0 Author: Govardhana Reddy       Rating:  
Read Reviews | Write Review |   Your Rating: 

"I want to use "file open dialog box" control in my web application."

Sounds common and most frequently asked question. Even I had a same question and started searching for that, but believe me it was very hard to get a solution for this and with some help I came out with a solution and thought I will share it with all my friends out here....

Powerful File manager        
Total Hits: 16  |  Today: 0 Author: mohsen ahmadian       Rating:  
Read Reviews | Write Review |   Your Rating: 

In the web application some times you need to manage your files or allow your users to manage their files. In this time you need a file manager and creating a powerful solution is time consuming, but you don't have enough time. This was the story of my work when I needed it. I think if I write a powerful file manager that is simple to use and portable, did my best....

ASP.NET Zip Entry Handler        
Total Hits: 14  |  Today: 0 Author: Jake Morgan       Rating:  
Read Reviews | Write Review |   Your Rating: 

The ZipEntryHandler enumerates and serves files out of static zip files deployed in your web space. The handler is implemented as a simple ASP.NET IHttpHandler deployed with a code file in the App_Code directory on your website and configured with a line in the web.config file. The handler is very useful for several purposes:
* Serving otherwise prohibited files - Code files with extensions that have special meaning to the web application ("cs", "vb", "aspx") can be served statically.
...

Mainpulating Files and Directories in ASP.NET        
Total Hits: 20  |  Today: 1 Author: Bean Software       Rating:  
Read Reviews | Write Review |   Your Rating: 

Let suppose, you have to enable your website users to upload their pictures. Or suppose you have to place functionality of uploading product images along with the product description. In this article, we will explain how you can provide such functionalities. We may need to manipulate files and directories on our web server in different ways. For example, applications need to create a new file, delete an existing file, modify the contents of an existing file, and check whether a file with given n...


1  2  3  Next >> 


DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net