WCF
There are 9 entries for the tag
WCF
Ran into a serialization problem with WCF the other day that was rather interesting to find and fix. It wasn't a problem with WCF, in the end, but rather with what we were telling WCF to do. So we have some complex entities that we're shoving through the serialization layer. We also send through lists of these entities, and the list may have references to itself. To keep our list sizes small, we've implemented a DataContractSerializerOpera... where when we create the data serializer, we...
Had a problem with WCF that I thought I should blog about. We're in the scenario where we have a WCF service that needs to call another service to do some calculating and then return the result back to the client. For now, the service is hosted on the same server, but eventually, it could get expensive, so we'll push out that calculation to another server. The WCF configuration also has an endpoint address that is not the same as the base address reported to it by IIS; IIS is of course reporting...
Well, we've gone and done it. We're no longer using Nettiers. It was good while we were, but the overhead of it eventually became way too much, and since we were doing mostly generic CRUD operations, it no longer made sense. Instead, we're going to write a custom DAL. Here's why: We're working with a LARGE database with some pretty complex data structures, which required quite a bit of customization of Nettiers to make it understand the structures. The knowntypes enumeration in WCF was killing us....
We're using Nettiers to generate our DAL and have the need to create a WCF layer for it. So we set up the WCF layer in a codesmith template and immediately ran into a problem, we had thousands of methods in the service contract, and the service took over a minute to initialize. Yuck. We could have separated out the service contracts into a bunch of different contracts, but that would have been nasty--we would have had over 100 some odd different services to put in the config file. So the next option...
We're writing an app for a client and we're using WCF and Nettiers together in the app. One of the requirements of app is very good auditing. Every time data is picked up in the system, we need to audit it and let people know what happened. We wanted this to be transparent to the users, which meant that it should probably go into the DAL somewhere. We thought about Triggers (no user information, so you'd have to pass the user to everything), and finally settled on putting it in the save, update,...
I'm trying to use the WindowsIdentity to pass credentials through a WCF call without needing to capture a username and password (single sign on, essentially). With Windows authentication, it's not hard at all--just configure IIS, configure the WCF binding and away you go. Anybody know how to do the same thing with NDS or LDAP
This is in response to a comment about my last post. I expected something revolutionary and significantly better than what was currently on the market. Microsoft consistently does this with other applications. Sql Server is, in my opinion, FAR superior to Oracle and MySql. .net kick’s Java’s behind. Visual Studio is so far ahead of the competition that using anything else is painful. For those of you that live and die by Eclipse, VS 2005 is clearly a superior product. The XBOX 360 is also much better...
O.K.--so I got a shiny core duo 2 from dell the other day, and have vista loaded onto it. The performance thingy rates me as a 3.5 (because of the video card), and says I should be able to enjoy all of the snazzy new features of Vista.I start to tinker, and soon find that the Aero stuff is really only skin deep--as soon as you go into any of the dialog boxes for more advanced stuff (like the system dialog boxes, the "advanced properties" of the display, etc), you quickly find that this is just XP...
So I've been playing with WCF lately. It's been rather interesting. Here's the basic scenario: Need a service (service a) that communicates with a back-end service (service b) with a limited number of communication channels available to service b, and with the need to make asynchronous calls to service a and for service a to queue any pending requests for service b and execute them when it gets the chance. Enter WCF. Basically, I developed a service contract for both synchronous calls and asynchronous...