services

WPF - how to call another WPF with own service refences?

Hi, I have 2 WPF projects in 1 solution. Every of those projects have different service references. First project it's a window to login, second is a main window with app. It must be in separated projects, don't ask why. So, I do main window reference in login project and create main window object when login data is corect. Here sample ...

Repository and Service Design question

We are trying to find out the best practice when using DDD and we are having some discussions on what makes the most sense or is the "right way". Note: All code is pseudo code. Conceder the following: public interface IDomainEntityAService { void CreateMyObject(DomainEntityA myobject); DomainEntityA RetrieveDomainEntityA(long ...

Web Service or Windows Service or SQL CLR Integration?

Good afternoon everybody, I am in a bit over my head and facing some tight deadlines, so hopefully someone can offer some advice. My starting point will be a table in a SQL Server database, two of whose fields are x,y coordinates obtained from a gps unit. I will be responsible for geocoding (getting physical street address) these loca...

Multiple WCF services referencing the same data contracts

I am building a set of WCF services that share common data contracts (or entities if you prefer). These are simple data transfer objects that are decorated with DataContract and DataMember attributes. I am explicitly specifying the name and namespace. In trying to follow the principles of IDesign's recommendation of averaging 12 members ...

IPC between multiple processes on multiple servers

Let's say you have 2 servers each with 8 CPU cores each. The servers each run 8 network services that each host an arbitrary number of long-lived TCP/IP client connections. Clients send messages to the services. The services do something based on the messages, and potentially notify N>1 of the clients of state changes. Sure, ...

Powershell, paginating output from foreach

Seems like this should be simple, but powershell is winning another battle with me. Simply wanting to output the name of all the services running on a system, and their executable path, and pipe that into something I can use to search through it like Less. So far I have: $services = get-WmiObject -query 'select * from win32_service...

What is the best way to create a reminder service in .Net?

I am looking to build a web application that will allow users to manage simple tasks or todos. As part of this, I'd like to send users email reminders daily of their tasks. I'd like each user in the system to specify what time of day they get their reminder, though. For example, one user can specify to get their emails at 8AM while anoth...

Cache the DTO or cache data from the expensive resource

I have a WebService that returns a DTO. The webservice gets the data to populate the DTO from an expensive resource. In this simple example, several WebService methods may hit the same ExpensiveResourceProvider method. Where is the best place to perform caching to maximize cache hits? At the webservice or at the ExpensiveResourceProv...

Secured WTS folder access

On WTS I need to write a secured application which gets connected by different users but needs to use a single secured user credentials to access files on the server folders ...

Group Specific set of data by Day

Need to get a certain subgroup of data per day (Separated by weekday) For example Select weekday,bla,blabla,blablabla from dbo.blabla where bla = @StartDate and bla <=@endDate I need the output to be: Monday bla blabla blablabla Tuesday bla blabla blablabla If someone could help me that would be awesome. Thanks & Regards Jacques ...

In WCF Ria Services, is it possible to other to connect to my Service? If yes, how can I ban it.

Is it possible for others to connect to my defined services in my Ria application. If yes, how can we remove this access? Thanks in advanced! ...

How can I disable a service via Delphi?

I use a routine that can start and stop services via Delphi but I also need to be able to disable them, is it possible? ...

Given a Wsdl file what are the steps to consume a web service over the internet

I have been given a wsdl file and i need to consume a web service using this wsdl file over the internet...i need to do this in jave ...could someone tell me the steps for doing this..i would also appreciate some useful links... ...

IDataServiceMetadataProvider / ResourceType.... what for dynamic types with no CLR type?

Hello, I try to expose a database via ADO RIA for which we have only an ODBC based interface. The "database" is a server and new elements are developped all the time, so I would like the server to check metadata at start (using the odbc schema methods) and then expose what he finds via RIA services.... clients can the nregenerate when t...

Problem after assigining port number to MSSQL2005 named instance:Service won't start

Hello Guys! I'll like to combine both my initial problem which leads me to this one and this one. my first problem was to be able to connect jaspersoft ireport 3.7.0 to MSSQL2005.I downloaded the jar from microsoft downloads and added the `jdbc4.jar` from the `irepot>tool>classpath>add jar`. It went fine but i needed the port numb...

Silverlight datagrid don't show any data with anonymous query RIA services

Hi all! I have an anonymous linq query that I bind to a datagrid, when I debug it brings alright the data but it doesn't show in the datagrid, I suspect that the request to RIA services isn't completed before I bound it to the datagrid. I could use the LoadOperation<>() Completed event. But it only works with Defined Entities so how can ...

Silverlight -RIA Services-This EntitySet of type <> does not support the 'Add' operation.

In Silverlight project I have this exception when I tried to Add a new object to a DataGrid when a button is clicked. In the DomainService class.. I know I have to implement the Add operation for the new Entity I'm putting, but how can I do that? I mean I did the class, the get method but how do I do the insert operation, I can't see m...

WCF: How to detect new connections to WCF PerSession services ?

I have a self-hosted WCF service with the InstanceContextMode set to PerSession. How can I detect new client connections (sessions) to my service from the host application and use that new session context to observe my service trough its events? Something like: [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession)] pub...

use Services in MVVM

I want to use Services(WCF/RIA /Web) to take data from Entity Data Model class (maybe NHibernate class) and prepared it special for View layer binding. I have few Silverlight page, so should I create for each page separate service class ? Or create one interface and all method will implement it in one service class? Do You have some ad...

Search and List of Reports in an aspx page using SQL Server Reporting Services 2008 Web Services

Dear friends, I have no problems to render any report in SQL Server 2008 Report Server in my asp.net (Not Sharepoint) applications. There are so much reference on how to do that whether through report viewer or through custom renderer on http response object. I failed to find any article or book that could really goes deep into SSRS2008...