Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7564155
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:50:43+00:00 2026-05-30T13:50:43+00:00

At the company I work for, we are building a data warehousing application which

  • 0

At the company I work for, we are building a data warehousing application which will be a web based front end for a lot of queries that we run. [Using ASP.net]

Some of these queries will bring in over a million records (and by year end maybe around 2 million records) –

Most will be thousands, etc.

What is a good way to architect the application in such a way that you can browse to the query that you want, export it and have a CSV file generated of the data requested –

I was thinking a web based interface that calls BCP to generate a file, and shows you when the report has been created so that it can be downloaded, and expires within 24 hours of being created –

Any Ideas?

Sas

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T13:50:45+00:00Added an answer on May 30, 2026 at 1:50 pm

    I architected something like this in a former life. Essentially a C# command-line app that ran queries against our reporting server.

    Some key points:

    • It didn’t matter how long they took because it was in the background – when a file was ready, it would show up in the UI and the user could download it. They weren’t waiting in real time.

    • It didn’t matter how inefficient the query was – both because of the point above, and because the reports were geared to the previous day. We ran them off of a reporting copy of production, not against production, which was kept on a delay via log shipping.

    • We didn’t set any expiration on the files because the user could request a report on a Friday and not expect to look at it until Monday. We’d rather have a file sitting around on the disk than run the report again (file server disk space is relatively cheap). We let them delete reports once they were done with them, and they would do so on their own to prevent clutter in the UI.

    • We used C# and a DataReader rather than bulk export methods because of various requirements for the data. We needed to provide the flexibility to include column headers or not, to quote data or not, to deal with thousand separators and decimal points supporting various cultures, to apply different line endings (\r\n, \n, \r), different extensions, Unicode / non-Unicode file formats, and different delimiters (comma, tab, pipe, etc). There were also different requirements for different customers and even for different reports – some wanted an e-mail notification as soon as a report was finished, others wanted a copy of the report sent to some FTP server, etc.

    There are probably a lot of requirements you haven’t thought of yet but I hope that gives you a start.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My company is starting work on building a web-based RSS reader that users can
I'm currently building a web-based file upload/download hub for a company that wanted an
The company I work for is thinking of developing a LAMP SaaS Web application
I am building an ASP.NET web service that will be used internally in my
The company I work for is building a managed force.com application as an integration
I work for a company that is interested in building iPhone apps. However, we
I am currently doing some work for a company that runs a legacy web
For a little background, I work for a firm that develops web-based enterprise social
Company I work for will be receiving scanned images of forms from which we
The company I work for makes hardware that communicates to the computer though a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.