Team Foundation Server Express

Of all the new developer tools and products that Microsoft launched this fall, Team Foundation Server Express got most of my attention. The fact that it’s free and that it comes with reasonable limitations compared to full version, shows that Microsoft is really dedicated to making it’s platform stronger. This blog post won’t cover all the features that are included or not, I’ll just focus on those that are most interesting. ...

2012-12-25 · 2 min · Ivan Franjic

Disabling Google Ads

Some time ago I was doing some Selenium Webdriver tests for a website with Google Ads. For QA environment the ads were disabled through some website configuration, but for Staging environment everything was set up as on Live, and so the ads were enabled. However, this caused some problems when running Webdriver tests. What happened is that on some pages the Webdriver would timeout because the requests made by Google Ads scripts were taking too long. ...

2012-12-15 · 2 min · Ivan Franjic

Switching to English

It’s been more than a year and a half since I started this blog and as every blog author, I haven’t written as much as I wanted, but this has been a great year so far, with a lot of great things happening at work and in my personal life and I’m not a bit sorry for not having more time to blog. So this blog post won’t be about me promising that I’ll blog more (or less :) it’s an announcement that all future posts will be in English. This is a decision which I’ve made after some thinking and a lot of encouragement from friends and colleagues. ...

2012-12-12 · 1 min · Ivan Franjic

Application pool timeout usled neaktivnosti web aplikacije

Ukoliko sajt nema posetu duže od 20 minuta, application pool će se ugasiti i osloboditi sistemske resurse. Kada sledeći zahtev dođe, IIS će automatski startovati application pool i poslati traženu starnicu. Ovo je odoličan način da se čuvaju resursi, ali to takođe znači da prvi zahtev, onaj koji dovodi do startovanja aplikacije, je vrlo spor. Spor je zato što proces mora da se startuje, učita sve potrebne biblioteke, izvrši Application_Start metodu i na kraju procesira zahtev. U zavisnosti od veličine i složenosti aplikacije, ovo može da potraje od nekoliko sekundi do više od pola minuta. ...

2012-07-17 · 2 min · Ivan Franjic

GZip i shared hosting

Upotreba kompresije je svakako jedna od tehnika optimizacije web aplikacija. Ukoliko nemamo kontrolu nad IIS konfiguracijom, ili nemamo dovoljno prava, kao npr. u slučaju shared hosting rešenja, možemo uključiti GZip kompresiju kroz web.config same web aplikacije. Sve što je potrebno jeste dodati ovaj node u web.config fajl i to će uključiti GZip kompresiju za datu web aplikaciju. <system.webServer> <httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files"> <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll"/> <dynamicTypes> <add mimeType="text/*" enabled="true"/> <add mimeType="application/javascript" enabled="true"/> <add mimeType="*/*" enabled="false"/> </dynamicTypes> <staticTypes> <add mimeType="text/*" enabled="true"/> <add mimeType="application/javascript" enabled="true"/> <add mimeType="*/*" enabled="false"/> </staticTypes> </httpCompression> <urlCompression doStaticCompression="true" doDynamicCompression="true"/> </system.webServer> Obratite pažnju da je potrebno definisati mime tipove za koje će biti omogućena, odnosno isključena kompresija. ...

2012-05-30 · 1 min · Ivan Franjic