Basic WCF Service Application & Client Console Tester

This project presents a basic WCF Service Application and client “tester” console application in same Visual Studio solution. The WCF Service was hosted using IIS Express. A simple console “test” application connected to the service through a proxy. The service provides basic mathematical operations contracts including:

[OperationContract]
double Add(double value1, double value2);

[OperationContract]
double Subtract(double value1, double value2);

[OperationContract]
double Multiply(double value1, double value2);

[OperationContract]
double Divide(double value1, double value2);

[OperationContract]
double CircleArea(double radius);

The client is expected to access the service using information available through the WSDL. I created my test client application by building a proxy using svcutil.exe http://localhost:portnumber/MathService.svcutil

Note: You should update the client proxy or reference to the server before running this in your Visual Studio IDE by first going to TestClient (Console Application) –> Connected Services –> MathServiceRef and selecting “Update Service Reference”.

Demo

MathService Service
IIS Express
Client Console Application

 

Code

You may download a copy of the project by visiting the code repo here.

Kathleen has 15 yrs. experience analyzing business IT needs and engineering solutions in electric utilities, pharmaceutical, and internet industries with a variety of technologies. Kathleen's project experience has been diverse ranging from executing the business analysis “design phase” to hands-on implementation and testing of the IT solutions. She has also delivered technical training, user documentation, and developed new business processes for the solutions. Kathleen also has strengths in software development, programming, testing vendor applications, databases, creating business efficiency tools, and IT solutions with proficiency in technologies such as C# .NET applications, Visual Basic (VB.NET), SQL, Visual Studio, Oracle, XML, Microsoft applications, and more.