上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 54 下一页
摘要: 在 Visual Studio中打开你的解决方案,然后选择File -> Source Control -> Change Source Control...,然后在弹出的"Change Source Control"对话框中Unbind你想要的工程/解决方案就可以了 阅读全文
posted @ 2012-07-18 16:13 Master HaKu 阅读(1774) 评论(0) 推荐(0)
摘要: A web farm is a group of two or more servers used to host the same site. Web farms increase the capacity of a web site, and improve availability by providing fail-over. Web farms are universally used for high-traffic and mission critical web sites. 阅读全文
posted @ 2012-07-18 11:41 Master HaKu 阅读(204) 评论(0) 推荐(0)
摘要: svcutil.exe http://服务地址/?wsdl /out:客户端类.cs /config:配置文件.config 阅读全文
posted @ 2012-07-17 11:21 Master HaKu 阅读(168) 评论(0) 推荐(0)
摘要: (flightServiceClient.Endpoint.Binding as BasicHttpBinding).MaxReceivedMessageSize = int.MaxValue; 阅读全文
posted @ 2012-07-16 16:29 Master HaKu 阅读(193) 评论(0) 推荐(0)
摘要: 今天别人问了我一道复杂的sql面试题, 题目是这样的:--code 价格 时间'0010' 100 '2012-08-01 00:00:00.000''0010' 100 '2012-08-02 00:00:00.000''0010' 100 '2012-08-03 00:00:00.000''0010' 100 '2012-08-05 00:00:00.000''0012' 120 '2012-08-07 00:00:00.000'& 阅读全文
posted @ 2012-07-12 12:03 Master HaKu 阅读(518) 评论(0) 推荐(0)
摘要: 1. 什么是REST? Rest的全称是Representational State Transfer, 普通的WCF使用SOAP,而使用REST构建的WCF服务使用其他数据传输方式,例如JSONRest的四种操作:GET - Requests a specific representation of a resource PUT - Creates or updates a resource with the supplied representation DELETE - Deletes the specified resource POST - Submits data to be p. 阅读全文
posted @ 2012-07-11 14:28 Master HaKu 阅读(1420) 评论(1) 推荐(0)
摘要: 我们的服务需要做两件自动的事情,一个是往表格中定时插入数据,另一个就是往文件中定时插入内容因此,我们需要做一个工作类,这个类可以是一个抽象类,如下:TaskWorkerusingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usinglog4net;namespaceWinConsoleService{publicabstractclassTaskWorker{privatestaticreadonlyILoglogger=LogManager.GetLogger(typeof(TestTas. 阅读全文
posted @ 2012-07-10 17:48 Master HaKu 阅读(976) 评论(0) 推荐(0)
摘要: 今天刚装了SQL Server 2012, 界面和原来2008没什么大的区别在刚连接的时候出现了点错误,报了"Named Pipe Provider"错误解决如下: 连接实例应该为: ComputerName\Your Instance截图如下: 阅读全文
posted @ 2012-07-06 11:17 Master HaKu 阅读(270) 评论(0) 推荐(0)
摘要: MVC 3 and 4 come with many improvements and several new features in addition tothe new dependency on .NET 4. These new features include:■ The Razor view engine■ Package management with NuGet■ Improved extensibility■ Global action filters■ Dynamic language features■ Partial page output caching■ Ajax. 阅读全文
posted @ 2012-07-05 15:00 Master HaKu 阅读(161) 评论(0) 推荐(0)
摘要: shape.h/*Circle*/namespaceG_Shape{classCircle{public:doublecalculate_perimeter(doubleradius);doublecalculate_area(doubleradius);private:doubleradius;};/*Rectangle*/classRectangle{public:doublecalculate_perimeter(doublewidth,doubleheight);doublecalculate_area(doublewidth,doubleheight);private:double. 阅读全文
posted @ 2012-06-28 16:24 Master HaKu 阅读(317) 评论(0) 推荐(0)
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 54 下一页