Best possible way to read word documents from database [closed] - c#

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have around 200 word documents generated with a console application. Which is the better: to store the document as such in database or just store the path in the file system??
Thanks in advance

For 200. What ever you are more comfortable with. You can control locks in the file system but probably easier in the db. If is was 200,000 then would be more reason for file system based on volume.

You should store the file itself on the file system and just the path to each file in the database.

Storing the actual documents' contents in a database is far more work and stress for the server than storing the filename/location on the database. Done properly you will be able to call the contents of the document into HTML or similar no problem.

Related

Dynamic aspx page or load from database? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm asked to build a simple web site. Every page of this site is mainly text. I want them to be able to change all the text dynamicly.
What is a better way:
1) To store all the text in database.
2) On text change replace existing aspx file with new one with changed text.
I would prefer a way where the changed pages will load faster on client side
Given these requirements, your best solution is a CMS (content management system).
There are plenty of options for asp.net, like Umbraco, DotNetNuke etc.
Doing this by storing all the text in the database will be just like implementing a CMS. The second option is really really old school. You may as well put static html pages on the server in that case.
You should change text in the controller. Don't replace pages.

which database is the best for working with single user and read only mode [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I should write little app, that will work with single table database in single user mode (only one user will be use it). This user only should view data on read only mode. He shouldn't change any data.
Data is going to be updated physically one time in a month by backup and/or copy past.
Which database is good for this? MS Access, ms sql express, ms sqlce? Application is going to be written on C# Windows Forms. And performance is necessary.
I would go for Sqlite: fast, easy with full ACID support.
It's easy: no services, no installation, just a file.
It's scallable: can have multiple tables and complicated relations between them, if it's neccessary for you, but do not have stored-procedures
Maybe an OODB is your answer. they are still faster in reading then anytype of SQL database.
I have used db4o and it's pretty amazing what it can do.

Open source photo mosaic for web application [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am looking for an open source tool to help me create mosaic images based on a series of given images. I've been searching the web but couldn't come up with anything web oriented solution.
Do you know any such tools?
Thank you
This might be what you are looking for: http://www.openprocessing.org/sketch/39934
If you download the code and make a new refresh.jpg it should work. The code is written in processing which is very similar to java and can be run as an applet online if the user has java enabled in the browser.
Creating images is normally something you would do on the server side but this might come close to what you are looking for: http://ajaxian.com/archives/mosaic-image-builder-with-ajax
if you just want to show your images in an mosaic way you could use something like masonry: http://masonry.desandro.com/index.html

How to generate Automatically resx files for project [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I want to generation automatically Resx files for my project, I've heared that there's program which does it.
Can anyone tell me it's name?
The only program I know is Visual Studio. You can easily create your own program by using the ResXResourceWriter class.
As Hans stated, for components such as forms and user controls, you can do this via the "Localizable" property. For other ".resx" files, you can easily create your own localized ".resx" file but it needs to be properly named (you can read up on this - Google for "satellite assemblies" for starters). If your goal is dealing with translations in general however, then unless your app is very small, this approach is difficult, tedious and error-prone (trying to track changed strings on your own for instance, whose existing translations have become obsolete). There are 3rd-party packages that can help you however, and I'm the author of one of them (in the interest of full disclosure). See http://www.hexadigm.com.

Binary Plist Serializing/Deserializing using C# [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have an iPhone client talking to a Windows server written in C#.The data from the device is sent as a binary plist.I am looking for a framework in C# that understands the binary plist and converts it into a dataset. On googling, I ran into plutil but that's a CLI and I need something that does it inline with the application.
Thanks
Plist serialization and de-serialization for C# and .NET.
I don’t know of any library for Windows that does this. But you might want to take the property list reading code from The Cocotron and port it to C#. It shouldn’t be too hard to do that.

Categories

Resources