For this first in a series, Eric Vogel checks out the new IReadOnlyCollection<T> Stack<T> and Queue<T> implementations in .NET Framework 4.6.
Generic classes and functions are one way to create flexible, reusable classes and functions. But before you start creating your own generic functions, you should be clear on when they’re your best choice.
Learn to measure the performance of your apps and ensure a great UX.
- By Greg Shackles
- 12/18/2015
When you need to know when a file or folder appears, disappears or is renamed -- in fact, if almost anything at all happens in the file system -- you can have Windows notify your application so that you can take action.
C# developers who want to wring more meaningful info from large sets of data should get cozy with the statistical computing language known as R. Let's get familiar with R in this new series.
- By James McCaffrey
- 12/16/2015
It's been another great year for new development tools and technologies. Here are some that bring cross-platform development languages or capabilities into Visual Studio.
- By Terrence Dorsey
- 12/15/2015
There are lots of benefits to gathering information by opening a dialog box instead of sending your user to another page. Fortunately, jQuery and ASP.NET MVC make it easy to do (and you don't have to worry about offending pop-up blockers).
Application code needs to raise events and respond to them. The MessagingCenter makes this whole process much simpler than standard .NET events.
- By Wallace McClure
- 12/10/2015
If you need to have objects look alike but don't have any code to share, you don't need inheritance -- you need an interface. Here's an example of how interfaces provide a more flexible way to deal with similar-but-different classes.
TypeScript has some "interesting" limitations when it comes to overloading functions. But it also offers you some options when you need more flexibility in declaring functions, including both optional parameters and infinite parameter lists.
With the Universal Windows Platform, you can now build apps that truly interact with the new digital assistant for Windows. In this article, Nick Randolph walks through using Cortana to launch and interact with your application.
- By Nick Randolph
- 12/01/2015
You want to use a DLL in multiple projects (it's even possible that other developers at your company might find your DLL helpful). The easiest way to distribute and deploy that DLL, or any other combination of files, is with NuGet. Really.
A high-level look at some of the more interesting features of the newest Apple mobile OS that can trip up C# developers making apps for it.
- By Wallace McClure
- 11/19/2015
Let these tools generate your data access layer, saving you time and headaches. There's something here for the simplest or most complex projects.
- By Terrence Dorsey
- 11/16/2015
You can dramatically simplify your code by using classes to define read-only/immutable objects … but to create classes that behave correctly requires a little bit of redirection.
The short definition of a parameter sweep is that it's the process of trying different training parameter values in order to find a good set of neural network weight values.
- By James McCaffrey
- 11/10/2015
You can dramatically simplify your code by using value objects, but to create a value object that makes sense to the developer who uses it, you need to redefine what the equals sign means. Along the way, Peter points out some problems when you don't use classes to define your data.
Many stories aim to share a saga of how code builds are successfully integrated with each other. This is not one of those stories.
Now that you know how to create tag helpers, let's create a custom one that loads a bootstrap-select dropdown via a remote URI.
The TypeScript datatyping support not only applies to simple variables, it also supports you when doing clever things with functions. Specifically, TypeScript ensures you create reliable code when implementing callback functions.