如何在Windows启动时启动我的wcf服务 [英] how to start my wcf service on windows start

查看:209
本文介绍了如何在Windows启动时启动我的wcf服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经制作了一个wcf服务,并希望在我的Windows操作系统启动时启动它(Windows 7),在Windows启动完成后,我的wcf .net服务应该自动启动。

怎么做请建议我。在ProjectInstaller中

解决方案



add

service.StartType = ServiceStartMode.Automatic;

I have made a wcf service and want to start it as my windows OS starts(windows 7) and after the windows booting completes my wcf .net service should start automatically.
How to do it please suggest me.

解决方案

in ProjectInstaller
add
service.StartType = ServiceStartMode.Automatic;


这篇关于如何在Windows启动时启动我的wcf服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