First of all, sorry for the dummy question. Couldn't find any straight answer on the internet.
I'm new to WCF (and using services in general) and would like to get some information about my security concerns.
Suppose I have an open source web application written under .Net which has a WCF Service to change the site users' profile data in...
Hi,
I am new to asp.net & IIS. Now I am deploying a web site with wcf service to IIS. The WCF service needs windows authentication, so i have used impersonate attribute in web.config.
But everytime I change my password, the web page is not served and it throws error. I think it is basic, but I donno.
How I can fix this permanently? ...
hey there
Once, to have a complete control over the head/body of HTTP messages - I use the Message class. To return some XML, for example, I call
public Message ShowRunResults()
{
// some [OperationContract] implementation
webContext.CreateTextResponse(result.ToString(), "application/xml", Encoding.ASCII);
}
The questi...
Hi all,
I consider using .NET 4.0 Content Based WCF Routing. Currently I have a normal .NET 3.5 WCF Server. All Clients uses the compact framework .NET 3.5. Could there be a problem, if I will port my WCF Server to .NET 4.0?
Thanks for your answer.
Kind regards, pro
...
I have read a lot about impersonation, and I have tried a ton of tags in my config file. I have tried [OperationBehavior(Impersonation = ImpersonationOption.Required)] on my method that hits the database.
None of it works. I get a wide variety of error messages depending on how my config is setup.
Can anyone lay out for me what C# an...
Hi - I've been having issues getting a service to start. I have 2 other services are identical in configuration in just about every way that start fine, but one of them refuses to start and I really need to get it to work today. I can't see any difference in their implementation or config files. I'm receiving the following messages wh...
I've been reading the documentation on IIS settings, and haven't been able to find much on the MSDN site. I'm trying to figure out the preferred settings for a WCF REST service hosted in IIS6. Main goals of these settings should be reliability, restarting the service when needed, and max throughput.
My service will use some processing ...
Hello,
Is there tool/way to conver webservices into WCF services? like .net frame work application 1.1 to 2.0 provided by MS visual studio.
any help would be appritiated.
Thanks,
Pradeep
...
Hello,
I set up a custom binding with http and https endpoints for my WCF webservice. However, when I attempt to call the https endpoint, I get the following
The provided URI scheme 'https' is invalid; expected 'http
Here are my two bindings
<customBinding>
<binding name="jsonpBinding">
<jsonpEncoding/>
<...
Maybe I am not understanding this so hopefully someone can explain this to me.
I am writing a WCF REST service (lets call it RestProj). RestProj has a dependency to the RestProj.DataAccess dll which houses all of the data access layer and to the WCFRestContrib dll.
I have another project that contains all of the Rest parameters (data...
I have a simple WCF 4.0 service with some simple methods and a property with a getter that returns List. The service works fine when connected to programatically. The getter is decorated as are the other methods on the Interface that define the service contract.
My next move is to make the service accessible via the IE web browser so se...
We have a C# Web Service that declares itself using attributes. The code-behind file looks like:
[WebService(Namespace = "http://the.web.service.url/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public sealed class TheWebservice : WebService
{
[WebMethod]
public SomeObject TheFunction()
...
The web ser...
I have code something like the following:
<OperationContract()>
<Description("")>
<WebGet(Bodystyle:=WebMessageBodyStyle.Bare, UriTemplate:="TestConnection")>
Function TestConnection() As String
Public Function TestConnection() As String Implements ITestSvc.TestConnection
WebOperationContext.Current.OutgoingResponse.ContentType = ...
Hello,
I'm working on two webservices
Call the first one ModelService
and the second one ConfigurationService
My goal is to have multiple servers running the ConfigurationService and one central server running the ModelService
So far what I have working is the ModelService has a ServiceReference added which points to http://localhost...
I created my WCF project and it works fine when I just run it from the debugger.
But when I publish it to IIS and point a browser to the svc the path used has localhost in it. Like this:
htpp://localhost/MyService/MyServices.svc
but the path that the webpage says to go to for the WSDL uses my computer name, like this:
http://MyComp...
I have a linq query running in a WCF Web Service that looks for a match and if one is not found then it creates one.
my code looks like
//ReadCommitted transaction
using (var ts = CreateTransactionScope(TransactionScopeOption.RequiresNew))
{
Contract contract = db.Contracts.SingleOrDefault(x => x.txtBlah == str);
if (c...
I have 2 WCF services going through the same TCP port.
Both services are self-hosted, one attaches to net.tcp://localhost:8700/DataAccess another to net.tcp://localhost:8700/Messages
Will I gain any performance by attaching them to different ports? One of the services is very busy sending megabytes of data every second. Any reason to h...
So I was having a debate with my co worker about WCF RIA Services, and exactly how much data we send to the client in a given request. Here is the setup:
We are creating a reporting application in Silverlight and grabbing data from a WCF RIA Service to populate various grids and charts. We have two differing ideas as to how to implement...
The question is simple enough. And judging by my last thirty minutes of searching around, I'm assuming that the answer is a resounding "no".
So if it's a no, here's a follow up question: What's the best workaround? Is a COM wrapper around the web service a viable solution for a VBA version that old?
Most of the functionality in the web...
Hi,
I created a WCF service and one of its methods connects to database to perform some task. when I call the WCF service method from the client (website or console app), I get a login failed error ("login failed", login is from an untrusted domain"). I can connect to the database from the website successfully, but when I do the same b...