Sometimes you need to create a WCF service starting from a WSDL giving to you the specifications. It is a good practice and quite simple to do.
JSON is a very useful format, able to stringify all your data. It is based on the key:value pattern and it a JSON value can contains a JSON structure itself.
How can we parse a JSON string and use it like an object in C#, without having a destination class? With the following code, we are able to navigate a JSON string without defining a class for it.
Create your own WCF is quite easy. It’s also easy run it within Visual Studio and debug it, but when you need to put it online, how can you proceed? After you install it on IIS, you must configure it. Here a web.config file, ready to be used.
I found this error installing for the first time in a certain server the IIS tools, specially the WCF feature.
Sometimes, you need to bind some new tech with old stuff. In this case, we create a WCF service called by an ASMX client (true story, bro).
I had written this post about the BadImageFormatException, when I had found again this error. Why? The solution in my linked post is simply and clear, it works! What’s difference? That was my first time I found this error while developing a WCF.. but does it matter? Or the error is somewhere else? After some struggling hours, here is my solution to this problem when working with WCF.
The issue was something like there are some references into the application from the network shared folder. When compiling the application there was a weird error saying (or similar):
Using WCF RESTful, you can find out a problem that will make you loss a lot of time. The syntax of the XML, the structure and.. the order of your fields!!! How to solve it?
The past while at work I’ve been working through some annoyingly overcomplicated encryption issues. The problem is not that Triple DES is all that complicated or annoying, it’s just that when you have 2 different technologies (one doing the encrypting and one doing the decrypting) at work; it can be frustrating to get anything accomplished.