Giter Site home page Giter Site logo

kathleenwest / wcfmathservicelibrarymultithreadedcapablewithconsoleservicehost-clienttester Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 583 KB

WCF Math Service Library with Multi-Threaded Capabilities & Console Service Host and a Client “Tester” ChannelFactory Implementation

Home Page: https://portfolio.katiegirl.net/2019/03/25/wcf-math-service-library-with-multi-threaded-capabilities-console-service-host-and-a-client-tester-channelfactory-implementation/

C# 100.00%
wcf-service wcf-client wcf-service-client-demo wcf-proxy wcf-bindings wcf csharp csharp-code multithreading asynchronous-programming

wcfmathservicelibrarymultithreadedcapablewithconsoleservicehost-clienttester's Introduction

WCFMathServiceLibraryMultiThreadedCapableWithConsoleServiceHost&ClientTester

WCF Math Service Library with Multi-Threaded Capabilities & Console Service Host and a Client “Tester” ChannelFactory Implementation

Project Blog Article here: https://portfolio.katiegirl.net/2019/03/25/wcf-math-service-library-with-multi-threaded-capabilities-console-service-host-and-a-client-tester-channelfactory-implementation/

About

This project presents a WCF Service Library (MathServiceLib) that consists of a math library that contains complex, long-running methods. This WCF Math Service and Client demonstrates multi-threaded access with various combinations of instance context modes and concurrency levels. The client accesses these methods using sequential and multi-threaded techniques to demonstrate the difference in performance. The service is hosted via a console application (MathServiceHost). The client (MathClient) uses the ChannelFactory pattern as opposed to “Add Service Reference” with SVCUTIL. The client and service share a common assembly (SharedLib) that contains the key contract and data model information. Furthermore, a Utilities project is used by the client console application to facilitate user data entry and the complicated details of building and managing the WCF ChannelFactory connection implementation. The ProxyGen class inside the Utilities project abstracts the details of implementing and managing a generic ChannelFactory connection to a generic service for a client. Note: The Utilities project library was included as base code for my lab project to facilitate speedy completion; we were not expected to code this Utilities project ourselves due to complexity and time constraints. The remaining projects in the solution (SharedLib, MathClient, MathServiceHost, and MathServiceLib), I completed individually per requirements for the lab project.

Architecture

The MathService Visual Studio solution application consists of five project assemblies:

• SharedLib (Class Library) “Service and Data Contracts” • MathServiceLib (WCF Service Library) “Implements the Service” • MathServiceHost (Console Application) “Hosts the Service” • MathClient (Console Application) “Client Tester to Service” • Utilities (Class Library) “Helper classes”

wcfmathservicelibrarymultithreadedcapablewithconsoleservicehost-clienttester's People

Contributors

kathleenwest avatar

Watchers

 avatar

Forkers

wcf-sample-code

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.