C#


Google App Engine Adds .NET Support

.NET developers now have another option for the streamlined creation of cloud apps, now that Google App Engine has announced support for the Microsoft developer stack.

Efficiently Loading Related Objects in Entity Framework

If you're not using the Entity Framework DbCollectionEntry object when working with an entity class's related objects, then your application is running too slow. Using DbCollectionEntry lets you asynchronously retrieve related objects and get only the objects you want.

Visual Studio Team Services Sprint 114 Delivers

Visual Studio Team Services team are in the midst of rolling out yet another sprint, this one with additional Delivery plans features, a more optimized mobile work item experience, and some other Team features.

Mimic Lazy Loading with Entity Framework 6 and Entity Framework Core 1.1

Entity Framework Core doesn't have lazy loading (at least, not yet). But you can fake it by using explicit loading, though it doesn't work quite the way you might want. In fact, it's probably a good idea to use this in Entity Framework 6.

Tools, Services Supporting Visual Studio 2017

With Visual Studio 2017 making its debut next week, a number of software and services that comprise its tooling ecosystem have already embedded support for the development platform.

Managing Modules in TypeScript 2.1

If you want to ensure that the right code is loaded at the right time (and only loaded when you need it), you can use TypeScript code to organize your code into modules. As a side benefit, managing your script tags will get considerably easier.

Visual Studio Code and the Third Wave of Source Code Editing

Imagine platform-neutral, language-agnostic tools for writing code. Awesome, yes, but using tools like Visual Studio Code to compose your programmatic masterpiece will require a bit of rethinking.

Solving UWP App-to-App Communication in IoT Apps

Writing Universal Windows Platform (UWP) apps that rely on inter-process communication is actually easy. Debugging and making them fault-tolerant is the tricky part, but it can be done with the AppServiceConnection for UWP and IoT Apps.

Selecting Groups in LINQ

Some questions can only be answered by organizing your data into groups and then finding groups that contain particular members or have particular properties.

Grouping Results in LINQ

Complex queries can be solved with a combination of simpler LINQ queries, anonymous objects and the Group/By/Into clauses. Using Group/By/Into will also give you the best possible performance for those complex queries.

Returning Raw JSON Data in Web API with Marten

Here's a trick to have Marten automatically deserialize JSON data only when you want it to.

Visual Studio Code January Build Gets Interactive

Version 1.9 of the online code editor sports a new look and some new tools to get developers up to speed quickly, including an Interactive Playground to test-drive some of the news features.

Getting All the Results When Joining with LINQ

When you want to find all the objects that are missing a corresponding object, then you need the LINQ equivalent of an outer join. Here, step by painful step, is how to build that query.

Q&A: What's New in Visual Studio 2017

Visual Studio 2017 is coming March 7. Microsoft Dev Evangelist Robert Green talks about the top new features, best improvements for mobile/Xamarin developers and more in this Q&A preview of his Visual Studio Live! session on the same topic.

Visual Studio 2017 To Be Released March 7

With a pack of updates that amount to minor fixes following the release of Visual Studio 2017 RC3 a week ago, the Visual Studio team is now set to launch a feature-complete version within a month's time.

Window 10 Creators Update Gets Its Day with Developers

Microsoft offers a laundry list of developer-oriented features to get devs up to speed with the newest, feature-complete Windows 10 Creators Update slated for early 2017 release.

Getting Device-Specific When Customizing a Xamarin Forms App

Your Xamarin Forms App needs one more little tweak, and that's to make it device-specific, so users don't freak out. Unlike the Apple tweak, the Android tweak takes a bit of work.

Working with Enumerated Values in Entity Framework

If you decide on using an Enum with enumerated values in your Entity Framework class, here are the tools you'll need to make it work. But an enumerated value shouldn't be your first choice.

Visual Studio Tools for Tizen on Preview 2

Tizen is an open source app platform targeting mainly Samsung devices, from televisions, to phones, to wearables. Yep, there's a Visual Studio Tool for that, and it's on its second preview.

Shortcuts for Defining Anonymous Objects in C# and VB

Here are two ways to save some typing when defining anonymous objects. One only works in Visual Basic, though.

.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.

Upcoming Events