NHibernate三层示例,附带codesmith模板
NHibernate三层示例,附带codesmith模板
有常用的的操作方法,double look 等,适合新手阅读查看
asp.net 跨子域共享SESSION
解决跨子域网站之间的SESSION取值问题,简单实现,只需要改改配置文件就OK.
VMl webflow画流程图
开源的WEB图形化流程解决方案, 主要实现:采用VML技术实现图形; 结合JAVASCRIPT实现拖拽; 采用XML技术解析和保存流程。 是开发图形化工作流的一种好的借鉴。-open-source Web graphical process solutions, the main achievement : VML graphics technology; combining JAVASCRIPT achieve dragging; using XML technology analysis and preservation process. The development of graphical flow of a good draw.
DSOFile修改文件备注信息
DSOFile 修改文件文件摘要
System.Diagnostics.Process p = new System.Diagnostics.Process();
p.StartInfo.FileName = "regsvr32";
p.StartInfo.Arguments = "DSOFile.dll";
p.Start();
p.WaitForExit();
p.Close();
p.Dispose();
string path = @"C:\Documents and Settings\Administrator\桌面\Image\5-6-7-8.24.jpg";
DSOFile.OleDocumentProperties dso = new DSOFile.OleDocumentProperties();
dso.Open(path, false, DSOFile.dsoFileOpenOptions.dsoOptionOpenReadOnlyIfNoWriteAccess);
dso.SummaryProperties.Title = "This is the Title";
dso.SummaryProperties.Subject = "This is the Subject";
dso.SummaryProperties.Company = "RTDev";
dso.SummaryProperties.Author = "Ron T.";
dso.Save();
flash SwfUpload大文件上传
SWFUpload是一个客户端文件上传工具,最初由Vinterwebb.se开发,它通过整合Flash与JavaScript技术为WEB开发者提供了一个具有丰富功能继而超越传统<input type="file" />标签的文件上传模式。
SWFUpload的主要特点
* 可以同时上传多个文件;
* 类似AJAX的无刷新上传;
* 可以显示上传进度;
* 良好的浏览器兼容性;
* 兼容其他JavaScript库 (例如:jQuery, Prototype等);
* 支持Flash 8和Flash 9;
SWFUpload不同于其他基于Flash构建的上传工具,它有着优雅的代码设计,开发者可以利用XHTML、CSS和JavaScript来随心所欲的定制它在浏览器下的外观;它还提供了一组简明的JavaScript事件,借助它们开发者可以方便的在文件上传过程中更新页面内容来营造各种动态效果。
在使用SWFUpload之前,请确认你具备一定的JavaScript和DOM知识。在实际开发中,大部分的错误都是由于错误的设置和低劣的Event Handlers处理程序所造成的。
支付宝在线支付接口源代码(asp,asp.net,php,jsp)
支付宝在线支付接口以及示例(包括php,jsp,asp,asp.net)
搜狐单点登录设计原理+设计文档+实现源代码
搜狐单点登录。有具体实现源代码、原理图、开发设计文档。一个站点登陆,其它站点同时登陆,退出也一样。
DSOFile 读写文件摘要
DSOFile 修改文件文件摘要
System.Diagnostics.Process p = new System.Diagnostics.Process();
p.StartInfo.FileName = "regsvr32";
p.StartInfo.Arguments = "DSOFile.dll";
p.Start();
p.WaitForExit();
p.Close();
p.Dispose();
string path = @"C:\Documents and Settings\Administrator\桌面\Image\5-6-7-8.24.jpg";
DSOFile.OleDocumentProperties dso = new DSOFile.OleDocumentProperties();
dso.Open(path, false, DSOFile.dsoFileOpenOptions.dsoOptionOpenReadOnlyIfNoWriteAccess);
dso.SummaryProperties.Title = "This is the Title";
dso.SummaryProperties.Subject = "This is the Subject";
dso.SummaryProperties.Company = "RTDev";
dso.SummaryProperties.Author = "Ron T.";
dso.Save();
此项目是vs2012 winform程序开发。发现一个奇怪问题,我用控制台程序,死活报错,用winfrom就可以运行。知道的大能们给我 59295569@qq.com发下解决方案,谢谢
WebServcies SopaHeader 权限控制
通过Soap控制调用端的权限,附带源代码vs2005
asp.net mvc 自定义邮箱验证
public override bool IsValid(object value)
{
if (value == null) return true;
return Regex.IsMatch(value.ToString(), @"^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$");
}
FCKediter2.6.3+FCKediter.Net2.6.3源文件
FCKeditor_2.6.3+FCKeditor.Net_2.6.3。ASP.Net开发使用,直接导入Dll,使用简单。现在官网已无下载了,保留下以后备用或者学习参考
webflow画流程图
基于VML XML JAVASCRIPT开发的流程图工具
jQuery1.8.0帮助文档
jQuery1.8.0帮助文档 get post ajax
弹出层,遮罩层,一句代码轻松搞定
基于JQUERY的弹出层,遮罩层.添加JS引用,一句代码实现
MVC3多语言+ef增删查改
MVC3实现多语言的一个DEMO,数据库用DbContext,MVCPager标准URL分页,下载即可以运行
多文件无刷新上传加预览
实现无刷新上传加图片预览,支持主流浏览器,下载就能运行看效果。
asp.net操作EXCEL生成报表
内含excel,owc使用的类库,其中excel类库特别详细,使用方便,还附带样式操作。 并且可以动态设置报表模板
asp.net xslt xml
动态生成xml文件,实现代码样式和数据分离,利于平台移植
asp.net 生成动态树
使用xloadtree生成动态树,减少服务器一次性请求所有节点的负担。 xloaddtree比,xtree,dtree更加适多级分类的使用
asp.net(c#)正则表达式测试工具
测试正则表达式是否匹配,自动获取值(?<Group>)
新浪天气API
http://php.weather.sina.com.cn/xml.php?city=广州&password=DJOYnieT8234jlsK&day=4
下载即可用,免费天气API
A*寻路算法(带UI界面)
Astar寻路算法简单实现,带UI效果图。可以拿过去直接用
HttpRequestHelper.cs
HttpRequestHelper GET 请求,POST请求,单文件上传,多文件上传。
ZeroMq+SuerWebSocket实时推送
ZeroMq+SuerWebSocket实时推送
Winform DataGridView 移动列
Winform DataGridView 移动列
FormsAuthentication 权限验证
FormsAuthentication 权限验证
JMail发送/接收邮件源代码
JMail发送/接收邮件源代码。通过测试,可以直接使用
c# Task 多线程管理 v1
MutilTask 多线程demo。支持 Start 启动,Stop停止,Pause暂停,Continue 恢复。支持线程数量控制。
c# Task 多线程管理 废除了,不要下载,有bug
删除了,这个有bugde
MutilTask 多线程demo。支持 Start 启动,Stop停止,Pause暂停,Continue 恢复。支持线程数量控制。
asp.net mvc 自定义视图引擎
asp.net mvc 自定义视图引擎
public ThemeableRazorViewEngine()
{
AreaViewLocationFormats = new[]
{
//themes
"~/Areas/{2}/Themes/{3}/Views/{1}/{0}.cshtml",
"~/Areas/{2}/Themes/{3}/Views/Shared/{0}.cshtml",
//default
"~/Areas/{2}/Views/{1}/{0}.cshtml",
"~/Areas/{2}/Views/Shared/{0}.cshtml",
};
AreaMasterLocationFormats = new[]
{
//themes
"~/Areas/{2}/Themes/{3}/Views/{1}/{0}.cshtml",
"~/Areas/{2}/Themes/{3}/Views/Shared/{0}.cshtml",
//default
"~/Areas/{2}/Views/{1}/{0}.cshtml",
"~/Areas/{2}/Views/Shared/{0}.cshtml",
};
AreaPartialViewLocationFormats = new[]
{
//themes
"~/Areas/{2}/Themes/{3}/Views/{1}/{0}.cshtml",
"~/Areas/{2}/Themes/{3}/Views/Shared/{0}.cshtml",
//default
"~/Areas/{2}/Views/{1}/{0}.cshtml",
"~/Areas/{2}/Views/Shared/{0}.cshtml"
};
ViewLocationFormats = new[]
{
//themes
"~/Themes/{2}/Views/{1}/{0}.cshtml",
"~/Themes/{2}/Views/Shared/{0}.cshtml",
//default
"~/Views/{1}/{0}.cshtml",
"~/Views/Shared/{0}.cshtml",
//Admin
//"~/Administration/Views/{1}/{0}.cshtml",
//"~/Administration/Views/Shared/{0}.cshtml",
};
MasterLocationFormats = new[]
{
//themes
"~/Themes/{2}/Views/{1}/{0}.cshtml",
"~/Themes/{2}/Views/Shared/{0}.cshtml",
//default
"~/Views/{1}/{0}.cshtml",
"~/Views/Shared/{0}.cshtml"
};
PartialViewLocationFormats = new[]
{
//themes
"~/Themes/{2}/Views/{1}/{0}.cshtml",
"~/Themes/{2}/Views/Shared/{0}.cshtml",
//default
"~/Views/{1}/{0}.cshtml",
"~/Views/Shared/{0}.cshtml",
//Admin
//"~/Administration/Views/{1}/{0}.cshtml",
//"~/Administration/Views/Shared/{0}.cshtml",
};
FileExtensions = new[] { "cshtml" };
}
亿美软通短信SDK
亿美软通SDK4.1.0,发送短息,接收短信息
正则表达式测试工具
正则表达式小工具,可以读取网页、文件内容
webform autofac
autofac webform asp.net最好的注入工具
ZeroMQ signalR
ZeroMQ+signalR消息实时推送
DevFx权限框架(官网一下线版本)
DevFx权限框架(官网一下线版本),官网已无下载
Ajax实时后台信息提示
Ajax实时后台信息提示,实时显示后台状态信息
nopcommer 银行支付插件
nopcommer 银行支付插件,支持银行支付
Memcached 简单示例
c# 分布式缓存技术,提高项目效率,嘎嘎
nopCommerceFramework
nopCommerceFramework 3.4框架抽取