摘要:
1、新建项目,打开VS2010,WCF/WCF服务库2、确保引用System.ServiceModel.Web,.net 框架不要选择client profile3、app.config<?xml version="1.0"?><configuration> <system.serviceModel> <services> <service name="WcfJsonRestService.Service1"> <endpoint address="http://localhos 阅读全文
摘要:
阅读全文
摘要:
C#操作REDIS例子windows SEVER包:http://code.google.com/p/servicestack/wiki/RedisWindowsDownloadwindows仅用来测试,性能不如在linux下高.c#使用:引用的ServiceStackRedis:https://github.com/mythz/ServiceStack.RedisstaticvoidMain(string[]args){varRedis=newRedisClient(“127.0.0.1″,6379);//redis服务IP和端口#region=insert=//varstoreMember 阅读全文