PostSharp 使用IL静态注入实现AOP,下面例子对登录操作进行静态注入,使用Web application ,记录每次登录PostSharp的使用方法很简单,将自定义的属性LoggerTrace直接加在需要注册的方法上就可以(事件是特殊的方法)using System;using Syste...
分类:
其他好文 时间:
2014-07-16 21:23:13
阅读次数:
264
HTML 5 是一个新的网络标准,目标在于取代现有的 HTML 4.01, XHTML 1.0 and DOM Level 2 HTML 标准。它希望能够减少浏览器对于需要插件的丰富性网络应用服务(plug-in-based rich internet application,RIA),如Adobe...
分类:
Web程序 时间:
2014-07-16 21:21:34
阅读次数:
232
The service cannot be activated because it does not support ASP.NET compatibility. ASP.NET compatibility is enabled for this application. Turn off ASP...
分类:
Web程序 时间:
2014-07-16 21:16:57
阅读次数:
189
如何将多个工作簿中相同格式的工作表合并到一个工作表中Sub Books2Sheets() '定义对话框变量 Application.ScreenUpdating = False Dim fd As FileDialog Set fd = Application.Fi...
分类:
其他好文 时间:
2014-07-16 21:11:08
阅读次数:
201
刚刚翻笔记翻到一些刚学SharePoint时候解决的一些很2的初级问题,本来是有些挣扎该不该把它们记录到这个blog里的?因为担心这些很初级的文章会拉低这个blog的逼格,但是我的哥们善意的提醒了我一下,说我的逼格本来就不高,于是我就放心的开写了。其实不开玩笑的讲,做一个SharePoint Adm...
分类:
移动开发 时间:
2014-07-16 20:17:53
阅读次数:
208
最近的工作需使用OpenGL的MultiSample功能,在不使用glut,glfw等库的情况下,要创建支持Multisampling的OpenGL Render Context对于初学者来讲还是要花一番功夫的。昨天晚上又把Nehe’s OpenGL tutorial里的Lesson 46拿出来.....
分类:
移动开发 时间:
2014-07-16 20:07:06
阅读次数:
210
想必这个肯定是大家使用中最常见的用法了,其操作与Application类似,作用于用户个人,所以,过量的存储会导致服务器内存资源的耗尽。 优点:1.使用简单,不仅能传递简单数据类型,还能传递对象。 2.数据量大小是不限制的。 缺点:1.在Session变量存储大量的数据会消耗较多的服务器...
分类:
Web程序 时间:
2014-07-16 20:05:39
阅读次数:
147
A number of trends in the IT industry have contributed to the increasing size of ERP application databases and show no signs of abating. These include...
分类:
其他好文 时间:
2014-07-16 19:56:00
阅读次数:
306
Android Phone设计介绍在Android之rild进程启动源码分析一文中已经详细介绍了Android的电话系统架构设计,并对rild进程进行了详细的剖析。native层的rild进程负责与底层modem设备交互,比如向modem发送AT命令、从modem中接收消息,同时实时监控modem的...
分类:
移动开发 时间:
2014-07-13 10:10:23
阅读次数:
514
1.逆时针代码: 1 // huanxingjz.cpp : Defines the entry point for the console application. 2 // 3 4 #include "stdafx.h" 5 #include 6 #include 7 #include "...
分类:
其他好文 时间:
2014-07-13 09:53:40
阅读次数:
246