
Configure
文章平均质量分 53
zexu82
这个作者很懒,什么都没留下…
展开
-
windows service path, current application file path
// find current application file path at runtime:string path = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location);// window service can not find file problem// window service default path is "C:/WINDOWS/system32", or %原创 2011-01-11 23:16:00 · 894 阅读 · 0 评论 -
log4.net
log4.net app.config and c# code转载 2011-01-17 22:46:00 · 793 阅读 · 0 评论 -
ConnectionStringManager (build, edit connectionString in app.config file)
using riteweigh.core.interfaces;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Con原创 2011-09-23 17:11:59 · 566 阅读 · 0 评论 -
c# , App.config
// c#if (!string.IsNullOrEmpty(System.Configuration.ConfigurationSettings.AppSettings["Interval"])) { string sValue = System.Configuration.ConfigurationSettings.AppSettings["Interval"]原创 2011-01-05 02:03:00 · 1225 阅读 · 0 评论 -
check smpt server mail queue
C:\inetpub\mailroot\Queueeach file is a mail, if the mail is sent, the file for that mail is gone.原创 2012-10-22 22:48:42 · 375 阅读 · 0 评论