In this Q&A, highly regarded developer and educator Scott Allen shares his thoughts on coding with C#.
The alternative to that simple error-handling combo is the Try...Catch, but it's not as simple as wrapping up your code with it.
Script bundling speeds up your application by reducing the time it takes to download all of your JavaScript code. But you'll need another object to get your files added to the page in the order you want.
It's like a better version of TypeScript 2.0, only this incremental update adds "smarter" inference and a bevy of other improvements.
- By Michael Domingo
- 11/11/2016
Visual Studio Team Services is at Sprint 108 this week, and it might seem like a lightweight with mainly fixes, but it does pack quite a few new features -- integrating Team-based collaboration features, build and replace enhancements, Docker support -- to be worthy of attention.
- By Michael Domingo
- 11/10/2016
The R language simplifies the creation of neural network classifiers with an add-on that lays all the groundwork.
- By James McCaffrey
- 11/10/2016
In test-driven development, you have to decide how you'll divide your test methods between your test classes. The best solution is the one that requires the least effort on your part and implements the Single Responsibility Principle for tests.
There are two attributes you can put on your entity class properties: one is a convenience, the other is essential, and both are required when the primary key for a table consists of two columns.
With Apple's update to its phone OS, we look at the support that Xamarin has for it by building a simple speech app.
- By Wallace McClure
- 11/07/2016
Just as the Visual Studio team started rolling out the October 2016 Build version 1.7 this week, the team did an about-face with an incremental "recovery build" update that disables JavaScript IntelliSense for the time being. Still, there's lots of new and enhanced productivity and debugging features to check out in this version.
- By Michael Domingo
- 11/04/2016
Peter shows how to browse a set of objects in an IndexedDB ObjectStore and, along the way, finishes up his TypeScript/IndexedDB utilities for storing and retrieving large amounts of data on the client.
Here's how to use SpecFlow to convert plain-text scenario steps into .NET types.
- By Jason Roberts
- 10/31/2016
An HTML Helper is a bit of Razor code that can be called from multiple places in a View. But, if you put your Helper in the right place, you can also use it from any View in your application.
Look behind the curtain on this one, and you'll see that code is quite magical in and of itself.
Moving to TDD with ASP.NET is not, in fact, as easy as everyone tells you it is. But it's not as much work as you might think, either. Here's what you need to do to start doing TDD in the real world with an existing ASP.NET MVC application.
The first preview of the next incremental update to ASP.NET Core comes with a slew of new middleware components for speeding up app performance, while updates to .NET Core and Entity Framework Core come with mainly support additions.
- By Michael Domingo
- 10/26/2016
Both the MediaElement and Player Framework provide rich, on-screen elements for controlling media playback. Here's how to use a Universal Windows Platform app to use both the System Media Transport Controls and Cortana to provide an alternative, more integrated player experience.
- By Nick Randolph
- 10/19/2016
If you're not using Const and Enums then you're just making life harder for the next programmer.
As Microsoft ends further development of LightSwitch, the "development" tool aimed at line-of-business types, it introduces an alternative: PowerApps.
- By Michael Domingo
- 10/17/2016
Goto statements, whether they're used in Visual Basic or C#, can be confounding as to their purpose in some contexts.