首页 > Web开发
Asp.Net MVC5 授权学习总结
一:MVC 授权1. [Authorize] : 可以写在类或者方法上,标记此属性后,必须先登入才可进入此功能 [Authorize] public ActionResult About() { ViewBag.Message = "Your appli...
分类:Web开发   时间:2015-07-08 14:33:04    收藏:0  评论:0  赞:0  阅读:241
【转】反向AJAX
原文链接:http://blog.csdn.net/lccone/article/details/7743886反向Ajax的基本概念是客户端不必从服务器获取信息,服务器会把相关信息直接推送到客户端。这样做的目的是解决Ajax传统Web模型所带来的一个限制:实时信息很难从技术上解决。原因是,客户端必...
分类:Web开发   时间:2015-07-08 14:32:04    收藏:0  评论:0  赞:0  阅读:229
多行文字实现垂直居中 css3
用到的属性: display:table-cell; verical-align:middle; 多行文字实现垂直居中 现在我们要使这段文字垂直居中显示! 下面看 display 的各个属性:常用display1、div{di...
分类:Web开发   时间:2015-07-08 14:31:24    收藏:0  评论:0  赞:0  阅读:302
Eclipse+Axis2创建WebService和相应的客户端调用
一、工具介绍eclipse(luna) +axis2-1.6.3二、在Eclipse里面配置Axis21.下载最新版的axis2下载地址为:http://axis.apache.org/axis2/java/core/download.cgi2.在Eclipse中配置Axis2:Window—>Pr...
分类:Web开发   时间:2015-07-08 14:30:24    收藏:0  评论:0  赞:0  阅读:389
Yet another way to manage your NHibernate ISessionFactory
So here is my current UnitOfWork implementation. This one makes use of the somewhat new current_session_context_class feature. I think this is quite s...
分类:Web开发   时间:2015-07-08 14:29:04    收藏:0  评论:0  赞:0  阅读:280
ASP.NET - 页面传值 Request.QuerString[].ToString();
public partial class WebForm2 : System.Web.UI.Page{ BLL.CategoryBLL categorybll = new CategoryBLL(); BLL.NewsBLL newsbll = new NewsBLL(); //接...
分类:Web开发   时间:2015-07-08 14:28:53    收藏:0  评论:0  赞:0  阅读:420
poj1258 Agri-Net 最小生成树
Agri-NetTime Limit:1000MSMemory Limit:10000KTotal Submissions:44032Accepted:18001DescriptionFarmer John has been elected mayor of his town! One of his...
分类:Web开发   时间:2015-07-08 14:28:34    收藏:0  评论:0  赞:0  阅读:240
pig询问top k,每个返回hour和ad_network_id最大的两个记录(SUBSTRING,order,COUNT_STAR,limit)
pig里面有一个TOP功能。我不知道为什么用不了。有时间去看看pig源代码。SET job.name 'top_k';SET job.priority HIGH;--REGISTER piggybank.jar;REGISTER wizad-etl-udf-0.1.jar;--DEFINE Sequ...
分类:Web开发   时间:2015-07-08 14:27:04    收藏:0  评论:0  赞:0  阅读:323
单页面滚动式网站模版开发
在线演示1本地下载jQuery是当今最流行的JS框架,利用jquery我们可以开发出很多高效的demo和成果。与此同时jquery相关的插件也可以很方便的完成一些特效,例如jquery scrollTo插件,可以方便的完成滑动到指定位置操作。记住由于jquery scrollto插件是依赖于jque...
分类:Web开发   时间:2015-07-08 14:26:14    收藏:0  评论:0  赞:0  阅读:258
editor多功能文本框在有些计算机上不能正常加载,解决方法,本人用的是把js调用方法放到<body></body>后面)
IE8 中"HTML Parsing Error:Unable to modify the parent container element before the child element is closed"错误一、又涨见识了 IE8报下面错误,而且是我的机器不报,同事的机器报,试了4台,两个报...
分类:Web开发   时间:2015-07-08 14:25:53    收藏:0  评论:0  赞:0  阅读:273
WebBrowser控件打开https站点
与上一篇博文一样,此文亦是由于开发DropboxAPI中遇到问题衍生出来的。由于需要重定向https类型网站,但自己的https证书是自签名的,总是提示‘网站的安全证书存在问题’。
分类:Web开发   时间:2015-07-08 14:24:54    收藏:0  评论:0  赞:0  阅读:879
hibernate 异常:Unexpected Exception caught setting
异常信息:Unexpected Exception caught setting 'outHeight' on 'class com.srpm.core.project.seismicFortification.action.SeismicFortificationAction: Error set...
分类:Web开发   时间:2015-07-08 14:23:44    收藏:0  评论:0  赞:0  阅读:307
WEBRTC源码片段分析(1)音频缓冲拷贝
源码位置webrtc/webrtc/modules/audio_device/ios/audio_device_ios.cc函数OSStatus AudioDeviceIPhone::RecordProcessImpl( A...
分类:Web开发   时间:2015-07-08 14:22:14    收藏:0  评论:0  赞:0  阅读:337
ASP.NET - Eval数据绑定
新闻分类 首页 ">
分类:Web开发   时间:2015-07-08 14:19:53    收藏:0  评论:0  赞:0  阅读:300
hibernate 异常:could not execute statement
错误信息:JDBC exception on Hibernate data access: SQLException for SQL [n/a]; SQL state [72000]; error code [12899]; could not execute statement; nested e...
分类:Web开发   时间:2015-07-08 14:19:13    收藏:0  评论:0  赞:0  阅读:1096
js 获取某年的某天是第几周
/**2 * 判断年份是否为润年3 *4 * @param {Number} year5 */6 function isLeapYear(year) {7 return (year % 400 == 0) || (year % 4 == 0 && year % 100 != 0);8 }9 /**1...
分类:Web开发   时间:2015-07-08 14:18:54    收藏:0  评论:0  赞:0  阅读:259
JSONObject基本内容(三)
参考资料:http://swiftlet.net/archives/category/json 十分感谢!!!~~第三篇的内容,主要讲述的有两点: 1 .如何获取JSONObject中对应key的value。 2.如何把JSONObject转换为javaBean对象。一)获取JSONObject.....
分类:Web开发   时间:2015-07-08 14:16:34    收藏:0  评论:0  赞:0  阅读:279
[Selenium] 实例二:web自动化测试
虽然我们通常使用Selenium来写测试脚本,但是Selenium本身不提供测试框架。在这里,我们可以结合Python自动化框架unittest库来进行web测试。当然你也可以使用其他测试框架或工具,如py.test和nose. 下面是结合百度搜索的一个测试函数: #coding:utf-8 imp...
分类:Web开发   时间:2015-07-08 14:15:34    收藏:0  评论:0  赞:0  阅读:369
CSS 3 过渡效果之jquery 的fadeIn ,fadeOut
.div { visibility: hidden; opacity: 0; transition: visibility 0s linear 0.5s,opacity 0.5s linear;}.div:hover { visibility: visible; opacity: 0.5;...
分类:Web开发   时间:2015-07-08 14:14:44    收藏:0  评论:0  赞:0  阅读:327
Web MVC开发程序代码的简写方法,强类型数据和Html helper使用方法。车老师代码
控制器代码using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using MvcApplication1.Models;using System.I...
分类:Web开发   时间:2015-07-08 14:14:14    收藏:0  评论:0  赞:0  阅读:211
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!