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`
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.
- Modified
- 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...
- Modified
- 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?
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...
- Modified
- 22 Sep at 04:0
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?
- Modified
- 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!
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?
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?
- Modified
- 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)
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.
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?
- Modified
- 22 May at 18:52
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...
- Modified
- 17 May at 06:29
DataContract and inheritance?
DataContract and inheritance? How to use DataContract with inheritance? Will code below work?
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...
- Modified
- 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?
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...
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...
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.
- Modified
- 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...
- Modified
- 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...
- Modified
- 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
- Modified
- 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...
- Modified
- 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: ```...
- Modified
- 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...