Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Parseable data store - VB.Net

Posted on 2014-03-05
7
Medium Priority
?
227 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Certified OpenStack Administrator Course

We just refreshed our COA course based on the Newton exam.  With 14 labs, this course goes over the different OpenStack services that are part of the certification: Dashboard, Identity Service, Image Service, Networking, Compute, Object Storage, Block Storage, and Orchestration.

 
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 2000 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

How To Install Bash on Windows 10

Windows’ budding partnership with Canonical has certainly led to some great improvements. One of them being the ability to use Bash on your Windows machine without third party applications! This might be one of the greatest things a cloud engineer in a Windows environment can do!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

722 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