ASP.NET 教程
WP 教程
WP 參考手冊
ASP.NET Razor
ASP.NET MVC
WF 教程
WF 參考手冊
ASP.NET Web Pages - 更多幫助器
ASP.NET Helpers - 對象參考手冊
Analytics 對象參考手冊 (Google)
- Analytics.GetGoogleHtml(webPropertyId)
- 呈現(xiàn)指定 ID 的 Google Analytics JavaScript 代碼。
- Analytics.GetStatCounterHtml(project, security)
- 呈現(xiàn)指定項目的 StatCounter Analytics JavaScript 代碼。
- Analytics.GetYahooHtml(account)
- 呈現(xiàn)指定帳戶的 Yahoo Analytics JavaScript 代碼。
Bing 對象參考手冊
- Bing.SearchBox([boxWidth])
- 向 Bing 傳遞搜索。如需規(guī)定要搜素的站點和搜索框的標(biāo)題,您可以設(shè)置 Bing.SiteUrl 和 Bing.SiteTitle 屬性。通常在 _AppStart 頁面設(shè)置這些屬性。
- Bing.AdvancedSearchBox([, boxWidth] [, resultWidth] [, resultHeight]
[, themeColor] [, locale])
- 以可選的格式在頁面中顯示 Bing 搜索結(jié)果。如需規(guī)定要搜素的站點和搜索框的標(biāo)題,您可以設(shè)置 Bing.SiteUrl 和 Bing.SiteTitle 屬性。通常在 _AppStart 頁面設(shè)置這些屬性。
Chart 對象參考手冊
- Chart(width, height [, template] [, templatePath])
- 對圖表進(jìn)行初始化。
- Chart.AddLegend([title] [, name])
- 向圖像添加圖例。
- Chart.AddSeries([name] [, chartType] [, chartArea] [, axisLabel] [, legend] [, markerStep] [, xValue] [, xField] [, yValues] [, yFields] [, options])
- 提供圖表的數(shù)據(jù)點和系列特性。
Crypto 對象參考手冊
- Crypto.Hash(string [, algorithm]) Crypto.Hash(bytes [, algorithm])
- 返回指定數(shù)據(jù)的哈希值。默認(rèn)算法是 sha256。
Facebook 對象參考手冊
- Facebook.LikeButton(href [, buttonLayout] [, showFaces] [, width] [, height] [, action] [, font] [, colorScheme] [, refLabel])
- 使 Facebook 用戶生成到頁面的連接。
FileUpload 對象參考手冊
- FileUpload.GetHtml([initialNumberOfFiles] [, allowMoreFilesToBeAdded] [, includeFormTag] [, addText] [, uploadText])
- 程序用于上傳文件的 UI。
GamerCard 對象參考手冊
- GamerCard.GetHtml(gamerTag)
- 呈現(xiàn)指定的 Xbox 游戲者標(biāo)簽。
Gravatar 對象參考手冊
- Gravatar.GetHtml(email [, imageSize] [, defaultImage] [, rating] [, imageExtension] [, attributes])
- 呈現(xiàn)指定電郵地址的 Gravatar 圖像。
Json 對象參考手冊
- Json.Encode(object)
- 將數(shù)據(jù)對象轉(zhuǎn)換為 JavaScript 對象表示法 (JSON) 格式的字符串。
- Json.Decode(string)
- 將 JavaScript 對象表示法 (JSON) 格式的數(shù)據(jù)轉(zhuǎn)換為數(shù)據(jù)對象。
LinkShare 對象參考手冊
- LinkShare.GetHtml(pageTitle [, pageLinkBack] [, twitterUserName] [, additionalTweetText] [, linkSites])
- 使用指定的標(biāo)題和可選 URL 來呈現(xiàn)社交網(wǎng)絡(luò)連接。
ModelState 對象參考手冊
- ModelStateDictionary.AddError(key, errorMessage)
- 將錯誤消息添加到與指定鍵關(guān)聯(lián)的模型狀態(tài)中。
- ModelStateDictionary.AddFormError(errorMessage)
- 將錯誤消息添加到與整個窗體關(guān)聯(lián)的模型狀態(tài)中。
- ModelStateDictionary.IsValid
- 確定是否有任何錯誤消息與指定鍵關(guān)聯(lián)。
ObjectInfo 對象參考手冊
- ObjectInfo.Print(value [, depth] [, enumerationLength])
- 呈現(xiàn)指定對象及任何子對象的屬性名稱和值。
Recaptcha 對象參考手冊
- Recaptcha.GetHtml([, publicKey] [, theme] [, language] [, tabIndex])
- 呈現(xiàn) reCAPTCHA 驗證測試。
- ReCaptcha.PublicKey
ReCaptcha.PrivateKey
- 設(shè)置 reCAPTCHA 服務(wù)的公有鍵和私有鍵。通常在 _AppStart 頁面設(shè)置這些屬性。
- ReCaptcha.Validate([, privateKey])
- 返回 reCAPTCHA 測試的結(jié)果。
- ServerInfo.GetHtml()
- 呈現(xiàn) ASP.NET Web Pages 的狀態(tài)信息。
Twitter 對象參考手冊
- Twitter.Profile(twitterUserName)
- 呈現(xiàn)指定用戶的 Twitter 流。
- Twitter.Search(searchQuery)
- 呈現(xiàn)指定搜索文本的 Twitter 流。
Video 對象參考手冊
- Video.Flash(filename [, width, height])
- 為指定文件(可選寬度和高度)呈現(xiàn) Flash 視頻播放器。
- Video.MediaPlayer(filename [, width, height])
- 為指定文件(可選寬度和高度)呈現(xiàn) Windows 媒體播放器。
- Video.Silverlight(filename, width, height)
- 為指定的 .xap 文件(必需的寬度和高度)呈現(xiàn) Silverlight 播放器。
WebCache 對象參考手冊
- WebCache.Get(key)
- 從 WebCache 對象中檢索指定項。
- WebCache.Remove(key)
- 從 WebCache 對象中刪除指定項。
- WebCache.Set(key, value [, minutesToCache] [, slidingExpiration])
- 將一個項插入到 WebCache 對象。
WebGrid 對象參考手冊
- WebGrid(data)
- 初始化 WebGrid 類的新實例。
- WebGrid.GetHtml()
- 返回用于呈現(xiàn) WebGrid 實例并使用指定分頁選項的 HTML 標(biāo)記。
- WebGrid.Pager()
- 返回用于為 WebGrid 實例提供指定分頁支持的 HTML 標(biāo)記。
WebImage 對象參考手冊
- WebImage(path)
- 加載指定路徑的圖像。
- WebImage.AddImagesWatermark(image)
- 將水印圖像添加到 WebImage 對象。
- WebImage.AddTextWatermark(text)
- 在圖像中添加水印文本。
- WebImage.FlipHorizontal()
WebImage.FlipVertical()
- 水平或垂直翻轉(zhuǎn)圖片。
- WebImage.GetImageFromRequest()
- 返回已使用瀏覽器上載的圖像。
- WebImage.Resize(width, height)
- 調(diào)整圖像大小。
- WebImage.RotateLeft()
WebImage.RotateRight()
- 將圖像旋轉(zhuǎn)到左側(cè)或右側(cè)。
- WebImage.Save(path [, imageFormat])
- 把圖像保存到指定路徑。