Home » .NET (page 2)

.NET

Decision Framework for the Implementation of Web Services based on Core Microsoft Technologies

EDITORIAL NOTE: Web Services have become very popular. They come in a variety of flavors and styles, a fact that can be proven pretty confusing. Microsoft ecosystem currently provides two core technologies for the implementation of web services: Windows Communication Foundation, introduced with .NET 3.0 and the ASP.NET Web API, included in ASP.NET MVC. The current article presents a Decision ...

Read More »

Getting started with DivineInject

DivineInject is a .net dependency injection framework, designed to be simple to use and easy to understand. You can find the source for DivineInject on github. Why another DI framework? Because dependency injection is important – but done wrong it can do more harm than good. DivineInject is opinionated about the right way to use dependency injection:      Constructor injection ...

Read More »

LINQ: from IEnumerable to concrete collections

I my recent posts introducing LINQ from a game developers point of view, I mentioned several times how the many LINQ methods returning sequences of the IEnumerable<T> type do not actually return an actual collection. Instead they return a query that can be executed any number of time on the given input collection. Of course, there comes a point at ...

Read More »

Cross-platform Single Page Applications with ASP.NET 5, Angular 2 & TypeScript

[purchase_link id=”6942″ text=”Download” style=”button” color=”blue”] ASP.NET 5 and Angular 2 are probably the hottest new frameworks in terms of both of them are entirely re-written from scratch. We, as web developers are more than eager to test both of these two super promising frameworks and get ready to build cutting-edge applications. After writing the Building Single Page Applications using Web ...

Read More »

WCF Is Dead and Web API Is Dying – Long Live MVC 6!

The time has come to say goodbye to Windows Communication Foundation (WCF).  Yes, there are plenty of WCF apps in the wild — and I’ve built a number of them.  But when it comes to selecting a web services stack for greenfield applications, you should no longer use WCF. WCF is dead There are many reasons why WCF has lost its ...

Read More »

Sorting and Grouping – organizing data with LINQ

Last week I introduced LINQ from the perspective of a C# game developer completely unfamiliar with the framework. Today I would like to continue exploration of LINQ by focussing on a particular set of its functionality: methods to arrange and organize data. In particular we will look into how we can sort and group our collections of items. Sorting with ...

Read More »

Hack the Remote Desktop .RDP file

Glad I found out about the string to add to a .RDP file to make it connect to the administrative console whenever your remote supports that:   connect to console:i:1 Reference: Hack the Remote Desktop .RDP file from our NCG partner Jeroen Pluimers at the The Wiert Corner blog.

Read More »

LINQ – a game development focused introduction

I was recently asked for some pointers on how to get started with LINQ – and to maybe write a post about that. Using LINQ virtually every day I have to admit that it had not occurred to me that a C# programmer may not be familiar with it. LINQ is a big topic, but this post is the first ...

Read More »

Did you know that Visual Studio shows deadlocked tasks?

I didn’t… And it’s not a new feature – since it existed since freaking Visual Studio 2010! Yesterday during an unrelated meeting Alon Fliess showed a bunch of us developers how Visual Studio detects deadlocks in tasks (automatically) and shows the current task status in both Parallel Tasks and Tasks debug windows (duh). I got home late but I wanted ...

Read More »