Dynamics CRM SDK, Templates and Developer Toolkit

To install the Dynamics CRM SDK, go through these steps. First, download the relevant SDK version. Here we will install for Dynamics CRM 2013. http://www.microsoft.com/en-gb/download/details.aspx?id=40321 Select to download: Run the downloaded exe: Click to accept: Select a location to extract the files. The SDK files will then be extracted: From here, you can browse to the Templates folder to install the SDK Templates for Visual Studio. Run the VSIX file: … Continue reading Dynamics CRM SDK, Templates and Developer Toolkit

JavaScript === (Triple Equals)

The triple equals sign in JavaScript means “equality without type coersion”. That means, the type and values must both be equal. Take for example the scenario where 0 is false. If we compare with 2 equal signs, the following statement is true. This is because the equality operator converts if they are not of the same type: 0 == false // true If we compare the same 0 and false … Continue reading JavaScript === (Triple Equals)

Using Fiddler with Web API

In this post, we will examine using Fiddler to send requests and receive responses from an ASP.NET Web API. I have a Web API sample that looks like the following: There are different HTTP verbs, including: GET PUT POST DELETE The Customers API is very simple – it integrates with a SQL Server table called Customers with 2 fields – CustomerId and CustomerName, with the data: Start Fiddler. We will … Continue reading Using Fiddler with Web API

Running a .NET Console App in Silent Mode

In .NET, you may need to run your console app in silent mode. To do this, create a new console app. Our app will open a webpage using IE: [sourcecode language=”CSharp”] using System; using System.Diagnostics; namespace Carl.SilentConsoleApp { class Program { static void Main(string[] args) { Process.Start("IExplore.exe", "www.test.com"); } } } [/sourcecode] To run in silent mode, set the Output type in the properties of the code to Windows Application: … Continue reading Running a .NET Console App in Silent Mode

Passing Arguments to a Console App using C#

In this post, we will create a console app that accepts arguments or switches. In Visual Studio, create a new console app: The args parameter gives us what the user has entered, e.g: sampleapp.exe -something /i dosomething Add some code to print the arguments the user has provided. We will print the first 2 arguments: Now, run the app and provide 2 arguments. We can see when we provide SampleArg1 … Continue reading Passing Arguments to a Console App using C#

JavaScript Error Handling

JavaScript contains different ways to handle errors. One way is using try/catch/finally. In the example below, variable y does not exist. try { var x = 1 + y; console.log(t); } catch(e) { console.log(“Error: ” + e); } finally { console.log(“Run finally”); } Running this produces: Note you can also use name, message and stack to get error information: try { var x = 1 + y; console.log(t); } catch(e) … Continue reading JavaScript Error Handling

Debugging TypeScript with Google Chrome and Node

To debug TypeScript using Visual Studio Code, install the Debugger for Chrome, located at: https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome: You will see the message: The debugger will now be installed: Let’s say in our environment we have: A folder called TS with TypeScript files A TS file called HelloWorld.ts Like below: [sourcecode language=”javascript”] class Greeter { greeting: string; constructor(message: string) { this.greeting = message; } greet() { return "Hello, " + this.greeting; } } let … Continue reading Debugging TypeScript with Google Chrome and Node

Installing TypeScript for Visual Studio Code

Visual Studio Code has support for the TypeScript language. To use it, create a new file with TypeScript code in Visual Studio Code: And save the file, we will see TypeScript as an option: We can see Visual Studio Code has TypeScript Intellisense: Visual Studio Code does not include the TypeScript Compiler (tsc). To install it using the Visual Studio Code terminal, type: npm install -g typescript You will see … Continue reading Installing TypeScript for Visual Studio Code

Scrum Daily Standup

The Scrum daily standup is a meeting that takes place each day of a sprint. The meeting is attended by the Scrum Master, Product Owner, and all team members. Other non-team members can attend the meeting in order to listen. The idea of standing up during the meeting is to ensure people don’t get too comfortable, which would lead to meeting inefficiencies such as one person dominating the meeting and … Continue reading Scrum Daily Standup

Installing TypeScript on Node

To install TypeScript on Node, run the command: npm install -g typescript Now let’s create a new TypeScript file. First create a directory for our TypeScript project called TS, and create a new file HelloWorld.ts: Run the TypeScript compiler command: tsc HelloWorld.ts This will create a new js file: With JavaScript code: