Promises make asynchronous processing simple, consistent and easy to use. And, with TypeScript and Promises.TypeScript providing support for generic Promises, you get both type safety and IntelliSense support.
Now that you know how to use them (see Part 1 if you don't), it's time to create custom ones.
- By Jason Roberts
- 03/26/2015
Peter's convinced you're not using Shared and static members enough, but then he's also convinced that none of you know about all the ways you can use those two keywords.
You don't have to give up on creating dynamic queries just because you're using Entity Framework. Entity SQL and ObjectQuery will let you generate queries at runtime and still let you update your data through Entity Framework.
SharePoint 2013 workflows for automating common business processes can be deployed as SharePoint apps built using Visual Studio.
- By Malin De Silva
- 03/12/2015
Adding real-time diagnostics and communication to a Windows Phone 8.1 application is no challenge for SignalR.
- By Nick Randolph
- 03/10/2015
It's more complex than back propagation, but Rprop has advantages in training speed and efficiency.
- By James McCaffrey
- 03/09/2015
Xamarin.Forms gives you the gift of XAML if you're looking to take the short route to building mobile interfaces.
- By Wallace McClure
- 03/05/2015
You don't have to reinvent the Web site to publish some documentation for your project. Take advantage of GitHub Pages to build almost point-and-click doc sites.
- By Terrence Dorsey
- 03/04/2015
In this three-part series, we'll build an ASP.NET MVC application for managing a simple list of contacts, and in the process we'll show some of the direct benefits of test-driven development.
Here's the simplest possible code for creating a custom collection class in the Microsoft .NET Framework that includes support for For…Each loops, an indexer method and initializing collections with {…}.
Writing automated UI tests for your iOS and Android apps might not be as difficult as you think. Learn how to set up tests for your apps with Xamarin.UITest.
- By Greg Shackles
- 02/17/2015
The TypeScript approach to data typing is different than what you're used to with server-side languages. This allows the language to integrate with other JavaScript libraries, but the results can surprise you.
Be triple sure your code works by augmenting your test platform. This nifty open source library will do that.
- By Jason Roberts
- 02/12/2015
It's a little more than one month into the new year, and there's a wave of new Visual Studio extensions available specifically for Visual Studio 2013.
- By Terrence Dorsey
- 02/10/2015
Now that you know how to work with multi-swarm optimization, it's time to take it up a level and see how to train your network to use it.
- By James McCaffrey
- 02/04/2015
You don't have to give up using dynamic SQL just because you're using Entity Framework. The Entity Framework SqlQuery method will give you back the flexibility of dynamic SQL and still let you work with your data in an object-oriented way.
Forget post backs! Easily add REST services to enhance your legacy Web Forms applications.
- By Patrick Steele
- 02/03/2015
Android 5 Lollipop has a few new features -- including some UI and performance improvements -- that can now be incorporated into your apps. Here's how to work with the update.
- By Wallace McClure
- 01/29/2015
Peter finishes off his series on creating single-page applications by showing how jQuery integrates with Backbone to support updates and deletes (also: how to convert a string to a number in TypeScript).
If you really want to take full control of the exceptions you pass to your clients, you can write your own Exception class. Here's how to do that, complete with support for additional properties.
Nick Randolph dissects a Windows Phone 8.1 application package in order to inject analytics tracking code into a pre-build application.
- By Nick Randolph
- 01/22/2015
Multi-swarm optimization (MSO) is a powerful variation of particle swarm optimization. Understanding how MSO works and how to implement it can be a valuable addition to your developer toolkit.
- By James McCaffrey
- 01/20/2015
A complex ASP.NET MVC form can drive you to a big, ugly action method that handles all the functionality the page offers. The ActionMethodSelector provides a clean way to separate that logic over multiple methods, provided you understand a key distinction of which many ASP.NET MVC developers aren't aware.
ReSharper is a Visual Studio plug-in from JetBrains that brings an incredible amount of features designed to increase developer productivity.
- By Ondrej Balas
- 01/15/2015