摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.Management;using System.Runtime.InteropServices;namespace HelloWorldConsole{ class Program { static void Main(string[] args) { //Dns.GetHostByName(Dns.GetHostName()); GetIP gi = new GetIP( 阅读全文
posted @ 2011-03-15 21:37 Jake.Xu 阅读(784) 评论(0) 推荐(0)
摘要: ProjectInstaller.cs 安装文件usingSystem;usingSystem.Collections;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Configuration.Install;usingSystem.Linq;namespaceAccountService{ [RunInstaller(true)]publicpartialclassProjectInstaller:Installer {publicProjectInstaller() { InitializeCo 阅读全文
posted @ 2011-03-15 20:19 Jake.Xu 阅读(345) 评论(1) 推荐(0)
摘要: 你会在C#的类库中添加web service引用吗? 本文并不是什么高深的文章,只是VS2008应用中的一小部分,但小部分你不一定会,要不你试试: 本人对于分布式开发应用的并不多,这次正好有一个项目要应用web service,我的开发环境是vs2008,之所以没有选择现在热门的WCF,本人有如下原因: 1:负责开发Web Service的小组对于vs2008应用不多,更不能奢望令人垂涎的WCF。 2:项目开发时间有限,根本不许你去拿项目做实验。 3:项目改动不大,web service足够对付需求。 由于我们的项目是从1.1直接升级到3.5,升级的时候,把web项目直接改成类库,这样无论环境 阅读全文
posted @ 2011-03-15 16:09 Jake.Xu 阅读(407) 评论(1) 推荐(0)