Is there a Fix implementation running under mono? [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Is there an implementation of the fix protocol running under mono (either free or commercial) ?
I found the following ones, but none indicates if the code it's mono compatible :
QuickFix
VersaFix
Onixs
B2Bits
RA-Cheetah

I tried the 2 open sources solutions :
QuickFix doesn't work on Mono because the .net bindings are developed in C++/CLI, which is not supported by Mono.
VersaFix however does run under mono without any changes, and its performances are quite similar under both platforms.

One possible solution: http://www.fixprotocol.org/discuss/read/adec4479
Other than this, there is nothing specifically designed that I know of, but it does look like each of the engines you mentioned does have a separate forum or mailing list you could try.
I can tell you that the way QuickFix is designed can be a real pain due to the way is uses identical classes in separate namespaces for each version of FIX.
Sorry dont have a better answer, good luck.

I suggest using the MoMA tool provided by http://www.mono-project.com/MoMA. I took the first one you specified "QuickFix" and downloaded the Binary version and scanned it with MoMA. The result was 273 Method calls that are not implemented.
It may sound like a lot but just like compiler errors, you fix a couple of things and the number goes down fast, also you have good odds that the parts you need will be fine and with the source for QuickFix available you may be able modify the code as needed or just throw some try{...}catch wrappers around those problem functions that you do need to use.
Of course you can try the same thing on the other available products, I just tried the first one. I believe MoMA will also work on obfuscated code, so you could test it on trial versions too.

I'm looking into Quickfix/N, which claims to be an open-source native .Net port of Quickfix, without native C++ bindings. In fact the API looks very similar to Quickfix/J (The java port). I will update this post if I find it not to be Mono-compatible.

Related

Combine a C# project into a single class file [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Are there any tools or methods for combining an entire c# class library (project) into a single class file.
My primary reason for doing this is because I would like to use some c# open source libraries but each library I add results in another project and another dll to manage and distribute.
If there was an automated way to merge / combine the files then I would still be able to compare the source and look for changes.
In addition, I suspect that if I modified all classes to be "internal" while combining then the compiler could discard everything I don't actually use.
The intention is to then use that class file directly inside my larger project.
My Project
Open Source Pieces
BarcodeLibrary.cs
CryptoLibrary.cs
etc ...
This was supposed to be a simple HowTo question but since I need to provide a philosophical justification...
The comments about using nuget are valid and applicable but I have had multiple experiences with projects built by pulling in a number of "internet" hosted libraries. Those experiences have NOT been joyous to say the least. I now prefer to take a much more hands on and selective approach when using external libraries and code.
Regarding Source Control. A single well structured file for a single project that you are never going to edit (except for updates) would help to reduce the clutter in a project instead of creating extra problems.
Update: I built what I needed and am testing the results, hope to return with a tool and example.
I would seriously recommend against doing such a thing. It makes code navigation a nightmare. Also your version control system is probably not going to like this. If you are worried about forgetting dependencies between your projects, I suggest using build tooling and dependency managers like NuGet to get these under control.
you can use Costura.Fody to bundle all your assemblies into one. I think this is the problem you are trying to solve.

Wrapper class for WIA/TWAIN for a C# application? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Is there a wrapper class somewhere for WIA/TWAIN functionality in a C# application?
Every search I make points to the same old 2001 CodeProject page, there has to be something new out there, right?
Maybe I'm not looking in the right place. :P
I need something really simple, like:
Image myImage = wiaWrapper.GetImageFromScanner();
Done and done.
Any guidance?
TwainDotNet
I've wrapped up the code from Thomas Scheidegger's article (CodeProject: .NET TWAIN image scanning) into a GitHub project.
I've cleaned up the API a bit, added WPF support and several people have added other improvements. I've tried to keep the API simple but it is still a bit more complicated that what you've got there.
Also this question has some other options: .NET Scanning API
Besides TwainDotNet maintained by Luke, I have recently noticed NTwain on NuGet (project page on Bitbucket).
Disclaimer: I work for Atalasoft
We publish DotTwain, which is a .NET TWAIN SDK. It's royalty-free and is used in InspectorTWAIN.com to help certify TWAIN drivers (we're members of the TWAIN working group).
Our product is a .NET Assembly that wraps interop calls.
You could also take a look at EZTwain from Dosadi, which is free. I don't know how native the .NET support is, but they have a way of calling from .NET.
As for a WIA C# wrapper, I came across ScanWIA on Codeplex. It doesn't have a whole lot of documentation. However, reading the source code might help.

