1 / 12

IIS 7 ve ASP.NET 3.5 Windows Server 2008 ile gelen yenilikler

IIS 7 ve ASP.NET 3.5 Windows Server 2008 ile gelen yenilikler. Daron Yöndem INETA Türkiye Başkanı, MVP. IIS6 Mimarisi. Ya hepsi ya hiç!. Authentication. NTLM. Basic. Anon. …. Determine Handler. CGI. Static File. ASP.NET. ISAPI. PHP. …. Send Response.

duy
Download Presentation

IIS 7 ve ASP.NET 3.5 Windows Server 2008 ile gelen yenilikler

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. IIS 7 ve ASP.NET 3.5 Windows Server 2008 ile gelen yenilikler DaronYöndem INETA Türkiye Başkanı, MVP

  2. IIS6 Mimarisi Ya hepsi ya hiç! Authentication NTLM Basic Anon … Determine Handler CGI Static File ASP.NET ISAPI PHP … Send Response Sunucuya işlev eklemenin tek yolu: ISAPI… Log Compress

  3. IIS7 Mimarisi Sunucu işlevleri birbirinden bağımsız modüllere ayrıldı. (~ 40 modül) Authentication Authentication NTLM Basic Anon Authorization … ResolveCache Determine Handler CGI … Mödüllergeneric hatlar üzerine yerleştirilir. Static File ExecuteHandler ISAPI … … UpdateCache Send Response Modüller sunucu özelliklerini özel API’lar ile genişletir. SendResponse Log Compress

  4. IIS7’ninModüler Yapısının Getirileri

  5. IIS7 ASP.NET Entegrasyonu Basic • İki farklı uygulama havuzu seçeneği • Klasik(IIS 6) • Integrated Mode • .NET modülleri / handlerlardoğrudan içeride Anon Authentication Authorization ResolveCache aspnet_isapi.dll … Static File Authentication ExecuteHandler Forms Windows … … ISAPI ASPX Map Handler UpdateCache Trace SendResponse Compress … … Log

  6. Metabase.xml (veya .bin) yerine artık herşeyApplicationhost.config dosyasında <windows>\System32\InetSrv\ IIS 7 Konfigürasyon Sistemi

  7. Contso.com root Konfigürasyon Sistemi.NET + IIS7 Contoso.com \ Orders Site içiWeb.config .NET Framework Global web.config Machine.config <system.web>.NET ayarları .. .. .. <system.webServer>IIS7 üzerinden delege edilen ayarlar .. ASP.net global ayarları NET global ayarları IIS 7 Applicationhost.config Global ayarlar

  8. Site sahipleri her türlü ayarı değiştirebilir. Herhangi bir ek güvenlik hakkı verilmeden site içerisinde konfigürasyon dosyası ile ayarlar düzenlenebilir. Delege Edilmiş Yönetim <configuration>    <system.webServer>        <defaultDocument>            <files>                <clear />                <addvalue="Index.aspx" />            </files>        </defaultDocument>    </system.webServer></configuration>

  9. demo

  10. Genel geçer dertlerimiz! • Sürüm karmaşası, ASP.NET 1.0, 1.1, 3.5, 3.5 SP1, AJAX 1.0 ??? • App_Data altında SQL Express kullanımı. • Mail ayarları! ASP.NET tarafından mail atamıyoruz!!! IIS’de de var!   <system.net>     <mailSettings>       <smtpfrom="gonderen@mail.com">         <networkhost="mail.sunucum.com"port="25"userName="kullanici adi" password="şifre"defaultCredentials="true" />       </smtp>     </mailSettings>   </system.net>

  11. Genel geçer dertlerimiz! • Silverlight da nesi? Dosya uzantısı: .xamlMIME type:application/xaml+xml Dosya uzantısı: .xapMIME type:application/x-silverlight-app • Debug=true!!! • LocalSQLServerConnectionStringIIS’de!

  12. Teşekkürler DaronYöndem daron@yondem.com http://daron.yondem.com

More Related