<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园__分类_asp.net</title><id>http://feed.cnblogs.com/blog/u/47054/category/218262/rss</id><updated>2012-05-31T17:10:17Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/category/218262.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/47054/category/218262/rss"/><entry><id>http://www.cnblogs.com/dooom/archive/2011/02/28/1967384.html</id><title type="text">NVelocity  经验</title><summary type="text">这几天在结合NVelocity做一个UI模版定制，在cs中put的数据是变化的，我主要是通过一个xml文件来配置后台输出的数据，通过反射调用该接口方法来实现输出。 在UI 中有几个小经验。 1.输出辅助类 后台put出的结果集往往需要一个辅助类进一步处理，比如字符串截取等。 可以通过如下方法实现： th.Put("helper", new NameUrl()); UI调用： $helper.FilterUrl($ProductName,"-")2.调用的时候字符串连接的处理 #foreach($item in $BottomSiteInfoList)&amp;l</summary><published>2011-02-28T11:16:00Z</published><updated>2011-02-28T11:16:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2011/02/28/1967384.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2011/02/28/1967384.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2011/01/18/1938450.html</id><title type="text">C# 调用c++  实例</title><summary type="text">今天写了个RFID的封装类,主要实现c#调用c++中的函数。如果大家有需要，可以当个参考：接口文档如下：c++中的Struct 如下：c#的类如下： 另外，也可以参考这几篇文章：C#调用c++Dll结构体数组指针的问题 [转]C#时常需要调用C++DLL http://hi.baidu.com/yun0216/blog/item/37a463106b575ffec3ce7913.htmlhttp://blog.csdn.net/xqf222/archive/2010/09/11/5877795.aspx对于Byte[]的处理 可以参考 Byte数组转换成string 的方法积累</summary><published>2011-01-18T08:36:00Z</published><updated>2011-01-18T08:36:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2011/01/18/1938450.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2011/01/18/1938450.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/12/24/1916223.html</id><title type="text">CSS 经验（1）</title><summary type="text">今天调页面的CSS，主要是IE6，遇到两个问题， 一个是IE6 PNG图片的透明问题。 解决方法如下： background:url(a.png) repeat-x 0 0; _background:none; _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="a.png" ,sizingMethod="crop"); 可以参考这篇文章：http://apps.hi.baidu.com/share/detail/16871084 一个是IE6 ，IE7 Z-index 无效，原因是Z-index属性要从父级别读起，即</summary><published>2010-12-24T09:28:00Z</published><updated>2010-12-24T09:28:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/12/24/1916223.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/12/24/1916223.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/12/22/1914070.html</id><title type="text">（转载）FusionCharts参数的详细说明 中文乱码 字体大小</title><summary type="text">功能特性animation 是否动画显示数据，默认为1(True)showNames 是否显示横向坐标轴(x轴)标签名称rotateNames 是否旋转显示标签，默认为0(False):横向显示showValues 是否在图表显示对应的数据值，默认为1(True)yAxisMinValue 指定纵轴(y轴)最小值，数字yAxisMaxValue 指定纵轴(y轴)最小值，数字showLimits 是否显示图表限值(y轴最大、最小值)，默认为1(True)图表标题和轴名称caption 图表主标题subCaption 图表副标题xAxisName 横向坐标轴(x轴)名称yAxisName 纵向坐标</summary><published>2010-12-22T09:36:00Z</published><updated>2010-12-22T09:36:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/12/22/1914070.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/12/22/1914070.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/12/22/1914067.html</id><title type="text">SQL Server 生成日历表</title><summary type="text">今天做商城订单某时间段的销售趋势图，订单中在该日期范围内可能没有改天的记录，可以使用一个日历表来做关联实现。 将查询结果与该表某范围的数据做一次连接即可。</summary><published>2010-12-22T09:31:00Z</published><updated>2010-12-22T09:31:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/12/22/1914067.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/12/22/1914067.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/12/01/1893738.html</id><title type="text">利用多线程实现对网站状态的监控</title><summary type="text">如果有200个站点，通过Ping 测试站点是否正常，如果每次ping用时为0.5秒，那么至少要花掉100秒，这是个漫长的等待时间，所以可以考虑用多线程来实现。 注意：使用C#的PingReply 即使返回结果不是IPStatus.Success，站点也有可能访问，因为空间商有可能关闭ICMP服务，或者有防火墙阻止了ping的包。最好是再使用WebClient做一起请求，看是否成功。 核心代码如下：...</summary><published>2010-12-01T10:29:00Z</published><updated>2010-12-01T10:29:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/12/01/1893738.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/12/01/1893738.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/11/25/1887495.html</id><title type="text">Nvelocity 模板引擎  实例</title><summary type="text">看了小泥鳅博客源码，觉得模板引擎是个好东西，参考了源代码写了基于Nvelocity模板引擎的实例。写着玩的,欢迎拍砖。 项目结构如下： 关键代码：TemplateHelper.cs Nvelocity辅助类，参考NVelocity 操作类VelocityHelper代码 TagFields.cs 对应模板中限定名。代码 PageMethod.cs 页面处理类，主要向相应模板传递数据。有点像MVC...</summary><published>2010-11-25T04:00:00Z</published><updated>2010-11-25T04:00:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/11/25/1887495.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/11/25/1887495.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/11/24/1886702.html</id><title type="text">asp.net 网站多国语言的实现</title><summary type="text">这几天看了下网站实现多语言，参考了高效可靠的多国语言开发写个demo，做个笔记，如果有需要的朋友也可以拿去做参考。1.资源文件管理 对于资源文件的管理，可以使用SE String Resource。 File-New Project 新建项目。选择Add Culture 添加新的语言资源文件，Remove 删除语言文件。 可以方便管理资源文件内容。 选择Generate 设置 默认语言，命名空...</summary><published>2010-11-24T08:23:00Z</published><updated>2010-11-24T08:23:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/11/24/1886702.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/11/24/1886702.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/11/12/1875298.html</id><title type="text">站外登录的实现（BS版的无忧登录），不支持验证码</title><summary type="text">站外登录，站外登录，BS版无忧登录</summary><published>2010-11-11T16:09:00Z</published><updated>2010-11-11T16:09:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/11/12/1875298.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/11/12/1875298.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/11/05/1869569.html</id><title type="text">一个网站标题，关键字，描述等信息的管理方案</title><summary type="text">一个网站标题，关键字，描述等信息的管理方案</summary><published>2010-11-05T00:56:00Z</published><updated>2010-11-05T00:56:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/11/05/1869569.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/11/05/1869569.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/11/02/1867464.html</id><title type="text">一个接口进一步抽象的实例</title><summary type="text">定义一个公共接口 IGenericManager网站新闻接口：网站通知接口：这样就可以把 通知与新闻中的功能抽象。</summary><published>2010-11-02T11:22:00Z</published><updated>2010-11-02T11:22:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/11/02/1867464.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/11/02/1867464.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/10/26/1861986.html</id><title type="text">(转载) C# 接口的显示实现和隐示实现</title><summary type="text">刚敲代码，发现接口实现有个显示实现和隐示实现，不晓得什么意思，百度了下发现这篇文章，转载过来。 原文内容如下： 接口的实现很多人都知道，但接口的实现方式分显示实现和隐示实现不知道是不是很多人知道呢！但我觉的公司技术部里很少提到这个，就想起来写写这篇blogs。目前常用的方式：这种方式是隐示实现：都可以调用GetReviews这个方法。 还有一种方式是显示实现： 通过这种方式的接口实现。GetRe...</summary><published>2010-10-26T15:14:00Z</published><updated>2010-10-26T15:14:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/10/26/1861986.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/10/26/1861986.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/10/08/1845981.html</id><title type="text">HttpModule  HttpHandler HttpHandlerFactory 学习笔记</title><summary type="text">1。HttpModule 最常见的是使用HttpModule来做页面权限控制。 在新建类库添加如下代码： 在Web项目中添加引用该类，添加配置信息即可，2.HttpHandler这个常用来做文件访问控制，图片防盗链等等.新建类库添加如下代码：3.HttpHandlerFactory 功能比HttpHandler要更加强大，HttpHandlerFactory是HttpHandler的工厂，通过它...</summary><published>2010-10-08T09:14:00Z</published><updated>2010-10-08T09:14:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/10/08/1845981.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/10/08/1845981.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/09/30/1839628.html</id><title type="text">项目总结（1）</title><summary type="text">这段时间在做一个与硬件交互的项目，涉及到了一些知识点，做个笔记，也和大家分享下。 该项目的背景：客户有些硬件（主要是思科的防火墙，路由器，交换机等），用户通过浏览器直接输入指令实现对硬件的操作，比如配置某网络拓扑环境。 对于测试，我们的做法是通过DynamipsGUI 模拟出拓扑环境。 交互那块，我们是通过telnet协议，实现服务器与模拟的硬件之间通信。 大概的结构如下： 关于如何使用Dyna...</summary><published>2010-09-30T09:15:00Z</published><updated>2010-09-30T09:15:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/09/30/1839628.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/09/30/1839628.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/09/10/1822961.html</id><title type="text">网站多模块的解决办法</title><summary type="text">如果开发的项目中有多个模块，某些模块会让一两个人开发，如果都在一个Web项目或者Web应用程序中，不好控制。可以参考如下方式搭建项目。比如一个平台上有模块：论坛，空间 等等搭建如下其中Super.Web 为站点（新建的是网站，如果是web应用程序也可） Super.Web.Forum为论坛模块（新建的web应用程序） Super.Web.Space为空间模块（新建的web应用程序）Super.W...</summary><published>2010-09-10T01:24:00Z</published><updated>2010-09-10T01:24:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/09/10/1822961.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/09/10/1822961.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/09/07/1820823.html</id><title type="text">AjaxPro.2.dll 返回数组</title><summary type="text">（1）CS传数组 js文件接收CS文件代码：[代码]js代码：（2）也可以 js传数组，cs文件接收处理JS代码：CS代码：</summary><published>2010-09-07T09:22:00Z</published><updated>2010-09-07T09:22:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/09/07/1820823.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/09/07/1820823.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/08/21/1805255.html</id><title type="text">反射学习笔记（1）</title><summary type="text">一直在用反射，可是却没有系统了解。这几天好好看了下Reflection命名空间，做个笔记。 1.什么叫反射。  我觉得.Net 中的反射 中的总结不错。 反射是一种宽泛的叫法，它通过 System.Reflection 命名空间 并 配合 System.Type 类，提供了在运行时(Runtime)对于 类型和对象(及其成员)的基本信息 以及 元数据(metadata)的访问能力。 &amp;...</summary><published>2010-08-21T04:35:00Z</published><updated>2010-08-21T04:35:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/08/21/1805255.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/08/21/1805255.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/07/30/1788348.html</id><title type="text">站长工具的简单实现</title><summary type="text">  这段时间在给外贸站做辅助系统，其中的一个功能模块为：实现的网站推广信息即时查询的功能。   其实就是站长工具中的站点收录查询，站点外链查询，关键词查询等。   这里贴一些源码，和大家一起分享（以豆瓣网在百度中的查询为例）。  1。收录查询    查询 h...</summary><published>2010-07-29T16:18:00Z</published><updated>2010-07-29T16:18:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/07/30/1788348.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/07/30/1788348.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/07/03/1770466.html</id><title type="text">动态创建DataTable</title><summary type="text">简单的实现；代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--&gt;DataTabledt=newDataTable();//添加列DataColumnTitle=newDataColumn("Title",typeof(string));DataColu...</summary><published>2010-07-03T06:39:00Z</published><updated>2010-07-03T06:39:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/07/03/1770466.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/07/03/1770466.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/07/03/1770450.html</id><title type="text">Asp.net 使用weboffice实现Word在线编辑</title><summary type="text">项目中客户需要在页面中实现Word的在线编辑，Word写保护等功能。之前写了篇文章，用的是dsoframer.ocx，参考的都是网络上的资源。用的时候页面卡，而且word2003和word2007有问题。现在找了个另外一个组件，点聚公司的weboffice,还不错。主要是免费的。关于weboffice的使用，大家可以看看官网，他那有演示。我这也把我找的资源和大家分享下。关于用户在线编辑后上传文档到...</summary><published>2010-07-03T06:15:00Z</published><updated>2010-07-03T06:15:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/07/03/1770450.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/07/03/1770450.html"/><content type="html"/></entry></feed>
