C#


Hashing Passwords for Fun and Security

Hashwords can use a pinch of salt for added security. There's a .NET class for that.

Deploy the Android 7 Multi-Window Mode via Xamarin

It's relatively simple to make use of the multi-window mode now that Xamarin supports it. Here's how.

Ensure Consistent Testing with Mock Objects and Moq

If you run an automated test and your test fails then you want to know that it's your fault -- not a problem in someone else's code or the result of a change in your test data. Moq lets you do that in two lines of code, even if your code uses the ASP.NET Session object.

Leverage Joins in Entity Framework To Get Just the Data You Want

Every once in a while you'll need to use the LINQ Join to get the data you want.

Azure, Amazon Web Services Ramp Up with Dev Tools for Serverless Computing

Amazon and Microsoft are anticipating the serverless computing space to heat up, with support and developer tools.

TypeScript 2.1 Is Done, But There's More

Following the RC release of 2.1 nearly a month ago, the final version adds a few more tweaks to smooth the coding experience.

Logistic Regression Using R

I predict you'll find this logistic regression example with R to be helpful for gleaning useful information from common binary classification problems.

20 New Tools and Extensions for Visual Studio 2015

We've gathered together the newest project templates, security tools and generally useful extensions for Visual Studio.

Speed Up Skip and Take in Entity Framework with Lambda Expressions

If you're using Skip and Take in LINQ to page through your data, a tweak to your syntax can cut your response time by as much as 10 percent as you page through your data.

TypeScript 2.0: Even Better Data Typing and Class Discriminants

If you care about data typing and want to avoid null/undefined errors, there's a lot you're going to like in TypeScript 2.0. And, if you like creating general purpose functions that can work with a variety of classes, there's something here for you, too.

Customizing a Xamarin Forms Application, Part 2

Last time, I created the app. This time, I take care of a few annoying but important issues with it, especially in the area of the user's experience with application connectivity.

Testing Experimental Code in Production with Scientist.NET

A .NET port of the Ruby library allows for experimental testing of code that's gone to production.

New Xamarin Tools in Visual Studio 2017 RC

Two new tools for cross-platform developers provide insight into app performance and allow for real-time XAML previews.

Testing Only the Code You Write: Isolating Components with Moq

When you're testing an ASP.NET MVC controller (or, really, any class at all) you want to make sure the code that fails is the code you're testing. Moq provides a simple way to isolate the code you're testing and lets you generate test cases.

It's Safe to Handle Unhandled Visual Basic and C# Exceptions

Pile on the exceptions, and .NET will have your back with the tools it provides at your disposal.

New in VS 2017 RC1: Cordova, Unity Tools Updates

The Visual Studio 2017 RC from a week ago introduced speedier build and edit-debug tools for TACO, and an improved IDE for Unity game devs.

Azure Data Lakes Tools for Visual Studio Code Now in Preview

The ability to embrace U-SQL jobs via authoring, scripting, extensibility via the VSCode environment and using C# is the key to this tooling preview.

Best Practices for Lazy Loading in Entity Framework

Sometimes you want child objects retrieved with the parent object, and sometimes you don't. What you NEVER want is to retrieve child objects accidentally. Here's Peter's advice on how to get the best performance when loading child objects.

Get Used To Calling It 'Visual Studio 2017'

The new name for what we've been calling Visual Studio '15' is actually the smaller of several big news items to come out of today's Microsoft Connect(); event oline. Among the bigger reveals is the preview of a Mac-native version of Visual Studio.

New Visual Studio Versions Target Windows, Mobile and Mac Developers, Boost DevOps

Microsoft Corporate Vice President Scott Guthrie kicked off the Connect(); conference with an action-packed keynote where he revealed significant tooling improvements impacting mobile app development, containerized app dev, cross-platform mobile DevOps and serverless compute architectures, and more.

Subscribe on YouTube