Tagged articles - Service

Found 13 articles tagged with Service

Clean service stop by handling SIGTERM on Linux with .NET Core 2.1
Application stop with SIGTERM handling in .NET Core 2.1 on Linux using generic host
0
Some time ago I wrote about setting up .NET Core service/daemon on Linux. Back than I was using .NET Core 2.0 SDK on both development Windows machine and Linux host machine... read more
Advanced versioning in ASP.NET Core Web API
Different approaches in ASP.NET Core Web API versioning
0
Some time ago I wrote an article about ASP.NET Core Web API versioning which describes route based Web API endpoint versioning. I love route versioning and to me it is the best way of versioning because it is pretty straight, but there are situations where this kind of versioning is not suitable. On nuget.org you can find Microsoft.AspNetCore.Mvc.Versioning package which gives you more options on how you can version your Web API endpoints... read more
Setting up .NET Core service/daemon on Debian Linux OS
How to run .NET Core application as daemon on Linux
0
I found a lot of articles out here on this subject, but non of them actually made the daemon work from the first time. There was always some catch I had to chase and found in some other article posted online... read more
Installing same Windows service under a different name
How to install same Windows service with different name on the same host
0
Microsoft .NET framework comes with a really good support for Windows services. Regarding the project itself, Visual Studio IDE comes with build in project template for Windows service. .NET framework itself comes with a built in tool installutil for deploying the Windows Service project... read more
Clean stop of Windows Service in .NET
Stop Windows Service in the proper manner in C#
0
The common reason I wrote Windows Services applications for are usually workers. For example, you need to read messages from the queue and process them... read more
Short URL implementation with WebAPI
Simple URL shortening web service implementd with WebAPI
 
0
Today there are multiple URL shortening solution available online for free. However, there is always need to have some existing funtionalities in the house for various reasons. This functionality can be easily achieved with different approaches... read more
Debugging Windows Service application with console in C#
An easier way to debug and develop Windows Services
 
0
Developing Windows Service might a a real headache since you do not have any visual part to see the output. Even if you want to rely on Visual Studio debugger you need to install the service, stop it (if already running), deploy, start the service from Windows MMC and finally hook up Visual Studio to the running service process... read more
.NET managed scheduled task runner
Scheduled managed code execution in .NET
 
0
Sometime ago I wrote an article about Windows Scheduled Task vs Windows Service where I compared and listed benefits and drawbacks of using scheduled tasks in Windows and Windows Services for executing certain operation which repeats in some time span. However idea of executing tasks in a single Windows Service is very useful if you need to execute task in a short time span plus you have a full control including logging and other fine grained customization in case you write the task in your code. ... read more
MSMQ JSON message formatter
Use JSON to serialize and deserialize message queue messages
0
Storing objects in the message queue (MSMQ) is based on the serialization of the object instance using some of the serializes, basically any class the implements IMessageFormatter. Most commonly used ones are BinaryMessageFormatter and XmlMessageFormatter. I prefer XmlMessageFormatter over BinaryMessageFormatter, mostly because messages are stored in a readable format inside the queue, so in case something goes wrong you can direly check the content of the message using built Computer Management MMC (Microsoft management console) in the. ... read more
Changing service reference configuration in the runtine
Updating service reference without restarting your applcation
 
0
Using web services in C# and in general in .NET based applications is really easy. All you need is a service URL and Visual Studio will generate both proxy classes for service communication and configuration for web service endpoints and bindings... read more

.NET

read more

JavaScript

read more

SQL/T-SQL

read more

Umbraco CMS

read more