What are good tools for identifying potentially duplicated code for C# Express users? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
see also "Any tools to check for duplicate VB.NET code?"
A friend of mine only has access to the Express editions of Visual Studio and I am trying to help him refactor to remove a lot of duplication.
You could take a look at Simian or DuplicateFinder. Neither have a dependency on the IDE, although you can integrate Simian quite easily.
Clone Detective appears as though it might work for you. I haven't used it before, but I stumbled across it on codeplex this week.
Your friend should take a look at Gendarme, a FOSS and cross-platform alternative to Microsoft's FxCop/Code Analysis which is part of the Mono project. It includes rules that check for duplicated code.
Try Atomiq:
Atomiq Code Similarity Finder is a tool for developers to find and eliminate duplicate code. It is designed for .NET developers, but works equally well for developers of other languages and even web designers!
Atomiq works with a wide variety of source code:
We currently support C#, VB.Net, ASPX, Ruby, Python, Java, C, C++,
ActionScript, and XAML, with more extensions on the way soon. It is
the perfect companion tool for someone who updates their code
infrequently and can't possibly remember everything in it or for a
team of 2 or more developers working on the same project that don't
know everything in it since they didn't write it all themselves.
Eliminate similar code
(and the banging your head against the wall that comes with it) Atomiq
doesn't just find exact matches, it finds similar code. It ignores
"fluff" like whitespace, string content, curly braces, comments and
using/import statements so you can find the duplicate code that causes
problems. In VB.NET, it will also ignore lines that contain only
"Next", "End While", "End Try", "End If", "End Property", "End Get"
and "End Set".
More as fyi, since you mentioned 'express edition' you might need to look for something that would work outside of VS, since I don't believe the express editions support plugins
See our CloneDR, which operates on many langauges, including C#.
EDIT October 2010: VB6, VBScript and VB.net added as languages supported by CloneDR.
There is no specific support for MS IDEs, but it operates on a simple list of source files, and produces a nice HTML report, so not much integration is needed. See sample reports at link.

Looking for collective intelligence .Net / C# resources [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Firstly, I realise that this is a very similar question to this one: Which are the good open source libraries for Collective Intelligence in .net/java?
... but all the answers to that one were Java centric so I am asking again, this time looking more for .Net (idealy C#) ideas.
A little background; I recently read Toby Segran's excellent book on CI, and I just got hold of Satnam Alag's book (which I am sure is also excellent, but I have only just opened it). These are Python and Java centric, I don't have any trouble reading the code samples, but as I am a C# developer it would be fun to play with some of these ideas in my native language. I've had a search of the web and SO and not come up with too much. In a way this is great news, maybe I could port something to .Net (suggestions welcome), but I'd also really like to take a look at any existing projects before I do this.
So, are there an CI fans out there working in .Net with OS projects, have I missed some glaringly obvious and interesting books/sites/blogs?
I realise CI is a pretty broad field, so to narrow it down a little I am primarily interested in the clustering / prediction /recommendations areas, but am open to other ideas.
Edit: Just spotted this book about to be published by Manning which may interest CI fans: Algorithms of the Intelligent Web.
Edit Clarification in response to comment by Moose; what I am looking for really is libraries, frameworks or larger-scale projects (idealy OS) that use CI techniques with .Net. Code samples are great, but as Moose said in his comment it is easy enough to take Java examples and port them. For example, there is an interesting looking project written in Java called WEKA, there is no reason I can't use this and experiment with it, I was just curious to know if there were similar things going on in .Net. I have just been browsing info on Lucene and I see that there is a C# port of that, so that's a start... are there any more out there?
Edit This is not C#, but it is .Net; Robert Pickering has started collection F# CI resources here. Looks interesting, but I'm still looking for C# info too.
Here's a link for a slope one predictor for rating-based collaborative filtering:
C# Implementation of Slope One
Microsoft Research ( full disclosure: I work at Microsoft, though not in the group that released this tool ) has just released a machine learning library in .NET called Infer.NET.
link text
You might want to check it out.
This library has:
Supervised
Perceptron
Kernel Perceptron
KNN
Decision Trees
Unsupervised
Hierarchical Clustering
KMeans
It is called Machine Learning for .NET.

C# Common Library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I'm hoping to find an open source .net common library, but I'm having a hard time finding one.
What I'm looking for a is something that contains : Logging, Caching, String Manipulation, Config Reading, ext?!?.
Do you know if anything like this exists or is this more likely something that I will need to create myself?
Use Microsoft Enterprise Application Blocks
Get it from here
http://msdn.microsoft.com/en-us/library/cc467894.aspx
Source code here
http://www.codeplex.com/entlib
Microsoft Enterprise Library - Built by Microsoft, source code is available
Spring.NET - Open source development framework
Kev:
Just a bit more elaboration, I've spent quite a bit of time trying to reuse code from other frameworks:
Here is a breakdown based on feature sets:
Infrastructures frameworks( config, logging, caching, etc)
SpringFramework.NET - ( Port of the popular Java SpringFramework )
Microsoft Enterprise Library - Microsoft "answer" to SpringFramework.
Frameworks providing ActiveRecord or Ioc(Inversion Of Control) or Code generation:
Castle Project
http://www.castleproject.org/index.html
SubSonic
http://subsonicproject.com/
NetTiers
http://nettiers.com
Finally, you may find many other smaller libraries, frameworks on CodePlex.com
Some that are of note:
CommonLibrary.NET
http://commonlibrarynet.codeplex.com/
DotNet Commons
http://dotnetcommons.codeplex.com/
All that is built into the framework, so all you really need is mono.
Check Nido Framework too
Nido is a code framework, a common project, an architectural pattern, written on Microsoft .NET/C# 4.5, to help software engineers to develop their systems faster.
Other than automatically building/ architecting the back end code for you.. it also help you in
Handling of log-in exceptions, display user friendly messages, tracking errors.
Tracking changes done to important data items which is also called audit trails
Validating records and encrypting sensitive data to protect their privacy
Controlling complexity by mean of handling complex problems in one standard way
Set standards pattern for coding
Logging - have a look at Log4net

Categories

Resources