.NET Framework


Defining Columns, Primary, and Composite Keys in Entity Framework

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.

Sez Who? Support for iOS 10 Speech Recognition in Xamarin

With Apple's update to its phone OS, we look at the support that Xamarin has for it by building a simple speech app.

JavaScript IntelliSense Disabled in Visual Studio Code 1.7.1

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.

Browsing Objects with IndexedDB

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.

Microsoft Teams Is New and Part of Visual Studio Team Services

Microsoft Teams is a new chat-based service that's part of Office 365, used for real-time conversation and collaboration among various team members connected to projects. It's also being incorporated into Visual Studio Team Services.

SpecFlow Two-Step Parameter Conversions

Here's how to use SpecFlow to convert plain-text scenario steps into .NET types.

Creating HTML Helpers You Can Use in Any ASP.NET View

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.

Magic Forms Access in Visual Basic and C#

Look behind the curtain on this one, and you'll see that code is quite magical in and of itself.

ASP.NET Core, .NET Core, EF Core 1.1 Updates In Preview

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.

The Reality of Getting Started with Test-Driven Development

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.

Choosing Between Default Arguments and Overloading in C++

Decisions, decisions. Here's why overloading will keep you out of trouble.

Nesting Layouts in ASP.NET MVC

If you've got a site that contains subsites and want to visually distinguish between those subsites (while still maintaining your site's visual integrity), consider nesting layouts within layouts.

Integrating HockeyApp with UWP on Windows 10

HockeyApp SDK for Universal Windows Platform apps is out now, supporting all HockeyApp features from within UWP apps on Windows 10, including full symbolication for .NET Native store apps.

Strategies for Debugging Lots of C++ Objects Effectively

When you have code that is called for many objects it's hard to go through all them and just check line by line. How can you more efficiently debug lots of code?

Extending a Universal Windows Platform Media App

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.

Use Constants and Enums to Improve Readability (and Reduce Maintenance)

If you're not using Const and Enums then you're just making life harder for the next programmer.

3 Ways to Manage Dependent Classes in the .NET Framework

Once you start implementing current design practices, you'll find that your typical object consists of a lot of other objects.

Visual Studio LightSwitch Gets Turned Off

As Microsoft ends further development of LightSwitch, the "development" tool aimed at line-of-business types, it introduces an alternative: PowerApps.

Tricks with Goto in Visual Basic and C#

Goto statements, whether they're used in Visual Basic or C#, can be confounding as to their purpose in some contexts.

October Surprise: Azure Developer Updates

Fresh from Ignite, the Azure teams have been on a DevOps-heavy kick with a number of new tools for managing Azure services.

Upcoming Events

.NET Insight

Sign up for our newsletter.

I agree to this site's Privacy Policy.