上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 19 下一页
摘要: From: https://www.codeproject.com/Articles/771225/Learning-Modern-OpenGL A little guide about modern OpenGL and why it gives us so much value. Shaders + Cube Env Map + Phong Lighting Introduc... 阅读全文
posted @ 2017-02-07 10:34 今夜太冷 阅读(343) 评论(0) 推荐(0) 编辑
摘要: MFC获得当前用户等信息 #ifndef UNICODE #define UNICODE #endif #pragma comment(lib, "netapi32.lib") #include <stdio.h> #include <windows.h> #include <lm.h> int w 阅读全文
posted @ 2017-02-04 09:45 今夜太冷 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 创建 根据这篇文章的介绍:http://www.cnblogs.com/time-is-life/p/6354152.html 来创建,里面包含了创建的基本过程以及属性事件方法的使用。 使用: 参考文章中建议使用ActiveX Control Pad,这个工具确实很好用,能够自动生成带有Active x控件的网页,而且可以直接设计和配置参数。但是这个工具只在老的32位系统可以使用,我试了Windo... 阅读全文
posted @ 2017-01-29 12:09 今夜太冷 阅读(1469) 评论(0) 推荐(0) 编辑
摘要: A Complete ActiveX Web Control Tutorial From: https://www.codeproject.com/Articles/14533/A-Complete-ActiveX-Web-Control-Tutorial Introduction ActiveX is a Microsoft technology developed in the ... 阅读全文
posted @ 2017-01-28 10:17 今夜太冷 阅读(527) 评论(0) 推荐(0) 编辑
摘要: Download ProviderPattern.zip Introduction Provider pattern allows the developers to create pluggable components. It was first introduced in framework 2.0 and it has lot of features like "Membershi... 阅读全文
posted @ 2017-01-25 11:41 今夜太冷 阅读(282) 评论(0) 推荐(0) 编辑
摘要: When creating a field, whether you are using CAML, server-side object mode, or one of the client-side object models, you typically specify the following attributes: TheIDof the fied, which is a GU... 阅读全文
posted @ 2017-01-23 17:04 今夜太冷 阅读(388) 评论(0) 推荐(0) 编辑
摘要: Abstract: No transport or message security has been defined. Explanation: Applications that transmit messages without transport or message security cannot guarantee the integrity or confidentiality of... 阅读全文
posted @ 2016-12-20 16:29 今夜太冷 阅读(735) 评论(0) 推荐(0) 编辑
摘要: Abstract: The program is configured not to generate an exception when it fails to write to an audit log. Explanation: If WCF is configured not to throw an exception when it is unable to write to an au... 阅读全文
posted @ 2016-12-20 16:21 今夜太冷 阅读(603) 评论(0) 推荐(0) 编辑
摘要: Abstract: An overly long authentication timeout gives attackers more time to potentially compromise user accounts. Explanation: The longer a session stays open, the larger the window of opportunity an... 阅读全文
posted @ 2016-12-20 16:15 今夜太冷 阅读(552) 评论(0) 推荐(0) 编辑
摘要: Abstract: An ASP .NET application must enable custom error pages in order to prevent attackers from mining information from the framework's built-in error responses. Explanation: ASP .NET applications... 阅读全文
posted @ 2016-12-20 16:08 今夜太冷 阅读(571) 评论(0) 推荐(0) 编辑
摘要: Abstract: Use the ASP.NET validation framework to prevent vulnerabilities that result from unchecked input. Explanation: Unchecked input is the leading cause of vulnerabilities in ASP.NET applications... 阅读全文
posted @ 2016-12-20 16:06 今夜太冷 阅读(607) 评论(0) 推荐(0) 编辑
摘要: Abstract: Debugging messages help attackers learn about the system and plan a form of attack. Explanation: ASP .NET applications can be configured to produce debug binaries. These binaries give detail... 阅读全文
posted @ 2016-12-20 16:01 今夜太冷 阅读(973) 评论(0) 推荐(0) 编辑
摘要: Abstract: The web.config file does not include the required header to mitigate MIME sniffing attacks Explanation: MIME sniffing, is the practice of inspecting the content of a byte stream to attempt t... 阅读全文
posted @ 2016-12-20 15:22 今夜太冷 阅读(1188) 评论(0) 推荐(0) 编辑
摘要: Abstract: The program does not set the HttpCookie.HttpOnly property to true. Explanation: The default value for the httpOnlyCookies attribute is false, meaning that the cookie is accessible through a ... 阅读全文
posted @ 2016-12-20 14:45 今夜太冷 阅读(1964) 评论(0) 推荐(0) 编辑
摘要: This topic demonstrates how to convert various Visual C++ string types into other strings. The strings types that are covered includechar *,wchar_t*,_bstr_t,CComBSTR,CString,basic_string, and... 阅读全文
posted @ 2016-12-20 10:55 今夜太冷 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 建立了一个Web API项目,在WebApiConfig.cs中已经启用了Tracing. config.EnableSystemDiagnosticsTracing(); 同时web.config中也已经配置了TextWriter. ... 阅读全文
posted @ 2016-12-09 16:12 今夜太冷 阅读(788) 评论(0) 推荐(0) 编辑
摘要: 在async方法中,发生一个异常时,代码并不会直接跳到catch语句中去,而是继续执行,所以到最后catch语句中得到的错误信息是one or more exceptions occurs… 这样的设计给我们带来了麻烦就是传统的try/catch方法得到的无法得到具体的错误信息。 【解决方法】 在catch语句中记录错误信息 if (e is Ag... 阅读全文
posted @ 2016-12-07 16:56 今夜太冷 阅读(5666) 评论(0) 推荐(1) 编辑
摘要: COM中需要调用AddRef和Release的10条规律 阅读全文
posted @ 2016-11-28 10:30 今夜太冷 阅读(916) 评论(0) 推荐(0) 编辑
摘要: 用VS建立了一个SetUp类型的项目,build以后将生成的setup文件在机器上安装,然后再rebuild,再安装新生成的setup文件,会出现如下的提示信息: Another version of this product is already installed. Installation of this version cannot continue. To configure or re... 阅读全文
posted @ 2016-11-25 14:47 今夜太冷 阅读(1345) 评论(0) 推荐(0) 编辑
摘要: 有两个类库项目,一个引用了比如Newtonsoft.Json 6.0, 另一个引用了比如Newtonsoft.Json 8.0, 然后另一个exe项目同时引用了这两个类库项目。 那么在编译的时候会报warning: No way to resolve conflict between "Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, Publi... 阅读全文
posted @ 2016-11-24 15:26 今夜太冷 阅读(2084) 评论(0) 推荐(0) 编辑
摘要: 如何决定DCOM是否可用 阅读全文
posted @ 2016-11-14 17:38 今夜太冷 阅读(294) 评论(0) 推荐(0) 编辑
摘要: IDL中的HRESULT值 阅读全文
posted @ 2016-11-14 11:09 今夜太冷 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 对于港台或者美国服务器的用户可能感觉访问慢,页面卡;实际上是由于 http://www.discuzlab.com/discuz.gtimg.cn/cloud/scripts/discuz_tips.js?v=1 这个JS拖慢运行速度导致的,这个时候你可以考虑是否运用本方法。注意:本修改方法涉及源码的修改,可能导致云平台的功能无法完整有效的使用,可能导致升级后失效,请自行决定是否使用本... 阅读全文
posted @ 2016-11-13 19:27 今夜太冷 阅读(3266) 评论(0) 推荐(0) 编辑
摘要: Managing IIS Log File Storage You can manage the amount of server disk space that Internet Information Services (IIS) log files consume by using compression, remote storage, scripted deletion, and a... 阅读全文
posted @ 2016-11-09 10:46 今夜太冷 阅读(291) 评论(0) 推荐(0) 编辑
摘要: you can use this line of code. It wont hide it, but it will be minimized: this.WindowState = FormWindowState.Minimized; in addition, if you don't want it showing on the task bar either, you ... 阅读全文
posted @ 2016-11-08 14:09 今夜太冷 阅读(2785) 评论(0) 推荐(0) 编辑
摘要: Style Library是属于site collection级别的。 所以如果在某一个site中直接给某个用户设置了比如Full control的权限,这个权限信息并不会自动进入Style Library的权限设置中。 但是如果在某一个site中将用户加入到某个默认的SharePoint组(比如… 阅读全文
posted @ 2016-11-08 11:49 今夜太冷 阅读(457) 评论(0) 推荐(0) 编辑
摘要: 解决错误 Cannot await in the body of a catch clause static async Task f() { ExceptionDispatchInfo capturedException = null; try { await TaskThatFails(); } ... 阅读全文
posted @ 2016-11-03 13:40 今夜太冷 阅读(545) 评论(0) 推荐(0) 编辑
摘要: 如何将Console application的Program函数变成支持async的? class Program { static void Main(string[] args) { Task.Run(() => MainAsync()).Wait()... 阅读全文
posted @ 2016-10-28 16:13 今夜太冷 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 访问sharepoint的reporing service 的报表的时候莫名其妙的报错: The requested service, 'http://amatltapp02:32843/1dacf49a2f7a4a6daa8db5768539893f/ReportingWebService.svc' could not be activated. See the server's diagnos... 阅读全文
posted @ 2016-10-28 16:05 今夜太冷 阅读(312) 评论(0) 推荐(0) 编辑
摘要: Sometimes when creating SharePoint web or console applications, you may need to execute specific code blocks in another user's context. Impersonating users in SharePoint will require a couple of thi... 阅读全文
posted @ 2016-10-26 16:26 今夜太冷 阅读(232) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 19 下一页