<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4202207820054725239</id><updated>2011-11-28T00:45:33.064+01:00</updated><category term='debug'/><category term='LINQ'/><category term='education'/><category term='jscript'/><category term='XSD'/><category term='Kitap'/><category term='connection'/><category term='restart'/><category term='ajax'/><category term='IO'/><category term='Sql Server'/><category term='pl/sql'/><category term='SharePoint'/><category term='XML'/><category term='freeware'/><category term='Entity Class'/><category term='Ado.Net Entity Framework'/><category term='yazilim mühendisligi'/><category term='validation'/><category term='shortcut'/><category term='component'/><category term='oracle'/><category term='t-sql'/><category term='C#'/><category term='Typed DataSet'/><category term='solid'/><category term='TDD'/><category term='application pool'/><category term='webcast'/><category term='sql'/><category term='cms'/><category term='software engineering'/><category term='ORM'/><category term='email'/><category term='asp.net'/><category term='Ado.Net'/><category term='architecture'/><category term='Genel'/><category term='Operating System'/><category term='Tips and Tricks'/><category term='VS.Net'/><category term='performans'/><category term='web.config'/><title type='text'>Tolga Yaramış - Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>39</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-3042913294372241090</id><published>2010-04-14T11:27:00.004+02:00</published><updated>2010-04-18T18:43:26.261+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='architecture'/><category scheme='http://www.blogger.com/atom/ns#' term='solid'/><title type='text'>S.O.L.I.D. Software Development</title><content type='html'>Solid principles hakkinda güzel bir makale...&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.code-magazine.com/Article.aspx?quickid=1001061"&gt;http://www.code-magazine.com/Article.aspx?quickid=1001061&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-3042913294372241090?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/3042913294372241090/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=3042913294372241090' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/3042913294372241090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/3042913294372241090'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2010/04/solid-software-development.html' title='S.O.L.I.D. Software Development'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-5563031821145525664</id><published>2010-02-14T13:22:00.002+01:00</published><updated>2010-02-14T13:24:42.949+01:00</updated><title type='text'>ALT.NET Kavrami</title><content type='html'>Gürkan Yeniceri den Alt.Net kavrami hakkinda güzel bir yazi ve ayrica Alt.Net yazilimcilarinin kullandigi araclardan bazilarinin listesi.&lt;br /&gt;&lt;br /&gt;http://analystdeveloper.com/blogs/gurkan/archive/2008/09/26/3551.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-5563031821145525664?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/5563031821145525664/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=5563031821145525664' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/5563031821145525664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/5563031821145525664'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2010/02/altnet-kavrami.html' title='ALT.NET Kavrami'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-7700859916164836298</id><published>2009-04-21T16:10:00.001+02:00</published><updated>2009-04-21T16:13:10.818+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='webcast'/><category scheme='http://www.blogger.com/atom/ns#' term='education'/><title type='text'>Görsel Egitim Videolari</title><content type='html'>Farkli konularda bir cok webcast in bulundugu bir egitim sitesi. Kesinlikle ziyaret edilmesini öneririm.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://dimecasts.net"&gt;http://dimecasts.net&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-7700859916164836298?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/7700859916164836298/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=7700859916164836298' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/7700859916164836298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/7700859916164836298'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2009/04/gorsel-egitim-videolari.html' title='Görsel Egitim Videolari'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-7813728325667488690</id><published>2009-04-03T10:16:00.002+02:00</published><updated>2009-04-03T10:17:31.441+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Kitap'/><title type='text'></title><content type='html'>James Kovacs, her yazilimcinin okumasi gereken kitaplar hakkinda güzel bir liste hazirlamis.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.jameskovacs.com/blog/TheBookshelf.aspx"&gt;http://www.jameskovacs.com/blog/TheBookshelf.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-7813728325667488690?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/7813728325667488690/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=7813728325667488690' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/7813728325667488690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/7813728325667488690'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2009/04/james-kovacs-her-yazilimcinin-okumasi.html' title=''/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-594601274954531026</id><published>2009-01-09T17:05:00.002+01:00</published><updated>2009-01-09T17:11:40.930+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ado.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Ado.Net Entity Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='ORM'/><title type='text'>Explore the Data Access Options in Visual Studio 2008</title><content type='html'>VS.2008 icerisinde data erisim yöntemlerinin anlatildigi güzel bir makale...&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.devx.com/codemag/Article/39751/1954"&gt;http://www.devx.com/codemag/Article/39751/1954&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Microsoft ORM cözümü olan ADO.NET Entity Framework'un örneklerle anlatildigi 4 bölümden olusan güzel bir makale serisi.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.scip.be/index.php?Page=ArticlesNET12"&gt;http://www.scip.be/index.php?Page=ArticlesNET12&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-594601274954531026?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/594601274954531026/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=594601274954531026' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/594601274954531026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/594601274954531026'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2009/01/explore-data-access-options-in-visual.html' title='Explore the Data Access Options in Visual Studio 2008'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-5891586489181073012</id><published>2008-10-21T17:17:00.002+02:00</published><updated>2008-11-28T16:34:52.456+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web.config'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><title type='text'>.NET -&gt; Web.Config dosyasinda upload dosya büyüklügünü ayarlamak</title><content type='html'>Asp.Net yada web service uygulamalarinda default olarak belirlenen 4 MB dan daha büyük bir dosya upload edilemek istediginde asagidaki hata olusur.&lt;br /&gt;&lt;br /&gt;"There was an exception running the extensions specified in the config file.&lt;br /&gt;--&gt; Maximum request length exceeded."&lt;br /&gt;&lt;br /&gt;Bu problemi icin web.config dosyasi icerisine &lt;system.web&gt; elementleri icerisine, asagidaki kod satirlarini ekleyerek cözebiliriz.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&lt;span class="S10"&gt;&amp;lt;&lt;/span&gt;httpRuntime&lt;br /&gt;&lt;span class="S0"&gt;  &lt;/span&gt;executionTimeout&lt;span class="S10"&gt;=&lt;/span&gt;&lt;span class="S6"&gt;"1200"&lt;/span&gt;&lt;span class="S0"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span class="S0"&gt;  &lt;/span&gt;maxRequestLength&lt;span class="S10"&gt;=&lt;/span&gt;&lt;span class="S6"&gt;"10240"&lt;/span&gt;&lt;span class="S0"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span class="S0"&gt;  &lt;/span&gt;useFullyQualifiedRedirectUrl&lt;span class="S10"&gt;=&lt;/span&gt;&lt;span class="S6"&gt;"false"&lt;/span&gt;&lt;span class="S0"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span class="S0"&gt;  &lt;/span&gt;minFreeThreads&lt;span class="S10"&gt;=&lt;/span&gt;&lt;span class="S6"&gt;"8"&lt;/span&gt;&lt;br /&gt;&lt;span class="S0"&gt;  &lt;/span&gt;minLocalRequestFreeThreads&lt;span class="S10"&gt;=&lt;/span&gt;&lt;span class="S6"&gt;"4"&lt;/span&gt;&lt;span class="S0"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span class="S0"&gt;  &lt;/span&gt;appRequestQueueLimit&lt;span class="S10"&gt;=&lt;/span&gt;&lt;span class="S6"&gt;"100"&lt;/span&gt;&lt;span class="S0"&gt; &lt;/span&gt;&lt;span class="S10"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Burada belirtilen maxRequestLength="10240" degeri ile 10 MB kadar dosyalarin upload edilebilcegini ayarlamis oluyoruz.&lt;br /&gt;&lt;br /&gt;&lt;/system.web&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-5891586489181073012?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/5891586489181073012/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=5891586489181073012' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/5891586489181073012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/5891586489181073012'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2008/10/net-webconfig-dosyasinda-upload-dosya.html' title='.NET -&gt; Web.Config dosyasinda upload dosya büyüklügünü ayarlamak'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-3093922779650859202</id><published>2008-10-14T21:28:00.004+02:00</published><updated>2008-10-16T21:16:51.400+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XSD'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><title type='text'>.NET -&gt; .Net siniflarindan XSD schema dosyasi yaratmak.</title><content type='html'>XML dosyalarinin dogrulanmasinda XSD dosyalarinin kullanildigindan &lt;a href="http://tolgayaramis.blogspot.com/2008/10/xml-dosyalarinin-gecerliligini-schema_14.html"&gt;bir önceki&lt;/a&gt; yazida bahsetmistim.  Bir assembly icerisindeki bir yada birden fazla sinifdan XSD schema dosyasi yaratmak icin,  .NET Framework icerisinde bulunan "xsd.exe" yardimci uygulamasi kullanilabilir.&lt;br /&gt;&lt;br /&gt;Nasil kullanildigina dair bir örnek verirsek.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;xsd C:\TestApplication.exe /t:Product&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Burdaki ilk paremetre assembly nin oldugu path bilgisidir.  /t: anahtarindan sonra belirtilen deger de assembly icinde schema dosyasi olusturulmak istenen sinif ismidir.&lt;br /&gt;&lt;br /&gt;Bu sekilde Product sinifi icin XSD dosyasi uygulama ile ayni dizinde yaratilmis olur.&lt;br /&gt;&lt;br /&gt;Olusturulan bu dosya özellikle deserialize islemleri yapilmadan önce, XML dosyanin iceriginin dogrulanmasinda kullanilir.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-3093922779650859202?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/3093922779650859202/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=3093922779650859202' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/3093922779650859202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/3093922779650859202'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2008/10/net-net-siniflarindan-xsd-schema.html' title='.NET -&gt; .Net siniflarindan XSD schema dosyasi yaratmak.'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-6148734874652773104</id><published>2008-10-14T17:04:00.015+02:00</published><updated>2008-10-14T21:27:57.767+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XSD'/><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='validation'/><title type='text'>XML dosyalarinin gecerliligini Schema dosyasi kullanarak kontrol etmek (Validate an XML Document using Schema)</title><content type='html'>Bir XML dosyanin icerigini kontrol etmek icin schema dosyalarindan faydalanabiliriz.&lt;br /&gt;XML schema dosyasi, XML dosyasinin iceriginin sahip olmasi gereken kurallari tanimlayan, uzantisi XSD (XML Schema Definition) olan dosyalardir.&lt;br /&gt;&lt;br /&gt;XSD icerisnde bahsedilen kurallar sunlardir;&lt;br /&gt;&lt;br /&gt;- XML dosyasi icinde var olmasi beklenen element ve attibute'ler, bunlara ait olan data tipleri.&lt;br /&gt;- XML dosyasinin yapisi. Elementler ve bu elementlere ait olan child element'ler.&lt;br /&gt;- Child elementlerin sayisi ve sirasi.&lt;br /&gt;- Element'lerin bir text degere sahip olup olmayacagi.&lt;br /&gt;&lt;br /&gt;XSD dosyalar icinde tanimlanan element'ler "simple" ve "complex" type olmak üzere ikiye ayrilir. Sadece karakter data barindan element'ler simple type olarak ifade edilir. Elementler onlara bagli olan alt elementlere (nested elements) sahip ise bu tip elementlerde complex type olarak isimlendirilir.&lt;br /&gt;&lt;br /&gt;Asagidaki örnekde ProductCatalog.xml dosyasinin, ProductCatalog.xsd dosyasi kullanilarak nasil validate edilecegini görelim. Bu iki dosyanin icerigi asagidaki gibi olacakdir.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ProductCatalog.xml:&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MTp0oMkxbNQ/SPS4Z2nf6EI/AAAAAAAAAdY/ex04PTGmVYU/s1600-h/1.PNG"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_MTp0oMkxbNQ/SPS4Z2nf6EI/AAAAAAAAAdY/ex04PTGmVYU/s400/1.PNG" alt="" id="BLOGGER_PHOTO_ID_5257029419345635394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ProductCatalog.xsd:&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MTp0oMkxbNQ/SPS427pUfqI/AAAAAAAAAdg/d3bDY9LV8cE/s1600-h/2.PNG"&gt;&lt;img style="cursor: pointer; width: 418px; height: 310px;" src="http://2.bp.blogspot.com/_MTp0oMkxbNQ/SPS427pUfqI/AAAAAAAAAdg/d3bDY9LV8cE/s400/2.PNG" alt="" id="BLOGGER_PHOTO_ID_5257029918911659682" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Asagidaki örnek consol uygulamasinda XML dosyanin gecerliligini XSD kullanarak nasil denetlicegimizi görelim:&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Xml;&lt;br /&gt;using System.Xml.Schema;&lt;br /&gt;&lt;br /&gt;public class ValidateXml&lt;br /&gt;   {     &lt;br /&gt;       private static void Main()&lt;br /&gt;       {&lt;br /&gt;           // XmlValidator sinifimiz icerisinde XMLReader sinifi kullanilarak dogrulama islemi yapilacak.&lt;br /&gt;           XmlValidator validator = new XmlValidator();&lt;br /&gt;           Console.WriteLine("ProductCatalog.xml dogrulama islemi...\n");&lt;br /&gt;&lt;br /&gt;           //Xml ve Xsd dosyalari uygulamamizin calistigi dizinde.&lt;br /&gt;           bool success = validator.ValidateXml("ProductCatalog.xml", "ProductCatalog.xsd");&lt;br /&gt;           if (!success)         &lt;br /&gt;               Console.WriteLine("XML dosyasi icerigi dogrulanamadi!");         &lt;br /&gt;           else         &lt;br /&gt;               Console.WriteLine("XML dosyasi icerigi uygun.");   &lt;br /&gt;&lt;br /&gt;           Console.ReadLine();&lt;br /&gt;       }&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;public class XmlValidator&lt;br /&gt;   {     &lt;br /&gt;       private bool failed;&lt;br /&gt;&lt;br /&gt;       public bool Failed&lt;br /&gt;       {&lt;br /&gt;           get {return failed;}&lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;       public bool ValidateXml(string xmlFilename, string schemaFilename)&lt;br /&gt;       {         &lt;br /&gt;           // Schema tipinde dogrulama (validation) yapacagimizi tanimliyoruz.&lt;br /&gt;           XmlReaderSettings settings = new XmlReaderSettings();&lt;br /&gt;           settings.ValidationType = ValidationType.Schema;&lt;br /&gt;&lt;br /&gt;           // Schema dosyasi yükleniyor..&lt;br /&gt;           XmlSchemaSet schemas = new XmlSchemaSet();&lt;br /&gt;           settings.Schemas = schemas;&lt;br /&gt;           // ilk parametre de kendimiz bir target namespace girebiliriz validate islemi icin&lt;br /&gt;           // null olarak birakildiginda "targetNamespace" degeri schema dosyasindan alinir.&lt;br /&gt;           schemas.Add(null, schemaFilename);&lt;br /&gt;        &lt;br /&gt;           // Dogrulama yapilirken hata olustugunda calisacak event handler tanimlaniyor.&lt;br /&gt;           settings.ValidationEventHandler += ValidationEventHandler;&lt;br /&gt;        &lt;br /&gt;           //Schema ayarlari ile birlikte xml dosyasi okunmak üzere XMLReader nesnesi olusturuluyor.&lt;br /&gt;           XmlReader validator = XmlReader.Create(xmlFilename, settings);                             &lt;br /&gt;        &lt;br /&gt;           failed = false;&lt;br /&gt;           try&lt;br /&gt;           {&lt;br /&gt;               // XML dosyasi icerisindeki tüm datalar okunuyor.&lt;br /&gt;               while (validator.Read())&lt;br /&gt;               {}&lt;br /&gt;           }&lt;br /&gt;           catch (XmlException err)&lt;br /&gt;           {&lt;br /&gt;               // XML dosyasi icersinde gecersiz bir karakter oldugunda yada acilmis bir tag dogru sekilde kapatilmadiginda hataya düser.&lt;br /&gt;               Console.WriteLine(err.Message);&lt;br /&gt;               failed = true;&lt;br /&gt;           }&lt;br /&gt;           finally&lt;br /&gt;           {&lt;br /&gt;               validator.Close();&lt;br /&gt;           }&lt;br /&gt;&lt;br /&gt;           return !failed;&lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;       private void ValidationEventHandler(object sender, ValidationEventArgs args)&lt;br /&gt;       {&lt;br /&gt;           failed = true;&lt;br /&gt;           // Dogrulama (Validation) hatasini ekrana yazdir.&lt;br /&gt;           Console.WriteLine("XML Dogrulama Hatasi: " + args.Message);&lt;br /&gt;       }&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Uygulamayi calistirdigimizda console ekraninda asagidaki ciktiyi aliriz;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ProductCatalog.xml dogrulama islemi...&lt;br /&gt;&lt;br /&gt;XML Dogrulama Hatasi: The element 'product' has invalid child element 'description'. List of possible elements expected: 'productPrice'.&lt;br /&gt;XML Dogrulama Hatasi: The element 'product' has invalid child element 'description'. List of possible elements expected: 'productPrice'.&lt;br /&gt;XML dosyasi icerigi dogrulanamadi!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Bu hatanin olusup dogrulama isleminin gerceklesmemesinin nedeni, ProductCatalog.xsd dosyasi icerisinde "complex type product tanimlamasi" altinda belirlenen elementlerde description isimli bir element in tanimlanmamasi, fakat ProductCatalog.xml dosyasindaki node'lar icerisinde description isimli bu elementin var olmasidir.&lt;br /&gt;&lt;br /&gt;ProductCatalog.xsd dosya icerisinden&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&lt;span class="S10"&gt;&amp;lt;&lt;/span&gt;xsd&lt;span class="S10"&gt;:&lt;/span&gt;element&lt;span class="S0"&gt; &lt;/span&gt;name&lt;span class="S10"&gt;=&lt;/span&gt;&lt;span class="S6"&gt;"productPrice"&lt;/span&gt;&lt;span class="S0"&gt; &lt;/span&gt;type&lt;span class="S10"&gt;=&lt;/span&gt;&lt;span class="S6"&gt;"xsd:decimal"&lt;/span&gt;&lt;span class="S10"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;satirini sildigimizde, XML dosyanin iceriginin kullanilan schema dosyasina uygun oldugunu ve dogrulama isleminin hatasiz sekilde tamamlandigini görürüz.&lt;br /&gt;&lt;br /&gt;Kaynak: Apress Visual C# 2005 Recipes&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-6148734874652773104?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/6148734874652773104/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=6148734874652773104' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/6148734874652773104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/6148734874652773104'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2008/10/xml-dosyalarinin-gecerliligini-schema_14.html' title='XML dosyalarinin gecerliligini Schema dosyasi kullanarak kontrol etmek (Validate an XML Document using Schema)'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_MTp0oMkxbNQ/SPS4Z2nf6EI/AAAAAAAAAdY/ex04PTGmVYU/s72-c/1.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-6959972567404669277</id><published>2008-10-13T00:31:00.009+02:00</published><updated>2008-10-14T16:06:31.959+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='IO'/><title type='text'>.NET -&gt; Dosya yolu üzerinde "Path" static sinifi ile islemler</title><content type='html'>System.IO namespace'i altinda bulunan static "Path" sinifi ile dosya yada dizin bilgisi iceren string ifadeler üzerinde islemler yapabiliriz. Yararli metodlardan bazilari;&lt;br /&gt;&lt;br /&gt;- ChangeExtension: Dosyanin var olan uzantisi degistirilir. Eger yeni uzanti belirtilmemisse, var olan uzanti silinir.&lt;br /&gt;- GetDirectoryName: Dosyanin bulundugu dizin ismini döndürür.&lt;br /&gt;- GetFileName: Belirtilen dosyayolundan, dosya ismini geri döndürür.&lt;br /&gt;Console.WriteLine(Path.GetFileName(@"..\System\myFile.txt"));&lt;br /&gt;&gt;&gt; myFile.txt&lt;br /&gt;&lt;br /&gt;- GetFileNameWithoutExtension: Dosya ismini uzantisi olmaksizin döndürür.&lt;br /&gt;- GetFullPath: Paremetre olarak verilen string sadece dosya ismi barindiriyorsa, uygulamanin calistigi dizin bilgisi ile dosya yolu olusturur. Örnegin uygulama C:\Test dizininde calisiyor olsun.&lt;br /&gt;&lt;br /&gt;Console.WriteLine(Path.GetPathRoot("myfile.txt"));&lt;br /&gt;&gt;&gt; C:\Test\myFile.txt&lt;br /&gt;&lt;br /&gt;- GetPathRoot: Dosya yolunun root dizinini döndürür.&lt;br /&gt;Console.WriteLine(Path.GetPathRoot(@"C:\Temp\myfile.txt"));&lt;br /&gt;&gt;&gt; C:\&lt;br /&gt;&lt;br /&gt;- HasExtension: Dosya yolu uzanti ile sonlaniyorsa True döndürür.&lt;br /&gt;- Combine: iki string ifadeyi birlestirir.&lt;br /&gt;Console.WriteLine(Path.Combine(@"C:\Temp", "myfile.txt"));&lt;br /&gt;&gt;&gt; C:\Temp\myfile.txt&lt;br /&gt;&lt;br /&gt;- GetInvalidFileNameChars: Dosya isimlerinde gecersiz olacak karakterlerin listesini char[] array olarak geri döndürür.&lt;br /&gt;- GetInvalidPathChars: Dosya yolu icin gecersiz olan karakterleri char[] array olarak geri döndürür.&lt;br /&gt;- GetTempPath: Sistemin temp dizinini almak icin kullanilir.&lt;br /&gt;- GetTempFileName: Sistemin temp dizini icerinde 0 Byte büyüklügünde bir dosya yaratir ve bu dosyanin dosya yolunu geri döndürür.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-6959972567404669277?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/6959972567404669277/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=6959972567404669277' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/6959972567404669277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/6959972567404669277'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2008/10/net-dosya-yada-dizin-yolu-zerinde-path.html' title='.NET -&gt; Dosya yolu üzerinde &quot;Path&quot; static sinifi ile islemler'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-4915510550551630869</id><published>2008-08-08T09:21:00.000+02:00</published><updated>2008-08-08T09:22:42.850+02:00</updated><title type='text'>Advantages and disadvantages of using typed datasets</title><content type='html'>&lt;p&gt;&lt;b&gt;Advantages of typed datasets:&lt;/b&gt;&lt;/p&gt;  &lt;ul&gt;&lt;li&gt;       &lt;p&gt;          &lt;b&gt;Compile-time type checking&lt;/b&gt;— Reduces runtime errors by having members based on the data's actual schema as opposed to untyped datasets, where you call a generic function and can pass an object of any type. &lt;/p&gt;    &lt;/li&gt;&lt;li&gt;       &lt;p&gt;          &lt;b&gt;Schema-specific members&lt;/b&gt;— Typed datasets define properties for getting and setting values where the property name is the same as the underlying column name. They also define properties for determining if the column is null and methods for searching the table via primary key(s). &lt;/p&gt;    &lt;/li&gt;&lt;li&gt;       &lt;p&gt;          &lt;b&gt;Data binding support in VS.NET—&lt;/b&gt; Only useful with Windows Forms applications, but bears mentioning if you plan on doing development based entirely on .NET in addition to the mixed-mode programming that is the focus of this book. &lt;/p&gt;    &lt;/li&gt;&lt;li&gt;       &lt;p&gt;          &lt;b&gt;Intellisense support&lt;/b&gt;— When using untyped datasets, you have to know beforehand the names of the columns and the types that the respective columns work with. With typed datasets, as soon as you enter the name of the type, Intellisense displays its members, thereby saving you development and debugging time. &lt;/p&gt;    &lt;/li&gt;&lt;/ul&gt;  &lt;p&gt;&lt;b&gt;Disadvantages of typed datasets:&lt;/b&gt;&lt;/p&gt;  &lt;ul&gt;&lt;li&gt;       &lt;p&gt;          &lt;b&gt;Versioning&lt;/b&gt;— Typed datasets can actually increase development time in situations where your schema changes, because you'll need to update the typed dataset information manually. This is obviously the same problem we've battled for years with &lt;tt&gt;CRecordset&lt;/tt&gt; classes—having to modify them manually when the underlying schema changes.       &lt;/p&gt;    &lt;/li&gt;&lt;li&gt;       &lt;p&gt;          &lt;b&gt;Tightly coupled&lt;/b&gt;— In its current design, typed datasets are difficult to extend and can't be modified (as they're auto-generated each time the project is built). In addition, they force a tight coupling of client to data access code, which might not be best for all situations&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;Kaynak: InformIT&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-4915510550551630869?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/4915510550551630869/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=4915510550551630869' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/4915510550551630869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/4915510550551630869'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2008/08/advantages-and-disadvantages-of-using.html' title='Advantages and disadvantages of using typed datasets'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-7474851737026678999</id><published>2008-06-02T10:26:00.005+02:00</published><updated>2008-06-02T10:44:00.500+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><title type='text'>Sql Server 2005 - Timeout problemi</title><content type='html'>Sql Server 2005 de birden fazla index'i ve data yogunlugu olan bir tablonun tasariminda degisiklik yapmak istedigimde ( var olan bir varchar alanin büyüklügü degistirildiginde), asagidaki time out hatasi ile karsilastim.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;- Unable to modify table.  &lt;/span&gt; &lt;span style="font-weight: bold;"&gt;Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Cözüm olarak table designer transaction timeout süresini yükseltmek gerekli. Bunun icin, Sql Server Management Studio da;&lt;br /&gt;&lt;br /&gt;Tools &gt; Options &gt; Designers &gt; Table and Database Designers&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;div style="text-align: left;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_MTp0oMkxbNQ/SEOylAafVqI/AAAAAAAAAXM/NCH0JgEqpqU/s1600-h/SqlServerTimeOut.jpg"&gt;&lt;img style="cursor: pointer;" src="http://bp0.blogger.com/_MTp0oMkxbNQ/SEOylAafVqI/AAAAAAAAAXM/NCH0JgEqpqU/s400/SqlServerTimeOut.jpg" alt="" id="BLOGGER_PHOTO_ID_5207201943006434978" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;"Transaction time-out after" &lt;/span&gt;alaninda default olarak gelen 30 saniyelik degeri yükseltirsek problemin üstesinden gelebiliriz.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-7474851737026678999?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/7474851737026678999/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=7474851737026678999' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/7474851737026678999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/7474851737026678999'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2008/06/sql-server-2005-timeout-problemi.html' title='Sql Server 2005 - Timeout problemi'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_MTp0oMkxbNQ/SEOylAafVqI/AAAAAAAAAXM/NCH0JgEqpqU/s72-c/SqlServerTimeOut.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-4089287487129591004</id><published>2008-05-14T12:11:00.002+02:00</published><updated>2008-05-14T12:12:55.502+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><title type='text'>Sql Server Performans</title><content type='html'>Sql Server Optimizasyonu ile ilgili güzel bir makale...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://harriyott.com/2006/01/sql-server-performance-tips.aspx"&gt;http://harriyott.com/2006/01/sql-server-performance-tips.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-4089287487129591004?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/4089287487129591004/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=4089287487129591004' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/4089287487129591004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/4089287487129591004'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2008/05/sql-server-optimizasyonu-ile-ilgili.html' title='Sql Server Performans'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-520499226656924806</id><published>2008-03-25T12:13:00.002+01:00</published><updated>2008-03-25T12:19:32.211+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='application pool'/><category scheme='http://www.blogger.com/atom/ns#' term='performans'/><category scheme='http://www.blogger.com/atom/ns#' term='VS.Net'/><title type='text'>Asp.Net uygulamalarinin Application Pool kullanilarak izole edilmesi</title><content type='html'>Asp.Net uygulamalarinin izolasyonu icin,&lt;br /&gt;&lt;br /&gt;Uygulama Havuzları (Application Pool) kullanılabilir. Her uygulama için bir Uygulama Havuzu oluşturulur. Hangi havuzun sistem kaynaklarının ne kadarını kullanabileceği ayarlanır. &lt;p&gt;Bir Asp.NET uygulasının hareket kabiliyetini sınırlamak için aşağıdaki işlemler  yapılabilir;&lt;/p&gt; &lt;ul&gt;&lt;li&gt;Uygulama için yeni bir Windows kullanıcısı oluşturulur.  &lt;/li&gt;&lt;li&gt;Yeni kullanıcı, Users grubundan çıkartılır IIS_WPG grubuna eklenir.  &lt;/li&gt;&lt;li&gt;Uygulama için yeni bir Uygulama Havuzu oluşturulur.  &lt;/li&gt;&lt;li&gt;Uygulama Havuzunun Identity ayarı değiştirilir yeni kullanıcı üzerinden  çalışması sağlanır.  &lt;/li&gt;&lt;li&gt;Uygulamanın yeni Uygulama Havuzunu kullanması sağlanır.  &lt;/li&gt;&lt;li&gt;Uygulamanın çalıştığı klasörlere kullanıcı için yeterli ve gerekli izinler  verilir.  &lt;/li&gt;&lt;li&gt;Windows TEMP klasörüne (Örn: C:\WINDOWS\Temp), IIS_WPG grubu için veya yeni  kullanıcı için yazma yetkisi verilir.  &lt;/li&gt;&lt;li&gt;Registry'de gerekli tüm dallara yazma yetkisi verin.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Makalede anlatılan türde sınırlamalar yapıldığında;&lt;/p&gt; • Uygulamayı hack’leyen bir saldırgan, sistem genelini etkileyemez. Yalnızca uygulamanın kendi kaynaklarını tüketir. Yalnızca o uygulama çöker.&lt;br /&gt;• Yazılan  kötü ve performanssız kodlardan dolayı, sistem geneli etkilenmez.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Kaynak: blog.vukuf.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-520499226656924806?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/520499226656924806/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=520499226656924806' title='3 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/520499226656924806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/520499226656924806'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2008/03/net-uygulamalarinin-application-pool.html' title='Asp.Net uygulamalarinin Application Pool kullanilarak izole edilmesi'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-5895202896960563995</id><published>2008-03-25T12:11:00.002+01:00</published><updated>2008-03-25T12:16:57.890+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ajax'/><title type='text'>Ajax kullanmanin avantaj ve dezavantajlari</title><content type='html'>Güzel bir karsilastirma:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blog.vukuf.com/2007/10/ajaxn-avantajlar-ve-dezavantajlar.html"&gt;http://blog.vukuf.com/2007/10/ajaxn-avantajlar-ve-dezavantajlar.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-5895202896960563995?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/5895202896960563995/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=5895202896960563995' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/5895202896960563995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/5895202896960563995'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2008/03/ajax-kullanmanin-avantaj-ve.html' title='Ajax kullanmanin avantaj ve dezavantajlari'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-5308780065983393286</id><published>2008-03-18T11:47:00.004+01:00</published><updated>2008-03-18T12:07:15.920+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server'/><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><category scheme='http://www.blogger.com/atom/ns#' term='performans'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><title type='text'>SQL Performans - NOT EXISTS yerine JOIN kullanarak perfomans artisi saglamak.</title><content type='html'>Iki iliskili tablo arasinda kayitlarin varligi sorgulanirken sql de "not exists" ifadesi kullaniliriz. Bu nekadar pratik ve yazimi kolay gözüksede performans acisindan büyük sorun cikarmaktadir.&lt;br /&gt;&lt;br /&gt;Ve bu performans problemi üst tablolardaki join sayisi arttikca daha da büyümektedir. Bu sorunu cözmek icin "not exists" ifadesi yerine yazacagimiz sorguda JOIN kullanabiliriz.&lt;br /&gt;&lt;br /&gt;Örnek olarak;&lt;br /&gt;&lt;span style="font-style: italic;font-size:100%;" &gt;&lt;br /&gt;SELECT dk.VKopf_Nr&lt;br /&gt;FROM Dossier_Kopf dk INNER JOIN&lt;br /&gt;  Dossier_Verfahren dv ON DV.Ref_Kopf = DK.VKopf_Nr &lt;br /&gt;WHERE dk.Ref_Instanz='BM' and dk.VKopf_Sprache = 'D'&lt;br /&gt;  and DV.Ref_PSchritt IN (6,67)&lt;br /&gt;and &lt;span style="font-weight: bold;"&gt;not exists&lt;/span&gt; (&lt;br /&gt;select ref_dkopf from dbo.Verfahren_Rechtsfolge&lt;br /&gt;where ref_dkopf = dk.VKopf_Nr&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;Yukardaki sorgununu tamamlanma süresi:&lt;span style="font-weight: bold;"&gt; 00:01:34&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Bu sorguyu birde JOIN kullarak yazalim.&lt;br /&gt;&lt;br /&gt;SELECT dk.VKopf_Nr&lt;br /&gt;FROM Dossier_Kopf dk INNER JOIN&lt;br /&gt;  Dossier_Verfahren dv ON DV.Ref_Kopf = DK.VKopf_Nr&lt;br /&gt;  &lt;span style="font-weight: bold;"&gt;LEFT OUTER JOIN&lt;/span&gt; dbo.Verfahren_Rechtsfolge VR&lt;br /&gt;  ON DV.Ref_Kopf = VR.ref_dkopf&lt;br /&gt;WHERE dk.Ref_Instanz='BM' and dk.VKopf_Sprache = 'D'  &lt;br /&gt;  and DV.Ref_PSchritt IN (6,67)&lt;br /&gt;and VR.ref_dkopf is null&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;Join kullanarak yazilan sorgununu tamamlanma süresi: &lt;span style="font-weight: bold;"&gt;00:00:01&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Elde ettigimiz sonuc her iki sorgudada aynidir fakat görüldügü gibi sorgularin calisma zamanlari arasinda cok büyük fark olusur.&lt;br /&gt;&lt;br /&gt;Sonuc olarak JOIN ifadesi kullanarak yazilan sorgular bize cok büyük bir performans artisi saglamaktadir.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-5308780065983393286?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/5308780065983393286/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=5308780065983393286' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/5308780065983393286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/5308780065983393286'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2008/03/sql-performans-not-exists-yerine-join.html' title='SQL Performans - NOT EXISTS yerine JOIN kullanarak perfomans artisi saglamak.'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-1614247694801802770</id><published>2008-03-05T11:34:00.003+01:00</published><updated>2008-03-05T11:37:38.242+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='connection'/><title type='text'>Connection Pooling and the "Timeout expired" exception FAQ</title><content type='html'>Özellikle web tabanli, ayni anda birden fazla kullanicisi olan uygulamalarda karsilasilan connection pooling ve connection timeout problemlerine karsi yazilmis bir FAQ makalesi.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blogs.msdn.com/angelsb/archive/2004/08/25/220333.aspx"&gt;http://blogs.msdn.com/angelsb/archive/2004/08/25/220333.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-1614247694801802770?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/1614247694801802770/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=1614247694801802770' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/1614247694801802770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/1614247694801802770'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2008/03/connection-pooling-and-timeout-expired.html' title='Connection Pooling and the &quot;Timeout expired&quot; exception FAQ'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-3333459382414334958</id><published>2008-02-26T11:12:00.002+01:00</published><updated>2008-02-26T11:15:14.422+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><title type='text'>Sql Server - Sa şifresini değistirmek</title><content type='html'>iki yöntem de kullanilabilir.&lt;br /&gt;&lt;br /&gt;1) USE [master]&lt;br /&gt;GO&lt;br /&gt;ALTER LOGIN [sa] WITH DEFAULT_DATABASE=[master],&lt;br /&gt;DEFAULT_LANGUAGE=[us_english], CHECK_EXPIRATION=ON, CHECK_POLICY=ON&lt;br /&gt;GO&lt;br /&gt;USE [master]&lt;br /&gt;GO&lt;br /&gt;ALTER LOGIN [sa] WITH PASSWORD=N'yeni_sifre' MUST_CHANGE&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;2) start &gt; run &gt; cmd...&lt;br /&gt;  OSQL -S &lt;your_servername_goes_here&gt; -E&lt;br /&gt;  1&gt; EXEC sp_password NULL, '&lt;/your_servername_goes_here&gt;yeni_sifre&lt;your_servername_goes_here&gt;', 'sa'&lt;br /&gt;  2&gt; GO&lt;/your_servername_goes_here&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-3333459382414334958?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/3333459382414334958/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=3333459382414334958' title='1 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/3333459382414334958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/3333459382414334958'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2008/02/sql-server-sa-ifresini-deistirmek.html' title='Sql Server - Sa şifresini değistirmek'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-7023011439447410875</id><published>2008-02-05T15:05:00.000+01:00</published><updated>2008-02-05T15:51:12.397+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><title type='text'>Sql Server - Identity Column resetlemek</title><content type='html'>Sql Server'da bir tablo icerisinde bulunan, identity kolonu resetlemek yada identity baslangic numarasini vermek icin asagidaki DBCC ifadesi kullanilabilir.&lt;br /&gt;&lt;br /&gt;DBCC (Database Console Commands)  CHECKIDENT ifadesinin son parametresini istenilen baslangic degeri atilir. "0" degeri vererek identity kolonu resetleyelim.&lt;br /&gt;&lt;br /&gt;USE TestDB&lt;br /&gt;GO&lt;br /&gt;   DBCC CHECKIDENT (TestTable, RESEED, 0)&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DBCC (Database Console Commands) in diger ifadelerinin listesini ve aciklamasini asagidaki linkden bulabilirsiniz.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/aa258281.aspx"&gt;http://msdn2.microsoft.com/en-us/library/aa258281.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-7023011439447410875?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/7023011439447410875/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=7023011439447410875' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/7023011439447410875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/7023011439447410875'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2008/02/sql-server-identity-column-resetlemek.html' title='Sql Server - Identity Column resetlemek'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-6868922695081021656</id><published>2008-01-22T15:28:00.000+01:00</published><updated>2008-01-28T08:01:03.028+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='yazilim mühendisligi'/><category scheme='http://www.blogger.com/atom/ns#' term='software engineering'/><category scheme='http://www.blogger.com/atom/ns#' term='TDD'/><title type='text'>TDD (Test Driven Development) ile ilgili güzel bir makale</title><content type='html'>Cihat Altuntas sitesini begenerek takip ettigim yazilimcilardan biri.&lt;br /&gt;Özellikle refactoring ve TDD ile ilgili örneklerle pekistirdigi güzel makaleleri var. Bunlardan bir tanesini sizin ile paylasmak istedim. TDD nin örnek bir uygulama ile güzel bir sekilde anlatildigi bir makale. Asagidaki linkden makaleye ulasabilirsiniz.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cihataltuntas.com/?p=37"&gt;&lt;/a&gt;&lt;a href="http://www.cihataltuntas.com/?p=37"&gt;Test Driven Development&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-6868922695081021656?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/6868922695081021656/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=6868922695081021656' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/6868922695081021656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/6868922695081021656'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2008/01/tdd-ile-ilgili-gzel-bir-makale.html' title='TDD (Test Driven Development) ile ilgili güzel bir makale'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-6157620357819562763</id><published>2008-01-22T11:14:00.000+01:00</published><updated>2008-01-22T11:15:22.898+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='pl/sql'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle'/><title type='text'>Oracle - PL-SQL ile Dosya Boyutunu bulma</title><content type='html'>CREATE OR REPLACE FUNCTION flength (&lt;br /&gt;location_in IN VARCHAR2,&lt;br /&gt;file_in IN VARCHAR2&lt;br /&gt;)&lt;br /&gt;RETURN PLS_INTEGER&lt;br /&gt;&lt;br /&gt;IS &lt;br /&gt;TYPE fgetattr_t IS RECORD (&lt;br /&gt;fexists BOOLEAN,&lt;br /&gt;file_length PLS_INTEGER,&lt;br /&gt;block_size PLS_INTEGER&lt;br /&gt;); &lt;br /&gt;&lt;br /&gt;fgetattr_rec fgetattr_t;&lt;br /&gt;BEGIN&lt;br /&gt;UTL_FILE.fgetattr (&lt;br /&gt;location =&gt; location_in,&lt;br /&gt;filename =&gt; file_in,&lt;br /&gt;fexists =&gt; fgetattr_rec.fexists,&lt;br /&gt;&lt;br /&gt;file_length =&gt; fgetattr_rec.file_length,&lt;br /&gt;block_size =&gt; fgetattr_rec.block_size&lt;br /&gt;);&lt;br /&gt;RETURN fgetattr_rec.file_length;&lt;br /&gt;END flength;&lt;br /&gt;/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-6157620357819562763?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/6157620357819562763/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=6157620357819562763' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/6157620357819562763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/6157620357819562763'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2008/01/oracle-pl-sql-ile-dosya-boyutunu-bulma.html' title='Oracle - PL-SQL ile Dosya Boyutunu bulma'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-8301111645528577372</id><published>2008-01-22T11:07:00.000+01:00</published><updated>2008-01-22T11:14:15.040+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server'/><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><title type='text'>SQL Server - T-Sql ile Dosya boyutunu bulma</title><content type='html'>CREATE FUNCTION udf_GetFileSize (@filename varchar(1000))&lt;br /&gt;    returns bigint&lt;br /&gt;as&lt;br /&gt;BEGIN&lt;br /&gt;    DECLARE @FS int&lt;br /&gt;    DECLARE  @OLEResult int&lt;br /&gt;    DECLARE  @FileID int&lt;br /&gt;    DECLARE @Size bigint&lt;br /&gt;    DECLARE @Flag bigint&lt;br /&gt;   &lt;br /&gt;    Set @size =0&lt;br /&gt;    Set @Flag =0&lt;br /&gt;&lt;br /&gt;    EXECUTE @OLEResult = sp_OACreate 'Scripting.FileSystemObject', @FS OUT&lt;br /&gt;    EXECUTE @OLEResult = sp_OAMethod @FS, 'GetFile', @FileID OUT,@filename&lt;br /&gt;&lt;br /&gt;    IF @OLEResult &lt;&gt; 0 &lt;br /&gt;        begin&lt;br /&gt;            set @Flag =-1&lt;br /&gt;    end&lt;br /&gt;    else&lt;br /&gt;        begin&lt;br /&gt;            EXECUTE @OLEResult = sp_OAGetProperty @FileId,'Size', @Size OUT&lt;br /&gt;            IF @OLEResult &lt;&gt; 0 &lt;br /&gt;            begin&lt;br /&gt;                set @Flag =-2&lt;br /&gt;            end&lt;br /&gt;    end&lt;br /&gt;&lt;br /&gt;    EXECUTE @OLEResult = sp_OADestroy @FileID&lt;br /&gt;    EXECUTE @OLEResult = sp_OADestroy @FS&lt;br /&gt;&lt;br /&gt;    if @flag &lt;&gt; -1 and @flag &lt;&gt; -2&lt;br /&gt;    begin&lt;br /&gt;        set @flag = @size&lt;br /&gt;    end&lt;br /&gt;        return @flag&lt;br /&gt;    END&lt;br /&gt;&lt;br /&gt;'Kullanimi&lt;br /&gt;select dbo.udf_GetFileSize ('c:\temp\test.txt')&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-8301111645528577372?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/8301111645528577372/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=8301111645528577372' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/8301111645528577372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/8301111645528577372'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2008/01/sql-server-t-sql-ile-dosya-boyutunu.html' title='SQL Server - T-Sql ile Dosya boyutunu bulma'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-7449319803221900485</id><published>2008-01-16T11:04:00.000+01:00</published><updated>2008-01-31T09:18:08.874+01:00</updated><title type='text'>12 Agile Principles</title><content type='html'>&lt;table style="font-family: arial;" class="tbl" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;th&gt;&lt;br /&gt;&lt;/th&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;ol&gt;&lt;li&gt;&lt;strong&gt;Our highest priority is to satisfy the customer through early and  continuous delivery of valuable software.&lt;/strong&gt;&lt;br /&gt;Proje başlangıcından hemen  bir kaç hafta sonra sadece bir kısmı çalışan proje yayınlanır ve her bir modül  bittikçe proje yayına geçriilir.Bir kaç haftalık periyodlarla bu düzenleme  gerçekleştir,ta ki müşteri kendi en temel ihtiyaçlarını karşılayana kadar.Bundan  itibaren,müşteri projeyi kullanmaya başlar.Burada önemli olan nokta bizim  belirlediğimiz periyodlarla(bu 2 veya 3 hafta olabilir) projenin çalışan kısmını  müşteriye sunmak, yayına sokmaktır.Böylelikle müşteriden sürekli geri dönüşüm  alınacağından dolayı,projede hata olasılığı azaltılacak,müşteriyle yazılımcı  arasında kuvvetli bir bağ kurulacaktır.  &lt;/li&gt;&lt;li&gt;&lt;strong&gt;Welcome changing requirements, even late in development. Agile  processes harness change for the customer's competitive  advantage.&lt;/strong&gt;&lt;br /&gt;Bir yazılım ekibi yazılım gereksinimlerinin değişmesine  açık olmalıdır.Öyle bir sistem kurmalıdır ki, gerçekleştirilen bir gereksinim  değiştiğinde projedeki düzeltilen yerler çok az olmalıdır.Yani proje  genişleyebilir ve değiştirilebilir olmalıdır.  &lt;/li&gt;&lt;li&gt;&lt;strong&gt;Deliver working software frequently, from a couple of weeks to a  couple of months, with a preference to the shorter time  scale.&lt;br /&gt;&lt;/strong&gt;Çalışan proje belli aralıklarla müşteriye teslim  edilmelidir.Bu süre bir kaç hafta veya ay olabilir.Müşteriye çok büyük bir proje  verilmemelidir.Bunun yerine ufak ufak ama zamanla kapsamı genişlemiş parçalar  teslim edilmelidir.  &lt;/li&gt;&lt;li&gt;&lt;strong&gt;Businesspeople and developers must work together daily throughout  the project.&lt;/strong&gt;&lt;br /&gt;Projeyi talep eden,Projeye maddi yatırım yapan  firma,sponsorlar,proje yöneticisi,takım lideri ve yazılımcılar birbirleriyle çok  sıkı ilişki içerisinde olmalı ve belli ve kısa aralıklarla görüşmeler  yapmalıdırlar.Bir yazılım projesi için şu yanlış bir yöntemdir;Müşteri projeyi  yazılımcılara devreder ve yazılımcılar proje bitiminde müşteriye yapılanları  gösterir.Bu kesinlikle yanlış bir yöntemdir,onun yerine Agile takımlar,müşteri  ve diğer kişilerle proje süresince sıkı sıkıya ilişki içerisinde olmalıdırlar.  &lt;/li&gt;&lt;li&gt;&lt;strong&gt;Build projects around motivated individuals. Give them the  environment and support they need, and trust them to get the job  done.&lt;/strong&gt;&lt;br /&gt;Bir projede en önemli faktör insandır yani yazılım  mühendisidir.Metodlar,tasarımlar,mekan vs. gibi etkenler çok önemli olsa da  yazılım mühendisi bunların içinde en fazla öneme sahip olandır.O yüzden  yazılımcıların motivasyonları kaybedilmemelidir. Ücretleri düzenli  verilmeli,kafalarını meşgul eden durumlar ortadan kaldırılmalı ve yazılımcıya  kesinlikle güvenilmelidir.Yazılımcıya rahat bir şekilde çalışacağı ortam  sağlanmalıdır.Kısacası yazılım mühendisinin,yazılımı düşünmesini etkileyecek  etkenler ortadan kaldırılmalıdır.  &lt;/li&gt;&lt;li&gt;&lt;strong&gt;The most efficient and effective method of conveying information to  and within a development team is face-to-face conversation.&lt;/strong&gt;&lt;br /&gt;Bir  projede emeği geçen bütün kişiler(Yazılım mühendisleri,proje  yönetcileri,müşteriler vs.) sık sık yüzyüze görüşmelidirler.Böylelikle insanlar  birbirlerini daha iyi anlamış ve ortaya az hatalı ürünler koyulmuş  olur.Dökümantasyon ve yazılı iletişim sadece sadece ihtiyaç duyulduğunda  yapılmalıdır.Aksi durumda herşey yüzyüze görüşülmelidir.  &lt;/li&gt;&lt;li&gt;&lt;strong&gt;Working software is the primary measure of progress.&lt;/strong&gt;&lt;br /&gt;En  önemli unsur yazılımın çalışan kısmıdır.Bir projede yazılım alt yapısı çok iyi  kurulmuş olabilir,dökümantasyon çok iyi yapılmış,en önemli kodlar türlü  zorluklarla yapılmış olabilir.Her ne kadar bunlar önemli olsada birinci öncelik  müşterinin ihtiyaçlarını karşılan,çalışan proje kısmıdır.Bir projede  ihtiyaçların %30'u karşılandı ise projenin %30'u bitmiş demektir.  &lt;/li&gt;&lt;li&gt;&lt;strong&gt;Agile processes promote sustainable development. The sponsors,  developers, and users should be able to maintain a constant pace  indefinitely.&lt;/strong&gt;&lt;br /&gt;Bir yazılım ekibi kısa mesafe koşucusu gibi bir süre  hızlı bir şekilde koşup daha sonra tükenmez.Onun yerine uzun mesafe koşucuları  gibi,sürekli sabit hızla gidebilecek kadar hızlı giderler.Hızlı gidip de yorgun  düşecekler ise,bu durumda hızlı gitmezler.Hızlı gerçekleştirilen projelerin sonu  hiç de iyi olmamaktadır,ilk anda her ne kadar çalışan parçalar elde ediliyor  olsada,zaman içerisinde yapılan şeyin aslında ne kadar yanlış olduğu  anlaşılmaktadır.Bir yazılım mühendisinin bir sonraki gün ki enerjisi bugünden  kesnlikle ama kesinlikle çalınmamalı,yazılım mühendisine bir anda çok yük  bindirip,100 metre koşucusu gibi koşması beklenmemelidir.  &lt;/li&gt;&lt;li&gt;&lt;strong&gt;Continuous attention to technical excellence and good design  enhances agility.&lt;/strong&gt;&lt;br /&gt;Bir yazılım takımı yaptığı yazılımlarda maksimum  kaliteyi hedefler.Bunu gerçekleştirmek için teknik anlamda en iyi ve en güzel  mimariyi kullanır.Yalnız bunu yaparkende yazılımın karmakarışık olmasına izin  vermez.Yapılan yazılımda önemli olan onun açık(kolay anlaşılır) ve sağlam  olmasıdır.  &lt;/li&gt;&lt;li&gt;&lt;strong&gt;Simplicitythe art of maximizing the amount of work not doneis  essential.&lt;/strong&gt;&lt;br /&gt;Yazılım takımı yazılımı gerçekleştiriken bugünün  gereksinimlerine odaklanır ve bugünün problemlerini en basit ve en tutarlı,en  kaliteli ve en değiştirilebilir bir biçimde gerçekleştirir.Bugünün işini  yaparken yarını düşünerek yapmaz.Yaptığı yazılımlarda kaliteyi en üst düzeyde  tuttuğu için yarın karşılacak bir gereksinim sisteme sorunsuz bir biçimde dahil  edilebilinecektir(entegre edilebilecektir).  &lt;/li&gt;&lt;li&gt;&lt;strong&gt;The best architectures, requirements, and designs emerge from  self-organizing teams.&lt;/strong&gt;&lt;br /&gt;Yazılım ekibi bütün sorumluluklarda  ortaktırlar.Yani bir kişi test işinde görevlendirilip,biri veri tabanı işinde  görevlendirilip,biri de arayüz tasarlamada görevdirilmez.Bu yanlış bir  tutumdur.Takım içiçe olmalı ve herkes her adımda bulunmalıdır.Bazı takım  üyelerinin özellikleri bir iş konusunda daha yeterli ise bu durumda belki o  kişiye ilgili konuda daha fazla görev verilebilir ama muhakkak diğer takım  elemanları da o işe dahil edilirler.Böylelikle bütün problemler yazılım  takımının bir elemanı tarafından değil,tamamı tarafından çözülmüş olur.  &lt;/li&gt;&lt;li&gt;&lt;strong&gt;At regular intervals, the team reflects on how to become more  effective, then tunes and adjusts its behavior accordingly.&lt;/strong&gt;&lt;br /&gt;Yazılım  ekibi belli aralıklarla toplantılar yaparak, kaliteyi geliştirmek adına  yöntemlerinde,durumlarında bazı değişiklikler yapabilirler.Zira yazılım ekibinin  ortamı(yazılım ortamı,fiziksel ortamı,yazılımda gerçekleştirilecek bölümler)  değişeceğinden,yazılım ekibide bu değişime ayak uydurmalıdır.O yüzden takımın  davranışları,rolleri, poziyonları, görevleri belli aralıklarla yapılan  görüşmelerde yeniden gözden geçirilmelidir.&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-style: italic;"&gt;Kaynak: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;" id="ctl00_ContentPlaceHolder1_gvMakaleler_ctl03_lblEgitmen"&gt;Nurettin  Şimşek&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;msegitim.net&lt;/span&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-7449319803221900485?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/7449319803221900485/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=7449319803221900485' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/7449319803221900485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/7449319803221900485'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2008/01/12-agile-priciples.html' title='12 Agile Principles'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-3612246718933843026</id><published>2007-11-26T17:45:00.000+01:00</published><updated>2007-11-26T17:48:01.189+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><title type='text'>_123 TSQL functions</title><content type='html'>Cok yararli T-SQL fonksiyonlarinin oldugu bir link.&lt;br /&gt;Download edileblir zip dosya sitede bulunmakda.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=502&amp;amp;lngWId=5"&gt;http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=502&amp;amp;lngWId=5&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-3612246718933843026?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/3612246718933843026/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=3612246718933843026' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/3612246718933843026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/3612246718933843026'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2007/11/123-tsql-functions.html' title='_123 TSQL functions'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-5504195707939071644</id><published>2007-11-13T08:40:00.000+01:00</published><updated>2007-11-13T09:09:19.008+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jscript'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><title type='text'>Asp.Net - Jscript ile sayfa üzerindeki bir kontrolü gizlemek (invisible)</title><content type='html'>Örnegimizde bir dropdownlist ve bir linkbutton kontrolü kullaniyoruz.&lt;br /&gt;&lt;br /&gt;CodeBehind sayfamizda öncelikle drowpdownlist kontrolümüzün attribute'ne onchange event'nde hangi JScript fonksiyonun cagrilcagini belirtiyoruz.&lt;br /&gt;&lt;br /&gt;ddlNation.Attributes("onchange") = "javascript:checkSelectedNation(this, " &amp;amp; DBConstants.Land.SCHWEIZ &amp;amp; ");"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;checkSelectedNation fonksiyonu parametre olarak ddlNation (dropdownlist) kontrolünü ve birde kodumuz icinde tanimlamis oldugumuz constant bir degeri aliyor.&lt;br /&gt;&lt;br /&gt;aspx sayfamiz icine yazacagimiz JScript kodu ise söyle olacak:&lt;br /&gt;&lt;br /&gt;&lt;script language="javascript" type="text/javascript"&gt;&lt;br /&gt;    function checkSelectedNation(dropDown, schweizID)&lt;br /&gt;    {       &lt;br /&gt;        var selectedVal = dropDown.value;       &lt;br /&gt;        var btnGebOrt = document.getElementById('&lt;%=btnSelCHGebOrt.ClientID%&gt;');                         &lt;br /&gt;       &lt;br /&gt;        if (selectedVal == schweizID)       &lt;br /&gt;        {             &lt;br /&gt;            btnGebOrt.style.display="";&lt;br /&gt;        }else&lt;br /&gt;        {       &lt;br /&gt;            btnGebOrt.style.display="none";&lt;br /&gt;        }  &lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;&lt;/script&gt;function checkSelectedNation(dropDown, schweizID)&lt;br /&gt;{&lt;br /&gt;        var selectedVal = dropDown.value;&lt;br /&gt;        var btnGebOrt = document.getElementById('&lt;%=btnSelCHGebOrt.ClientID%&gt;');&lt;br /&gt;&lt;br /&gt;        if (selectedVal == schweizID)&lt;br /&gt;        {&lt;br /&gt;                btnGebOrt.style.display="";&lt;br /&gt;        }else&lt;br /&gt;        {&lt;br /&gt;                btnGebOrt.style.display="none";&lt;br /&gt;        }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;----&lt;br /&gt;&lt;br /&gt;dropdownlist kontrolünde secilen deger bizim yolladiigmiz constant degere esit ise btnSelCHGebOrt button kontrolü görülecek. Aksi durumda ise gizlenecek.&lt;br /&gt;&lt;br /&gt;Burda önemli bir durum var. Örnegin sayfa ilk yüklenirken DB den gelen "ddlNation" in degerine göre, btnSelCHGebOrt konrolümüzü yine gizlicez yada göstericez. Bu durumda btnSelCHGebOrt  kontrolünün visible özelligini kullanirsak, false set ettigimiz durumda, daha sonra kullanacagimiz JScript fonksiyonumuz calismicakdir. Bunuun yerine ilk yüklemede codebehind' da söyle bir kullanim vardir.&lt;br /&gt;&lt;br /&gt;Kontolü gizlemek icin:&lt;br /&gt;&lt;br /&gt;btnSelCHGebOrt.Style.Item("display") = "none"&lt;br /&gt;&lt;br /&gt;Kontolü göstermek icin:&lt;br /&gt;btnSelCHGebOrt.Style.Item("display") = ""&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-5504195707939071644?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/5504195707939071644/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=5504195707939071644' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/5504195707939071644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/5504195707939071644'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2007/11/aspnet-jscript-ile-sayfa-zerindeki-bir.html' title='Asp.Net - Jscript ile sayfa üzerindeki bir kontrolü gizlemek (invisible)'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-7610864862243426206</id><published>2007-10-24T13:55:00.000+02:00</published><updated>2007-10-24T13:57:01.391+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><title type='text'>Birden fazla kriter ile TSQL Case Statement</title><content type='html'>select case&lt;br /&gt;    when 2 IN (1,2,4,8,10) then 'Found in criteria'&lt;br /&gt;    else 'not found'&lt;br /&gt;end&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-7610864862243426206?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/7610864862243426206/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=7610864862243426206' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/7610864862243426206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/7610864862243426206'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2007/10/birden-fazla-kriter-ile-tsql-case.html' title='Birden fazla kriter ile TSQL Case Statement'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-2801415136691680115</id><published>2007-08-17T17:31:00.000+02:00</published><updated>2007-08-17T17:34:53.402+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><title type='text'>Remote Dektop da Ctrl+Alt+Del yapmak</title><content type='html'>Remote Desktop kullanirken explorer.exe beklenmedik bir sekilde kapanirsa ekraniniz microsoft un güzel mavisi ile kaplanir. Bu durumda Task Manager calistirip Run kismindan explorer.exe  tekrar balslatmak gerekir. Task Manager i baslatmak icin Remote Desktop da ctrl + alt + del ne yazikki ise yaramiyor. Bunun icin gerekli olan kombinasyon:&lt;br /&gt;&lt;br /&gt;Ctrl + Alt + End&lt;br /&gt;&lt;br /&gt;Kücük bir ipucu :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-2801415136691680115?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/2801415136691680115/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=2801415136691680115' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/2801415136691680115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/2801415136691680115'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2007/08/remote-dektop-da-ctrlaltdel-yapmak.html' title='Remote Dektop da Ctrl+Alt+Del yapmak'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-8990079443204053710</id><published>2007-08-14T15:45:00.000+02:00</published><updated>2007-08-14T16:18:08.897+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pl/sql'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle'/><title type='text'>Oracle DB de tekrarlanan kayitlari silme</title><content type='html'>Asagidaki örnekde TestTable da min rowid ye sahip olan kayit saklanacak geri kalan tekrarlanan kayitlar silinecek.&lt;br /&gt;&lt;br /&gt;Delete from TestTable t1&lt;br /&gt;where t1.rowid &gt;&lt;br /&gt;         (Select min(t2.rowID) from TestTable t2&lt;br /&gt;           where t1.col1 = t2.col1&lt;br /&gt;           and t1.col2 = t2.col2)&lt;br /&gt;&lt;br /&gt;Benzer bir cözüm sql server icin söyle olabilir:&lt;br /&gt;&lt;br /&gt;Oracle daki "rowid" yerine tablomuzun birincil anahtarini (PK) kullanabiliriz.&lt;br /&gt;PK: sysID&lt;br /&gt;&lt;br /&gt;Delete from TestTable  where sysID IN (&lt;br /&gt;            Select sysID from TestTable  t1&lt;br /&gt;            where t1.sysID &gt; (Select min(t2.sysID) from TestTable  t2&lt;br /&gt;                                where t1.col1 = t2.col1&lt;br /&gt;                                and t1.col2 = t2.col2))&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-8990079443204053710?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/8990079443204053710/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=8990079443204053710' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/8990079443204053710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/8990079443204053710'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2007/08/delete-duplicate-rows-in-table-oracle.html' title='Oracle DB de tekrarlanan kayitlari silme'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-2335075844732771298</id><published>2007-08-11T12:30:00.000+02:00</published><updated>2007-08-11T12:34:31.039+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>SharePoint Tips &amp; Tricks</title><content type='html'>Microsoft Share Point Server ve &lt;span&gt;Windows SharePoint Services ile ilgili önemli ipucu ve cözümlerin bulunabilecegi kapsamli bir blog.  Sharepoint ile ugrasanlarin isine cok yarayacagini düsünüyorum. Bir göz atmak da fayda var.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.sharepoint-tips.com/2007/01/how-to-add-print-list-option-to-list.html"&gt;http://www.sharepoint-tips.com/2007/01/how-to-add-print-list-option-to-list.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-2335075844732771298?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/2335075844732771298/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=2335075844732771298' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/2335075844732771298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/2335075844732771298'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2007/08/httpwwwsharepoint-tipscom200701how-to.html' title='SharePoint Tips &amp; Tricks'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-7744594504433715012</id><published>2007-08-10T16:16:00.000+02:00</published><updated>2007-08-10T16:17:35.077+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debug'/><category scheme='http://www.blogger.com/atom/ns#' term='pl/sql'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle'/><title type='text'>Debugging Oracle PL/SQL from Visual Studio</title><content type='html'>&lt;h3 align="left"&gt;&lt;span class="topstoryhead"&gt;PL/SQL kodlarini VS.NET icerisinde debug etmek ile ilgili güzel bir makale.&lt;/span&gt;&lt;/h3&gt;&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/obe/net11gobe/debugging/debugging.htm?msgid=5794223"&gt;http://www.oracle.com/technology/obe/net11gobe/debugging/debugging.htm?msgid=5794223&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-7744594504433715012?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/7744594504433715012/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=7744594504433715012' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/7744594504433715012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/7744594504433715012'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2007/08/debugging-oracle-plsql-from-visual.html' title='Debugging Oracle PL/SQL from Visual Studio'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-6423180303984583358</id><published>2007-08-10T15:29:00.000+02:00</published><updated>2007-08-10T15:33:30.551+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VS.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='shortcut'/><title type='text'>Visual C# 2005 Keyboard Shortcuts</title><content type='html'>VS.Net icerisinde kullanilan kisa yollar. Büyütmek icin lütfen resmin üzerine tiklayin.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_MTp0oMkxbNQ/Rrxo23xRdyI/AAAAAAAAAA8/PXQv9h5ESWM/s1600-h/VCSharp_2005.jpg"&gt;&lt;img style="cursor: pointer;" src="http://bp2.blogger.com/_MTp0oMkxbNQ/Rrxo23xRdyI/AAAAAAAAAA8/PXQv9h5ESWM/s320/VCSharp_2005.jpg" alt="" id="BLOGGER_PHOTO_ID_5097064170169399074" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-6423180303984583358?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/6423180303984583358/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=6423180303984583358' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/6423180303984583358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/6423180303984583358'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2007/08/visual-c-2005-keyboard-shortcuts.html' title='Visual C# 2005 Keyboard Shortcuts'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_MTp0oMkxbNQ/Rrxo23xRdyI/AAAAAAAAAA8/PXQv9h5ESWM/s72-c/VCSharp_2005.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-8870936815195614222</id><published>2007-08-09T16:24:00.000+02:00</published><updated>2007-08-10T16:25:50.208+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='restart'/><category scheme='http://www.blogger.com/atom/ns#' term='Operating System'/><title type='text'>Commandline dan PC yi tekrar baslatmak</title><content type='html'>MSDN den konu ile ilgili bir örnek:&lt;br /&gt;&lt;br /&gt;----------------------------------------&lt;br /&gt;To shut down \\MyServer in 60 seconds, force running applications to close, restart the computer after shutdown, indicate a user code, indicate that the shutdown is planned, log major reason code 125, and log minor reason code 1, type:&lt;br /&gt;&lt;br /&gt;shutdown -r -f -m \\MyServer -t 60 -d up:125:1&lt;br /&gt;&lt;br /&gt;----------------------------------------&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-8870936815195614222?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/8870936815195614222/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=8870936815195614222' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/8870936815195614222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/8870936815195614222'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2007/08/restart-pc-in-commandline.html' title='Commandline dan PC yi tekrar baslatmak'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-4283604953847395611</id><published>2007-08-08T22:38:00.000+02:00</published><updated>2007-08-09T09:07:22.408+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web.config'/><category scheme='http://www.blogger.com/atom/ns#' term='email'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><title type='text'>Web.Config dosyasindaki Mail ayarlarini okumak.</title><content type='html'>Web.Config dosyasindaki &lt;&lt;span style="font-size: 85%;"&gt;&lt;span style="font-family: courier new;"&gt;mailSettings&gt; &lt;/span&gt;&lt;/span&gt;&lt;mailsettings&gt;&lt;smtp&gt; tagi altinda bulunan mail ayarlarini c# ile kod icerisinden okumak icin asagidaki örnegi kullanabilirsiniz.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;using System.Configuration;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;using System.Web.Configuration;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;using System.Net.Configuration;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;String path = Request.CurrentExecutionFilePath;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;path = path.Substring(0, path.LastIndexOf('/'));&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Configuration configurationFile = WebConfigurationManager.OpenWebConfiguration(path);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;MailSettingsSectionGroup mailSettings = configurationFile.GetSectionGroup("system.net/mailSettings") as MailSettingsSectionGroup;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;            if (mailSettings != null)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;            {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;                iPort = mailSettings.Smtp.Network.Port;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;                strHost = mailSettings.Smtp.Network.Host;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;                strPassword = mailSettings.Smtp.Network.Password;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;                strUserName = mailSettings.Smtp.Network.UserName;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;/smtp&gt;&lt;/mailsettings&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-4283604953847395611?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/4283604953847395611/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=4283604953847395611' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/4283604953847395611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/4283604953847395611'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2007/08/webconfig-dosyasindaki-mail-ayarlarini.html' title='Web.Config dosyasindaki Mail ayarlarini okumak.'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-1261892951389972322</id><published>2007-08-08T13:46:00.000+02:00</published><updated>2007-08-08T13:48:28.204+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LINQ'/><title type='text'></title><content type='html'>Burak Selim Senyurt'un LINQ ile ilgili cok güzel bir makalesi. Yine cok özen göstererek yazmis.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.csharpnedir.com/makalegoster.asp?MId=729"&gt;http://www.csharpnedir.com/makalegoster.asp?MId=729&lt;/a&gt;&lt;a href="http://www.csharpnedir.com/makalegoster.asp?MId=729"&gt;&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-1261892951389972322?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/1261892951389972322/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=1261892951389972322' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/1261892951389972322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/1261892951389972322'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2007/08/burak-selim-senyurtun-linq-ile-ilgili.html' title=''/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-5717469792887262945</id><published>2007-08-07T11:37:00.000+02:00</published><updated>2007-08-07T11:40:33.362+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Typed DataSet'/><category scheme='http://www.blogger.com/atom/ns#' term='Entity Class'/><category scheme='http://www.blogger.com/atom/ns#' term='Ado.Net'/><title type='text'>Veri modellerinde Entity sınıf ve Typed DataSet karsilastirilmasi</title><content type='html'>Emre Coskun'un konu ile ilgili yazdigi güzel bir makale:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://emrecoskun.blogspot.com/2007/03/neden-typed-dataset-kullanlmaldr.html"&gt;http://emrecoskun.blogspot.com/2007/03/neden-typed-dataset-kullanlmaldr.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-5717469792887262945?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/5717469792887262945/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=5717469792887262945' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/5717469792887262945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/5717469792887262945'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2007/08/veri-modellerinde-entity-snf-ve-typed.html' title='Veri modellerinde Entity sınıf ve Typed DataSet karsilastirilmasi'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-1540023372134374678</id><published>2007-08-06T16:30:00.000+02:00</published><updated>2007-08-08T23:34:12.454+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server'/><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><title type='text'>Bir resultsetden split edilmis string olusturmak</title><content type='html'>Sql Server üzerinde yaratacagimiz bu UDF, özellikle Reporting konusunda kullanilabilecek bir function örnegidir.&lt;br /&gt;&lt;br /&gt;Örnegimizde Northwind veritabani kullaniyoruz.&lt;br /&gt;Bunun icin öncelikle veritabaninda "GetProductIDs" isimli bir UDF olusturuyoruz. Fonksiyonumuz parametere olarak OrderID alacak ve OrderDetails tablosunda bu OrderID ye ait olan kayitlardaki ProductID leri bize virgül ile ayrilmis sekilde varchar olarak döndürecek.&lt;br /&gt;&lt;br /&gt;CREATE FUNCTION [dbo].[GetProductIDs]&lt;br /&gt;(&lt;br /&gt;@OrderID int&lt;br /&gt;)&lt;br /&gt;RETURNS nvarchar(MAX)&lt;br /&gt;AS&lt;br /&gt;BEGIN&lt;br /&gt;&lt;br /&gt;DECLARE @productIDList nvarchar(MAX)&lt;br /&gt;&lt;br /&gt;SELECT @productIDList = COALESCE(@productIDList + ', ', '') +&lt;br /&gt;CAST(ProductID AS varchar(20))&lt;br /&gt;from dbo.[Order Details] Where OrderID = @OrderID&lt;br /&gt;&lt;br /&gt;return @productIDList&lt;br /&gt;END;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Fonksiyonumuz database üzerinde yaratildiktan sonra, su sekilde fonksiyonumuzu test edebiliriz.&lt;br /&gt;&lt;br /&gt;Select dbo.GetProductIDs(OrderID) as ProductIDs from dbo.Orders&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_MTp0oMkxbNQ/Rrc0Nk5mhRI/AAAAAAAAAAs/1qfBPxqq-IU/s1600-h/sql.PNG"&gt;&lt;br /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_MTp0oMkxbNQ/Rrc0-05mhSI/AAAAAAAAAA0/R5uGv_nky_E/s1600-h/sql.PNG"&gt;&lt;img style="cursor: pointer;" src="http://bp2.blogger.com/_MTp0oMkxbNQ/Rrc0-05mhSI/AAAAAAAAAA0/R5uGv_nky_E/s320/sql.PNG" alt="" id="BLOGGER_PHOTO_ID_5095599757349782818" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-1540023372134374678?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/1540023372134374678/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=1540023372134374678' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/1540023372134374678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/1540023372134374678'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2007/08/sql-de-bir-resultsetden-split-edilmis.html' title='Bir resultsetden split edilmis string olusturmak'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_MTp0oMkxbNQ/Rrc0-05mhSI/AAAAAAAAAA0/R5uGv_nky_E/s72-c/sql.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-3597549503402002104</id><published>2007-08-06T14:56:00.000+02:00</published><updated>2007-08-06T15:01:19.542+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cms'/><category scheme='http://www.blogger.com/atom/ns#' term='freeware'/><category scheme='http://www.blogger.com/atom/ns#' term='component'/><title type='text'>FreeTextBox icin sayfada Validation kaldirmak.</title><content type='html'>Asp.Net sayfalarinda FreeTextBox daki bir degeri veritabanina kaydederken bir güvenlik hatasi olusabilir:&lt;br /&gt;&lt;br /&gt;"A potentially dangerous Request.Form value was detected from the client"&lt;br /&gt;&lt;br /&gt;Bunu Page tag'ine&lt;br /&gt;&lt;br /&gt;ValidateRequest="false"&lt;br /&gt;&lt;br /&gt;ekleyerek önleyebiliriz.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-3597549503402002104?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/3597549503402002104/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=3597549503402002104' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/3597549503402002104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/3597549503402002104'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2007/08/freetextbox-icin-sayfada-validation.html' title='FreeTextBox icin sayfada Validation kaldirmak.'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-4694749331716413124</id><published>2007-07-30T21:10:00.000+02:00</published><updated>2007-07-30T21:15:33.527+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='validation'/><title type='text'>.Net Validator kontrollerinin submit sirasinda calismasini engellemek</title><content type='html'>Asp.Net sayfalarinda bulunan validation controllerin herhangi bir submit isleminde, örnegin validation gerektirmeyen bir button tiklanip sayfa submit oldugunda calismamasi icin, button controlünün;&lt;br /&gt;&lt;br /&gt;CausesValidation = False&lt;br /&gt;&lt;br /&gt;özelligini set ediyoruz.&lt;br /&gt;&lt;br /&gt;btnNew &gt;&gt; CausesValidation = False&lt;br /&gt;&lt;br /&gt;btnSave &gt;&gt; CausesValidation = True&lt;br /&gt;&lt;br /&gt;Save islemi sirasinda validation controllerinin calismasini sagliyoruz.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-4694749331716413124?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/4694749331716413124/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=4694749331716413124' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/4694749331716413124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/4694749331716413124'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2007/07/net-validator-kontrollerinin-submit.html' title='.Net Validator kontrollerinin submit sirasinda calismasini engellemek'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-6569588544595907238</id><published>2007-07-27T12:08:00.000+02:00</published><updated>2007-07-27T12:13:48.266+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><title type='text'>Multi Parameter &gt; Where IN clause</title><content type='html'>SQL Split UDF:&lt;br /&gt;&lt;br /&gt;if exists (select * from dbo.sysobjects where id =&lt;br /&gt;object_id(N'[dbo].[UTILfn_Split]') and xtype in (N'FN', N'IF', N'TF'))&lt;br /&gt;drop function [dbo].[UTILfn_Split]&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;create function dbo.UTILfn_Split(&lt;br /&gt; @String nvarchar (4000),&lt;br /&gt; @Delimiter nvarchar (10)&lt;br /&gt; )&lt;br /&gt;returns @ValueTable table ([Value] nvarchar(4000))&lt;br /&gt;begin&lt;br /&gt; declare @NextString nvarchar(4000)&lt;br /&gt; declare @Pos int&lt;br /&gt; declare @NextPos int&lt;br /&gt; declare @CommaCheck nvarchar(1)&lt;br /&gt;&lt;br /&gt; --Initialize&lt;br /&gt; set @NextString = ''&lt;br /&gt; set @CommaCheck = right(@String,1)&lt;br /&gt;&lt;br /&gt; --Check for trailing Comma, if not exists, INSERT&lt;br /&gt; --if (@CommaCheck &lt;&gt; @Delimiter )&lt;br /&gt; set @String = @String + @Delimiter&lt;br /&gt;&lt;br /&gt; --Get position of first Comma&lt;br /&gt; set @Pos = charindex(@Delimiter,@String)&lt;br /&gt; set @NextPos = 1&lt;br /&gt;&lt;br /&gt; --Loop while there is still a comma in the String of levels&lt;br /&gt; while (@pos &lt;&gt;  0) &lt;br /&gt; begin&lt;br /&gt;  set @NextString = substring(@String,1,@Pos - 1)&lt;br /&gt;&lt;br /&gt;  insert into @ValueTable ( [Value]) Values (@NextString)&lt;br /&gt;&lt;br /&gt;  set @String = substring(@String,@pos +1,len(@String))&lt;br /&gt; &lt;br /&gt;  set @NextPos = @Pos&lt;br /&gt;  set @pos  = charindex(@Delimiter,@String)&lt;br /&gt; end&lt;br /&gt;&lt;br /&gt; return&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------&lt;br /&gt;&lt;br /&gt;DECLARE @params nvarchar(100)&lt;br /&gt;SET @params='962, 979, 971'&lt;br /&gt;&lt;br /&gt;select * from dbo.TABLETEST&lt;br /&gt;where ID IN (select * from dbo.UTILfn_Split(@params,','))&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-6569588544595907238?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/6569588544595907238/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=6569588544595907238' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/6569588544595907238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/6569588544595907238'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2007/07/multi-parameter-where-in-clause.html' title='Multi Parameter &gt; Where IN clause'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4202207820054725239.post-260129427480569741</id><published>2007-07-16T23:26:00.001+02:00</published><updated>2007-07-17T00:03:31.415+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Genel'/><title type='text'>Merhaba</title><content type='html'>Sevgili blog.. banada kalbin kadar ..... :p&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4202207820054725239-260129427480569741?l=tolgayaramis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tolgayaramis.blogspot.com/feeds/260129427480569741/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4202207820054725239&amp;postID=260129427480569741' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/260129427480569741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4202207820054725239/posts/default/260129427480569741'/><link rel='alternate' type='text/html' href='http://tolgayaramis.blogspot.com/2007/07/merhaba.html' title='Merhaba'/><author><name>Tolga Yaramış</name><uri>http://www.blogger.com/profile/05338089505819548726</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
