QB Rating Web Service is a WCF service that calculates a QB's NFL and NCAA ratings. It supports REST, SOAP, XML and JSON.
It is a Visual Studio 2012 project written in C# and is another in my series of QB Ratings app samples -
InfoPath 2013 QB Rating,
Excel 2013 QB Rating
and SharePoint 2013 QB Rating
(App & App Part).
Download Web Service Source
ASP.NET QB Rating Sample
Web Service (WCF)
REST and SOAP
XML and JSON
Calculates both NFL and NCAA ratings
Shows detailed calculation formula & steps
Source code included
The web service interface in the Visual Studio Object Browser
Sample XML response from the service
service call in the WCF Test Client
Quick Usage Example
In order to use this service via SOAP, you'll need to create a client and use it to call the service. Additionally, you can use the REST configuration with a
. You can quickly create a configuration file and simple
using the svcutil.exe tool from the command line with the following syntax:
This will generate a configuration file and a code file that contains the client class. Add the two files to your client application and use the generated client class to call the Service. For example:
static void Main()
QBRatingServiceClient client = new QBRatingServiceClient();
// Use the 'client' variable to call operations on the service.
// Always close the client.
Shared Sub Main()
Dim client As QBRatingServiceClient = New QBRatingServiceClient()
' Use the 'client' variable to call operations on the service.
' Always close the client.
Detailed ASP.NET Usage Example
In addition to the quick usage in the previous section, I developed a working
QB Rating Calculator that uses this web service to perform the actual calculations. The complete Visual Studio 2012 project is available on