JamesCBender

Stories submitted by JamesCBender

Working with WCF Part Seven - What's the deal with REST?(jamescbender.com)

submitted by JamesCBenderJamesCBender(749) 1 year, 10 months ago

The good news is that if you are reading this blog then you have used REST. The reason is that REST is the architectural basis for the Internet. When you opened your web browser of choice and typed www.jamescbender.com into the address bar and hit ENTER, the browser issued a request to the access resource located at www.jamescbender.com (whatever that may be) using the REST GET verb. In fact, if you’ve ever navigated to any website you’ve seen REST in action. That’s the basis of REST; clients make requests to servers using a Uniform Resource Identifier (URI) which, depending on which REST verb was used in the request, returns, created, alters or deletes the resource at the location specified by the URI. It’s that simple. read more...

add a comment |category: |Views: 14

tags: another

Working with WCF: Part Six – Fault Contracts(jamescbender.com)

submitted by JamesCBenderJamesCBender(749) 1 year, 11 months ago

What is and why do we need a Fault Contract? Well, if the days of ASMX based web services there was no built-in way to report exceptions back to the client. For the most part, the only way a client found out something was wrong was that the call to the web service timed out. There was no other explanation. This was a tremendous source of frustration for client developers, and also prompted many a developer and architect to pull their hair out over the prospect of reporting some sort of exception information back to the client. A lot of developers, myself included, broke out the duct tape, chewing gum and bailing wire and attempted to build some sort of notification mechanism that would not leave the clients hanging (no pun intended). These solutions ranged from complicated to outrageously complicated. All met with limited success. WCF introduced the concept of a Fault Contract. read more...

add a comment |category: |Views: 54

tags: another

Codestock is Next Week(jamescbender.com)

submitted by JamesCBenderJamesCBender(749) 1 year, 11 months ago

And if you haven’t registered yet, don’t you think you should? It’s easy, just go to http://codestock.org and click on the Registration link. read more...

add a comment |category: |Views: 1

tags: another

Working with WCF Part Five - Message Contracts(jamescbender.com)

submitted by JamesCBenderJamesCBender(749) 1 year, 11 months ago

The latest in an ongoing series about how to design, develop, consume and deploy services in WCF. This installment covers the basics of Message Contracts including that they do, how to use them and when it's appropriate to employ them. read more...

add a comment |category: |Views: 21

tags: another

Book Review: Azure in Action(jamescbender.com)

submitted by JamesCBenderJamesCBender(749) 1 year, 11 months ago

A few weeks ago I was able to get an advance copy of the book Azure in Action by Brian Prince and Chris Hay. The book takes a standard, logical path through the subject, explaining cloud computing in general, understanding and working in Azure’s implementation of the cloud paradigm, how Web Roles work and sections dedicated to each type of Azure storage (Table, Blob and Queue). read more...

add a comment |category: |Views: 6

tags: another

Working with WCF Part Four - Data Contracts(jamescbender.com)

submitted by JamesCBenderJamesCBender(749) 2 years ago

After creating our service, our host and our client, we were able to get our Web Bagels business off the ground, and it’s become incredibly successful! And with success comes the need for growth. Among the requests from our legions of customers is to have better information being returned when they place their order. In this post I’ll show you how to use a Data Contract to accommodate those requests and explain the differences between the Data Contract serializer and the XML serializer. read more...

add a comment |category: |Views: 30

tags: another

Write Crappy Code(jamescbender.com)

submitted by JamesCBenderJamesCBender(749) 2 years, 1 month ago

I do a lot of work with large companies that usually have many development efforts going on simultaneously. A lot of these are maintenance projects, which are basically bug fixes or enhancements to systems that have been around awhile and have already spent a good deal of time in production. Then there are the new development efforts... read more...

add a comment |category: |Views: 39

tags: another

Connecting to your WCF Service with a Client - Part 2(jamescbender.com)

submitted by JamesCBenderJamesCBender(749) 2 years, 1 month ago

In my previous post in this series I outlined two of the three most common ways to create proxies for WCF services. The first technique as was to use the “Add Service Reference…” functionality in Visual Studio. The second was to use the command line tool SVCUTIL to generate a proxy class and configuration file that you then add to your project. The last technique is to hand roll your own proxy. read more...

add a comment |category: |Views: 28

tags: another

Working with WCF: Pt. 3 – Connecting To Your Service With A Client(jamescbender.com)

submitted by JamesCBenderJamesCBender(749) 2 years, 1 month ago

As with almost everything in WCF, you have several options about how you want to consume your service before you even start to talk about things like transport or security. As expected there are benefits and draw backs to each of the approaches. We’ll take a look at two of them in the post. read more...

add a comment |category: |Views: 156

tags: another

Working with WCF: Pt 2 – Your First Host and A Bit About Configuration(jamescbender.com)

submitted by JamesCBenderJamesCBender(749) 2 years, 2 months ago

So now you have a service, congratulations! What are you going to do with it. Some people like to say of WCF that you have “… a multitude of hosting options” but in reality you have two; host it in IIS or create your own host. read more...

add a comment |category: |Views: 209

tags: another

Working with WCF: Part One: Introduction and Your First Service(jamescbender.com)

submitted by JamesCBenderJamesCBender(749) 2 years, 2 months ago

I’ve been playing with WCF since .NET 3 came out. Sometimes I have to be reminded that not everybody is as familiar with all it’s “cob-webby corners” as I am. And that’s OK. Often (too often) I encounter someone who has NEVER used WCF and doesn’t even know where to begin.That’s not so OK. read more...

add a comment |category: |Views: 576

tags: another

Getting to know F# slides and demo application(jamescbender.com)

submitted by JamesCBenderJamesCBender(749) 2 years, 6 months ago

Slides and demo from an entry-level F# talk read more...

add a comment |category: |Views: 6

tags: another

Git For Windows Developers – Git Series – Part 2(lostechies.com)

submitted by JamesCBenderJamesCBender(749) 2 years, 8 months ago

If you want to use Git for a .NET project this is a MUST READ! read more...

3 comments |category: |Views: 578

tags: another

Working with WCF Exceptions(jamescbender.com)

submitted by JamesCBenderJamesCBender(749) 2 years, 9 months ago

You might thing you’re special, but your not. And sooner or later it’s gonna happen to you too. Your WCF Service is going to encounter a *gasp* Exception. Do you know what to do when it does happen? read more...

add a comment |category: |Views: 19

tags: another

Make Your Technology Investment Count(jamescbender.com)

submitted by JamesCBenderJamesCBender(749) 2 years, 9 months ago

I recently had a conversation with a friend and fellow developer who was very excited. His company recently welcomed a new CIO to the organization, who had some, comparatively, progressive idea. One of his first actions was to increase IT development spending by several million dollars to tackle some projects that had had to be put off over the past few years, including renovating several applications that we’re quite performing up to expectations. Unfortunately, while the CIO’s spirit was in the right place it became clear that his money was not. read more...

add a comment |category: |Views: 3

tags: another

2009 Columbus Give Camp recap(jamescbender.com)

submitted by JamesCBenderJamesCBender(749) 2 years, 10 months ago

The goal of a Give Camp is to unite non-profits that need technical assistance, be it a new web site, help with a CRM or making changes to an existing line of business application with passionate geeks in the area who are willing to give a weekend to help these non-profits accomplish their goals. read more...

add a comment |category: |Views: 2

tags: another