码迷,mamicode.com
首页 >  
搜索关键字:@component @controller @service @repository    ( 41522个结果
WCF、Web API、WCF REST、Web Service 区别
Web Service It is based on SOAP and return data in XML form. It support only HTTP protocol. It is not open source...
分类:Windows程序   时间:2014-06-18 11:04:33    阅读次数:336
HTTP请求返回类
在学习《构建具有CRUD功能的ASP.NET Web API》一文中,通过产品ID获得产品信息的方法如下:1 public Product GetProduct(int id)2 {3 Product item = repository.Get(id);4 if (item ==...
分类:其他好文   时间:2014-06-18 10:57:07    阅读次数:260
JsonResult,Controller.Json
表示一个类,该类用于将 JSON 格式的内容发送到响应。ContentEncoding:编码格式(最好按标准utf-8)ContentType: mime类型Data:数据设置JsonRequestBehavior:请求类型,该值指示是否允许来自客户端的 HTTP GET 请求,枚举MaxJson....
分类:Web程序   时间:2014-06-18 10:21:03    阅读次数:225
Spring 使用
一、工具类中使用beanIService service = (IService)ContextLoader.getCurrentWebApplicationContext().getBean(serviceBeanName);View Code
分类:编程语言   时间:2014-06-18 10:13:46    阅读次数:216
ASP.NET MVC 入门4、Controller与Action
Controller类继承自ControllerBase类, ControllerBase类实现了IController接口.ControllerBase类实现了Exceute方法, 当URL路由匹配到Controller后,就会执行Excecute方法进行Controller的处理.Control...
分类:Web程序   时间:2014-06-18 09:31:28    阅读次数:149
初识自动化测试理论
自动化测试的分类Web UI 的自动化测试(一类:模拟真实用户操作[鼠标键盘],二类:模拟HTTP请求)Windows 窗体的UI自动化测试API测试(Web API,WCF Service)数据库测试(存储过程)接口测试单元测试性能测试自动化应具备的知识点:了解Javascript, CSS的知识...
分类:其他好文   时间:2014-06-18 09:15:25    阅读次数:157
学习笔记——Maven超级POM
Maven有一个超级POM,所有的POM均继承此文件。该文件定义如下: 4.0.0 central Central Repository http://repo.maven.apache.org/maven2 default false central Central Reposit...
分类:其他好文   时间:2014-06-17 23:31:32    阅读次数:338
NFS客户端配置为开机自动挂载报错(二)
NFS客户端配置为开机自动挂载时,系统启动报错。报错信息类似:mount:mount:mounttoNFSserver‘172.16.1.254‘failed:mount:SystemError:Noroutetohost.原因:网络启动后需要对网络内路由表进行“学习”。在未完成路由表学习之前启动netfs服务会报错。解决方法:延后netfs启动时..
分类:其他好文   时间:2014-06-17 18:42:04    阅读次数:214
在主引导记录(MBR)的救援模式下如何重新安装GRUB引导装载程序
系统:redhat6.5x64问题:系统安装完毕,启动系统时夯住,如图:原因:问题的原因可能是MBR偶然的被擦除或是在BIOS中将磁盘控制器设置成SATA-controller。解决:该问题可通过重装grub来解决1.进入救援模式;2.chroot/mnt/sysp_w_picpath;3.grub-install/dev/sda#根据你的ks文..
分类:其他好文   时间:2014-06-17 18:23:06    阅读次数:192
network相关问题
修改网络后使新配置生效servicenetworkrestart重启网络时,会尝试使用原有IP去关闭现有网络,此操作会失败。因此,network重启后原IP信息可能会继续保留,使同时存在新旧两个IP配置。推荐的重启网络方法:servicenetworkstop;sleep3;servicenetworkstart
分类:Web程序   时间:2014-06-17 18:13:07    阅读次数:228
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!