Archives for Software Dev - Page 62
WCF and Publish Subscribe–A Full Example: Running the Client (Subscriber)
Now that all the pieces are in place, we are ready to run our client ; The first error I encountered was: AddressAccessDeniedException: HTTP could not register URL http://+:8080/ Step…
WCF and Publish Subscribe–A Full Example: Client Code
The subscriber needs to know about the service. We will use to generate the proxy class for the subscribers to use. Step 1 : Ensure Service Loads Ok Use CRL…
WCF and Publish Subscribe–A Full Example: The Event Generator
The purpose of the Event Generator code is to publish events (New Magazine Issue Available) that subscribers will get notified about. Add a new Console App (Add New Project) to…
WCF Publish Subscribe– A Full Example: The Service Side Part 2 (Implementation)
Our implementation is based on .NET events (for a non-events based implementation, check out the New IObserver IObservable interfaces in C# ). The idea of publishing goes hand-in-hand with 'raising…
WCF Publish Subscribe–A Full Example – The Service Side Part 1 (Interface)
The Service code consists of an Interface (IMagazineService) and its implementation (MagazineService). The Interface defines all the capabilities of the service. What do we really want from a Publisher service?…
WCF and Publish Subscribe– A Full Example: Introduction
Imagine that you are a magazine publishing company. Your revenue depends on subcribers – in particular, happy subscribers. To ensure that your subscribers stay happy, one of the foremost services…
Essential Debugging Friends–Firebug
Viewing AJAX call results in Firebug Assuming you have loaded the page that contains the javascript (ajax call) – and that your call has been fired, how do you look…
Is the Indian Supreme Court Business Friendly?
As India struggles to find its footing moving towards a more open, more de-regulated, more private economy, one would imagine that the highest judicial authority in India (the Supreme Court)…
Never write CRUD code again – database agnostic Data Access Layer
Introduction Imagine a tool that wrote all your CREATE, READ, UPDATE, DELETE (tool that writes CRUD) statements for you. Imagine that this tool that writes CRUD was smart enough to…
Building Rapid, Testable Web-Forms– Conclusion
Conclusion If your application relies on rich user controls (either 3rd party or your own in-house controls), WebForms may be the best option. The reports of WebForms being un-testable are…