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
I've built a robust system that has many core functions that might actually get mess to use if I keep on expanding the code - therefore I decided to implement a scripting language and ability for program to read scripts from external files.
My first idea was to use C# by default, but then I've remembered how easy and readable Lua was, so I went with that - sadly, I can't find a simple yet effective library that would allow me to incorporate lua into my software.
tl;dr — is there a simple library one could use to implement lua and thus make usage of software built-in functions way easier? What are your thoughts and opinions on that?
First, there's MoonSharp.
I did experiments with it a while ago. Ultimately, I found it unsuitable for my needs, but it was straightforward to make use of.
Edit: dug up my GitHub repo where I tried this out.
Related
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 7 years ago.
Improve this question
JNA has a great collection of native functions, constants and structures. I need a similar library for C#. But I can not find anything after a lot of searching. Does anybody know any alternative for JNA library in C#?
I don't know a direct equivalent of JNA for C#. However, by using P\Invoke you can call any (or almost any) native function. Another aproach migh be to use COM Interop. Here is a general article about interoperability in C#.
As you said using P\Invoke might be troublesome. But, there is pinvoke web site which might be very helpful. It contains declarations of many native funcions, structures... ready to use.
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
I am building a plugin configuration application and I am looking for simple sample plugins approach in order to have clear idea where and how to go.
I have go through MEF description a bit but I think it is a bit to heavy to what I am intend to do.
Any one have play around such approach and samples ?
MEF makes plugins very easy to implement. It has more features, but you don't have to use them. I recommend using it - it is not such a heavy library.
It is almost as simple as decorating the types with an attribute and you are ready to go.
I am hoping that these link will helps you for plugin model using csharp...
pluginsincsharp
csharp plugin_architecture
c sharp approach for a simple plugin service provider model
different code dep
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
I am looking for some sort of API similar to Photoshop functionality, I need to create an image using layers/masks/filters programmatically.
An example: I know how to make a nice button in Photoshop, there is a sequence of simple actions. What I want is to automate this process and generate an image of the button on the fly with a few input parameters.
I think I am not the first one who came up with such idea, there must be some library out there that does this thing. Unfortunately I cannot find anything.
Thanks!
You failed to mention if the library needs to be free/open source or if commercial libraries are acceptable but one of the best out there is GdPicture.NET. I doubt you'll find anything free that is remotely comprehensive but a good free one is Filters library (LGPL).
i don't think there is an API like this
but there is free open source software which is Paint.net
get it here
http://www.getpaint.net/download.html
see source code here
http://www.afterdawn.com/software/source_codes/paint.net.cfm
hope it helped
GDI+ in .NET?
Although I haven't used them you could take a look at:
Emgu CV: http://www.emgu.com/wiki/index.php/Emgu_CV
or OpenCvSharp : http://code.google.com/p/opencvsharp/
ImageMagic have layers support http://www.imagemagick.org/Usage/layers/ and there is Net wrapper
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
I'm starting a new project in .NET which will require some geometry algorithms, such as:
checking if a point is inside a polygon
bezier curves
line intersections, etc.
I've found some libraries, however, they are paid/expensive, these include:
G# - http://www.ceometric.com/store.html
DigitalRune Geometry - http://www.digitalrune.com/Products/Geometry/Overview.aspx
NLIB - http://www.smlib.com/nlib.html
sgCore - http://www.geometros.com/sgcore/index.htm
These do what I need and much more, which makes me spend too much money on something that won't get used so much.
I've found some open source projects:
MATH.NET
alglib
anti-grain (C# bindings/port)
But these do less than I need, however, they're easy to find when you look on google. After some time searching, I've found this library:
Tektosyne (http://www.kynosarges.de/Tektosyne.html)
Which does most of what I need. It is also free of charge and is provided "AS-IS". Which is good.
However, if you search google for "Tektosyne", you find very few results. So my question is (for those who have experience with some "advanced" usage of geometries in c# of StackOverflow):
Do you have another libraries to recommend or why is this library not "popular"?
Have you looked at this?
github.com/DotSpatial/DotSpatial
Or
NetTopologySuite https://github.com/NetTopologySuite/NetTopologySuite
I assume you're looking for something for WinForms. If you haven't looked into WPF yet, the functionality that you mentioned is all available there. Plus you could always host a WPF Control in a WinForms program.
We are using sgCore in our 3D programs. Beautiful library. We are purchased full sourcescodes - very clear code inside.
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
I need to minify some C# code in a handful of Silverlight .cs and .xmal files. What are your tips for maintaining one code base and running a "tool" to generate minified code for a project?
Are there any tools (like Resharper) that will do this? If not fully, partially or assist in some way...
EDIT: I realize that there is no need for C# minification. This is an exercise that I'm doing that does not make sense on the face of it. (This is not homework.)
How about a source-code obfuscator? They generally abbreviate names, etc - and certainly remove white space.
For example, here, with demo here (although you'd probably want to disable the string encoding if possible). Note that this isn't a direct recommendation: this is just the first hit I got for C# code obfuscator.
Is that necessary? It was my understanding that the compiled .Net assembly would be sent across the wire, not the C# (or whatever language) source code.
Here are two "Lessons Learned" posts from other 10k entrants:
Thoughts on the MIX 10K challenge
MIX09 10K Smart Coding Challenge