How to REPL in C# with CShell

csharp-logo

Perhaps the first question should really be ‘what is REPL’? In truth, much like software testing, many developers use it, without knowing that there’s a name for it – or a better way to do it. In this post I will explain what REPL is, how to use it in your development process, and finally, how CShell makes REPLing so ...

Read More »

Serialisation – JSON in C#, using Json.NET

json-logo

Last week we compared a number of different data-interchange formats and I explained why my current favourite is JSON. JSON’s syntax is very simple. So easy in fact, that it can be expressed on a single page. This makes it easy to remember and write. Further, it makes writing a JSON parser very easy as well. However, there already are ...

Read More »

Secure WCF Services with custom encrypted tokens

dot-net-logo

Windows Communication Foundation framework comes with a lot of options out of the box, concerning the security logic you will apply to your services. Different bindings can be used for certain kind and levels of security. Even the BasicHttpBinding binding supports some types of security. There are some times though where you cannot or don’t want to use WCF security ...

Read More »

Inside the .NET Compiler Platform – Performance Considerations during Syntax Analysis (#SpeakRoslyn)

csharp-logo

Motivation The new Microsoft .NET Compiler Platform (Roslyn) provides APIs for the whole compilation process, beginning from syntax analysis, over symbol analysis, binding and code generation. You can access the results of each phase through object models exposed by specific APIs. There are language-specific APIs and object models for C# and Visual Basic which are similar in shape but which have ...

Read More »

AngularJS feat. Web API – Security

angularjs-logo

Preventing unauthorized access to Web API controller actions and applying a centralized security access, seems to be a tough and complicated task for many web developers. More over, there are many players entered into the game latetly, such as ASP.NET Identity or OWIN middleware and things can get pretty messed up if any of these concepts are not well understood. ...

Read More »

5 Reasons to Manage Your Solo Project’s ALM Process

agile-logo

So I’ve been developing software on the Microsoft stack for just over 10 years, and training and consulting on managing software development with VS-ALM (a.k.a. TFS, a.k.a. Team System) for just over 4 of those years. But in all time training and consulting, I was working with teams – from small 5 person start ups, to enterprises with hundreds of ...

Read More »

AngularJS feat. Web API – Enable Session State

angularjs-logo

Have you ever tried to use the Session object while using the Web API? If you did so, you must be dissapointed seeing that: System.Web.HttpContext.Current.Session was always null and hence, you were unable to use it. This post is the second part of the 3 part Series about Web API feat. AngularJS. You can read the first post here, where ...

Read More »

Deliberate Practice: Building confidence vs practicing

software-development-2-logo

A few weeks ago I wrote about the learning to cycle dependency graph which described some of the skills required to become proficient at riding a bike. While we’ve been practicing various skills/sub skills I’ve often found myself saying the following: if it’s not hard you’re not practicing me, April 2015 i.e. you should find the skill you’re currently practicing ...

Read More »

5 Ways Project HoloLens May Change the World

software-development-2-logo

Ok. So I have just right-clicked the word “HoloLens” and selected Add to Dictionary from the context menu. I believe that this word will be there for a while, and sooner or later, on everybody’s lips. In case you have been out of touch with technology news in the past several days, HoloLens is Microsoft’s newest device, still in its ...

Read More »