DerrickBrayanClayton / protobuf-net

Automatically exported from code.google.com/p/protobuf-net
0 stars 0 forks source link

ProtoBehaviour is not recognized #81

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I added the library protobuf-net and protobuf-net.extensions to my wcf
service and when i added

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using ProtoBuf.ServiceModel;
using ProtoBuf;
using ProtoBuf.ProtoBcl;
using ProtoBuf.ServiceModel.Client;
using TopSecretCommonClasses;

namespace TopSecretService
{
    // NOTE: If you change the interface name "IService1" here, you must
also update the reference to "IService1" in Web.config.
    [ServiceContract]
    public interface IService1
    {
        [OperationContract, ProtoBehaviour]
        SecretMessage SecretMethod(SecretMessage message);

...

and 'ProtoBehaviour' is not defined

and also i have a feature request to create VS2008 sample of service and
client with short guide how to convert vs2008 wcf service sample to
protobuf-net

Original issue reported on code.google.com by Cuchuk.S...@gmail.com on 26 Oct 2009 at 2:21

GoogleCodeExporter commented 8 years ago
Figured out the problem: i misunderstood the CF35

Original comment by Cuchuk.S...@gmail.com on 26 Oct 2009 at 2:38

GoogleCodeExporter commented 8 years ago

Original comment by marc.gravell on 19 Nov 2009 at 8:13