-
I am in the process of building out a internal portal/dashboard for our company which will allow us to get a status of what is going on behind the scenes in our application. I want this site to utilize our existing WCF endpoint and as much existing code as possible. When doing this I realized...
-
Today I was trying to wrap one of our .dll projects in a wcf endpoint and ran into an odd issue that took 3 hours to resolve and the mad skills of my co-worker James to help resolve. Long story short, when I would F5 my web project which was hosting our WCF endpoints I would get the following message...
-
If you use WebApi with the Asp.Net MVC framework you may not realize that there is some ‘magic’ that takes place under the hood to convert the over the wire data from Json into an object. You may not realize this because by default it ‘just works’, which is exactly what I want and what a framework...
-
In my prior post I walked you though how to setup WebApi in a self hosted environment. In this post we will take a look at how to consume a WebApi endpoint. We will do this by using the code from the prior example as well as by creating a new console application. Before we get started you are going...
-
So #AspNetWebAPI has finally reach beta and I finally have gotten off my a$$ and starting playing around with it. Sure I have read the info on line, I have sat through numerous sessions where it was being taught and all along I have been telling myself ‘this stuff kicks ass’ but I just not have...
-
If you have created any silverlight applications which need to communicate to a WCF Endpoint you know that you must communicate with WCF via Async actions. As you may know there are multiple ways to get your Silverlight application to communicate with a WCF service. One way is to simply create...
-
Ok, now that I have your attention, it is time to get your mind out of the gutter and back on the topic at hand. When you are building out native mobile applications you are undoubtedly going to communicate to some sort of back end server via some sort of Web Service (say WCF for example if building...
-
As we are building out our mobile WCF endpoints we want to be able to track/trend the size of messages which are being sent to our phones. We want to do this for multiple reasons 1) to trend our message sizes over time to make sure we are being good little developers 2) to be able to report and...
-
Ok, so I still working on setting up SSL on my WCF endpoints. I thought I had everything working nicely but when I was porting my changes from a test application into my real application I of course screwed a few things up (go figure). When I would try to open the service host I would get...
-
I am trying to enable SSL for some of our WCF services (I followed this as I am self hosting) and at one point it was all working, but then it just stopped. Because I have make a metric-crap-ton of changes over the course of my exploring and because I am still relatively green when it comes to...
-
Today I ran into a very interesting issue where my WCF service was not publishing my metadata… but I had the Mex endpoint setup correctly. When I tried to hit my hosted service in a browser I received the following message I double checked that my config was indeed correct it was…. I was...
-
Toady we ran into an issue where the serialization graph of our objects exceeded the default max limits (yea I know, I need to resolve this as my root issue, but one step at a time). When I used the WcfTestClient to test for a working solution for my problem I simply had to make a few config changes...
-
If you have ever setup a set of WCF services and tried to have them communicate across physical machines you know that out of the box this is not ‘possible’ due to security constraints. But, it is 100% possible to set up your services to communicate in a pure 'open’ manor and in fact it is dead simple...
-
Have you ever run into the following error while trying to host (start) a WCF service inside a Windows Service? Starting WCF Services step has caused the following error HTTP could not register URL http://+:9997//Services/HashGenerationService/ . Your process does not have access rights to this namespace...
-
The other day I refreshed one of our WCF services (right click the service and do a Update Service Reference) and all of a sudden I got a metric crap-ton of build errors. In each place I received the error it told me that the type was not found. At first I could not understand what was going on, in fact...