¡@

Home 

c# Programming Glossary: service

C# Window service OnStop not getting called

http://stackoverflow.com/questions/10171558/c-sharp-window-service-onstop-not-getting-called

How can a Word document be created in C#? [closed]

http://stackoverflow.com/questions/10412/how-can-a-word-document-be-created-in-c

by Microsoft Office 2000 and up either natively or through service packs. One draw back to this though is that you might not be..

Elevating process privilege programatically?

http://stackoverflow.com/questions/133379/elevating-process-privilege-programatically

process privilege programatically I'm trying to install a service using InstallUtil.exe but invoked through Process.Start. Here's.. and strExePath is the fully qualified path name to my service. Running the command line syntax from an elevated command prompt..

What are the pros and cons to keeping SQL in Stored Procs versus Code

http://stackoverflow.com/questions/15142/what-are-the-pros-and-cons-to-keeping-sql-in-stored-procs-versus-code

side caching. Shouldn't they be connecting via a web service or similar to your web servers So push 1 new sproc or 4 new..

TransactionScope automatically escalating to MSDTC on some machines?

http://stackoverflow.com/questions/1690892/transactionscope-automatically-escalating-to-msdtc-on-some-machines

in a transaction. We're aiming to not require the MSDTC service to be enabled on our end user's machines. Trouble is on half.. parameter or you can try to access a remote transactional serviced component. This serializes the transaction object and results..

When to Use Static Classes in C#

http://stackoverflow.com/questions/241339/when-to-use-static-classes-in-c-sharp

I guess this was my first unwitting attempt at creating a service oriented architecture lots of stateless services that just did.. creating a service oriented architecture lots of stateless services that just did their job and nothing else. As a system grows..

Windows service and timer

http://stackoverflow.com/questions/246697/windows-service-and-timer

service and timer I need to create some windows service which will.. service and timer I need to create some windows service which will execute every N period of time. The question is which.. to non correct work of System.Timers.Timer in windows services. Thank you. c# windows services share improve this question..

What are the correct version numbers for C#?

http://stackoverflow.com/questions/247621/what-are-the-correct-version-numbers-for-c

2.0 for .NET 2.0 through 3.5 .NET 4 introducing CLR 4.0 service packs notwithstanding. The CLR in .NET 4.5 has various improvements..

What C# mocking framework to use? [closed]

http://stackoverflow.com/questions/37359/what-c-sharp-mocking-framework-to-use

checking. Moq certainly does. In my example above if the service class that mockService is mocking doesn't have a GetCustomers..

Good or bad practice for Dialogs in wpf with MVVM?

http://stackoverflow.com/questions/3801681/good-or-bad-practice-for-dialogs-in-wpf-with-mvvm

dialog result... How does it work First I created a dialog service public interface IUIWindowDialogService bool ShowDialog string..

Best practices for exception management in Java or C#

http://stackoverflow.com/questions/409563/best-practices-for-exception-management-in-java-or-c-sharp

with exceptions comes from 1 accessing data via a remote service or 2 deserializing a JSON object. Unfortunately I can't guarantee..

What is the best workaround for the WCF client `using` block issue?

http://stackoverflow.com/questions/573872/what-is-the-best-workaround-for-the-wcf-client-using-block-issue

client `using` block issue I like instantiating my WCF service clients within a using block as it's pretty much the standard..

Parser for C#

http://stackoverflow.com/questions/81406/parser-for-c-sharp

answer by Ken Beckett Microsoft Roslyn CTP Compiler as a service. Works on assembly System.Reflection Microsoft Common Compiler..

What's the use/meaning of the @ character in variable names in C#?

http://stackoverflow.com/questions/91817/whats-the-use-meaning-of-the-character-in-variable-names-in-c

a '@' character in C#. In my C# project I was using a web service I added a web reference to my project that was written in Java...

Easier way to start debugging a windows service in C#

http://stackoverflow.com/questions/125964/easier-way-to-start-debugging-a-windows-service-in-c-sharp

code except to start the service through the Windows Service Controll Management and then attach the debugger to the thread..

Dependency Inject (DI) “friendly” library

http://stackoverflow.com/questions/2045904/dependency-inject-di-friendly-library

ask for it statically through the constructor public class Service IService private readonly ISomeDependency dep public Service.. statically through the constructor public class Service IService private readonly ISomeDependency dep public Service ISomeDependency.. IService private readonly ISomeDependency dep public Service ISomeDependency dep if dep null throw new ArgumentNullException..

Is it better to create a singleton to access unity container or pass it through the application?

http://stackoverflow.com/questions/2386487/is-it-better-to-create-a-singleton-to-access-unity-container-or-pass-it-through

the container around are just two variations of the Service Locator anti pattern so I wouldn't recommend that. share improve..

How to avoid Dependency Injection constructor madness?

http://stackoverflow.com/questions/2420193/how-to-avoid-dependency-injection-constructor-madness

question You are right that if you use the container as a Service Locator it's more or less a glorified static factory. For lots.. When that happens it's time to refactor to Aggregate Services . In short create a new more coarse grained interface that..

Accessing Password Protected Network Drives in Windows in C#?

