10/24/2014

Wish the MS documentation was more clear on this!

I spent two day hitting my head against the wall to figure this out! To deploy a web app using Microsoft Expression Encoder to Windows 2008 or 2013 Server, after installing the Microsoft Expression Encoder  SDK you must also add the Desktop Experience feature as well. Otherwise you get the following error:

Could not load file or assembly 'Microsoft.Expression.Encoder.Utilities.dll' or one of its dependencies. The specified module could not be found. 


10/09/2014

WebFaultException never sent to the client in Upload File.

I had created a WCF REST service which allows the clients to upload a file using the Stream parameter.

I discovered that as soon as I consume the stream, FaultExceptions will never make it to the client and the client gets a 202 (accepted) response instead! The WCF log shows that ther eservice had thrown an exception 'The message object has been disposed.' After some research, it turns out that tp be the StreamReader which I am using to read the stream in my implementation.Since StreamReader owns the stream, it will close it internally even though it was never closed in the code.



.net - Wrong WebFaultException when using a Stream and closing the stream - Stack Overflow:




Useful netsh commands

To see blocked ports on your system:  netsh interface ipv4 show excludedportrange protocol=tcp For more info visit: https://ardalis.com/atte...