E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
IHttpHandler
Flex上传单个文件
其中处理上传并保存的那个地址所对应的页面的处理过程如下("http://localhost:8666/Ashx/FileHandler.ashx"):publicclassFileHandler:
IHttpHandler
huanglan513
·
2012-09-12 16:00
exception
String
function
Flex
upload
application
一般处理程序中 httpContext.current.session为null的解决办法
在该一般处理程序中添加引用:using System.Web.SessionState; 给该类添加接口:publicclassAddArticle:
IHttpHandler
,IRequiresSessionState
·
2012-09-05 10:00
session
ASP.NET运行机制之一般处理程序(ashx)
一.概述 新建一个ashx文件 代码如下 usingSystem; usingSystem.Web; publicclassTestHandler:
IHttpHandler
{ //dd
小旭
·
2012-08-29 11:00
asp.net
錯誤的信息:This is an invalid webresource request.。。
錯誤的堆棧:atSystem.Web.Handlers.AssemblyResourceLoader.System.Web.
IHttpHandler
.ProcessRequest(HttpContextcontext
jimlong
·
2012-07-14 14:00
Uploadify jquery+flash+UploadHandler.ashx
看代码其实很简单,在做这个之前遇到许多问题,特别是在
IHttpHandler
里面,只有经历过了才会体会到,还是给解决了!直接运行html出现下面错误 要在vs运行下才没有下面错误 ?
rhinemetal
·
2012-06-20 10:00
JavaScript
jquery
function
XHTML
upload
Flash
转:ASP.NET底层机制(下)
1.
IHttpHandler
接口 定义了实现一个HttpRequest的处理所必须实现的一些系统约定方法。
xiaoyatou_00
·
2012-06-15 21:00
session
asp.net
Path
IHttpHandler
session问题
在做一个小应用时,需要实现
IHttpHandler
,同时也需要用到用户的
fox123871
·
2012-06-11 22:00
session
null
Class
IHttpAsyncHandler 的一个DEMO
publicclassIHttpAsyncHandlerDEMO:
IHttpHandler
,IHttpAsyncHandler { publicvoidProcessRequest(HttpContextcontext
sandy945
·
2012-05-31 16:00
IHttpAsyncHandler 的一个DEMO
publicclassIHttpAsyncHandlerDEMO:
IHttpHandler
,IHttpAsyncHandler { publicvoidProcessRequest(HttpContextcontext
sandy945
·
2012-05-31 12:00
IHttpAsyncHandler 的一个应用
publicclassIHttpAsyncHandlerDEMO:
IHttpHandler
,IHttpAsyncHandler { publicvoidProcessRequest(HttpContextcontext
sandy945
·
2012-05-31 12:00
ashx与axd相同点与区别
其实扩展名为ashx与为axd基本上是一样的,都是用于写webhandler,可以通过它来调用
IHttpHandler
类,它免去了普通.aspx页面的控件解析以及页面处理的过程。
lisky119
·
2012-05-24 15:00
Web
服务器
dll
扩展
Path
IIS
web优化之-mvc js动态合并 动态压缩 去掉js重复引用 js缓存 js延迟加载
文件的合并和压缩吧为了便于集中式管理js的合并和压缩我们创建一个Js.ashx文件来专门处理合并压缩,这里我们借用Yahoo.Yui.Compressor工具来压缩我们的js文件代码如下:publicclassJs:
IHttpHandler
dz45693
·
2012-05-03 12:00
asp.net 验证码的简单制作(vb.net+C#)
【示例】1)创建一个“一般应用处理程序ashx”,代码如下:[C#]复制代码代码如下:publicclassValidationCode:
IHttpHandler
{//随机发生器stat
·
2012-05-02 23:07
Asp.Net实现无刷新文件上传并显示进度条(非服务器控件实现)
本篇将阐述通过Html,
IHttpHandler
和IHttpAsyncHandler实现文件上传和上传进度的原理,希望对你有多帮助。效果图:本文涉及到的知识点:1.前台用到Html,Ajax,JQu
·
2012-04-26 20:00
Asp.Net无刷新上传文件
asp.net页面从初始化到卸载事件顺序
42105d51ccf41f9a8d54304f.html asp.net页面从初始化到卸载事件顺序 客户发出POST请求-〉 创建Page派生类,调用构造函数-〉 调用Page类的
IHttpHandler
.ProcessRequest
zy77612
·
2012-04-24 22:00
asp.net
HttpContext是干什么的
个人感觉说的不清不楚)这是MSDN对它的备注:为继承IHttpModule和
IHttpHandler
接口的类提供了对当前HTTP请求的HttpContext对象的引用。
xiaofan086
·
2012-04-20 16:00
.NET使用一般处理程序生成验证码!
usingSystem.Drawing; usingSystem.Drawing.Drawing2D; usingSystem.Web.SessionState; publicclassWaterMark:
IHttpHandler
qq289523052
·
2012-04-16 13:00
WCF大文件断点下载示例
另外如果是IIS承载的WCF服务,建议直接写一个继承
IHttpHandler
的类来实现,那样效率更高,控制更精细,用WCF服务来做仅仅是在不使用IIS的情况下的妥协方法。注
·
2012-04-08 21:00
断点下载
ashx 使用Session
context.Session["requeststate"]=state; 查阅MSDN得到ashx文件要使用Session,必须实现Session接口,如下 publicclassQQCallbackHandle:
IHttpHandler
Livermore.S
·
2012-04-06 15:00
[置顶] Silverlight调用一般性处理程序模拟Silverlight调用WCF效果(2)
Silverlight调用一般性处理程序模拟Silverlight调用WCF效果避免跨域访问问题实现关键技术代码如下:1.Web建立一般性处理程序 publicclassHandler1:
IHttpHandler
zhaoyu_1979
·
2012-03-31 12:00
String
object
服务器
Class
silverlight
WCF
Ashx文件的使用方法
ASPX或者Webservice去做),一般做法如下: Handler.ashx:usingSystem;usingSystem.IO;usingSystem.Web;publicclassHandler:
IHttpHandler
·
2012-03-22 20:00
文件
理解HttpHandler,并为所有*.jpg图片生成一段文字于图片上
接口
IHttpHandler
的定义如下:复制代码代码如下:interfaceIHttpHandler{voidProcessRequest(HttpContextctx);boolIsReuseable
·
2012-03-12 16:04
小记图片防盗链
刚被网友问了一下说自己站图片被别人盗了,想加防盗链,故此,写了下Demo: 步骤很简单:1:用
IHttpHandler
来处理图片请求2:对请求来源和来源IP进行判断3:分支返回图片 下面实战示例:1
晨曦之光
·
2012-03-09 12:00
怎样在前端Javascript中调用C#方法(3)使用特性Attribute
后台处理Ajax请求无论使用aspx、asmx、ashx、还是
IHttpHandler
来处理,情况都跟下面差不多://aspx、asmx、ashx、
IHttpHandler
中的方法publicstringGetMemberName
·
2012-03-09 02:00
JavaScript
asp.net防盗链源码
/**//***防盗链
IHttpHandler
***增加了对文件关键字的选择(即仅对文件名存在某些关键字或不存在某些关键字进行过滤)*设置web.config中节以下值*stringeWebapp_NoLink
wglzaj
·
2012-02-23 14:42
关键字
职场
休闲
防盗
优先权
asp.net防盗链源码
/**//***防盗链
IHttpHandler
***增加了对文件关键字的选择(即仅对文件名存在某些关键字或不存在某些关键字进行过滤)*设置web.config中节以下值*stringeWebapp_NoLink
wglzaj
·
2012-02-23 14:42
职场
关键字
休闲
开发技术-C++C#类
IHttpHandler
,MvcRouteHandler,IRouteHandler,MvcHandler
在 WindowsAzureToolkitforSocialGames(二)里,研究MapRoute扩展方法时。MvcRouteHandler让我很感兴趣。http://blog.csdn.net/chagaostu/article/details/7275001Routeroute=newRoute(url,newMvcRouteHandler()){ Defaults=newRo
chagaostu
·
2012-02-21 14:00
windows
mvc
url
action
constraints
Social
IhttpHandler
给图片添加水印
本文中使用到的类是
IHttpHandler
(准确地说是一个接口),msdn对它的定义是:“定义ASP.NET为使用
Ctansuozhe
·
2012-02-15 23:32
职场
休闲
IhttpHander
水印图片
IhttpHandler
给图片添加水印
本文中使用到的类是
IHttpHandler
(准确地说是一个接口),msdn对它的定义是:“定义ASP.NET为使用
Ctansuozhe
·
2012-02-15 23:32
职场
休闲
IhttpHander
asp.net
ashx中使用HttpContext.Current.Session ,出现未将对象引用设置到实例
1.usingSystem.Web.SessionState;2.publicclass{ClassName}:
IHttpHandler
,IReadOnlySessionState{…}“IReadOnlySessionState
codefighting
·
2012-02-09 16:00
ashx与aspx的区别
ashx继承自
IHttpHandler
,它的Response里面没有html相关内容。ashx文件用于写webhandler的。.
zoohouse
·
2012-02-09 09:00
html
Web
浏览器
C#
.ashx 文件
ashx必须包含IsReusable.如下例所示usingSystem;usingSystem.Web;publicclassAverageHandler:
IHttpHandler
{publicboolIsReusable
woshixuye
·
2012-01-31 18:00
html
Web
datagrid
C#
Class
asp.net
Asp.net页面生命周期
(Page继承了
IHttpHandler
接口。想了解管道模型,请参考asp.net管道模型(管线模型)之一发不可收拾)。如有不足请大家指出^_^!!
·
2012-01-31 17:00
asp.net
再续.ashx
ashx必须包含IsReusable.如下例所示usingSystem;usingSystem.Web;publicclassAverageHandler:
IHttpHandler
{publicboolIsReusable
zoohouse
·
2012-01-30 12:00
Ajax
datagrid
image
C#
Class
asp.net
PageBase类 --AJAX请求 作为请求页面的基类
usingSystem.Linq;usingSystem.Web;//////PagebaseForNoVidition的摘要说明///publicclassPagebaseForNoVidition:
IHttpHandler
bushuaibucai
·
2011-12-31 16:00
HttpHandler详解
IHttpHandler
是什么
IHttpHandler
定义了如果要实现一个HTTP请求的处理所必需实现的一些系统约定。HttpHandler
keymo_
·
2011-12-31 15:00
exception
String
session
Class
asp.net
HttpModule
IsReusable
IsReusable:重用msdn解释获取一个值,该值指示其他请求是否可以使用
IHttpHandler
实例。如果
IHttpHandler
实例可再次使用,则为true;否则为false。
cxzhq2002
·
2011-12-31 12:00
一般处理程序中如何设置Session
的时候想在一般处理程序中设置Session,可以遇到麻烦了用 context.Session.Add()方法添加不进去,后来才发现这个得继承一个借口看下面: publicclassAuthticUser:
IHttpHandler
Eric_GuoDongliang
·
2011-12-23 00:00
asp.net HttpHandler操作Session的函数代码
复制代码代码如下:usingSystem;usingSystem.Web;usingSystem.Web.SessionState;publicclassHandleDataRequst:
IHttpHandler
·
2011-12-23 00:23
ASP.NET 图片加水印防盗链实现代码
usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Web;usingSystem.Drawing;//////Class1的摘要说明///publicclassClass1:
IHttpHandler
·
2011-12-22 22:01
ASP.NET 图片加水印防盗链
usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Web;usingSystem.Drawing;//////Class1的摘要说明///publicclassClass1:
IHttpHandler
haitaoDoit
·
2011-12-19 16:00
用C#实现简单的验证码
新建一个一般处理程序用来显示验证码 usingSystem; usingSystem.Web; publicclassYZM:
IHttpHandler
,System.Web.SessionState.IRequiresSessionState
xiongchao2011
·
2011-12-05 20:00
为Request.Form追加元素
ResultHandler/// ///SummarydescriptionforResultHandler /// publicclassResultHandler:System.Web.UI.Page,
IHttpHandler
sandy945
·
2011-12-03 14:00
Http上传 vs Ftp上传
代码如下://////FileUploadHandler的摘要说明///publicclassFileUploadHandler:
IHttpHandler
{privateconststringUPLOAD
pleasetojava
·
2011-11-21 09:00
Http上传 vs Ftp上传
代码如下: /// ///FileUploadHandler的摘要说明 /// public class FileUploadHandler:
IHttpHandler
pleasetojava
·
2011-11-21 09:00
http
自定义HTTPHandler实现数字水印效果
usingSystem.Drawing;usingSystem.Drawing.Imaging;usingSystem.IO;/**///////映射文件后缀名方式的数字水印///publicclassCoverHandler:
IHttpHandler
胡火云
·
2011-11-15 12:00
handler
IHttpHander讲解
HttpModule必须实现System.Web.IHttpModule接口,HttpHandler和HttpHandlerFactory必须分别实现System.Web.
IHttpHandler
接口和
胡火云
·
2011-11-15 12:00
http
IHttpModule与
IHttpHandler
的区别整理
先后次序: 先IHttpModule,后
IHttpHandler
.
webcode
·
2011-10-28 10:00
handler
IHttpModule与
IHttpHandler
的区别整理
先后次序: 先IHttpModule,后
IHttpHandler
.
webcode
·
2011-10-28 10:00
handler
IHttpModule与
IHttpHandler
的区别整理
先后次序: 先IHttpModule,后
IHttpHandler
.
webcode
·
2011-10-28 10:00
handler
上一页
10
11
12
13
14
15
16
17
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他