Technical

How to configure IIS-Express for source-maps debugging?
   <system.webServer> <!-- Required for source-maps debugging, do not use in production environment because it exposes source code --> <...
Sun, 22 Feb, 2015 at 5:39 PM
How do I debug a DuoCode project in Visual Studio?
Visual Studio 2015 (which is currently in Preview/CTP stage) supports debugging using source-maps with Internet Explorer. Run your web project in Internet E...
Wed, 25 Feb, 2015 at 10:54 AM
Can I use DuoCode in my build system or Continuous Integration (CI) server?
Yes, DuoCode compiler is fully integrated with MSBuild, and even can be run as an MSBuild task, or as a command-line tool (dcc.exe). TODO: Add ...
Mon, 23 Feb, 2015 at 11:44 AM
How can I write to console from DuoCode project?
Just call the standard System.Console.WriteLine methods from .NET, and they will be translated to the right calls in JavaScript.
Mon, 23 Feb, 2015 at 11:57 AM
How do I convert an existing project to compile with DuoCode?
Edit the project’s csproj file, and after   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />   add the follo...
Mon, 23 Feb, 2015 at 12:08 PM
Can DuoCode translate structs from C# to JavaScript?
To maximize performance, C# structs are translated the same as structs but our compiler requires that all struct fields are readonly/immutable. That al...
Mon, 23 Feb, 2015 at 12:23 PM
What is the performance of the translated code?
We pay a lot of attention to the performance of the translated code and we use some optimizations like constant-value evaluation and substitution, foreach l...
Mon, 23 Feb, 2015 at 12:25 PM
Can I write unit tests with DuoCode?
Absolutely, in fact one of the provided code samples is an example of DuoCode unit tests written with QUnit.
Mon, 23 Feb, 2015 at 12:27 PM
What is Microsoft Roslyn?
Microsoft Roslyn is the (former) name of the Microsoft .NET Compiler Platform, a set of open-source compilers and code analysis API for C# and Visual Basic....
Mon, 23 Feb, 2015 at 12:33 PM
How can I access the HTML DOM from C#?
DuoCode comes with complete type definitions of the DOM. See namespace DuoCode.Dom. Example:    using static DuoCode.Dom; ... string userAgent =...
Wed, 25 Feb, 2015 at 10:59 AM