services

Can you please tell me the reasoning behind this structure (Services + Interfaces in ASP.NET) ?

Hi All, I am new to Web/WCF/Services - so bear with me :) I am trying to analyse the code-flow in a .NET application but I have a hard time understanding the reasoning behind using the following approach when it comes to exposing services : Now, in the application, I have a C# Class Lib Proj which has a C# Class Library project call...

Installing services remotely

Is there a way to install services remotely, without necessarily resorting to .msi packages or full-blown installers? I'm currently using a method similar to the one discussed here: http://stackoverflow.com/questions/358700/how-to-install-a-windows-service-programmatically-in-c to install a service locally, and it works fine. However, ...

Service vs. Repository

Hello, Wherein lies the advantage of the first approach getting customer data? ICustomerService customerService = MyService.GetService<ICustomerService>(); ICustomerList customerList = customerService.GetCustomers(); vs. ICustomerRepository customerRepo = new CustomerRepository(); ICustomerList customerList = customerRepo.GetCustome...

C#: Services access the dataprovider class running the sql statements - correct approach ?

Hello, is this a common and/or good approach? In my ViewModel(Wpf) or Presenter(WinForms) I do this: ICustomerService customerService = MyService.GetService<ICustomerService>(); ICustomerList customerList = customerService.GetCustomers(); the CustomerService class looks like this: public class CustomerService : ICustomerService { ...

WCF Data Service can't handle UPDATE on feed entries

Hi! Me and some buddy of mine are trying to get started with WCF Data Services, so let me first describe what we have done so far: We have created a fairly simple WCF Data Service with a data source that implements the IUpdatable interface and exposes some data through some public IQueryable<> attributes (the code is attached at the b...

Close UIAlertView and Replace with Another

I'm running an application that requires LocationServices be enabled. I'm checking if they are by making a call to the service and catching the error. In the error case, I want to pop up an alertview notifying the user to activate location services. I have another AlertView open already when this test happens. I want to close that on...

Does Services module still need a key

I'm reading a book that suggests that you try to configure the Services module, you should see 3 tabs: Browse, Settings, and Keys. I'm working with the latest release and all I see is Browse and Settings. Anyone knows what happened to the Keys tab? Has the module logic changed? ...

Creating a search against an Entity framework object in RIA services (Silverlight)

Hi, All i want to do is enter a term in a search box, click a button and then call a custom method in my domain service that will just return the records I want. As it currently stands I've got a grid on the screen bringing back all the rows. Any Ideas? ...

Using a key with the Drupal Services module

I'm testing the Drupal services module and it's working fine. I now switched from no key to a key authentication, and the system generated this key for me afw92iej83foijofn23. When I inspect node.get at http://localhost/drupal/admin/build/services/browse/node.get I see that it now needs 4 extra required parameters stringhash, stringdom...

Drupal as the Services layer only

It's possible to the Services layer of Drupal to get nodes, etc. but is there a way to restrict Drupal to being a Services layer, where the front end would be entirely something else not Drupal/PHP. Is there a way to prevent Drupal from lading anywhere and have only the non-drupal interface load which then communicates with Drupal throug...

Disabling Krumo in Drupal Services

When I inspect a method in drupal services, I get the output formatted with something called Krumo. It wasn't like this before, it was just an array dump. I'm not sure what happened to cause this Krumo to get activated. Is there a way I can turn it off? ...

Looking For An API That Will Feed Me Soccer Stats

Hello, I am looking for an API that will feed me soccer stats from leagues like the EPL, Bundesliga, Serie A, and La Liga such as personal player information (name, height, weight, dob, etc.), player statistics (goals, assists, minutes played), as well as results from games. If anyone knows of a service (maybe even sites like premierlea...

RIA Services IIS 7 AppPool SQL Server Silverlight Failure

I'm using custom authentication, works fine. When I try to do an insert from another part of my code I get a DomainOperationException error in my Silverlight App. I traced it back to a SQL Server (2k5) error which is Login Failed for XXX\XXX [Client: ]. The web server and db server are different machines, same domain. I've tried a do...

How to create service which restarts on crash

I am creating a service using CreateService. The service will run again fine if it happens to crash and I would like to have Windows restart the service if it crashes. I know it is possible to set this up from the services msc see below. How can I programatically configure the service to always restart if it happens to crash. ...

Java Web Service - deploy.wsdd problem

Hi all, I am creating Java Web Services using Eclipse. I am using Apache Axis (NOT AXIS 2) Now for one web service - public int deleteParameter(Parameter[] paramArray) The deploy.wsdd is description for the paramArray is - <parameter xmlns:pns="...." xmlns:tns="...." xmlns:itns="...." qname="pns:paramArray" type="tns...

how to use web service API?

Our application is written in Java. Now we are integrating with a different company which offers web service API. This API allows Microsoft.NET or SOAP enabled application to integrate. Please consider me in this naive. So how do I verify if my application is SOAP enabled or how do I make it? Actually our current plan to integrate is thr...

Windows Terminal Services API in Java

Hello, I was curious if it is possible to use the Windows Terminal Services API from a Java application? I am trying to deploy an app to a Linux system that can get the statistics of our servers and information about specific sessions. If there is an API out there that would let me use the Terminal Services API I would be very pleased. ...

reject a particular deleted item from a DomainContext

Hi All, I’m using Silverlight4 and Ria Service : Imaging we have a table (called "MyTable") with 3 records ( 1 , 2 , 3 ) , I’ve just written the following codes somewhere in my application: CurrentItem = 1; MyContext.MyTables.Delete(CurrentItem); CurrentItem = 2; MyContext.MyTables.Delete(CurrentItem); For some reasons, before hi...

What is the difference among Web Service, WCF and Window Service ?

I got a lot of theoretical answers from Google that WCF is better than Web Service etc. etc. But I want to know from the programming and implementation point of view. I am very new to coding and want to know that how do we implement all three of these technologies? How are they different and in which scenario we should used which technol...

How to configure connection to a ssl service

Hi, I am using a web service that requires connection through ssl. I have the connection configured in my app.config this way: <binding name="WsDatosSociosSoap" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLoc...