上一页 1 ··· 55 56 57 58 59 60 61 62 63 ··· 67 下一页
摘要: 一、概述 Windows Communication Foundation(WCF)是由微软发展的一组数据通信的应用程序开发接口,可以翻译为Windows通讯接口,它是.NET框架的一部分。由 .NET Framework 3.0 开始引入。 WCF的最终目标是通过进程或不同的系统、通过本地网络或是通过Internet收发客户和服务之间的消息。 WCF合并了Web服务、.net Remoting、消息队列和Enterprise Services的功能并集成在Visual Studio中。 WCF专门用于面向服务开发。二、基于Asp.net 的应用程序开发与面向服务开发 在基于Asp.... 阅读全文
posted @ 2014-03-17 17:23 dapeng888 阅读(182) 评论(0) 推荐(0)
摘要: create or replace function fn_bookid_get_by_chapterid(inintChapterId in integer, outvarBookId out varchar2)return integer is/** 名 称: fn_bookid_get_by_chapterid* 参 数:* inintChapterId --章节* outvarBookId --返回的书ID* 功 能: 通过章节ID得到书的ID** 创建日期: ××-××-××* 创 建 人: ×× 阅读全文
posted @ 2014-03-16 16:46 dapeng888 阅读(803) 评论(0) 推荐(0)
摘要: try { } catch (Exception ex) { LogHelper.Error("检验服务器是否存在失败:" + ex.ToString()); throw new DataException("检查服务器是否存在失败:" + ex);//就是在try内产生错误的时候,将错误信息,直接显示到页面上进行调试 } 阅读全文
posted @ 2014-03-16 16:45 dapeng888 阅读(221) 评论(0) 推荐(0)
摘要: private void SaveLastMonthAuthorPays() { string fileName = "LastMonthAuthorPays.xls"; string contentFormat = "{0}\t{1}\t{2}\t{3}\t{4}\r\n"; DataSet ds = null; AuthorPayManager authorPayManager = new AuthorPayManager(); try { ds = authorPayManager.LoadLastMonthAuthorPays(); } catc 阅读全文
posted @ 2014-03-16 16:44 dapeng888 阅读(431) 评论(0) 推荐(0)
摘要: 程序-》vs2008->vs tools->vs2008 命令提示D:\QidianWorkShop\Develop\Source\Services\Snda.Qidian.Honor.root\Snda.Qidian.Hoor.RemotingService\bin\Debug>installutil Snda.Qidian.Honor.RemotingService.exeremoting 重新部署后 要先卸载服务installutil /u 然后从装一次 instalutil如何卸载服务:程序-》vs2008->vs tools->vs2008 命令提示然后 阅读全文
posted @ 2014-03-16 16:32 dapeng888 阅读(243) 评论(0) 推荐(0)
摘要: 问题:如何让任务计划执行该exe文件的时候,不弹出控制台窗口解答:控制台程序-》属性-》输出类型(windows应用程序)即可创建 控制台程序 然后编写以下代码using System;using System.Collections.Generic;using System.Text;using System.IO;using System.Configuration;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { DeleAllDirsAndFiles(Config.ToolU 阅读全文
posted @ 2014-03-16 15:55 dapeng888 阅读(470) 评论(0) 推荐(0)
摘要: 在win2003上安装配置win 服务win服务安装后启动不起来。。没有装.net framework4.0 要装这个版本mysql-connector-net-6.3.4.zip 这个必须要安装 .net framework4.0才能安装成功安装后,将C:\Program Files\MySQL\MySQL Connector Net 6.3.4\Assemblies\v2.0 下的mysql.data.dll文件拷贝到服务根目录下,然后重启服务就成功了 嘎嘎!!~ 阅读全文
posted @ 2014-03-16 15:53 dapeng888 阅读(133) 评论(0) 推荐(0)
摘要: 命令行netstat -aon 阅读全文
posted @ 2014-03-16 15:51 dapeng888 阅读(177) 评论(0) 推荐(0)
摘要: C:\WINDOWS\system32>regsvr32 NTGraph.ocx 阅读全文
posted @ 2014-03-16 15:50 dapeng888 阅读(202) 评论(0) 推荐(0)
摘要: sc create ServiceName binPath= "XXXX.exe" displayName= "中文xxxx"binpath和displayname的等号后面有空格,注意下binpath要写全ServiceName 是服务编译后生成的名字***.exe安装服务还可以这样搞打开VS20... 阅读全文
posted @ 2014-03-16 15:46 dapeng888 阅读(301) 评论(0) 推荐(0)
上一页 1 ··· 55 56 57 58 59 60 61 62 63 ··· 67 下一页