service

WCF, self signed Certificates for Encryption

I want to create WCF services using aspnet membership to authorize the user. However, if I just need the certificate for encryption purposes only, does it matter if it is a self signed certificate or do you need to buy a certificate from a vendor? ...

C# Web Service - Deploy on my website

Hi guys, I have a website and also connected in SQL Server. How do I deploy my Web Service in my Web Site? Do I have to create a Virtual Directory? am using HELM Regards, ...

How to call Windows application using Windows service in C#?

I have created a Windows service with using that service. How will I call a Windows application? ...

How set a parameter type as inout when using rpc with gwt ?

Hi I've a sample gwt2 rpc service & i need to set some of it's parameters as out or inout (like out or ref parameter types in microsoft wcf), but i could not find anything about it in gwt documents or related forums :( Can anybody help me please ?! ...

RESTful web service in C# code.

How do I consume a RESTful web service in C# code without wcf? Something very simple ...

How to capture Logoff event using a windows service in C#?

I am trying to create a service that will log when users logon and logoff. I have no problem with capturing the logon, but for some reason i cannot catch the logoff event. this is the code i have used: protected override void OnStart(string[] args) { //SystemEvents.SessionSwitch += new SessionSwitchEventHandler(SystemEven...

Configuring business logic tier from WCF Service Application

I have a business logic tier I work with that requires configuration based on a custom configuration file. When using this tier within a web or windows application, I initialize the business logic tier within application startup, passing in the path to the configuration file which is configured in app.config or web.config. I'm now tryin...

With a WCF Windows Service that is deployed, only a small subset of endpoints give a HTTP 400 Bad Request Error

I have a solution containing about 20 WCF endpoints where each endpoint shares one of two configurations for bindings and behaviors. The two different configuration I have is so I can either do a custom username/password authentication or do a certificate authentication. All of my endpoints specify a specific base address. If I start ...

DDD Business Model to Relational Model mapping

I'm trying to figure out where (in the various layers) the business entities should start and the object to table mapping end. Should business entities surface out of the repository layer or out of the service layer? I'm wondering cause initially i thought it should surface from repository layer, but let's see my concerns in this case. ...

How to web asp.net web service call exe ?

I try to call exe from web service. It can not run exe programme. anyone please help me for this problem. I develope it by asp.net. Thank you for this so much. Asada ...

CLR Profiler with WCF doesn't work for specific service

Hello, I need to profile a WCF service, but I get the message "Waiting for service to start common language runtime", it only occurs with this particular service; when I tried with other WCF services, it works fine. I was wondering if I should configure something in the wcf to allow the profile. Both services run with the same account(ad...

Launching Web Browser from Windows Service

Is it possible to launch a web browser from a windows service? I have created a basic service in C# and installed it under the "LocalSystem" security profile. The code for the service looks as follows: namespace Bootloader { public partial class Service1 : ServiceBase { public Service1() { Initializ...

Convert a docx document to pdf, as a service.

I'm looking for a way to convert docx documents to pdf, on a system which doesn't has office installed. In the end, this is supposed to run as a service. ...

Is possible in WCF service: method return IList<object> when object can be Person class?

Is possible in WCF service: method return IList when object can be Person class? Ex: in IServiceContract.cs [ServiceContract] public interface IDAS { [OperationContract] void DoWork(); [OperationContract] List<object> GetAnyClass(); } And class: public class DAS : IDAS { public void DoWork() { } pu...

Make WCF service be accessible through Internet.

I've made a WCF service. I want it's client to be able to access it from anywhere. How can I do that? Details: I want it to be hosted in a Windows process, not a site. I'm using TCP binding. I don't know almost anything about web hosting etc. It's desirable not to use IIS... I have found many recommendations in the web, but stil...

Jetty6 service and administrator rights

How do I determine if my Jetty6-service run with administrative rights? I need to setup Jetty on my XP dev box to run as a service. http://docs.codehaus.org/display/JETTY/Win32Wrapper It installs OK and I can see the Jetty6 Service in windows services manager. But when I try to start it I get this error in the log file: STATUS | wr...

ASP.NET Web Service and Membership

Hi, I try use Membership in asmx web service. I use Web Site Administration Tool, create som roles and users. In asmx web service I create Login method a test some users account. It's work ok. [WebMethod] public string Login(string userName, string userPassword) { if(Membership.ValidateUser(userName,userPassword)) { re...

How can I post to a facebook wall from a c# web service?

Hi All, I've tried a bunch of things and can't figure out how to post content to a facebook wall from a web service. Does anyone know if it's even possible? It seems like the only way to post content is to include a sign-in page within a web site, which isn't what I'd like to do. For twitter, I was able to tweet a message in under 10 lin...

long running process behind .NET service

I would like advice from the architecturally minded on the best framework or method for the following: server: a windows service in .NET client: any mainstream language, a combination of .NET app/web app, and also some clients that are Ruby on Linux. One idea I had was to have the Windows Service expose itself as a Web Service, and su...

Terminal Server : shadow a session using AxMSTCLib

Hi, I'm trying to "shadow" a session within a session opened through AxMSTCLib (using c# app), but I get ejected. Is this normal with TS2008 ? If so, as anyone ressource explaining how to open a shawod rdp session using managed code ? Regards, Stéphane ...