The train-validate-test process is hard to sum up in a few words, but trust me that you'll want to know how it's done to avoid the issue of model overfitting when making predictions on new data.
- By James McCaffrey
- 05/13/2015
Protect your ASP.NET applications from Cross-Site Request Forgery attacks by leveraging ARMOR, a C# implementation of the Encrypted Token Pattern. Here's how.
You can easily slide middleware and other custom code into the ASP.NET pipeline by taking advantage of the Microsoft implementation of the OWIN specification in the coming Visual Studio 2015.
- By Ondrej Balas
- 05/11/2015
Peter reviews some of the more spectacularly incorrect things he's told other people and then draws some conclusions.
Code audits seemed unnecessary to everyone except the auditor. Good thing the auditor finally had one sympathetic ear -- "Andrew" -- to hear him out.
The hooks in SharePoint Apps allow developers to streamline the process of creating them without SharePoint getting in the way.
- By Malin De Silva
- 04/30/2015
Promises not only provides a simple, flexible interface for assembling chains of asynchronous operations in client-side code, it also makes it easier for you to manage parallel processing.
Building line-of-business mobile apps for Windows Phone that connect to Microsoft Azure for authentication, data storage and notifications isn't much different from on-premises apps. Here's what it takes.
- By Nick Randolph
- 04/28/2015
Some things only matter to the true nerd. So, if you're looking for a genuinely useful article, this isn't it.
It's what unit testing should be. Here's how to use it to test your apps.
- By Jason Roberts
- 04/22/2015
Display data to a user with Xamarin.iOS and this nifty class.
- By Wallace McClure
- 04/20/2015
Stored procedures can speed up your code by reducing trips to your database -- even if you only have one SQL statement to execute. Here's how to speed up your application (and how to simplify your stored procedure code).
Back-Propagation is the most common algorithm for training neural networks. Here's how to implement it in C#.
- By James McCaffrey
- 04/14/2015
The .NET Framework has two collections that will guarantee your items are always sorted whenever you process the collection. Here's how to choose between the two and how to control the sort order (including supporting duplicate entries).
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 {…}.