asp.net de uzun süredir kullandığım UrlRewritingNet.UrlRewriter.dll den daha iyi bir çözüm olduğuna inandığım ve deneylerle sabit Intelligencia.UrlRewriter.dll tavsiye ediyorum. godaddy ile diğer dll de birden fazla rule giremezken bunda istediğim kadar yeni rule girebiliyorum ve shared hostingde problem çıkarmadan çalışıyor. bide diğer proje biraz uyku modunda gibi bunu gayet gelişir gördüm :)
dökümantasyon ve download için buyrun.
Showing posts with label urlrewriting. Show all posts
Showing posts with label urlrewriting. Show all posts
Wednesday, December 05, 2007
Saturday, October 06, 2007
UrlRewriting
it can be very tricky if you are using godaddy like shared hosting. and at the same time if you are trying to use asp.net ajax toolkit.
at the end you will find yourself why the hell ajax part does not work. its all about urlrewriting and its file issues. you need to put to zero size file to your application folder.
it will solve urlrewriting and ajax problems. I hope someone make some enhancements to urlrewriting project.
at the end you will find yourself why the hell ajax part does not work. its all about urlrewriting and its file issues. you need to put to zero size file to your application folder.
ScriptResource.axd
WebResource.axd
it will solve urlrewriting and ajax problems. I hope someone make some enhancements to urlrewriting project.
Monday, September 24, 2007
asp.net ajax godaddy
godaddy biçok projemde kullandığım hostingim kendisi şimdiye kadar gördüğüm en ucuza verilebilecek en uygun hostinge sahip. asp.net ve ajax istiyorsanızda http://www.asp.net/ajax/ den download ediceksiniz. ajaxcontroltoolkit ile bir sürü şey çok daha kolay duruma getirilmiş durumda. fakat bu projeyi godaddy de çalıştırmak isterseniz olmicak bir sürü problemle karşılaşabilirsiniz.
birinci problem urlrewriting ve ajax. asp.net de shared hostingden güzel url ler yapmak istiyorsanız yegane seçenek urlrewriting. kendisi gelişimini tamamlamış ama hala dertli bir proje. çalışıyor olması benim için yeterli. karşılaşdığım problemse axd isteklerine nane olan urlrewriting in ortalığı karıştırması. istek yapılan url örneği
ScriptResource.axd?d=jtJbL061WgTeksaav7VzwLP3l4DtdW1JA4V6X4OjnLEejk63vKlwC3
ygcyLnZP4Mp8dYDcZskJgS9zF-m8TQIeMwCfsCwv49rLTyqVCsqCQ1&t=633082638440786315
bunun bide bir alt folder olması durumunda başı götü ayrı değişiyor sonuçda tertemiz bir excetption fırlıyor.
bunu önlemek için web.config e
girmeniz gerekmiyor :) ee niye yazdım denedim olmuo onu söyliem dedim bi türlü urlrewriting i ayarsal yoldan bu dosyalardan ayıramadım temiz çözüm: ScriptResource.axd ve WebResource.axd isminde 2 tane boş dosya oluşturun upload edin. urlrewritingde kontrol ettiğinde o dosyaları gördüğünden daha fazla rewrite etmeye çalışmayıp frameworke olayı bırakıyor. frameworkde akıllı axd istio haa bu script hedesi diyip işine bakıo. bi şekil kandırmış oluyoruz urlrewriting'i.
ikinci problemde godaddy ben yükledim siz yüklemen demesine rağmen System.Web.Extensions.dll i bin folderına koymanız gerekmesi.
sonuç hala içime sinmemiş olan autocomplete textbox ım çalışıyor olması. sözlükde arama yaparken 2. karakterden sonra direk autocomplete listesi çıkıyor. updateprogress konusu nedense hala bunla beraber çalışmıyor. patch bulduğunu söyleyenler var forumda ama denemedim. bir sonrakiversiyonda düzelir sanırım.
birinci problem urlrewriting ve ajax. asp.net de shared hostingden güzel url ler yapmak istiyorsanız yegane seçenek urlrewriting. kendisi gelişimini tamamlamış ama hala dertli bir proje. çalışıyor olması benim için yeterli. karşılaşdığım problemse axd isteklerine nane olan urlrewriting in ortalığı karıştırması. istek yapılan url örneği
ScriptResource.axd?d=jtJbL061WgTeksaav7VzwLP3l4DtdW1JA4V6X4OjnLEejk63vKlwC3
ygcyLnZP4Mp8dYDcZskJgS9zF-m8TQIeMwCfsCwv49rLTyqVCsqCQ1&t=633082638440786315
bunun bide bir alt folder olması durumunda başı götü ayrı değişiyor sonuçda tertemiz bir excetption fırlıyor.
Exception information:
Exception type: System.Web.HttpException
Exception message: 'http://www.sozlukcell.com/sozlukcell/ScriptResource.axd' is not a valid virtual path.
bunu önlemek için web.config e
<add name="WebResourceFix" virtualUrl="^~/WebResource.axd(.*)" rewriteUrlParameter="IncludeQueryStringForRewrite" destinationUrl="~/WebResource.axd$1" ignoreCase="true"/>
<add name="ScriptResource" virtualUrl="^~/ScriptResource.axd(.*)" rewriteUrlParameter="IncludeQueryStringForRewrite" destinationUrl="~/ScriptResource.axd$1" ignoreCase="true"/>
girmeniz gerekmiyor :) ee niye yazdım denedim olmuo onu söyliem dedim bi türlü urlrewriting i ayarsal yoldan bu dosyalardan ayıramadım temiz çözüm: ScriptResource.axd ve WebResource.axd isminde 2 tane boş dosya oluşturun upload edin. urlrewritingde kontrol ettiğinde o dosyaları gördüğünden daha fazla rewrite etmeye çalışmayıp frameworke olayı bırakıyor. frameworkde akıllı axd istio haa bu script hedesi diyip işine bakıo. bi şekil kandırmış oluyoruz urlrewriting'i.
ikinci problemde godaddy ben yükledim siz yüklemen demesine rağmen System.Web.Extensions.dll i bin folderına koymanız gerekmesi.
sonuç hala içime sinmemiş olan autocomplete textbox ım çalışıyor olması. sözlükde arama yaparken 2. karakterden sonra direk autocomplete listesi çıkıyor. updateprogress konusu nedense hala bunla beraber çalışmıyor. patch bulduğunu söyleyenler var forumda ama denemedim. bir sonrakiversiyonda düzelir sanırım.
Subscribe to:
Posts (Atom)
-
at the end of any product there will be a reporting interfaces for counts. let say you build a advertisement site which gives people to publ...
-
still in early steps and somehow I get the same http 500 error from docs.google.com. I dunno how to solve this.
-
geçen gün işden bi arkadaşla konuşuoz flash p2p yapıo dedim. olurmu lan öle şey windows firewall u var ne bilim modemden geçemez bi dünya an...