tagged [wcf]

HttpContext null in WCF service?

HttpContext null in WCF service? here is my line of code and it throws me error on `HttpConext.Current`

4 Mar at 14:9

maxReceivedMessageSize and maxBufferSize in app.config

maxReceivedMessageSize and maxBufferSize in app.config How to increase maxReceivedMessageSize and maxBufferSize parameters in app.config file to 2000000 before running the application.

20 Sep at 07:56

WCF change endpoint address at runtime

WCF change endpoint address at runtime I have my first WCF example working. I have the host on a website which have many bindings. Because of this, I have added this to my web.config. This is my defau...

29 Sep at 15:44

Why KnownTypeAttribute need in WCF

Why KnownTypeAttribute need in WCF I am learning WCF and do not understand the real advantage of KnowTypeAttribute. Could somebody explain me simply why we need it?

16 Sep at 12:44

WCF ConcurrencyMode Single and InstanceContextMode PerCall

WCF ConcurrencyMode Single and InstanceContextMode PerCall I have an issue with my wcf service config. I would like every call to my service create a new instance of the service. For the concurrency I...

What is meant by WS-*?

What is meant by WS-*? I have seen the abbreviation WS-*, but I have not been able to figure out what this means, and why is it important?

12 May at 22:56

Set maximum download speed in WCF

Set maximum download speed in WCF I'm using WCF for downloading audio data from database. I need to set maximum download speed. How can it be done in WCF? Thanks!

26 May at 05:34

WCF Service in Separate Assembly

WCF Service in Separate Assembly What is the correct way to create a WCF service in separate assembly but then expose its endpoint through a Web Project in the same solution?

1 Sep at 15:28

Trace logs location, where to view them

Trace logs location, where to view them Where do you see `Trace.Write("");` logs while developing an MVC or WCF app? What is the correct place to look at?

12 Feb at 19:55

Steps to host a WCF service in IIS5.1(XP)

Steps to host a WCF service in IIS5.1(XP) I have developed a sample WCF service. I would like to know the steps to host this in IIS 5.1(XP)

31 Oct at 04:12

System.Runtime.Serialization.InvalidDataContractException: No set method for property

System.Runtime.Serialization.InvalidDataContractException: No set method for property As the error shows I don't have a setter for my property, but I don't want a setter, it should be readonly.

3 Jun at 08:46

ASP.NET 5 add WCF service reference

ASP.NET 5 add WCF service reference In Visual Studio 2015 Preview (Pre Release), how can I add a service reference for a `WCF` service?

WCF client with proxy settings set to "Use automatic configuration script"

WCF client with proxy settings set to "Use automatic configuration script" I'm currently developing an application that needs to communicate with a webservice on the internet. Internet explorer is unt...

17 May at 06:29

DataContract and inheritance?

DataContract and inheritance? How to use DataContract with inheritance? Will code below work?

18 Dec at 21:50

Where is svcutil.exe in Windows 7?

Where is svcutil.exe in Windows 7? For my WCF, I need to generate configuration file for my client application to specify things such as binding of service, the address of the service and the contract...

2 Feb at 15:34

REST / SOAP endpoints for a WCF service

REST / SOAP endpoints for a WCF service I have a WCF service and I want to expose it as both a RESTfull service and as a SOAP service. Anyone has done something like this before?

4 Jan at 02:28

Do WCF Services Expose Properties?

Do WCF Services Expose Properties? In the interface required to implement a WCF service, I declare the main class with the `[ServiceContract()]` attribute and any exposed method with `[OperationContra...

1 Jul at 09:36

Sometimes adding a WCF Service Reference generates an empty reference.cs

Sometimes adding a WCF Service Reference generates an empty reference.cs Sometimes adding a WCF Service Reference generates an empty reference.cs and I cannot reference the service anywhere in the pro...

20 Jun at 14:58

Setup Ninject for WCF

Setup Ninject for WCF Does anyone have a clear instruction on how to setup Ninject in WCF? been googling around but I cant see any updated guidelines on how to use Ninject in WCF.

3 Aug at 07:29

'MANAGE PRIVATE KEYS' option missing

'MANAGE PRIVATE KEYS' option missing I'm developing WCF service with Transport Security hosted on IIS 7.5 under Windows 2008R2. I have a certificate, generated in IIS 7.5 which is stored in Local fold...

15 Jan at 13:17

Could not find default endpoint element

Could not find default endpoint element I've added a proxy to a webservice to a VS2008/.NET 3.5 solution. When constructing the client .NET throws this error: > Could not find default endpoint element...

8 Mar at 19:21

Set default value in a DataContract?

Set default value in a DataContract? How can I set a default value to a DataMember for example for the one shown below: I want to set ScanDevice="XeroxScan" by default

8 Oct at 18:17

WCF service maxReceivedMessageSize basicHttpBinding issue

WCF service maxReceivedMessageSize basicHttpBinding issue I can't seem to get my WCF service to accept large amounts of data being sent up to it. I configured the maxReceivedMessageSize for the clien...

21 Aug at 13:59

Using enums in WCF Data Services

Using enums in WCF Data Services I'm trying to manually build a WCF Data Service using a POCO data model and I cannot figure out how to properly expose `enum` values. Assuming a simple model like: ```...

25 Aug at 21:33

Relationship between SVC files and WCF projects?

Relationship between SVC files and WCF projects? When creating a WCF project, the default member files are just ordinary csharp class files, rather than svc files. Are svc files required with a WCF pr...

17 Jun at 21:40