WCF on demand protocol switching POC

WCF offers the ABC (address, binding, contract) to development and operations but what about the client? I’ve created a POC to let the client change the Address and Binding used for hosting a service. Source at the end of this post.

abc-switch

The idea is to self-host a management service and start a task for hosting other services on demand. When the ChangeSetup operation is called on the management service the task is stopped and a new task is started for the new Address and Binding setup. The Contract stays the same.

Problems are

  • the solution is not fit for multi-user,
  • incorrect parameters crash the service,
  • security?

Remember this is a Proof Of Concept and not meant for production. Use at your own risk!

Protocol switch POC project

Posted in Development | Tagged , | Leave a comment

Week 40 roundup

Last week recap and links:

Image courtesy of kanate / FreeDigitalPhotos.net

  • Octopus Deploy receives investment from Red Gate. Also keep an eye on their Roadmap. Big things are on the way.
  • Trello offers free gold because they have 5 million users.
  • Running a 50 mile trail is hard. Running a 50 km trail the day after is harder. Squamish 50/50 by Ginger Runner. Party hardest!

Image courtesy of kanate / FreeDigitalPhotos.net

What are your best reads this week? Leave them in the comments below.

Posted in Uncategorized | Tagged , , , | Leave a comment

Week 39 roundup

Last week recap and links:

Image courtesy of kanate / FreeDigitalPhotos.net

Image courtesy of kanate / FreeDigitalPhotos.net

What are your best reads this week? Leave them in the comments below.

Posted in Uncategorized | Tagged , , , | Leave a comment

Ignoring files in TFS Source Control

On my current project we use TFS Source Control. I’m so used to GIT now that I had to figure out how to ignore files again.

The option for server workspaces is cloaking the folders / files you don’t need. Like the packages folder.

cloak
Image from stackoverflow.com

Using local workspaces (not the default) you can use a tfignore file. This is more GIT style.

Posted in Tooling | Tagged , | 3 Comments

SDN event september 2014

The SDN – Software Development Network – is a special interest group for dutch developers. Four times a year they organise an event where people present and talk about their passion.

As a member of the SDN you are aware of the latest developments. You are part of a network of professional developers who assist each other in word and deed. This means there is a technical helpdesk at your fingertips so you can book considerable time savings in solving problems.
sdn.nl with Google translate

Here are the talks I attended.

What you may have missed in C#

The history of C# 1-5 and the future in C# 6. Wouter starts his talk with some quiz questions that look easy but are in fact not that evident.
Playing with the Visual Studio 2014 CTP 3 is really easy when you have Windows Azure; Microsoft offers it in the VM gallery. Just set the LanguageVersion to experimental to use the C# 6 features.

Roslyn

Niels shows API’s offered by Roslyn. He expects tools like ReSharper (that offer the same functionality now) to adopt the new API’s and offer added-value in the rules in stead.
The demo’s are in VS2013 with the Nuget offered by Microsoft/RoslynTeam. This provides an isolated environment to play, but it’s better to use the Visual Studio 2014 CTP 3 VM on Azure.

Software security

With Mario Cart for Wii Carlo shows the concept of Bugs and Flaws. A Bug is introduced by the developer and a Flaw is introduced by the designer. Both are equal responsible for software problems (50-50).
To improve overall software security he introduces Abuse cases, Thread model and Attack tree. These are created in the design phase of the project. STRIDE (Spoofing, Tampering, Repudiation, Information disclosure, Denial of Service, Elevation of privilege) is a Microsoft technique for Thread Modelling.

ASP.NET vNext

Maurice show that project files are no longer XML but more JSON style. Compilation is done in memory, no more assemblies when debugging.
The K runtime is a lightweight IIS this solves the thick pipeline slowing, because only the stuff you need gets executed. But when you forget something, you don’t get it for free. Know what you are doing!
Everything will be in nugets, even the runtime. Visual studio will show the dependency tree for your nugets.
Support for Mono is added. Microsoft will not solve mono problems, but will test changes for compatibility on the mono platform.

What’s new in Windows Azure

Marcel shows recent changes to the azure platform. Mostly new/renewed services like API and documentDb. Also the new dashboard and Remote Apps are discussed. Would you host your own apps on Azure?

SDN logo
Looking forward to the next SDN event.

Posted in Conference | Tagged , , , , , , , , , , | Leave a comment