Hey
I have a class that handles all the interaction in my application with my WCF service and it seems that MSDN say that the use of Using)_ statement with WCF is bad - I can see why this is bad and agree with it (http://msdn.microsoft.com/en-us/library/aa355056.aspx)
my problem is that their suggested method of implementation will me...
I have searched the web for resolution of this error, but everything I have found suggests what I have is correct.
Maybe someone could take a look and spot an obvious mistake I just cannot see.
I have a windows service, hosting two contracts:
IConfigurationService
IConfigurationAdminService
The admin service inherits from the stand...
How to determine an attachment is there or not in WCF service when an user send a mail(either simple text mail or an attachment email) using C#.NET
...
I have a simple service and the URL is being generated as:
http://localhost:1234/TestService/TestService.svc
Is there any way to get this to be:
http://localhost:1234/TestService.svc
i.e. to remove the Project name from the URL?
...
We are enforcing all our domain objects to implement GetHashCode.
namespace Core
{
[Serializable]
public abstract class DomainObject
{
public abstract override int GetHashCode();
}
}
namespace Entity.Domain
{
[Serializable]
[DataContract]
public partial class IdCard : DomainObject
{
private System.Int32 _effDte;...
I am exposing a WCF service on SharePoint 2010 using a Service Factory class and cannot completly get rid of the tempuri.org namespace in the generated WSDL.
Here is what I do:
The svc file in the ISAPI folder
<%@ServiceHost
Language="C#"
Factory="Microsoft.SharePoint.Client.Services.MultipleBaseAddressBasicHttpBindingServ...
Hello guys.
My wcf is hosted by IIS and used basicHttpBinding.
My common data is datasets, whci I should serialize and transmit to client.
I haven't got hundreads of MB, but I want to trnasmit it to client with best perfomance.
As I understand I should use MTOM encoding. Right?
Also want to know about type of transmitting object:
DataS...
I'm able to run an asp.net application using a console host to host my services. This works fine.
When I install the services to a server and then attempt to access them with my application, I get an error when running my search function (it's a search application) I used to be doing it using a stored procedure that is dynamically crea...
I have one solution WCFSampleSolution and it has all my projects - Web Service, Client and Website. The structure is something like:
WCFSampleSolution
C:\WCFSample\Website
WCFService
WCFWebClient
I created WCFService project for my services. It contains IService1.cs and Service1.cs. Then I hosted the service in IIS. I did this by c...
I have a WCF Service with a binding endpoint with security mode set to "TransportWithMessageCredentials" and a custom UserNamePasswordValidator to handle the credential validations. It's working fine.
Since the validation is addressed outside of the service operation/method, is it possible (and if so how) to get the name of the authent...
Hi,
I want to crawl through lets say other companies websites like for cars and extract readonly information in my local database. Then I want to be able to display this collected information on my website. Purely from technology perspective, is there a .net tool, program, etc already out there that is generic enough for my purpose. Or...
I have a windows service that is very heavily multithreaded (hundreds to thousands at the same time).
Those threads scan different machines and call WCF web services of one Web Server.
Lately I started getting Timeout errors. The thing that confuses me is
The request channel timed out while
waiting for a reply after
00:02:41.880...
WCF Custom BehaviorExtension Error: An extension "silverlightFaults" already appears in extension
collection. Extension names must be unique.
I have a custom behaviorExtension for a silverlight project which helps in communicating faultcontract
messages to client. This error occurs when the service is called. Works good in Dev and Q...
Ok, this is one of these basic questions, but I've googled and debugged now for two hours and the error escapes me.
Simple scenario: WCF service with methods with parameters which I'd like to call through jquery. I can call methods without params alright, but with params, the call never makes it to my breakpoint in .NET.
ServerCode: ...
Hi guys,
We've been working a lot in an application developed in VS 2010, C#, and WCF. We use Transport as the security mode, and in the TransportSecurity Properties set to None and None.
We are hosting the service in IIS6. After working a lot we managed to make it work using https. The Certificate we used was a self created one, creat...
I'm migrating an existing service from HTTP (Dev/UAT) to HTTPS (Production), and I'm having trouble with the configuration. Here is the system.serviceModel section of my web.config:
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="">
<serviceMetadata httpGetEnabled="true" />
<se...
I'm writing an app that's sole purpose is to determine if one of our core applications is up and running in production. This application is a WCF application. The app is up and running on two different boxes behind a load balancer. The site on each box is configured to listen to traffic for the following DNS name: app.company.com. DNS re...
I have a web service that contains a method I need to run to generate a report. The web service method is written in .Net 2.0 and works fine on my test system which runs on the same server as the live system. The only difference is that the live version uses https.
Whenever I change the endpoint address to the live service and run my ap...
I have created a workflowservice in .net 4.0
I am trying to secure this (WCF) service and used the following link to see how this is done.
I followed the instructions, however when a define a servicebehavior everthing works fine.
The configuration is like this:
<behaviors>
<serviceBehaviors>
<behavior>
<servi...
Hi there,
Can anybody advice me the best practice for closing WCF clients after doing a async calls? Should it be within the "completed" method or should there be a different approach?
/BB
...