(1) = exists in preview state (2) = planned next (3) = planned
- completely free and open source
- convention over configuration
- simple to use
- reliable
| using System; | |
| using System.Web; | |
| using Microsoft.AspNet.SignalR; | |
| using System.Collections.Generic; | |
| namespace SignalRChat | |
| { | |
| public class ChatHub : Hub | |
| { | |
| /* Lock dictionary between read and write */ | |
| public T Do(string key, Func<T,T> func){ | |
| lock (_dictionary) { | |
| var originalValue = get<T>(key); | |
| var newValue = func(originalValue); | |
| set(key, newValue); | |
| return newValue; | |
| } | |
| } |
| using System; | |
| using Microsoft.VisualStudio.TestTools.UnitTesting; | |
| using OrigoDB.Core; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| namespace PlayingWithOrigoDB | |
| { | |
| [TestClass] | |
| public class QuickStartGuide |
| function flt(fieldName) { | |
| var parsedValue = parseFloat($('#' + fieldName).val().replace(",", ".")); | |
| if (isNaN(parsedValue)) parsedValue = 0; | |
| $('#' + fieldName).val(parsedValue); | |
| return parsedValue; | |
| } | |
| function recalculate(reset) { | |
| var r1 = (flt("i1") * 1000 - 2 * flt("i4")); | |
| $("#r1").val(Math.round(r1)); |
| void slowTask(){ | |
| Console.WriteLine("Prints after"); | |
| } | |
| void Main() | |
| { | |
| Task.Run(()=>slowTask()); | |
| Console.WriteLine("Prints immediately"); | |
| } |
| <Import Project="$(FSharpTargetsPath)" Condition="Exists('$(FSharpTargetsPath)')"/> | |
| <Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets" Condition=" Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets')" /> |
| 1) tried to run the express project got the error | |
| Error creating Node.js Express App. Wrong express generator | |
| http://devnet.jetbrains.com/message/5513598#5513598 | |
| 2) tried to run the nodejs boilerplate and then the initproject.bat | |
| Fails as mongodb "Not compatible with your operating system or architecture.. x64" | |
| 3) tried to run a basic nodescript created from outside webstorm. No packages installed. Runs nicely, but no intellisense "Unresolved function require()" |
| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- | |
| For more information on how to configure your ASP.NET application, please visit | |
| http://go.microsoft.com/fwlink/?LinkId=152368 | |
| --> | |
| <configuration> | |
| <configSections> | |
| <sectionGroup name="dotNetOpenAuth" type="DotNetOpenAuth.Configuration.DotNetOpenAuthSection, DotNetOpenAuth.Core"> | |
| <section name="messaging" type="DotNetOpenAuth.Configuration.MessagingElement, DotNetOpenAuth.Core" requirePermission="false" allowLocation="true"/> | |
| <section name="reporting" type="DotNetOpenAuth.Configuration.ReportingElement, DotNetOpenAuth.Core" requirePermission="false" allowLocation="true"/> |
| Time to create connection and get collection 2513 ms | |
| Time to perform simple query 448 ms | |
| Andersen family: | |
| { | |
| "id": "AndersenFamily", | |
| "lastName": "Andersen", | |
| "parents": [ | |
| { | |
| "firstName": "Thomas" | |
| }, |