C# - Developing A File Storage Web Application?

Aug 5, 2010

I'm currently developing a web application whose primary user function is uploading and downloading of files. The files will be stored on the hard disk (no cloud storage yet).

Taking into consideration the possibilities of gigabytes of data and a large number of files, do I need to organize files into sub folders to account for the fetching of a file or is the file system's indexing already very efficient and I can ignore this potential bottle neck?

Update:

On a side note, I plan to store file names and any additional information in a SQL database and only query the disk when a user actually wants to download the file. This is how I plan on retrieving files:

FileStream stream = File.Open("C:file.txt");
byte[] fileContent = new byte[stream.Length];
stream.Read(fileContent, 0, fileContent.Length;

Any file information will be retrieved from the database. The hard disk will only be used for saving and fetching files.

Update 2:

Files will be saved as GUID + EXTENSION on the hard disk while the actual file name is stored in the database.

View 4 Replies


Similar Messages:

JQuery :: Developing File Upload Application / Looking For Code

Mar 14, 2011

i am developing file upload application,i have .ashx file where i have a value in a string variable mydata.

in my .aspx page when i click on any button then data which is store in mydata variable in ashx file it show in text box.

View 1 Replies

Architecture :: Layered Web Application. XML As Data Storage?

May 4, 2010

I'm thinking of using 3 layered architecture in my web site.Kind of classic layers - Presentation, BL, DAL and BO - business objects, just like in this great article http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=416I will have 4 projects according to levels.I'm goung to store data in xml files and my question is where should those files be located? In App_Data folder of web site? Then how DAL will know path where to find files to parse?

View 4 Replies

How To Secure File Transfer And Storage

Feb 21, 2011

I would like to be able to give my users the ability to securely upload and store files, sometimes upwards to about a gigabyte in size. I'm not quite sure what's the best way to go about doing this. I would like to have the connection between the client and the server secured, so I'm sure I will probably have to use SSL. Now, my major crux is secure storage. Being that the data is somewhat sensitive, I'm wondering if I should encrypt the file before it is stored. I guess my question is, should I open the file and encrypt each byte or encrypt the file as a whole. I'm assuming that the latter is the better option. I know that there are a number of examples of how to encrypt a file using a number of different methods (aes, des, md5 (hashing not really encrypting), etc). Currently, to encrypt text, I am using the Rijndael algorithm, sha1, 256 bit keys, a predefined passphrase, salt value, and IV.

View 2 Replies

Image Storage And Retrieval In File System?

Jan 11, 2010

What is the best approach to storing images in a file system. Currently I am separating the images by day, month and then year. I am also hashing file name so that no two files will be stored with the same name. Lastly, how would I go about using the image file address in a forum?

View 3 Replies

Use XML File As A Data Storage To Add - Retrieve - Update - Delete?

Dec 27, 2010

I want to use XML file as a data source for my application.

View 2 Replies

How To Import Csv File( Already Uploaded In Blob Storage) In Azure(.Net)?

Jan 19, 2011

I want to import csv file(already uploaded in blob storage) in Azure. For example I have uploded test.csv on blob storage, now i just want to import that test.csv file in .net(azure) and after importing i will insert that data into azure database. I am using C# .net.

Creating a cvs file with all rows. Upload it as blob. Parse it with a Worker role and insert it in the sql azure db.

View 1 Replies

Developing Chat Application Using Vb.net?

Feb 12, 2010

i am developing chat application using vb.net and asp.net where i am having a div tag inside which i am displaying the messages posted by the online users what my problem is when the messages are more and exceeds the height of the div tag then i am not comfortable to view the previous messages because i have set the scroll bar position to always to be pointed to bottom.

[code]....

View 1 Replies

MVC :: Developing A Small Application

Feb 12, 2010

Can anyone developing this small asp.net mvc application.

Login Page:

User Logs in through login.aspx page by providing username and password textboxes and clicks on login button.

Based on the valid credentials the user is redirected to the DashBoard.

MasterPage:

All the pages will be using MasterPage which has the following tabs.

Activity

Tasks

Dashboard Page:

The user will be redirected to this page after login page which displays the Activities and Tasks in 2 different gridview.

Activity Grid will display:

Activity

Task

ActivityDate

On click of each of this activity the page should display div popup menu with the following:

Show Activity Details

Add Activity Details

Edit Activity Details

Search Activity

On click of the above listed links the user will be shown a Popup of the appropriate aspx page

View 5 Replies

Developing A Usermanagement For Web Application ?

Feb 4, 2011

I am developing a usermanagement for my ASP.NET Web application. I Used Website administration Tool as custom forms in my application.Currently i am Setting folder based permissions to the Roles.After that when the anonymous user click on a menuitem it will redirect it to the login page. I want to change the redirecting page to another one that showing 'The user have no rights to access this Page'.How can i redirect it?I am new in asp.net.

View 1 Replies

Mobiles :: Developing Iphone Application?

Jun 4, 2010

I want develop small iphone blog application. How can i do it. I want steps should i follow? I am beginner for iphone application,

View 5 Replies

MVC :: Developing Database Independent Application

Feb 1, 2011

we are developing a application using MVC 2 , i would like to have help on developing database independent application , is there any way to achieve using MVC .

Also is there any examples of ORM available using MVC for newbee to understand.

View 4 Replies

Isolated Storage File Saving On The Default User Profile For A Web Service

Jul 8, 2010

I have a windows application that stores a file on the current user's isolated storage, lets call this user Adam. On the same machine I have a Web service (The Web Service's application pool is running with Adam's credentials) that uses the same dll to access the file on the isolated storage but it is trying to access a file on the Default User's profile instead of the real user's profile (in this case Adams Profile)

Why is it trying to look for the file on the Default User's profile Instead of Adam's Profile? How can i make it look for the file in the right profile?. I'm running it on Win 2003, C# and .Net framework 3.5

View 1 Replies

Tips For Developing High Performance Application?

Jun 16, 2010

List me guidelines which we have to follow while developing an asp.net application with improved performance:

-Using Pooling properly, Stored procedures, when to use AJAX update panel etc etc

View 1 Replies

Developing Webcam Image Capture Application?

Jun 17, 2010

I want to develop a simple webcam image capture application in asp.net (vb.net). The camera output is 320x240. But I want the image in 240x320 size. When I try to resize the 320x240 image, the image stretches vertically and looks pretty bad. What code should be used to do this and upload the resultant 240x320 image.

View 9 Replies

Mobiles :: Developing Application That Will Be Used Primarily On IPhones?

Jul 13, 2010

I am developing asp.net application that will be used primarily on iPhones. On one of the forms I have a textbox where users enter a date. I am using a javascript calendar on that same box so its easier for users to enter dates. But when a user clicks on this field in iPhone, the phone brings up its own menu (with keyboard) on top of my javascript calendar. That makes it look very ugly as a user now has to click on Done to close that keyboard and onyl then start using the calendar. Is there a way to prevent iPhone from displaying this keyword?

View 2 Replies

Developing A Web Application Which Will Deal With Online Examination?

Mar 8, 2011

I am developing a web application which will deal with online examination. The requirement is:

There can be n-number of sections in an exam and admin users should be able to create questions/answers and add to an exam. The questions should be displayed for a certain amount of time in the browser with meclock and it should move to next question automatically. User should not be allowed to open any other instance of the browser or login from another IP if the exam is in progress.

I am seeking community vote of how would someone design the application to meet all these criterias? What patterns should be used? What components to reduce the development time etc..My technology stack is C#, ASP.NET MVC or ASP.NET with SQL Server.

View 3 Replies

Mobiles :: Developing A Mobile Version Of A Web Application?

Feb 3, 2010

I currently have a ASP.NET web application that was designed for desktops/laptops. Now we need a mobile version of this application. I have never developed mobile application before and am looking for any good tips before i start. Things that i have been thinking about like how do you know when load the mobile version or the normal version.

View 2 Replies

Configuration :: Developing .net Web Application With Form Authentication In IIS 6

Dec 18, 2010

we are developing asp.net web application with form authentication in IIS 6 - Windows server 2003.the application is working fine.but if we call any .html extension we are getting the following errors,

"Internet Explorer cannot display the webpage - Diagnose Connection Problems "

View 1 Replies

Mobiles :: Basics Of Developing A Mobile Application?

Jan 16, 2011

Can any one teach me basics of mobile application development

View 2 Replies

Web Forms :: Finding Guidance For Developing A Orkut Like Application

Mar 25, 2011

give me some guidance for developing a orkut like application When the user(u1) clicks on Recent Visited profiles, page should be directed to that recent visited user(Vp1) profile and then details and recent visitors for VP1 should be shown

View 2 Replies

Architecture :: Points To Keep In Mind When Developing Asp.net Business Web Application

Oct 20, 2010

I got one project Inventory management system to develop in asp.net , i need to know before developing this webapp what are the points i need to keep in mind, and what are the inputs i have to know to build smooth application..

so whenever any project comes to develop how big company are all planing to develop i need to know that

View 1 Replies

Databases :: Developing A Web Application Using Csharp And Oracle As Database?

Dec 3, 2010

I am developing an web application using csharp and oracle as database. I have table with columns like below. How can I ensure that sql selects from one table column but it shows two columns depending weather it is Debit or credit. How can I come up with something Statement of Account ?

Number Amount Type


2 6000 Dr

3 4500 Cr

4 2300 Dr

5 1200 Dr

6 1300 Cr

Now I want the sql out put to be as below. How can I achieve?

NUMBER Dr CR Balance

2 6000 1000

3 4500 5500

4 2300 3200

5 1200 2000

6 1300 3300

View 4 Replies

Visual Studio :: Application Testing At Developing Stage?

Mar 22, 2010

For developing a VS-2008 application at developing stage best softwares for test the application.we found some of the testing applications like NUnit and MSUnit, which are the softwares best to test the application at developing stage.

View 2 Replies

Security :: Developing Simple Login Application Using 3 Tier Arch?

Jan 25, 2011

actually i was developing 3 tier login page application as following :

DAL which containes UsersDS.xsd

in UsersDS.xsd i created one select statement as (SELECT UserID, Name, Password
FROM Users
WHERE (Name = @Name)

in BLL class in have following :

UserBL.cs

[Code]....

Then i created login.aspx (User Interface )

[Code]....

But this did not work , it is just like it's not connecting to DB ..

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved