ASP Eğitimleri

ASP ANA SAYFA

WP Eğitimi

Web Sayfaları Tanıtımı Web Sayfaları Jilet Web Sayfaları Düzeni Web Sayfaları Klasörleri Web Sayfaları Küresel Web Sayfaları Formları Web Sayfaları Nesneleri Web Sayfaları Dosyaları Web Sayfaları Veritabanları Web Sayfaları Yardımcıları Web Sayfaları WebGrid Web Sayfaları Grafikleri Web Sayfaları E-postası Web Sayfaları Güvenliği Web Sayfaları Yayınla Web Sayfaları Örnekleri Web Sayfaları Sınıfları

ASP.NET Jilet

Jilet Girişi jilet sözdizimi Razor C# Değişkenleri Razor C# Döngüleri Jilet C# Mantık Razor VB Değişkenleri Razor VB Döngüleri Jilet VB Mantık

ASP Klasik

ASP Girişi ASP Sözdizimi ASP Değişkenleri ASP Prosedürleri ASP Şartları ASP Döngüsü ASP Formları ASP Çerezleri ASP Oturumu ASP Uygulaması ASP #include ASP Global.asa ASP AJAX ASP e-postası ASP Örnekleri

ASP Referansı

ASP VB İşlevleri ASP VB Anahtar Kelimeleri ASP Yanıtı ASP İsteği ASP Uygulaması ASP Oturumu ASP Sunucusu ASP Hatası ASP Dosya Sistemi ASP Metin Akışı ASP Sürücüsü ASP Dosyası ASP Klasörü ASP Sözlüğü ASP Reklam Döndürücü ASP Tarayıcı Başlığı ASP İçerik Bağlantısı ASP İçerik Döndürücü ASP Hızlı Başvuru

ADO Eğitimi

ADO'ya Giriş ADO Bağlantısı ADO Kayıt Kümesi ADO Ekranı ADO Sorgusu ADO Sıralama ADO Ekle ADO Güncellemesi ADO Sil ADO Demosu ADO Hızlandırma

ADO Nesneleri

ADO Komutu ADO Bağlantısı ADO Hatası ADO Alanı ADO parametresi ADO Özelliği ADO Kaydı ADO Kayıt Kümesi ADO Akışı ADO Veri Tipleri

ASP.NET Web Sayfaları - Yardımcılar


Web Yardımcıları, web geliştirmeyi ve genel programlama görevlerini büyük ölçüde basitleştirir.


ASP.NET Yardımcıları

ASP.NET yardımcıları, tek satırlık Razor koduyla erişilebilen bileşenlerdir.

.cshtml dosyaları olarak depolanan Razor sözdizimini kullanarak kendi yardımcılarınızı oluşturabilir veya yerleşik ASP.NET yardımcılarını kullanabilirsiniz.

Bu öğreticinin sonraki bölümlerinde Razor yardımcılarının nasıl kullanılacağını öğreneceksiniz.

Aşağıda, bazı yararlı Razor yardımcılarının kısa bir açıklaması bulunmaktadır:


WebGrid Yardımcısı

WebGrid yardımcısı, verileri görüntülemenin yolunu basitleştirir:

  • Verileri görüntülemek için otomatik olarak bir HTML tablosu kurar
  • Biçimlendirme için farklı seçenekleri destekler
  • Veriler aracılığıyla sayfalamayı (İlk, sonraki, önceki, son) destekler
  • Sütun başlıklarına tıklayarak sıralamayı destekler

Grafik Yardımcısı

"Grafik Yardımcısı", birçok biçimlendirme seçeneği ve etiketi ile farklı türlerdeki grafik görüntülerini görüntüleyebilir.

Çizelge Çizelge

Grafik yardımcısı dizilerden, veritabanlarından veya dosyalardan verileri görüntüleyebilir.


WebMail Yardımcısı

WebMail yardımcısı, SMTP (Basit Posta Aktarım Protokolü) kullanarak e-posta mesajları göndermek için işlevler sağlar.


WebImage Yardımcısı

WebImage yardımcısı, bir web sayfasındaki görüntüleri yönetmek için işlevsellik sağlar.

Anahtar Kelimeler: çevir, döndür, yeniden boyutlandır, filigran.



Üçüncü Taraf Yardımcıları

Razor ile e-posta, veritabanları, multimedya ve sosyal ağların kullanımını ve ayrıca navigasyon ve web güvenliği gibi diğer birçok konuyu basitleştirmek için yerleşik veya üçüncü taraf yardımcılardan yararlanabilirsiniz.


Analitik (Google)

Helper Description
Analytics.GetGoogleHtml(webPropertyId) Renders the Google Analytics JavaScript code for the specified ID.
Analytics.GetStatCounterHtml(project, security)Renders the StatCounter Analytics JavaScript code for the specified project.
Analytics.GetYahooHtml(account) Renders the Yahoo Analytics JavaScript code for the specified account.

Bing

Helper Description
Bing.SearchBox([boxWidth]) Passes a search to Bing. To specify the site to search and a title for the search box, you can set the Bing.SiteUrl and Bing.SiteTitle properties. Normally you set these properties in the _AppStart page.
Bing.AdvancedSearchBox([, boxWidth] [, resultWidth] [, resultHeight]
  [, themeColor] [, locale]
)
Displays Bing search results in the page with optional formatting. To specify the site to search and a title for the search box, you can set the Bing.SiteUrl and Bing.SiteTitle properties. Normally you set these properties in the _AppStart page.

Kripto

Helper Description
Crypto.Hash(string [, algorithm])
Crypto.Hash(bytes [, algorithm])
Returns a hash for the specified data. The default algorithm is sha256.

Facebook

Helper Description
Facebook.LikeButton(href [, buttonLayout] [, showFaces] [, width] [, height]
[, action] [, font] [, colorScheme] [, refLabel]
)
Lets Facebook users make a connection to pages.

Dosya yükleme

Helper Description
FileUpload.GetHtml([initialNumberOfFiles] [, allowMoreFilesToBeAdded]
  [
, includeFormTag] [, addText] [, uploadText])
Renders UI for uploading files.

Oyun Kartı

Helper Description
GamerCard.GetHtml(gamerTag) Renders the specified Xbox gamer tag.

Gravatar Nesne Referansı

Helper Description
Gravatar.GetHtml(email [, imageSize] [, defaultImage] [, rating]
  [, imageExtension] [, attributes]
)
Renders the Gravatar image for the specified email address.

Json

Helper Description
Json.Encode(object) Converts a data object to a string in the JavaScript Object Notation (JSON) format.
Json.Decode(string) Converts a JSON-encoded input string to a data object that you can iterate over or insert into a database.

Bağlantı Paylaşımı

Helper Description
LinkShare.GetHtml(pageTitle [, pageLinkBack] [, twitterUserName]
  [, additionalTweetText] [, linkSites]
)
Renders social networking links using the specified title and optional URL.

ModelState

Helper Description
ModelStateDictionary.AddError(key, errorMessage)Associates an error message with a form field. Use the ModelState helper to access this member.
ModelStateDictionary.AddFormError(errorMessage) Associates an error message with a form. Use the ModelState helper to access this member.
ModelStateDictionary.IsValid Returns true if there are no validation errors. Use the ModelState helper to access this member.

Nesne Bilgisi

Helper Description
ObjectInfo.Print(value [, depth] [, enumerationLength])Renders the properties and values of an object and any child objects.

özet

Helper Description
Recaptcha.GetHtml([, publicKey] [, theme] [, language] [, tabIndex]) Renders the reCAPTCHA verification test.
ReCaptcha.PublicKey
ReCaptcha.PrivateKey
Sets public and private keys for the reCAPTCHA service. Normally you set these properties in the _AppStart page.
ReCaptcha.Validate([, privateKey]) Returns the result of the reCAPTCHA test.

Sunucu Bilgisi

Helper Description
ServerInfo.GetHtml()Renders status information about ASP.NET Web Pages.

heyecan

Helper Description
Twitter.Profile(twitterUserName) Renders a Twitter stream for the specified user.
Twitter.Search(searchQuery) Renders a Twitter stream for the specified search text.

Video

Helper Description
Video.Flash(filename [, width, height]) Renders a Flash video player for the specified file with optional width and height.
Video.MediaPlayer(filename [, width, height])Renders a Windows Media player for the specified file with optional width and height.
Video.Silverlight(filename, width, height)Renders a Silverlight player for the specified .xap file with required width and height.

Web Önbelleği

Helper Description
WebCache.Get(key) Returns the object specified by key, or null if the object is not found.
WebCache.Remove(key) Removes the object specified by key from the cache.
WebCache.Set(key, value [, minutesToCache] [, slidingExpiration]) Puts value into the cache under the name specified by key.

WebResim

Helper Description
WebImage(path)Loads an image from the specified path.
WebImage.AddImagesWatermark(image) Adds the specified image as a watermark.
WebImage.AddTextWatermark(text) Adds the specified text to the image.
WebImage.FlipHorizontal()
WebImage.FlipVertical()
Flips the image horizontally or vertically.
WebImage.GetImageFromRequest() Loads an image when an image is posted to a page during a file upload.
WebImage.Resize(width, height) Resizes the image.
WebImage.RotateLeft()
WebImage.RotateRight()
Rotates the image to the left or the right.
WebImage.Save(path [, imageFormat]) Saves the image to the specified path.