C# json file based database [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
For my very basic application, I am planning to design/use json-file based structure.
Simply, application is very similar to a rss reader. So data security is not a big concern.
There will be categories like news, sports, tech and media. I am planning to save information/objects under files like
media-todaysdate.json, so I can iterate through files by using date stamp.
Since files will be separated by dates I would not expect huge file sizes to create memory problem.
My question is that is there any framework that will help me to CRUD json files?
Or is there any easier way to manage information like mine?

You may want to take a look at Rob Conery's Biggy project.
https://www.infoq.com/news/2014/03/Biggy-Intro
It's a file-based store for JSON.

Related

Tool that imports C# source code into SQL server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Am having trouble googling for this type of product which am sure is out there so wondering if someone can point me in the right direction.
Is there a s/w tool that can import C# source code files into a SQL database and which then has a front end that allows a user to easily search for various things from that imported data - i.e: method names, types, etc
It would be a nice pet project to do in my own time but our team are looking for something out of the box and slick that is out there already - anyone know of any products?
Thanks
You wouldn't use SQL Server (or any RDBMS for that matter) for this because source-code files are not an example of relational data.
Instead you would run each source file through a parser and extract symbol names (e.g. type names, member/field/variable names, etc) then index them using a system like Lucene.

How to locally store tabular data [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
In my .net/c# application on windows desktop i need to locally store some statistics about the users behaviour.
This data should be read again the next time the application is running.
To simply explain the kind of data: it is basically key-value pairs.
I could use something like sqlite but i can imagine there is already something for this premade in .NET?
It comes down to what you want to store - for simple data objects you may use XmlSerialization that can be stored into IsolatedStorage area, specific to appdomain, or userlevel.
for more details: http://msdn.microsoft.com/en-us/library/cc221360%28v=vs.95%29.aspx
If it is relational then Sqlite is your option as well.
So the million dollar question is - what are you planning to store?
You can serialize the state using a binary file or even JSON
Not sure, what you want to achieve. Just keep the data? Or somehow access/process it? What you do with your data determines the data structure.
Among the others, you could put the items to array or List and access them with LINQ. Or you could use ADO.NET DataSet/DataTable, even without database behind it.

Implementing an Excel-like formula engine [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am looking for a professional tool that will enable me to implement an excel like formula engine.
I require support for custom functions, an editor (in winforms or WPF) which gives a descent user experience (Intellisense , auto complete, partial evaluation of the formula etc...)
All I could find so far are just back-end projects such as:
http://www.codeproject.com/Articles/17853/Implementing-an-Excel-like-formula-engine
http://www.codeproject.com/Articles/57264/Eval3-wrapper
And those do not provide any client side , only backend engine.
There are some Excel-formula-engines out there (mostly commercial) - but since you need a frontend too the only one I know of is SpreadsheetGear. Hope this helps...
Spreadsheetgear is one of the more established products. According to their site Microsoft also use their product?? It's expensive though.

Creating PDF File in Windows 8 Apps [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am creating a Windows 8 app which will need to export some content from a RichTextEditor to a PDF file.
Can anyone advise the best way of doing this and if there are any Free tools available
thank you.
You can use PDFCreator, there are lots of examples provided in many languages (including C#).
other option ITextSharp http://sourceforge.net/projects/itextsharp/
you need import the library that suport RTF or HTML

.net Email Template engine [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking to create emails, mainly HTML, based on templates -
I'd really like to do something like:
Set up my template, as an HTML (or
similar) file
Include tags, that are then replaced with specific data (kind of like mail-merge....)
I've seen this:
http://www.bitethebullet.co.uk/EmailTemplateFramework/tabid/58/Default.aspx
From searching on stack overflow, i understand nVelocity might be another option? But i can't find any examples to do what i want to do...
Any other suggestions?
This kind of functionality is already built in. See MailDefinition class. For more complex scenarios you might want to consider something like NVelocity. I've had a lot of success with StringTemplate's C# port.
I've just released an open source project for precisely this purpose. You can read some more details and grab the source code from my blog.
http://thecodedecanter.wordpress.com/2010/07/19/town-crier-an-open-source-e-mail-templating-engine-for-net/

Categories

Resources