##Preparation:
-
Get Nuget CsvHelper
-
Copy extension method to My Extensions in LinqPad
##Usage:
- Write your query (C# Statements)
| <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.min.js"></script> | |
| <style> | |
| ul {padding-left:0} | |
| li {list-style-none;margin-bottom:10px;} | |
| </style> | |
| <script> | |
| angular.module('liveSearchModule', []) |
| public class ArticlePageViewModel { | |
| // use partial view "TopMenuViewModel.cshtml" | |
| public TopMenuViewModel TopMenu {get;set;} | |
| // use partial view "WidgetsViewModel.cshtml" | |
| public WidgetsViewModel Widgets {get;set;} | |
| // use partial view "ExtraWidgets.cshtml" | |
| [UIHint("ExtraWidgets")] |
| update cmsDocument Set templateId=null | |
| DELETE FROM [dbo].[cmsDocumentType] | |
| DELETE FROM umbracoNode WHERE nodeObjectType = '6FBDE604-4178-42CE-A10B-8A2600A2F07D' | |
| DELETE FROM [dbo].[cmsTemplate] |
| @using Microsoft.Azure.Documents | |
| @using Microsoft.Azure.Documents.Client | |
| @using Microsoft.Azure.Documents.Linq | |
| @using Newtonsoft.Json | |
| @using Newtonsoft.Json.Bson | |
| @using Newtonsoft.Json.Converters | |
| @using Newtonsoft.Json.Linq | |
| @using Newtonsoft.Json.Schema | |
| @using Newtonsoft.Json.Serialization | |
| @using System.Threading.Tasks |
| 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" | |
| }, |
##Preparation:
Get Nuget CsvHelper
Copy extension method to My Extensions in LinqPad
##Usage:
| <?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"/> |
| <?xml version="1.0" encoding="utf-8"?> | |
| <configuration> | |
| <location path="." inheritInChildApplications="false"> | |
| <system.web> | |
| <compilation debug="true" targetFramework="4.5"> | |
| <buildProviders> | |
| <remove extension=".cshtml" /> | |
| <remove extension=".vbhtml" /> |
| 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()" |
| <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')" /> |