.NET

Dirt simple WCF Routing Service configuration tutorial with authentication

As I’ve said in previous posts, I’m a big fan of WCF in general – recently I have had the opportunity to work with a less popular, but extremely powerful feature: the WCF Routing Service (https://msdn.microsoft.com/en-us/library/ee517423(v=vs.110).aspx) The MSDN documentation is confusing. The existing blog articles are confusing or broken. Examples of hosting it in IIS …

Dirt simple WCF Routing Service configuration tutorial with authentication Read More »

Dirt simple method of limiting System.Threading.Task concurrency (max concurrent threads)

Microsoft has an article about creating a Task Scheduler that limits maximum concurrency: How to: Create a Task Scheduler That Limits the Degree of Concurrency The provided example class is clunky and kinda hard to grasp. I’ve been searching for a simple way to create a “thread pool” with limited concurrency. I previously experimented with …

Dirt simple method of limiting System.Threading.Task concurrency (max concurrent threads) Read More »

Generating a single flattened WSDL from an existing WCF Service

UPDATE 4/12/2013: Tool included Download WSDL Flattener Tool I’m not including source because it’s messy (I prefer to cleanup my code before sharing…) but feel free to decompile with ILSpy if you don’t trust me. UPDATE 8/11/2015: Command line tool included WSDL Flattener Command Line Utility Somehow I forgot to save my update – thanks …

Generating a single flattened WSDL from an existing WCF Service Read More »

CRM 2011 Runtime calculated fields –retrieval behavior notes

In previous versions of CRM, creating realtime calculated fields involved a plugin that listened to the global Execute message (and optionally RetrieveMultiple if you wanted to handle filter criteria) – to handle FetchXml requests. The remaining messages (Retrieve, RetrieveMultiple, Update, Create) can be registered for the specific Entity, so you are not gumming up CRM …

CRM 2011 Runtime calculated fields –retrieval behavior notes Read More »

Microsoft .NET Framework 4.5 final is available; avoid the RC

For some reason searching for .Net 4.5 on  Google brings up the link to the .NET 4.5 Release Candidate download, when the final is available. You can grab it here: http://www.microsoft.com/en-us/download/details.aspx?id=30653 (I seem to recall this happening back when .NET 4 was released – you would think MS would put a big note that the …

Microsoft .NET Framework 4.5 final is available; avoid the RC Read More »