上一页 1 ··· 95 96 97 98 99 100 101 102 103 ··· 114 下一页
摘要: 1.引用DLL Castle.Core.dll 和Castle.Windsor.dll 2. 引用命名空间 using Castle.MicroKernel.Resolvers.SpecializedResolvers;using Castle.Windsor;using Castle.Windso 阅读全文
posted @ 2016-04-12 10:06 甜菜波波 阅读(1146) 评论(0) 推荐(0)
摘要: 一般在项目中,制作的都是基于SOAP协议的webservices,其描述语言是WSDL。但是有时候在项目中,需要保证webservices的安全,需要对其进行进行验证,那么我们就要实现SoapHeader,具体的实现方式如下: 首先就是自定义一个类,继承自System.Web.Services.Pr 阅读全文
posted @ 2016-04-05 16:59 甜菜波波 阅读(907) 评论(0) 推荐(0)
摘要: Mike爱喝茶,废话不说,煮开水。出场人物:Mike,水壶两把(普通水壶,简称水壶;会响的水壶,简称响水壶)。1 Mike把水壶放到火上,立等水开。(同步阻塞)2 Mike把水壶放到火上,去客厅看电视,时不时去厨房看看水开没有。(同步非阻塞)Mike还是觉得自己有点傻,于是变高端了,买了把会响笛的那 阅读全文
posted @ 2016-03-27 10:02 甜菜波波 阅读(293) 评论(0) 推荐(1)
摘要: 1.同步请求 发送了同步请求后 会一直等待 先执行 alert("result:" + d); temp = d; 在执行alert("this is last:"+temp); 不能操作页面上的其他内容,会造成当前UI线程阻塞 <!DOCTYPE html> <html> <head> <meta 阅读全文
posted @ 2016-03-27 09:55 甜菜波波 阅读(387) 评论(0) 推荐(0)
摘要: use master if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sp_who_lock]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop proce 阅读全文
posted @ 2016-02-29 17:07 甜菜波波 阅读(368) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <script src="http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js"></script> </head> <body> 阅读全文
posted @ 2016-01-27 18:24 甜菜波波 阅读(482) 评论(0) 推荐(0)
摘要: 1. 引用 using Webdiyer.WebControls.Mvc; 2. using Webdiyer.WebControls.Mvc; public ActionResult Index(int id=1) { return View(Models.demodata.getlist.Ord 阅读全文
posted @ 2016-01-27 15:52 甜菜波波 阅读(284) 评论(0) 推荐(0)
摘要: 本例使用的数据库是Northwind1.新建tt文本模板customer.tt2. 修改customer.tt内容为//------------------------------------------------------------------------------// // 此代... 阅读全文
posted @ 2016-01-26 10:02 甜菜波波 阅读(453) 评论(0) 推荐(0)
摘要: \\192.168.33.122\迅雷下载 迅雷下载为文件夹名称 阅读全文
posted @ 2015-12-24 15:05 甜菜波波 阅读(235) 评论(0) 推荐(0)
摘要: create table #ttt(id int,name nvarchar(10));merge into #ttt t using (select 1 as id ,'eee' as name ) b on (t.id = b.id) when matched then update set t... 阅读全文
posted @ 2015-12-23 15:37 甜菜波波 阅读(1424) 评论(0) 推荐(0)
上一页 1 ··· 95 96 97 98 99 100 101 102 103 ··· 114 下一页