.Net data processing suggestions
I am just starting to write an application. Part of what he needs to do is run queries against the nutritional information database. I have a USDA SR21 Datasets file as flat delimited ASCII files.
I need a consultation. I am looking for the best way to import this data into an application and query it easily and quickly at runtime. I will use it for all standard stuff. Dynamically populate Controls, Datagrids, Calculations, etc. I will also need persistent data storage for the user. This will not be a commercial application, so hopefully this will open up opportunities. I am very good at .Net Framework 3.5, so Linq is a feature when accessing data (just don't know if that would be the best solution or not). So what are some suggestions for persistent storage in this scenario? What scares should I be looking at? Of course, links to examples are always welcome.
source to share
It looks pretty small, so I would design a suitable object model, load all memory into memory, and then use LINQ to Objects.
I'm not really sure what you're asking in terms of "persistent storage" - aren't you just reading the data? Don't you already have this in your text files? I'm not sure why you would like to present anything else.
source to share
I would import flat files into SQL Server and access through standard ADO.NET functions. Not only is DB access always better (more reliable and powerful) than file I / O, since data queries and manipulations are in progress, but you can also use the caching capabilities of SQL Server, especially since this power data won't change either often.
If you need to periodically download updated flat files, then check out the development service that will automatically poll these files and import them into SQL Server.
EDIT: I mean SQL Server, but feel free to use any DBMS.
source to share