A .NET component that resides on a Web server and provides information and services to other network applications using standard Web protocols such as HTTP and SOAP
Questions tagged [.net-services]
20 questions
25
votes
1 answer
Can I have multiple services hosted in a single windows executable
My question is essentially the same as the following one but the answer did not help me.
.NET Windows Service - multiple services in one project
Essentially, I have 3 services, lets say "Service1", "Service" and "Service3".
ServiceBase[]…

user35559
- 1,018
- 3
- 11
- 21
13
votes
3 answers
Increase Sql timeout in .net
I am gettting SQL time out error in my .net service.
As the service is already installed on the production, is there any way I can increase the timeout for the service from App.Config file.
At present, I am getting this exception after one minute, I…

Zerotoinfinity
- 6,290
- 32
- 130
- 206
7
votes
2 answers
Azure vs .NET Services
I am a little confused about two new technologies receiving a lot of buzz currently;
Can somebody please explain to me what the difference (or similarities) are between Azure and .NET Services?
Are they one and the same thing?
Is Azure the Cloud OS…

ryancrawcour
- 676
- 8
- 18
6
votes
2 answers
Determine the last time an Application Pool recycled
I'm writing a .NET service that monitors application pools. based on specific triggers I'm restarting them.
However, I do not want to restart them if the trigger occurred before they were recycled for the last time. How can I know the "last recycle…

Dani Fischer
- 91
- 2
- 4
2
votes
2 answers
What are the .NET Services?
Announced today at PDC. Initially made up of a Service Bus, the Workflow Service, and the Access Control Service. What are they? Why would I use them?

Larsenal
- 49,878
- 43
- 152
- 220
2
votes
3 answers
Configuration System failed to initialize - Windows Service .NET
I created a .NET windows service that installs without any issues on the dev machine. On the server that has only the .NET framework (and no VS installed), since I don't have the VS 2008 prompt, I did the following.
I opened the command prompt
I…

Nick
- 7,475
- 18
- 77
- 128
1
vote
1 answer
.NET Service System.Net.Sockets.SocketException: 'No such host is known'
I deployed a .NET Windows Service on Azure Virtual Machine running Windows Server with an opened port that allow me to connect to it, this service is like a server using socket. The problem is that when I try to connect from my PC to that hosted…

Eduard Stefanescu
- 411
- 2
- 9
- 19
1
vote
1 answer
stop and start a service with html and javascript
I have an application I support that often needs to have one of it's job services stopped then restarted in order for the end users to continue processing within the application. The vendor of the application has released a fix in newer versions of…

SkepticalRaptor
- 13
- 5
1
vote
0 answers
how to develop login using .net web services in android
I'm trying to develop login page using .net web services in android because I'm using mssql database so I'm using .net web services but I know that to create login page using wamp server with mysql database in android but I am new in .net web…

user2338369
- 31
- 2
1
vote
1 answer
WCF and .net service
I have .net service. I want to consume it in website service which is hosted in MVC web application. What is the best design to do that in MVC pattern.
user1069396
0
votes
0 answers
windows service can't access desktop UI
recently I made a service that get the current active window of the user for windows which uses GetForegroundWindow in user32.dll and it's perfectly working while running as a console application, but when I convert it to a service and install it in…

Mamink
- 187
- 2
- 9
0
votes
0 answers
When i'm posting binary data for images from angular 14 to Asp.Net 6 Rest Api, i just find image path & it's name but i lose binary data
When i'm posting binary data for images from angular 14 to Asp.Net 6 Rest Api, i just find image path & it's name like that "C:\fakepath\2.jfif" but i lose binary data,How i can solve that problem.
That's the service method by which i'm posting data…

Junior Dev
- 17
- 6
0
votes
0 answers
C# .NET Service is not starting after a Windows Shut Down (but it does after a Restart?)
Recently I build a C# .NET Windows Service, which actually does exactly what it should do. So, no problem there.
BUT... When I start my PC again after a SHUT DOWN (Windows button), and I look immediately in the Services list then I notice every time…

Dynamickx
- 1
- 1
0
votes
0 answers
Getting scope errors in my Startup ConfigureServices method when trying to add my PaypalSyncHostedService
I've got a table of products plans and subscriptions in my application, and I have created a PaypalSyncService with methods to sync these tables with tables from the Paypal API.
public class PaypalSyncService
{
private readonly…

JohnD91
- 523
- 1
- 5
- 16
0
votes
1 answer
Service runs then dies
Possible Duplicate:
Service runs then dies.
Hello,
I'm running Win 7 Pro 64-bit. I wrote a service in C# using the .NET 4 framework. It installs properly and starts to run. I know that it runs because it writes some output to a log file. …

Ray
- 11
- 1