Library tutorials & articles
Manual File Downloads In ASP.NET
- Introduction
- Getting Started
- The Problem
- Wrapping Up
Introduction
In this article, I'm going to talk about a simple ASP.NET application I recently created for the Slovak parliament. The application allows browsing and displaying transcripts of parliamentary debates (see http://www.nrsr.sk/bin/net/nrozprava/; Slovak language only).
The transcripts are stored as plain text files. Each text file contains transcript for a given time frame, which is encoded in the file's name. All the text files are stored in a single file system folder. How the debate's audio records get transcripted and how the text files make their way into the folder is not important for this discussion.
The job of the ASP.NET application is, among others, to display the list of transcripts with associated time frames and allow the user to view the contents of selected transcripts. In order for the transcript files to be more readable to the user, the application applies some basic HTML formatting to the transcript's plain text before it is sent to the browser for viewing. For various reasons, I've designed the formatting process to take place dynamically whenever a user requests a given transcript file.
Related articles
Related discussion
-
Profile Class does not work after Translation
by converter2009 (1 replies)
-
what is the SQL Server Provider
by hayperaktib (1 replies)
-
Very Urgent regarding deleting the images from a folder
by Nanosteps (6 replies)
-
Java Script, File uploading on ftp server using java script code
by h_c_a_andersen (2 replies)
-
sharepoint calendar web part with events from sql table
by converter2009 (2 replies)
Related podcasts
-
StackOverflow uses ASP.NET MVC - Jeff Atwood and his technical team
Scott chats with Jeff Atwood of CodingHorror.com and most recently, StackOverflow.com. Jeff and Joel Spolsky and their technical team have created a new class of application using ASP.NET MVC. What works, what doesn't, and how did it all go down?
Events coming up
-
Mar
15
DevWeek 2010
London, United Kingdom
DevWeek is Europe’s leading independent conference for software developers, database professionals and IT architects, and features expert speakers on a wide range of topics, including .NET 4.0, Silverlight 3, WCF 4, Visual Studio 2010, REST, Windows Workflow 4, Thread Synchronization, ASP.NET 4.0, SQL Server 2008 R2, LINQ, Unit Testing, CLR & C# 4.0, .NET Patterns, WPF 4, F#, Windows Azure, ADO.NET, Entity Framework, Debugging, T-SQL Tips & Tricks, and more.
This thread is for discussions of Manual File Downloads In ASP.NET.