http://stackoverflow.com/questions/2563724/accessing-password-protected-network-drives-in-windows-in-c

adapted the code using System using System.Runtime.InteropServices summary Implements P Invoke Interop calls to the operating.. provided must have the service privilege enabled. summary Service 5 summary This logon type is for GINA DLLs that log on users..

Sharing sessions across applications using the ASP.NET Session State Service

http://stackoverflow.com/questions/2868316/sharing-sessions-across-applications-using-the-asp-net-session-state-service

across applications using the ASP.NET Session State Service I am trying to share sessions between two web applications..

C# Service cannot execute batch file?

http://stackoverflow.com/questions/361097/c-sharp-service-cannot-execute-batch-file

Service cannot execute batch file I have a service that call a batch..

C# SIP Stack/Library

http://stackoverflow.com/questions/498056/c-sharp-sip-stack-library

1.1 to standardize on an interface between a SIP Service provider e.g. Vonage and a SIP PBX. There is also an activity.. SIP proxy. Having said all that several Internet Telephony Service Providers ITSPs have used the SIP Express Router as a front..

How might I schedule a C# Windows Service to perform a task daily?

http://stackoverflow.com/questions/503564/how-might-i-schedule-a-c-sharp-windows-service-to-perform-a-task-daily

might I schedule a C# Windows Service to perform a task daily I have a service written in C# .NET..

What is the purpose of self tracking entities?

http://stackoverflow.com/questions/5091974/what-is-the-purpose-of-self-tracking-entities

in STE and pass it back in another web service call. Service will be able to process changes because it will have STE internal..

Windows Impersonation from C#

http://stackoverflow.com/questions/559719/windows-impersonation-from-c-sharp

another user temporarily Roughly speaking I have a Windows Service that I'd like to run as LocalSystem but at times impersonate..

What is the best workaround for the WCF client `using` block issue?

http://stackoverflow.com/questions/573872/what-is-the-best-workaround-for-the-wcf-client-using-block-issue

that implement IDisposable using var client new SomeWCFServiceClient Do something with the client But as noted in this MSDN.. I found a few other workarounds such as this one on IServiceOriented . You start with public delegate void UseServiceDelegate.. IServiceOriented . You start with public delegate void UseServiceDelegate T T proxy public static class Service T public static..

servicestack REST API and CORS

http://stackoverflow.com/questions/8211930/servicestack-rest-api-and-cors

below to make it much easier to add CORS support to your ServiceStack services. Commonly this is now all that's needed Plugins.Add.. if httpReq.Method OPTIONS httpRes.EndRequest add a 'using ServiceStack ' Enabling CORS per service support Instead of using the.. CORS per service support Instead of using the plugin above ServiceStack also allows you to enable CORS on a per service basis by..

How to write a scalable Tcp/Ip based server

http://stackoverflow.com/questions/869744/how-to-write-a-scalable-tcp-ip-based-server

server I am in the design phase of writing a new Windows Service application that accepts TCP IP connections for long running..

Impersonation in ASP.NET MVC

http://stackoverflow.com/questions/1405612/impersonation-in-asp-net-mvc

.Name NT AUTHORITY NETWORK SERVICE Post Impersonation User.Identity my windows credentials GetCurrent.Name.. windows credentials GetCurrent.Name NT AUTHORITY NETWORK SERVICE So before I impersonate the current user is the System Account..

Problems with office automation in asp.net. I can use alternatives such as open-office, if I knew how

http://stackoverflow.com/questions/2653740/problems-with-office-automation-in-asp-net-i-can-use-alternatives-such-as-open

The process is running with the user NT AUTHORITY NETWORK SERVICE. IIS is configured to use anonymous authentication. The anonymous..

ebay api - returning auctions ending later than 10 days

http://stackoverflow.com/questions/6929259/ebay-api-returning-auctions-ending-later-than-10-days

FindingService v1 OPERATION NAME findItemsByCategory SERVICE VERSION 1.11.0 SECURITY APPNAME AlexGo hiddin 821eee8 RESPONSE.. FindingService v1 OPERATION NAME findItemsByCategory SERVICE VERSION 1.11.0 SECURITY APPNAME ENTER APP ID HERE RESPONSE DATA.. FindingService v1 OPERATION NAME findItemsByCategory SERVICE VERSION 1.11.0 SECURITY APPNAME ENTER APP ID HERE RESPONSE DATA..

Erratic Invalid Viewstate issue in a .NET application

http://stackoverflow.com/questions/728513/erratic-invalid-viewstate-issue-in-a-net-application

Process name w3wp.exe Account name NT AUTHORITY NETWORK SERVICE Exception information Exception type HttpException Exception.. Type Thread account name NT AUTHORITY NETWORK SERVICE Thread information Thread ID 1 Thread account name NT AUTHORITY.. Thread ID 1 Thread account name NT AUTHORITY NETWORK SERVICE Is impersonating False Stack trace at System.Web.UI.Page.DecryptStringWithIV..

Why won't my windows service write to my log file?

http://stackoverflow.com/questions/858597/why-wont-my-windows-service-write-to-my-log-file

but the log file never updates. I am running under LOCAL SERVICE if that helps. Yes I have created the logs directory under my..