{"id":763,"date":"2014-09-21T07:52:37","date_gmt":"2014-09-21T14:52:37","guid":{"rendered":"http:\/\/www.coretechnologies.com\/blog\/?p=763"},"modified":"2021-04-29T02:46:21","modified_gmt":"2021-04-29T09:46:21","slug":"top-5-reasons-to-run-your-application-as-a-windows-service","status":"publish","type":"post","link":"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/top-5-reasons-to-run-your-application-as-a-windows-service\/","title":{"rendered":"The Top 5 Reasons to Run Your Application as a Windows Service with AlwaysUp"},"content":{"rendered":"<p><!-- Video: The Top 5 Reasons to Run Your Application as a Windows Service with AlwaysUp. --><\/p>\n<div align=\"left\" class=\"video-responsive image-padding\">\n<iframe width=\"560\" height=\"315\" class=\"lazyload\" data-src=\"\/\/www.youtube.com\/embed\/8Go-7g9xTk8?rel=0\" frameborder=\"0\" allowfullscreen><\/iframe>\n<\/div>\n<p style=\"margin-top:40px\">\n<ol>\n<li>\n<h3 class=\"larger\">You need to start your application at boot, even if no one logs on<\/h3>\n<p>\n<img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/images\/reboot-button-86x66.png\" width=\"86\" height=\"66\" align=\"left\" alt=\"Windows Service starts after a reboot\" title=\"Windows Service starts after a reboot\" style=\"vertical-align:text-top;margin-right:10px;\" \/> A regular application will only run after a user has logged in and started it. Not so for <a href=\"\/WindowsServices\/FAQ.html#WhatIsAWindowsService\">Windows Services<\/a>, which are automatically started by the operating system whenever the computer reboots and run happily without anyone having to do anything. Services are the true set-it-and-forget-it approach.\n<\/p>\n<p>\n<\/li>\n<li>\n<h3 class=\"larger\">Your application must be available 24\/7<\/h3>\n<p>\n<img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/images\/24-7-service-94x98.png\" width=\"94\" height=\"98\" align=\"right\" alt=\"Windows Services run 24\/7\" title=\"Windows Services run 24\/7\" style=\"vertical-align:text-top;\" \/><br \/>\nThe automatic, extensible failure protection system built into AlwaysUp will help to minimize the downtime for your legacy application &mdash; even if it&#8217;s buggy, leaks memory or stops working for no good reason!\n<\/p>\n<p><\/br>\n<\/li>\n<li>\n<h3 class=\"larger\">You don&#8217;t have the time, resources or access to the source code to re-write the application as a Windows Service<\/h3>\n<\/li>\n<p>\n<img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/images\/no-coding-115x75.png\" width=\"115\" height=\"75\" align=\"left\" alt=\"No coding required\" title=\"No coding required\" style=\"vertical-align:text-top;margin-right:16px;\" \/> The boss needs your software to be a Windows Service to win the next contract, but your development team is swamped and no one wants to mess around with the code anyway. Use AlwaysUp to <a href=\"https:\/\/en.wikipedia.org\/wiki\/Service_wrapper\" target=\"_blank\" rel=\"noopener\">&#8220;wrap&#8221; your application<\/a> to operate as a Windows Service so you can satisfy the client and keep your boss happy, all in a day&#8217;s work.\n<\/p>\n<p>\n<\/li>\n<li>\n<h3 class=\"larger\">You are managing an unreliable application that keeps crashing<\/h3>\n<p>\n<img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/images\/crash-again-185x125.png\" width=\"185\" height=\"125\" align=\"right\" alt=\"Survive crashes with AlwaysUp\" title=\"Survive crashes with AlwaysUp\" style=\"vertical-align:text-top;\" \/><br \/>\nSupport calls for buggy applications have ruined too many evenings and nights! AlwaysUp automatically restarts unstable applications whenever they stop for any reason. You can enjoy an uninterrupted dinner with your family for a change!\n<\/p>\n<p>\n<\/li>\n<li>\n<h3 class=\"larger\">You prefer to run your program in the background, away from inexperienced users<\/h3>\n<p>\n<img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/images\/oops-113x113.png\" width=\"113\" height=\"113\" align=\"left\" alt=\"Run in the background to avoid user errors\" title=\"Run in the background to avoid user errors\" style=\"vertical-align:text-top;margin-right:8px;\" \/><br \/>\nMission-critical applications visible on the desktop run the risk of being accidentally shutdown by a user or closed when he logs off. However, a windows service runs on a <a href=\"\/WindowsServices\/FAQ.html#WhatIsSession0Isolation\">&#8220;hidden&#8221; desktop<\/a> where it is well insulated from those using the computer.\n<\/p>\n<p>\n<\/li>\n<\/ol>\n<!-- relpost-thumb-wrapper --><div class=\"relpost-thumb-wrapper\"><!-- filter-class --><div class=\"relpost-thumb-container\"><style>.relpost-block-single-image, .relpost-post-image { margin-bottom: 10px; }<\/style><h3>You may also like...<\/h3><div style=\"clear: both\"><\/div><div style=\"clear: both\"><\/div><!-- relpost-block-container --><div class=\"relpost-block-container relpost-block-column-layout\" style=\"--relposth-columns: 3;--relposth-columns_t: 2; --relposth-columns_m: 2\"><a href=\"https:\/\/www.coretechnologies.com\/blog\/windows-services\/memory-fix-june-2020-patch\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Windows Services Memory Fix (Microsoft June 2020 Patch Tuesday)\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/software-bug-150x150-1.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Windows Services Memory Fix (Microsoft June 2020 Patch Tuesday)<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/company\/taa-compliance\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Our Software is TAA Compliant\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/taa-compliant-150x150-1.webp\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Our Software is TAA Compliant<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/version-15-5-released\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"AlwaysUp 15.5: Advanced Support for PowerShell, OneDrive, and more\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/new-update-150x150-2.webp\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">AlwaysUp 15.5: Advanced Support for PowerShell, OneDrive, and more<\/h2><\/div><\/div><\/a><\/div><!-- close relpost-block-container --><div style=\"clear: both\"><\/div><\/div><!-- close filter class --><\/div><!-- close relpost-thumb-wrapper -->","protected":false},"excerpt":{"rendered":"<p>You need to start your application at boot, even if no one logs on A regular application will only run after a user has logged in and started it. Not so for Windows Services, which are automatically started by the &hellip; <a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/top-5-reasons-to-run-your-application-as-a-windows-service\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":2236,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[26,196],"class_list":["post-763","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-alwaysup","tag-alwaysup-tag","tag-windows-services-2"],"_links":{"self":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/763","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=763"}],"version-history":[{"count":2,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/763\/revisions"}],"predecessor-version":[{"id":10471,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/763\/revisions\/10471"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media\/2236"}],"wp:attachment":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}