Upload
yunusozen
View
1.664
Download
0
Embed Size (px)
Citation preview
M.Kemal Demir & Yunus ÖzenM.Kemal Demir & Yunus Özen
Başlangıç RehberiBaşlangıç RehberiMakalelerMakalelerGörsel DerslerGörsel DerslerCommunityCommunityWeb 2.0Web 2.0
ASP.NETASP.NET için yeni bir alternatif için yeni bir alternatifKolay Kolay TDD TDD Daha fazla Daha fazla <html/><html/> hakimiyeti hakimiyetiDaha fazla URL hakimiyetiDaha fazla URL hakimiyetiHerkes için değil Herkes için değil
Web Forms 4.0Web Forms 4.0 değil değilAlternatifler varAlternatifler var. .
Basit, daha özgürBasit, daha özgürAyakkabı sıkıyorsa sandalet giyAyakkabı sıkıyorsa sandalet giy
FundamentalFundamentalSystem.Web System.Web ‘in bir parçası‘in bir parçası.. System.Web.MVC System.Web.MVC
Diğerleri ile iyi geçinirDiğerleri ile iyi geçinirModels Models için için Nhibernate, Views Nhibernate, Views için için Brail Brail vbvb
KKISSISS veve DRY DRY
BrowserBrowserWeb Web
ServerServer
http://myserver.com/Products/
ProductsControllerProductsController(Controller)(Controller)
ProductProduct(Model)(Model) SQLSQL
Edit.aspxEdit.aspx(View)(View)
http://myserver.com/Products/Edit/5
List.aspxList.aspx(View)(View)ViewData
Global.asaxGlobal.asax içinde içinde RegisterRoutes() RegisterRoutes() ile ile ayarlanırayarlanır
Esnek yönlendirme kurallarıEsnek yönlendirme kurallarıDefault parametDefault parametrelerrelerKısıtlamalarKısıtlamalarİsimlendirilmiş route larİsimlendirilmiş route larWildcard Wildcard kullanımıkullanımı
Esnek ve tak-çıkar yapıEsnek ve tak-çıkar yapıSistemin bileşenleri değiştirilebilirSistemin bileşenleri değiştirilebilir
Temiz Temiz URL URL ve ve HTML HTMLSEO SEO özellikleriözellikleri
ASP.NETASP.NET ile entegrasyon ile entegrasyonBütün provider lar çalışıyorBütün provider lar çalışıyorMembership, Session, Caching, etc.Membership, Session, Caching, etc.VS2008 Designer SurfaceVS2008 Designer Surface
• Browser /Products/ isteğini gönderir• Route belirlenir• Controller aktive edilir•Action Method seçilip tetiklenir• Controller gerekli işleri yapar• ViewData ile veri enjekte edilir•View render edilir
/Products/Edit/5
ProductsControllerProductsController(Controller)(Controller)
ProductProduct(Model)(Model) SQLSQL
/Products/Update/5
URL:
• You can futz at each step in the process
ViewsViewsControllersControllersModelsModelsRoutesRoutes......Hepsi tak-çıkar yapıdaHepsi tak-çıkar yapıda
ASP.NET için yeni bir alternatifASP.NET için yeni bir alternatifDaha fazla Daha fazla <html/><html/> ve URL hakimiyeti ve URL hakimiyetiKolay TDD yapılabilirKolay TDD yapılabilirHerkes için değilHerkes için değilMuhtemel release tarihi: Kasım - Aralık. Muhtemel release tarihi: Kasım - Aralık.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market
conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
M.Kemal Demir Yunus ÖzenM.Kemal Demir Yunus Özenkemal.csharpturk.net yunus.csharpturk.netkemal.csharpturk.net yunus.csharpturk.net