摘要: 1.建立HomeController類,繼承AsyncController代碼如下:View Code public class HomeController : AsyncController { public void IndexAsync() { ViewBag.Message = "Welcome to ASP.NET MVC!"; AsyncManager.OutstandingOperations.Increment(); var task = Task.Factory.Star... 阅读全文
posted @ 2012-03-14 21:33 無限遐想 阅读(1767) 评论(0) 推荐(0)
摘要: 1.定義一個擴展類GlobalizationExtensions代碼如下:View Code public static class GlobalizationExtensions { /// <summary> /// Render the globalize resource text /// </summary> /// <param name="helper">The HTML helper</param> /// <param name="key">the reousece key&l 阅读全文
posted @ 2012-03-14 20:15 無限遐想 阅读(935) 评论(0) 推荐(0)
摘要: <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>JS实现图片翻书效果-站长街</title><META http-equiv=imagetoolbar content=no><STYLE type=text/css>#center {LEFT: 50% 阅读全文
posted @ 2012-03-14 08:52 無限遐想 阅读(1098) 评论(0) 推荐(0)