Hot answers tagged

26

Fist off, if you want to test web UI like end users, then it probably shouldn't matter if your application is built using ASP.NET MVC or not. (It only implies you are looking for a .NET UI testing framework I assume.) I'm not sure why Selenium WebDriver itself was not listed by you, which will be the one I'd recommend. Because it dominates the market, where ...


14

You can do this with the normal Microsoft C# compiler. Though it isn't open source. Debately it is free, since it uses tools you already have. For C# file called XMLsample.cs csc XMLsample.cs /doc:XMLsample.xml will produce xml file XMLsample.xml. By applying a style-sheet to this, you'll have nice website. CSS should do, though for more significant ...


14

Doxygen seems like what would work for you. It can generate an on-line documentation browser (in HTML) and/or an off-line reference manual (in $\mbox{\LaTeX}$) from a set of documented source files. There is also support for generating output in RTF (MS-Word), PostScript, hyperlinked PDF, compressed HTML, and Unix man pages. The documentation ...


10

StackOverflow has a rather extensive post which details many of the available code-coverage solutions for C#/.Net. Content reproduced below, and all credit should go to the users of SO: NCover Seems to be very popular and looks quite good Supports statement coverage and branch coverage $658 for a Desktop License Older Beta-Versions available for free ...


8

AngleSharp: Actively developed/maintained Built-in support for CSS selectors


5

So, this is not really an answer (more of information) but it is to long for the comment field. Sounds like a fun project! I can only speak for XSockets but I am sure that someone else will fill in the blanks for the other techs. Since XSockets has "cross-protocol" communication and allows custom protocols as plugins the communicaiton can be done between ...


5

Putting in my 2c because I was following the accepted answer, but it turns out, Microsoft C# compiler is only doing a half-baked job. I.e., it only gives you an xml file. But to have a nice website, you'll still have to apply some style-sheet to it, and that's where the bridge is broken -- Microsoft C# compiler doesn't do that, and the Microsoft supported ...


5

To check whether the PDF is colored or BW, you can use Ghostscript (free, open-source, cross-platform): Example commandline: gs -o - -sDEVICE=inkcov /path/to/your.pdf Example output: Page 1 0.00000 0.00000 0.00000 0.02230 CMYK OK Page 2 0.02360 0.02360 0.02360 0.02360 CMYK OK Page 3 0.02525 0.02525 0.02525 0.00000 CMYK OK Page 4 0.00000 ...


5

Visual Studio 2015 is what you need. Microsoft provides a free community version.


4

MonoDevelop is a cross platform IDE that allows of editing C# and other .NET languages. It has: Mac OS compatibility Code Completion Auto indent User configurable keyboard shortcuts including Emacs and Visual Studio compatible profiles Great c# support Web Development support. Build, Run, Breakpoints, Error List etc. Please find a per-platform feature ...


4

You could use common mocking frameworks like FakeItEasy or Moq and solve some of your "advanced" scenarios with tools like Ionad.Fody and EnableFaking.Fody. These modify the compiled IL code (weaving) so that you can mock it. However there's limitations and you most likely won't be able to address all of your advanced needs.


4

ArgoUML is a freeware UML modeling tool that may work for you. It's primarily focused on Java development but it does have the option to generate code in C#.


4

