Solved

Parseable data store - VB.Net

Posted on 2014-03-05
7
197 Views
Last Modified: 2014-03-23
We have a requirement to have multiple programs write to a single parseable data store on a PC. The programs are written in VB.Net 2008.

The method needs to be thread safe.

What methods can we use to do this.
0
Comment
Question by:ChloesDad
  • 3
  • 3
7 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 39909028
A database like SQL Server would be best suited.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 39909078
It all depends on what you mean by "parseable", and how you intend to store and retrieve the data.  You could use a relational model, like MySQL or SQL Server, or you could use a No SQL system like MongoDB.
0
 
LVL 15

Author Comment

by:ChloesDad
ID: 39909304
What I mean by parseable is that its not just a flat text file.

We were thinking of using WCF as this is all built into the framework and does not require any additional costs to us or our clients, but are there any other methods available that we should consider
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 96

Expert Comment

by:Bob Learned
ID: 39909401
What kind of data are you storing?  WCF is a communication channel, not a data store technology.  Also, think about Web API or ServiceStack, instead WCF.

ServiceStack
https://servicestack.net/
0
 
LVL 15

Author Comment

by:ChloesDad
ID: 39910170
It is going to be an audit log of actions that are made by users of the system. There are at least three programs that need to write to the same log. The programs have multiple threads running at the same time that may need to write out data to the audit log.
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 39910296
That sounds like a job for a logging assembly, like Log4Net or Enterprise Library logging.
0
 
LVL 15

Author Comment

by:ChloesDad
ID: 39948647
Thanks for the suggestions.

We have decided to use this logging assembly http://www.theobjectguy.com/dotnetlog/ as it gave us the tools we needed and the source code so that we could modify to meet out own exact needs.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now