HTTP/1.1 405 Method Not Allowed 的原因

一、问题: 在XP系统的IIS 5.1上部署了一个站点,使用Ajax调用该站点的Web Service时碰到如下错误: HTTP/1.1 405 Method Not Allowed。 以下是使用Firefox查看到的网络请求截图 二、原因: 从http://support.microsoft.com/kb/216493得知,这是IIS 5.1的一个周知Bug。: ( 三、解决... [More]

在BlogEngine.NET 中嵌入自定义表格样式

一、嵌入后日志中的表格示例 1. 涂鸦样式: 2. 仿Google的表格样式:   二、为什么要嵌入自定义表格样式 在写日志时,有时需要插入表格。而默认的表格样式很丑,一般博客主题中又没有为日志中的表格设定样式。你当然可以自己做个主题,并在主题中对日志的表格设定样式。但是做整个的博客主题工作量比较大。而且,就算你真的打算这样做,那么其中仍然有个环节,就是将日志表格样式嵌入到自己写的博... [More]

笔记:Windows 7 64 位系统下未能加载文件或程序集“System.Data.SQLite”的解决办法

一、问题 今天将自己的BlogEngine.NET博客下载到了Windows 7 64位系统里,这个博客使用SQLite数据库作为数据存储。结果在Windows 7 64位系统里运行这个博客的时候,出现如下错误: 未能加载文件或程序集”System.Data.SQLite”,或者格式错误等云云。 二、解决方案 上http://sourceforge.net/projects... [More]

BlogEngine.NET的图片护卫插件

摘要 图片护卫插件使你能够用三种不同的方式来保护你博文中的图片,这是首款(至少目前是)拥有如此功能的BlogEngine.NET插件。这三种不同���保护方式分别是: 水印方式(Watermark): 当你的图片被别的站点盗链时,在图片上加上水印,比如加个你的域名,起码告诉了浏览者,这是属于你的图片(顺便还宣传了你自己的网站,不是吗?: ) )。这是默认的护卫方式; ... [More]

Image Guard Extension for BlogEngine.NET

Image Guard is the first (if not unique, at least for the moment) BlogEngine.NET extension that allows you guard your image files in blog posts in three different ways when they are displayed on other sites.

Watermark: Add watermark to your images. (That’s a good way to spread your web site, isn’t it ? : ) );

Block: Replace the image that other sites request with a block image, such as an image only shows Not Allowed text on it;

Reject: Responde the request with 403 code. [More]