Click here to Skip to main content
15,886,110 members
Articles / High Performance Computing / Parallel Processing

Distributed and Parallel Processing using WCF

Rate me:
Please Sign up or sign in to vote.
4.24/5 (9 votes)
19 Apr 2009CPOL7 min read 108.2K   1.9K   41  
How to provide parallel and distributed computing capabilities using WCF
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Worker
{
    /// <summary>
    /// This interface is used to perform the worker activities.
    /// </summary>
    [ServiceContract]
    public interface IJobPerformer
    {
        /// <summary>
        /// This method makes an entry in the database.
        /// </summary>
        /// <param name="fileId">This is the file Id in the files table.s</param>
        /// <param name="message">This is the message to be entered</param>
        /// <param name="count">The number of times the message is entered</param>
        /// <returns>True if succesful false if there is an error</returns>
        [OperationContract]
        bool SaveEntries(int fileId, string message, int count);
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect Imfinity
India India
Hi I have been working on enterprise applications for last six years.

Comments and Discussions