Html Agility Pack I've used Html Agility Pack and, although its home page only explicitly mentions version 2.0, it works great with version 4.0 of the .NET framework. I suspect it works fine with version 4.5 too. Here's some example code using Html Agility Pack with LINQ: var document = new HtmlDocument(); document.Load(@"C:\Documents and Settings\Kenny\...


4

CsQuery is also very good HTML parser with CSS selectors. It generates same DOM as Gecko based browsers. It has also much better license (MIT) then Html Agility Pack (MS-PL), which is incomatible with GPL. This library is also very easy to use because it has jQuery like API. EDIT: Currently (25 Jun 2016) it is not actively maintained. So there is better ...


4

C# itself actually provides a method to detect what operating system you are running at a basic level. All of the OS' it can detect can be found in the link. Is this what you were looking for? OperatingSystem os = Environment.OSVersion; PlatformID pid = os.Platform; switch (pid) { case PlatformID.Win32NT: case PlatformID.Win32S: case ...


3

Visual studio 201X is your best choice. http://msdn.microsoft.com/en-us/library/dd409445.aspx The VS Diagram desginer is a UML tool that I've used for years.


3

WhiteStarUML It's in active development, has been around for a few years now, it's Open Source and the current maintainer does listens. Plus, it's easy to use, and it has the undo/redo feature that ArgoUML is missing. http://sourceforge.net/projects/whitestaruml/


3

Visual Studio Code is a new tool in preview from Microsoft. This Satya Nadella' Microsoft so it runs on Linux, Mac OSX, and Windows. Languages include HTML, CSS, Less, Sass, JSON. ASP.NET V5 and Nodejs. Intellisense. Bracket matching. Git support. regular expression searching in the search box. Peek Definition. support for multiple cursors. Parameter Hints. ...


3

A completely free possibility is Prig, which is even open-source. It may be a bit less user-friendly than the commercial alternatives, but seems to work quite well. Note that if the signature of the method doesn't match one of the pre-defined delegates it will silently fail to generate the method to mock it - you have to manually define the missing delegate ...


3

If you want something really fast, look in here: Majestic-12 : Projects : C# HTML parser (.NET) It won't be the easiest to use but it'll probably be the fastest.


3

CefSharp Why? Actively maintained You get the might of Chromium Let's you run any JavaScript. It's much easier to develop parsing this way. You go to your Chromium-based browser console and develop script you want. When you've written some little C# code basis, your way of development is just in to paste Javascript code from console without need to write C#...


3

You could try unity3d, it is a bit overkill for what you want but it offers a very good 3d engine and you can animate your objects with unity script (javascript-ish) or with C#. There are a lot of free tutorials and the software itself is free too.


3

I used the ZXing C# port with great success in my last project. ZXing Codeplex page One issue I found though was that when decoding the barcodes if the picture was too large it would not find the barcode. This might not be an issue for you if you are just using the generation part of the library. I used this function to shrink the picture if it was too ...


3

Have a look at my Clipper library. Open source freeware library coded in C# (and C++ and Delphi) with very permissive Boost license (which allows use in commercial apps without charge). Can be compiled directly into your applications, so external DLLs aren't needed. Offsetting (expanding & shrinking) is fully supported.


3

I recommend checking out the LEADTOOLS Multimedia SDK for this. This SDK includes support for standard streams such as RTSP and MPEG-2 Transport over UDP. LEADTOOLS also provides a proprietary stream specific for video conferencing applications with dedicated demos to illustrate this. You can set up a simple server and client in just a few lines of code. ...


3

Take a look at the Overlay Server from TortoiseHG: it is Open Source, GPL2, and as far as I know does not rely on any none free software tools implemented in a single file, TortoiseHgOverlayServer.py, of, at the moment, 553 lines including comments & blank lines. Works with Windows XP through 10. Very reliable but subject to the limitation that all such ...


3

I suggest Magick.NET: supports over 100 major file formats Open source Linked with ImageMagick, which is the reference in this domain, most image transformations (thumbnails, optimisations) on the web are powered by ImageMagick Example operations: Rezize, convert, combine, watermark, colorize, draw text and shape, EXIF Lossless compression if needed ...


3

If you are looking for a commercial library to use for this, I recommend checking out the LEADTOOLS Multimedia SDK. The LEADTOOLS Multimedia SDK is developed around the Microsoft DirectShow or Media Foundation libraries. You can use the LEADTOOLS PlayCtrl to load the video, navigate to the frame you wish to get the image from, then give you the image at ...


2

http://www.ninject.org/download.html is specified to support Mono2.0 and 4.0, at least ninject 3.0. You'd have to try out 3.2. With ninject.extensions.conventions you can scan assemblies as you like. You can specify filter (path, name,... ) or you pass it a path to all assemblies it should scan. Example usage: https://github.com/ninject/ninject....


2

We use Document! X and it works really well for us. You get the full API docs from the comments and the style sheets for it make it look very very nice. They're also really responsive on support. With that said, it's not free. But for what it delivers, I think it's well worth it. (We previously used a free program, not doxygen, and that ended up being too ...


Only top voted, non community-wiki answers of a minimum length are eligible