wcf

WCF with Binary over TCP

WCF Binary over TCP option, is it applicable only for Intranet or Internet also? Is TCP applicable only for Intranet? ...

Is there any way, short of "copy and paste inheritence" to share a .net class with a Silverlight app?

I have a project in two parts: a Silverlight front end and a WCF duplex service. Ideally, I would like to pass a message of a custom type (call it TradeOffer) from the WCF service to be consumed by the Silverlight application. When I try to, I get an error that indicates I can't pass an object of an unknown type across the wire like tha...

Ways to restrict WCF Service so only our apps can access it.

I have a public WCF Service. I have a WPF Desktop app & a silverlight app. My apps does not have any login requirements. I want to make it difficult for another developer / website to make use of my service. What's the best way to restrict access to my service? Use SSL and have the desktop / silverlight app store a token inside of it?...

Creating WebService test harness

Hello, I am trying to create a test harness for our QA staff to test our internal web services. I would like to create a web app that will allow them to enter a uri then submit. The web app will then interrogate the uri to get the appropriate parameters expected and returns with a generated input form. I know, this would be similar...

Session variable in WCF application

I need to use or stimulate a very simple session object inside my WCF app. I simply need to store some values at the beginning of a call and I need access to these values while I go through some different methods of my service. Asp.NET session would be very ideal to use for this so I need to find out what is available on a WCF app for ...

clientaccesspolicy.xml not being requested via HTTPS

I have a silverlight app that has been using http to communicate w/self-hosted WCF services during development. I am now securing the services via https. I am getting an error I had back at the beginning of the project: An error occurred while trying to make a request to URI 'https://localhost:8303/service'. This could be due to attem...

How to write Performance Test for .Net application?

How to write Performance Test for .Net application? Does nUnit or any other Testing framework provides framework for this? Edit: I have to measure performance of WCF Service. ...

WCF 405 Method Not Allowed Crazy Error Help!

hi, i am going crazy i have read like 10s of articles also on stackoverflow about that i am calling webservice in restful way and should enable this in service and in webconfig, so i did that but as soon as i add the [WebGet()] Attribute i get this crazy error if i remove it then the service get called seamlessly i am using VS 2010 ...

asp.net mvc should calls wcf

Greetings, I have a wcf service that exposes functionality to my wpf application. This works fine. I would like to create a web version and I am wondering how can I connect from my asp.net mvc application to my wcf service? Should I use the same approach as for WPF application (which uses Proxy to connect to the WCF Service. Is there ...

WCF TCP Protocol

I want to host a WCF service with TCP Protocol. I can host the service using IIS or Windows Service. I need to know what port I need to open for this service for it to be accessible by client? ...

WCF streaming files

I need to pass a memory stream to the WCF server , how do i need to add this data type in my data contract. I will eventually need to convert this to a memory stream and pass it on to my service layer. datacontact[DataMember] Stream str = null; public Stream File { get { return str; } set ...

Can CPython speak with WCF?

I would like to write a CPython app that would consume WCF services that use NetNamedPipeBinding and NetTcpBinding. It is possible? What library enables that? ...

Windows Communications Foundation Simple Beginning

Does anyone know of some (very) simple tutorials on line on the WCF? Basically I need to play catch up and would like to start with a very basic sample so that i can get some good ground work in place before moving on to more advanced topics. ...

How to design WCF Contracts?

We are designing a WCF layer which can be invoked either by a Asp.Net or a WinForm application. Our Application contains too many Entities. We have basically two choices. If we design WCF Contract around these entities then we get too many Contracts e.g IPartyService, IUserService, IPaymentService etc. So, I may end up with 30-40 Contr...

purpose of use services in MVVM

Where in this pattern I can "place" services, about which I some much hear and want use? What is the purpose of use Services (WCF) in MVVM ? Which of services: Web Services, WCF or RIA is the best and the easiest for MVVM? I only read about realy simple WCF contracts and RIA which have from start create Update,Insert etc method... ...

Why my WCF Service returns xml serialized objects?

Hi, I'm new here and I hope anyonte can help me. I have WCF Service and Windows Forms working with this client written in VB.NET. The Service class started to return xml serialized objects, but all my classes on Service side are DataContract-s and the service class is DataContractFormat. I googled everywhere about serializations and I ...

Is this the Crudy anti pattern?

Currently I am creating a WCF service which has to connect to a DAL which, just connects to a database using ADO.net and stored procedures. The DAl writes its responses from the database to a datacontract which is passed over the wire to the client via the service. I was reading that this may possibly be the anti pattern 'CRudy Interfa...

what is the global.asax Application_Start equivalent when using WAS in IIS7

Hi I'd like to use the netTcpBinding for my WCF application which is currently hosted in IIS7, which means configuring it to use WAS instead. This is fairly straight forward however, my application previously made use of the Application_Start event in the global.asax file. I do not require access to the httpContext(which I understand ac...

What is meant by WCF?

What is meant by WCF ...

Getting mapping error. After dragging table with xml fields into dbml file and then compiling.

"Error 1 DBML1005: Mapping between DbType 'Xml' and Type 'System.Xml.Linq.XElement' in Column 'XML_LAYOUT' of Type 'QUEST_BLOCK' is not supported." The above is the error am getting. What am doing is dragging a table with xml fields as columns from server explorer into a dbml file. After that when i compile i am getting the above error....