Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Design and Architecture
  4. Document Archiving

Document Archiving

Scheduled Pinned Locked Moved Design and Architecture
csharpasp-net
5 Posts 2 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Brady Kelly
    wrote on last edited by
    #1

    I'm looking at implementing document storage and versioning for our ASP.NET application, and I would appreciate some input on various methods used, designs etc. Google seems to just yield adverts for document archiving systems, but I would like to investigate implementing our own as well.

    P 1 Reply Last reply
    0
    • B Brady Kelly

      I'm looking at implementing document storage and versioning for our ASP.NET application, and I would appreciate some input on various methods used, designs etc. Google seems to just yield adverts for document archiving systems, but I would like to investigate implementing our own as well.

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      Brady - effectively there are two mechanisms for achieving this. The first is to store the file in a database and use triggers to help you achieve versioning. The second is to store the file on a disk, and then store the path to the file (probably in a database). If you choose to store the path, you need to rename the file to something unique (e.g. a GUID), and map this back to the original filename in the database - fortunately this is incredibly easy to do. I'm unsure as to what you ultimately need to know, so if you want to refine your question or ask for more information, let me know.

      Deja View - the feeling that you've seen this post before.

      My blog | My articles

      B 1 Reply Last reply
      0
      • P Pete OHanlon

        Brady - effectively there are two mechanisms for achieving this. The first is to store the file in a database and use triggers to help you achieve versioning. The second is to store the file on a disk, and then store the path to the file (probably in a database). If you choose to store the path, you need to rename the file to something unique (e.g. a GUID), and map this back to the original filename in the database - fortunately this is incredibly easy to do. I'm unsure as to what you ultimately need to know, so if you want to refine your question or ask for more information, let me know.

        Deja View - the feeling that you've seen this post before.

        My blog | My articles

        B Offline
        B Offline
        Brady Kelly
        wrote on last edited by
        #3

        Thanks Pete. We already use the stored path approach, but I've just met with my team lead, and the requirement wasn't described very well. All I need to do is move older documents 'off-site', i.e. remove them from the operational folder, on demand. The versioning actually refers to database based documents such as cost estimates, invoices etc.

        P 1 Reply Last reply
        0
        • B Brady Kelly

          Thanks Pete. We already use the stored path approach, but I've just met with my team lead, and the requirement wasn't described very well. All I need to do is move older documents 'off-site', i.e. remove them from the operational folder, on demand. The versioning actually refers to database based documents such as cost estimates, invoices etc.

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          Brady Kelly wrote:

          the requirement wasn't described very well.

          Isn't that always the case. Not only do the lunatics end up running the asylum, they get to decide who gets committed there as well.

          Deja View - the feeling that you've seen this post before.

          My blog | My articles

          B 1 Reply Last reply
          0
          • P Pete OHanlon

            Brady Kelly wrote:

            the requirement wasn't described very well.

            Isn't that always the case. Not only do the lunatics end up running the asylum, they get to decide who gets committed there as well.

            Deja View - the feeling that you've seen this post before.

            My blog | My articles

            B Offline
            B Offline
            Brady Kelly
            wrote on last edited by
            #5

            I'm quite lucky. Nearly all issues are logged internally, and only require a ten minute, in office, chat to sort out. At least we don't work off specs for this, the paperwork would be enormous.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups