0
голосов
1ответов
285 просмотров

Implementing .Net RIA Services with Silverlight3 using only existing code/classes?

As my latest questions have stated, i am in a process of researching on Silverlight 3 and its application as a suitable RIA solution to a pre-built project a client of ours wishes to webify. And my experience in .Net and silverlight is about 3 - 4 weeks. I have now become aware of .Net RIA Servi...

1
голосов
2ответов
3357 просмотров

Hudson as service on Windows - file system permissions

For some months we've run Hudson on a Windows XP "server" under a user account. This means someone manually logs in and starts Hudson via a .bat file (that sets up a few environment variables, then runs java -jar hudson.war) However a few recent power cuts have resulted in the requirement to hav...

4
голосов
1ответов
8255 просмотров

ServiceConnection::onServiceConnected not called even though Context::bindService returns true?

I've been trying to bind a service that was started on boot from an activity. The code for starting on boot was mostly taken from the instant messenger. This is the AndroidManifest.xml definition for the 3 main components: <!-- Receiver --> <receiver android:name=".receiver.Lif...

6
голосов
3ответов
2141 просмотров

What does Crosscutting Requirements/Concerns mean in Programming?

These I come across this term a lot "crosscutting requirements/concerns" in programming world. Although I think I have an idea what it means still I do not have a clear idea. I hear it a lot in web service and SOA in general. Can this be explained using a hello world example?

0
голосов
1ответов
996 просмотров

Reporting services subreport column sorting failing

I am working on a SSRS 2008 reporting solution and I am running into a problem with a subreport not interactively sorting columns with the asp.net report viewer control. The report itself is completely functional when it is not used as a subreport, but once I add it to another report as a subrepo...

0
голосов
1ответов
295 просмотров

Using the Microsoft SMTP Server's Dropfolder

I have set up Microsoft SMTP server so it will store all incoming email in a dropfolder. I want to process, using c#, incoming mail based on the sender, recipient, and subject line. If possible, I also want to create a plain text preview of the email. So, there are two parts to this problem. ...

2
голосов
1ответов
368 просмотров

Checking for an unregistered/missing service

How can I use ServiceController to tell me if a service has been registered or not? In the code fragment below, the check for a null DisplayName results in a System.InvalidOperationException. Is there a straightforward way of doing this that I'm completely missing? ServiceController sc = new S...

4
голосов
2ответов
1990 просмотров

Which Java Service or Daemon framework would you recommend?

I have encountered many different ways to turn a Java program into a Windows Service or a *nix daemon, such as Java Service Wrapper, Apache Commons Daemon, and so on. Barring licensing concerns (such as JSW's GPL or pay dual-license), and more advanced features, which one would you recommend? All...

20
голосов
4ответов
20419 просмотров

Stop/Start service in code in Windows 7

I am trying to write a app and service which monitor a given set of services and a) makes sure they are running and b) based on certain criteria, restart them as needed. I keep running into an access denied error. If I simply iterate through the processes on the system, find the one I want like...

2
голосов
2ответов
5185 просмотров

How to pass Client Objects to WCF Service

I want to pass list of entitiy objects from Client to WCF Service, but my WCF Service has no knowledge of the structure of these entity objects. One way could be to pass them in an XML file. What could be the other possible ways to pass such objects to WCF service? Please guide. Thank you!

2
голосов
2ответов
1285 просмотров

Base class for windows service

My new project has a design in which there are number windows services for performing different tasks. I have been given a task to create base class from which all of the windows service will inherit. This base class will perform common functions like creating instances of other windows services ...

3
голосов
2ответов
7559 просмотров

ASP.NET Fire and Forget (One Way) Web Service

I've create a regular old ASMX web service in ASP.NET and added SoapDocumentMethod(OneWay = true)] to the function call as I've read this is supposed to make the call Asynchronous. However I call this in my code and it definitely does not make the call asynchronous, my page just sits there waitin...

2
голосов
2ответов
359 просмотров

What is the easiest way to implement a self restarting service

I have got a windows service written in .NET and I need to be able to implement a self-restarting feature for it. E.g. service constantly monitors the environment in runs in and once a value of the environmental variable reaches its threashold value the service must restart itself. What would...

3
голосов
1ответов
311 просмотров

RIA with ASP.NET

Does it make sense to use RIA Services as a service provider to an ASP.NET web application as opposed to just a Silverlight application? We have an infrastructure constraint that the services and the consumer are on different physical machines thus need to cross a service boundary. We have not se...

0
голосов
1ответов
170 просмотров

Web Services - When referencing a web service locally, it asks for credentials

I am currently creating a web service locally. I created 2 separate files: One for the web app and the other for the web service. When I try to reference this web service from my web app, it asks for my credentials. It does not accept the credentials I inserted (which I know is correct). How do I...

1
голосов
1ответов
525 просмотров

Silverlight and RIA Services - Using the ActivityControl with Custom DataContext

I am using Silverlight 3 and .NET RIA Services. I would like to use the ActivityControl from David Poll: http://www.davidpoll.com/?p=4. Is this possible outside of a DomainDataSource (I am not using the DDS)? I would like to programmatically bind to it, i.e. similar to how I bind my other cont...

2
голосов
2ответов
214 просмотров

WCF communicating with hosting app?

I am hosting a WCF service inside of a WPF app. I would like the WCF to be able to communicate with its host. Specifically, I'd like to receive event notifications from the WCF when certain WCF methods are called by clients. I've tried modifying my WCF to be a singleton like so: [ServiceBehavio...

2
голосов
2ответов
133 просмотров

Where should I put Comparers in an app that uses WCF?

I have an application that uses WCF for all DataAccess. It returns some business objects and it has some operations. Should this code exist in my Client or in my Service? If in the service, HOW should I implement it? Can I simply add it as an interface to my business object? Will that come throu...

0
голосов
3ответов
2432 просмотров

Help with a Windows Service/Scheduled Task that must use a web browser and file dialogs

What I'm Trying To Do I'm trying to create a solution of any kind that will run nightly on a Windows server, authenticate to a website, check a web page on the site for new links indicating a new version of a zip file, use new links (if present) to download a zip file, unzip the downloaded file ...

0
голосов
1ответов
1267 просмотров

Android: HTTP/JSON communication within application or separate thread?

I've an application which receives and sends data (JSON) from/to a HTTP server via HTTP POST requests. There is not really any payload except of a few strings, so I'm wondering if it would make sense to build this whole HTTP communication as an Android Service or just to create a separate threa...

2
голосов
1ответов
2537 просмотров

How to get log4net to generate log files when running as non-administrator user?

A process running as a non-administrator user does not have rights to write to the program files folder. What is the best way to configure log4net to write to a location that a non-administrator user has rights to? Ideally there would be: A single configuration file or configuration from code...

4
голосов
1ответов
4647 просмотров

Menu service in Prism application CAL

I am trying to create a Prism (CAL) framework (this is my first forray into CAL) and am having difficulty devising a service for registering menu items for a region). Here is what I have come up with so far... /// <summary> /// Menu item service - allows any module to register menu items ...

1
голосов
2ответов
1489 просмотров

WorkbookOpen Event doesnt fire with Windows Service, whereas it fires with windows applicaion

when i am using below code with windows application it always fires WOrkBookOpen event. public partial class Form1 : Form { public Form1() { InitializeComponent(); } Microsoft.Office.Interop.Excel.Application app; private void button1_Click(object sender, EventArgs e)...

0
голосов
1ответов
805 просмотров

WCF - Client-Server Communication

Can anyone tell me what Step-by-Step actions take place when a WCF Clients connect to a WCF Service and calls an Operation? Plz describe the steps with step number and maintaining the serial. Alternatively plz provide me with a web link that describe these steps.

1
голосов
4ответов
18772 просмотров

Tomcat Logging while running as a windows service

I have a web application running under Tomcat. Logging for various features is implemented using java.util.logging. When running tomcat via startup.bat the logging files are created and record the logging as expected. When running as a windows service using the same war file the output from lo...

1
голосов
1ответов
152 просмотров

Multithreaded stress tests fail

I am doing a stress test of a web service by running many threads of the same process, but the second thread always stops in the middle of running without throwing an exception. How do you figure out what’s wrong?

6
голосов
5ответов
719 просмотров

How do you secure and meter the web services you share with your business partners?

I'm looking for ideas on how to restrict access to and log calls for an API we're delivering for business partners to interface with our Customer Care application. Should we create usernames and passwords for our external partners just as we would our own employees? Is there some kind of snap-in ...

2
голосов
5ответов
1732 просмотров

How to run a script on linux from a windows service?

Does anyone know an elegant way to initiate a bash script (to run on a linux box) from a windows service written in C#? I can only think of some combination of putty doing auto-login and automatically running a command upon login. But this seems clumsy and a bit insecure. Security doesn't need...

1
голосов
3ответов
435 просмотров

How does fast user switching affect a windows service?

How does fast user switching affect a windows service? Are the services suspended or do they keep running in the background when a different user logs in?

5
голосов
1ответов
1868 просмотров

Make Executable run at a lower priority

Possible Duplicate: Setting a thread priority in a service I've created a Windows Service and I want it to always run at LOW priority. Is there any way to achieve this via code or how I package up the install?