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
Requirements:
free, preferably open-source
implemented in one of the .NET managed langs
Google found these:
A Generic, Reusable Diff
Algorithm on codeproject
An O(ND) Difference Algorithm for C#
Diff/Merge/Patch Library for C#/.NET by Joshua Tauberer
EDIT:
No apps please, only libraries.
You can grab the COM component that uses Google's Diff/Patch/Match. It works from .NET.
Update, 2010 Oct 17: The Google Diff/Patch/Merge code has been ported to C#. The COM component still works, but if you're coming from .NET, you'll wanna use the .NET port directly.
I think the "Generic - Reusable Diff Algorithm in C#" on Codeproject is the best you can find as a .NET-Engine for diff/patch/merge. I made a project on my own with it and it fits my needs with most scenarios. There are one or two worst-case scencario when the algorithm made the patch-file larger than it have to be. But in most of the cases it works just fine for me (textfiles with a size of >30 MB).
I'm currently testing another Codeproject-Project you can find here: http://www.codeproject.com/KB/applications/patch.aspx
It's using some DLLs from Microsoft for patching, so it looks interesting. But those DLLs are unmanaged and this project is only some sort of wrapper for it. But maybe it can help you
Edit:
Just found another project, DiffPlex: http://diffplex.codeplex.com/
It's a combination of a .NET Diffing Library with both a Silverlight and HTML diff viewer. As stated there, DiffPlex is the library that CodePlex leverages to generate the diffs of files.
GitSharp includes a diff engine based on meyers diff. Take a look at the demo which implements a simple wpf diff viewer based on the Diff.Sections collection: http://www.eqqon.com/index.php/GitSharp#GitSharp.Demo
None of the answers so far (except possibly the GitSharp reference) deal with 3-way merge, so in case it helps anyone I recently ported Tony Garnock-Jones' javascript diff3 implementation (from the synchrotron project, based on Hunt and McIlroy 1976) to C#.
It's a simplistic single-file port of diff and three-way merge methods, but it's the standard algorithm and so far works very well for me: https://gist.github.com/2633407
Related
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
I'm creating a Windows 8/Metro App and am looking for a library that can generate PDF documents programmatically (that can either be printed or emailed by the user).
I've found some C# libraries for PDF writing (http://itextpdf.com/ for example) but I've been unable to get them to work in Windows 8.
Any help would be appreciated.
After an exhausting search, I've found the answer to my own question: Siberix Report Writer (www.siberix.com). They have versions for .NET, Silverlight, Mono for Android, AND for Windows Store. The binaries are only $199 ($3500 if you want source).
It is very easy to wrap into your application, comes with great code examples, and the technical customer service is very quick and helpful (thank you Victor).
One of the best third party products I've seen in a long time.
There are some paid pdf libraries for WinRT but nothing free yet.
ComponentOne has now released their .NET PDF library for Windows Runtime.
meanwhile there are quite a few libraries that support Pdf generation. You'll find a good overview in Mike Taulty's Blog.
However, I ran into issues when I was trying to annotate existing Pdfs. The existing libraries capable of (transparent) annotations are quite pricy. Therefore, I ended up annotating the Pdf on the server side.
Feel free to read more about my experience at Mils's blog.
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
I have a WPF and C# application, and I want to know if it can be ported to silverlight. Is there a tool to analyse the dependencies and tell me what I can't use, and what I can ?
Thanks.
As far as I know there is not. The best way to find out is to create a Silverlight project and copy your code across, then start analysing all the build errors. It is not a great solution, but I don't know of any better way.
As an aside, there is a nice white paper that details the differences between WPF and Silverlight here:
http://wpfslguidance.codeplex.com/Release/ProjectReleases.aspx
I have not seen such tool, but there is WPF compatibility list on MSDN which i use.
I've just remembered that when I tried to port a C# app to Linux/Mono I used Moma analyser, it helps to identify issues you may have when porting a .Net application to Mono, and I know that Mono only implement Silverlight not WPF, so I will give it a try.
And you can see and change the data for what Moma consider to be implemented or not. In the Definition directory there is a 2.8-4.0-defs.zip file, inside there are 4 text files exception.txt, missing.txt, monotodo.txt, and version.txt, it is 3 lists of functions that will produce errors. So maybe someone can scrape the info about what Silverlight implements, and change the files accordingly.
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
im seaching some good quality open source project in .net, according this topic
https://stackoverflow.com/questions/143088/open-source-c-projects-that-have-high-code-quality
i found intresting open source projects like "Sharp develop", its great because i can build & run it without problem, but i would like learn how it was developed in deep, learning from only source code without well documented classes, pattern used in project, techniques etc is difficult task. Can anyone provide information about project which i can understand easier.
thanks for suggestions.
nopCommerce - open source shopping cart.
http://www.nopcommerce.com/default.aspx
I recommend iTextSharp (.NET Port of iText, written in C#), a open-source library used for PDF generation on-the-fly. I've personally worked on it..used the DLL version for my project, but was checking out the code to see how it was written..
http://sourceforge.net/projects/itextsharp/files/
Maybe Noda Time is an option, John Skeet's .Net port of Joda-Time. The User Guide looks good and...I mean, he's known for good quality code ;)
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
Is there C# (.NET) library for Lego Mindstorm NXT, which is up-to-date?
NXT.NET for LEGO Mindstorms
last update 18.04.2008
http://nxtnet.codeplex.com/
MindSqualls
last update 05.06.2007
http://www.mindsqualls.net/
Lego .NET
last update 07.04.2005
http://www.dcl.hpi.uni-potsdam.de/research/lego.NET/weblog/
I know, there is MS Robotic studio, but my question is not about that.
I made the source code for the NXT.NET library available on CodePlex, but unfortunately it is true that the development of the library has stalled :(
You can find the source code here for download:
http://nxtnet.codeplex.com/releases/view/12686
As far as I can tell, There is no source code available for NXT.NET for LEGO Mindstorms despite the project being hosted on codeplex. The library is not really complete yet - and it would seem that development has stalled.
The MindSqualls library has not been updated recently, but still appears fairly complete and usable. Some recent modifications are available elsewhere.
You've said you aren't interested in MS Robotics Studio but that works well with Lego NXT. Personally, I would find it had to justify using something else other than "for the challenge" of doing so.
The microsoft robotics SDK (for .net) is compatible with mindstorms.
I used AForge.NET for my project. (http://www.aforgenet.com/)
The last update was February 23, 2012.
It makes controlling the Lego Mindstorm NXT very easy.
http://www.aforgenet.com/framework/features/lego_robotics.html#nxt
You can just send down real-time / Direct commands to the NXT in its native format. You don't necessarily need the NXT library.
It sounds like you are using the library, however it can be easily augmented by just sending a command to the com port that the NXT is connected up with. Here is a great tutorial on the NXT direct commands:
http://www.robotappstore.com/Knowledge-Base/Programming-LEGO-NXT-Mindstorms/92.html
-Hope this helps!
I tried to use MRDS, and could not do it. The whole system with services and many twists in most cases only complicates everything.
Now I try to understand AForge and MindSqualls, until they look much better.
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
(I asked this question but did not receive much response. It was recommended that I ask the same question with regards to C#. )
I am a VB.NET developer with little C# experience (yes, I know I need to write more in C#), looking for small open source projects that demonstrate high unit testing coverage from which to learn.
I'm looking for small projects because I don't want to have to wade through a ton of code to get a better understanding of how to apply unit testing in my own situation, in which I write mostly IT business apps used internally by my company.
UPDATE: Original question that got me asking about this is here
My MiscUtil library has variable test coverage - some parts are very thoroughly tested, and others were written before I knew about unit testing.
If you wanted to learn by writing some tests for the uncovered stuff, you'd be very welcome :)
It's a big of a grab-bag of useful bits and pieces - which is handy in some ways, as you can take almost any bit and study it on its own. There's no "overall architecture" to learn.
I recommend looking at CarTrackr it has a wide range of .Net technologies that a developer should be familiar with (Unity, MVC framework especially) and has extensive unit testing. The project is simple enough to digest in 1 sitting but complex enough to actually be more than a proof-of-concept. Their codeplex url is at http://www.codeplex.com/CarTrackr
Try looking at FileHelpers (http://www.filehelpers.net/). I recently had to make an edit to it and found the source code easy to wade through. It has a large number of tests.
this link is related to Silverlight but the concepts are probably very similar (from a TDD'ish point of view): http://www.jeff.wilcox.name/2008/11/04/test-framework-source/
My GeoNames .NET WCF Client
codecampserver.org