<?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:blogger='http://schemas.google.com/blogger/2008' 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-7667131574751699652</id><updated>2024-10-24T19:34:38.451-07:00</updated><category term="C#"/><category term="Generics"/><category term="Diğer"/><category term="Generic Sınıf"/><category term=".net"/><category term="Nedir"/><category term="SSMS"/><category term="generic kullanımı"/><category term="sql"/><category term=".js.map"/><category term="ASP.NET"/><category term="Agile"/><category term="Alt Satır"/><category term="Açma"/><category term="Back End"/><category term="BeginInvoke"/><category term="Blogger Help"/><category term="Chrome"/><category term="Constraints"/><category term="Constructor"/><category term="Count"/><category term="Count_Big"/><category term="Developer"/><category term="Download"/><category term="Excel"/><category term="Fark"/><category term="Field"/><category term="File"/><category term="Front End"/><category term="Genel"/><category term="Generic"/><category term="Generic Class"/><category term="Generic Kısıtlamaları"/><category term="Invoke"/><category term="InvokeRequired"/><category term="Kapatılan"/><category term="Komut Satırı"/><category term="Reflection"/><category term="Request Validation"/><category term="SEO"/><category term="SQL Server"/><category term="SQL Server 2008"/><category term="SQL Server 2008 R2"/><category term="Scrum"/><category term="Sekme"/><category term="Server"/><category term="Settings"/><category term="Site Map"/><category term="Static Constructor"/><category term="VSCode"/><category term="Visual Studio Code"/><category term="Wetransfer"/><category term="Windows Forms"/><category term="Youtube"/><category term="asp.net mvc"/><category term="autocommit"/><category term="bilgi"/><category term="data"/><category term="database"/><category term="enformasyon"/><category term="game"/><category term="generic tipler"/><category term="iflas"/><category term="index"/><category term="metadata"/><category term="mvc"/><category term="para"/><category term="snake"/><category term="turn off"/><category term="validateRequest"/><category term="veritabanı"/><category term="web"/><category term="webforms"/><category term="yılan"/><category term="ülke"/><title type='text'>Uğur Can</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-8214756281403807701</id><published>2017-12-03T22:35:00.004-08:00</published><updated>2017-12-03T22:35:27.400-08:00</updated><title type='text'>MS SQL Server Stored Procedure&#39;ler İçerisinde Kelime Aratmak</title><content type='html'>&lt;pre class=&quot;lang-sql prettyprint prettyprinted&quot; style=&quot;background-color: #eff0f1; border: 0px; color: #393318; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #101094; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #101094; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;DISTINCT&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
       o&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;name &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #101094; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;AS&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; Object_Name&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
       o&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;type_desc
  &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #101094; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;FROM&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; sys&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;sql_modules m
       &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #101094; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;INNER&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #101094; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;JOIN&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
       sys&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;objects o
         &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #101094; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ON&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; m&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;object_id &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; o&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;object_id
 &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #101094; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;WHERE&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; m&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;definition &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #101094; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Like&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #7d2727; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&#39;%abc%&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/8214756281403807701/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/8214756281403807701' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/8214756281403807701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/8214756281403807701'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2017/12/ms-sql-server-stored-procedureler.html' title='MS SQL Server Stored Procedure&#39;ler İçerisinde Kelime Aratmak'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-9197361677618715138</id><published>2017-04-30T15:37:00.001-07:00</published><updated>2017-05-02T00:52:36.272-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".js.map"/><category scheme="http://www.blogger.com/atom/ns#" term="Settings"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio Code"/><category scheme="http://www.blogger.com/atom/ns#" term="VSCode"/><title type='text'>Hide .js.map files in Visual Studio Code</title><content type='html'>In your settings (either user or workspace) there is a setting that you can tweak to hide anything you&#39;d like:&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &quot;files.exclude&quot;: {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;**/.git&quot;: true,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;**/.DS_Store&quot;: true,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;**/*.js.map&quot;: true,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;**/*.js&quot;: {&quot;when&quot;: &quot;$(basename).ts&quot;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/9197361677618715138/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/9197361677618715138' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/9197361677618715138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/9197361677618715138'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2017/04/hide-jsmap-files-in-visual-studio-code.html' title='Hide .js.map files in Visual Studio Code'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-9149860094788305695</id><published>2016-10-13T00:35:00.001-07:00</published><updated>2019-07-26T03:31:23.952-07:00</updated><title type='text'>Eksik Foreign Key &#39;leri Nasıl Buluruz?</title><content type='html'>Referanslar veritabanının kalbidir. Çoğu zaman kod yazarak olması gereken veriyi hatasız bir şekilde veritabanına yazabiliriz. Ancak referansları kod yazarak doğruluğunu kontrol etmek zor bir iştir. Üstelik bir ekiple birlikte çalışıyorsanız, siz hata yapmasanız bile ekipten birileri mutlaka hata yapacaktır. En ufak bir kodsal kaçakta veritabanında hatalı veriler oluşmaya başlayacak ve büyük ihtimalle bu sorun büyüyene kadar kimse tarafından farkedilmeyecektir. Bu yüzden referansları kodsal olarak kontrol etmekten ziyade veritabanına foreign key constraintleri oluşturmalıyız. 

Veritabanında referans kolonların isimlendirilmesinde genelde kolon isminin sonuna &quot;Id&quot; eklenir. Bu şekilde o kolonun foreign key olduğunu anlarız. Aşağıdaki kod kolon isminin sonunda &#39;Id&#39; bulunan ancak hiçbir Primary key veya foreign keyin bir parçası olmayan kolonları listeler.
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;&quot;&gt; C&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;TABLE_SCHEMA&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;C&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;TABLE_NAME&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;C&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;COLUMN_NAME &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;&quot;&gt; &lt;span style=&quot;color: green;&quot;&gt;INFORMATION_SCHEMA&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;COLUMNS&lt;/span&gt; C &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;INNER&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;JOIN&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;INFORMATION_SCHEMA&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;TABLES&lt;/span&gt; T &lt;span style=&quot;color: blue;&quot;&gt;ON&lt;/span&gt; C&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;TABLE_NAME &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; T&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;TABLE_NAME &lt;span style=&quot;color: grey;&quot;&gt;AND&lt;/span&gt; T&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;TABLE_TYPE &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;&#39;Base Table&#39;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;AND&lt;/span&gt; T&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;TABLE_SCHEMA &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; C&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;TABLE_SCHEMA &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;LEFT&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;JOIN&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;INFORMATION_SCHEMA&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;CONSTRAINT_COLUMN_USAGE&lt;/span&gt;
U &lt;span style=&quot;color: blue;&quot;&gt;ON&lt;/span&gt; C&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;TABLE_NAME
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; U&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;TABLE_NAME &lt;span style=&quot;color: grey;&quot;&gt;AND&lt;/span&gt; C&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;COLUMN_NAME &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; U&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;COLUMN_NAME &lt;span style=&quot;color: grey;&quot;&gt;AND&lt;/span&gt; U&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;TABLE_SCHEMA &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; C&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;TABLE_SCHEMA &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;&quot;&gt;WHERE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;&quot;&gt; U&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;COLUMN_NAME &lt;span style=&quot;color: grey;&quot;&gt;IS&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;NULL&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;AND&lt;/span&gt; C&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;COLUMN_NAME &lt;span style=&quot;color: grey;&quot;&gt;LIKE&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;&#39;%id&#39;&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;&quot;&gt;ORDER&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;BY&lt;/span&gt; C&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;TABLE_SCHEMA&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; C&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;TABLE_NAME&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; C&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;COLUMN_NAME&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/9149860094788305695/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/9149860094788305695' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/9149860094788305695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/9149860094788305695'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2016/10/eksik-foreign-key-leri-nasl-buluruz.html' title='Eksik Foreign Key &#39;leri Nasıl Buluruz?'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-5125354840476706840</id><published>2015-05-07T04:55:00.000-07:00</published><updated>2015-05-07T04:55:23.465-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".net"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Download"/><category scheme="http://www.blogger.com/atom/ns#" term="File"/><category scheme="http://www.blogger.com/atom/ns#" term="web"/><category scheme="http://www.blogger.com/atom/ns#" term="Wetransfer"/><title type='text'>C# Code for Downloading WeTransfer Files (https://www.wetransfer.com/) </title><content type='html'>I was doing an asp.net web application project and I needed to download files from WeTransfer. I have searched web but couldn&#39;t found any C# code about this topic. Then i found a Phyton code (Link: &lt;a href=&quot;https://github.com/superalex/py-wetransfer&quot;&gt;https://github.com/superalex/py-wetransfer&lt;/a&gt;) and convert it to C# by myself. Just dropping the dirty code here as in my project.(with some minor changes :)) You can clear and use the code as you wish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;html&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=Windows-1254&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 14 (filtered)&quot;&gt;
&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
 {font-family:&quot;Cambria Math&quot;;
 panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
 {font-family:Calibri;
 panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
 {font-family:Consolas;
 panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
 {margin-top:0cm;
 margin-right:0cm;
 margin-bottom:10.0pt;
 margin-left:0cm;
 line-height:115%;
 font-size:11.0pt;
 font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;}
.MsoChpDefault
 {font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;}
.MsoPapDefault
 {margin-bottom:10.0pt;
 line-height:115%;}
@page WordSection1
 {size:612.0pt 792.0pt;
 margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
 {page:WordSection1;}
.code { background:#f5f8fa; background-repeat:no-repeat; border: solid #5C7B90; border-width: 1px 1px 1px 20px; color: #000000; font: 13px &#39;Courier New&#39;, Courier, monospace; line-height: 16px; margin: 10px 0 10px 10px; min-height: 16px; overflow: auto; padding: 28px 10px 10px; width: 90%; } .code:hover { background-repeat:no-repeat; }
--&gt;
&lt;/style&gt;

&lt;/head&gt;

&lt;body lang=EN-US&gt;

&lt;div class=&quot;code&quot;&gt;

&lt;div class=WordSection1&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:blue;background:white&#39;&gt;using&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt; Newtonsoft.Json;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:blue;background:white&#39;&gt;using&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt; Newtonsoft.Json.Linq;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:blue;background:white&#39;&gt;using&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt; System;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:blue;background:white&#39;&gt;using&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt; System.Collections.Generic;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:blue;background:white&#39;&gt;using&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt;
System.Collections.Specialized;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:blue;background:white&#39;&gt;using&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt; System.IO;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:blue;background:white&#39;&gt;using&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt; System.Net;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:blue;background:white&#39;&gt;using&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt; System.Net.Http;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:blue;background:white&#39;&gt;using&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt; System.Web;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:blue;background:white&#39;&gt;using&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt; System.Web.UI;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:blue;background:white&#39;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:blue;background:white&#39;&gt;private&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt; &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;const&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt; &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
DOWNLOAD_URL_PARAMS_PREFIX = &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:
Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;downloads/&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:blue;background:white&#39;&gt;private&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt; &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;const&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt; &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;int&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
CHUNK_SIZE = 1024;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:blue;background:white&#39;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:blue;background:white&#39;&gt;protected&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt; &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;async&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt; &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;void&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
btnDownloadWeTransferFile_Click(&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:
Consolas;color:blue;background:white&#39;&gt;object&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt; sender, &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#2B91AF;background:white&#39;&gt;EventArgs&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt; e)&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;        {&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:blue;background:white&#39;&gt;if&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt; (&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;.IsNullOrWhiteSpace(txtFileLink.Text))&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            {&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;               
ClientScript.RegisterClientScriptBlock(GetType(), &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;alertMessage&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;, &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;alert(\&amp;quot;&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt; + &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;Link
is empty!&amp;quot;&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt; + &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;\&amp;quot;);&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;, &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;true&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;);&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                &lt;/span&gt;&lt;span style=&#39;font-size:
9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;return&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            }&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:#2B91AF;background:white&#39;&gt;HttpClient&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
client = &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;
background:white&#39;&gt;new&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt; &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:
Consolas;color:#2B91AF;background:white&#39;&gt;HttpClient&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;();&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:#2B91AF;background:white&#39;&gt;HttpResponseMessage&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
response = &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;
background:white&#39;&gt;await&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt; client.GetAsync(txtFileLink.Text);&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            response.EnsureSuccessStatusCode();&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
responseUri = response.RequestMessage.RequestUri.ToString();&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:blue;background:white&#39;&gt;if&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
(!responseUri.Contains(&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:#A31515;background:white&#39;&gt;&amp;quot;www.wetransfer.com&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;))&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            {&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;               
ClientScript.RegisterClientScriptBlock(GetType(), &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;alertMessage&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;, &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;alert(\&amp;quot;&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt; + &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;Make
sure the file link is a WeTransfer file link!&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt; + &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;\&amp;quot;);&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;, &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;true&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;);&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                &lt;/span&gt;&lt;span style=&#39;font-size:
9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;return&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            }&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
fileID = &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;
background:white&#39;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:
Consolas;color:black;background:white&#39;&gt;, recipientID = &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;,
securityHash = &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:#A31515;background:white&#39;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt;;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:blue;background:white&#39;&gt;if&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
(!responseUri.Contains(DOWNLOAD_URL_PARAMS_PREFIX))&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            {&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;               
ClientScript.RegisterClientScriptBlock(GetType(), &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;alertMessage&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;, &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;alert(\&amp;quot;&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt; + &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;File
link is in an unknown format!&amp;quot;&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt; + &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;\&amp;quot;);&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;, &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;true&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;);&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                &lt;/span&gt;&lt;span style=&#39;font-size:
9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;return&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            }&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:blue;background:white&#39;&gt;else&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            {&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                &lt;/span&gt;&lt;span style=&#39;font-size:
9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;[]
splittedLink = responseUri.Split(&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:blue;background:white&#39;&gt;new&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt; &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;[] {
DOWNLOAD_URL_PARAMS_PREFIX }, &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:
Consolas;color:#2B91AF;background:white&#39;&gt;StringSplitOptions&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;.RemoveEmptyEntries);&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                &lt;/span&gt;&lt;span style=&#39;font-size:
9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;if&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
(splittedLink.Length &amp;lt; 2)&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                {&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                   
ClientScript.RegisterClientScriptBlock(GetType(), &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;alertMessage&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;, &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;alert(\&amp;quot;&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt; + &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;File
link is in an unknown format!&amp;quot;&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt; + &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;\&amp;quot;);&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;, &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;true&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;);&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                    &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;return&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                }&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                &lt;/span&gt;&lt;span style=&#39;font-size:
9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;else&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                {&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                    &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;[]
parameters = splittedLink[1].Split(&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;/&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;.ToCharArray(),
&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;color:#2B91AF;
background:white&#39;&gt;StringSplitOptions&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt;.RemoveEmptyEntries);&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                    &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;if&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
(parameters.Length &amp;lt; 2 || parameters.Length &amp;gt; 3)&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                    {&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                       
ClientScript.RegisterClientScriptBlock(GetType(), &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;alertMessage&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;, &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;alert(\&amp;quot;&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt; + &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;File
link is in an unknown format!&amp;quot;&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt; + &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;\&amp;quot;);&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;, &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;true&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;);&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                        &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;return&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                    }&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                    &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;else&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                    {&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                        &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;if&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
(parameters.Length == 2)&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                        {&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                            fileID = parameters[0];&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                            securityHash =
parameters[1];&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                        }&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                        &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;else&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                        {&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                            fileID =
parameters[0];&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                            recipientID =
parameters[1];&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                            securityHash =
parameters[2];&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                        }&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                    }&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                }&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            }&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
directDownloadLink = &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:#A31515;background:white&#39;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt;;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:#2B91AF;background:white&#39;&gt;WebClient&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt; wc =
&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:
white&#39;&gt;new&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;color:black;
background:white&#39;&gt; &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:#2B91AF;background:white&#39;&gt;WebClient&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt;();&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
jsonString = wc.DownloadString(&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:
Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt;.Format(&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;https://www.wetransfer.com/api/v1/transfers/{0}/download?recipient_id={1}&amp;amp;security_hash={2}&amp;amp;password=&amp;amp;ie=false&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;,
fileID, recipientID, securityHash));&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:blue;background:white&#39;&gt;var&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
stringData = (&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:#2B91AF;background:white&#39;&gt;JObject&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt;)&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#2B91AF;background:white&#39;&gt;JsonConvert&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;.DeserializeObject(jsonString);&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:blue;background:white&#39;&gt;byte&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;[]
data = &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;
background:white&#39;&gt;null&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
fileName;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:blue;background:white&#39;&gt;if&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
(stringData.GetValue(&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:#A31515;background:white&#39;&gt;&amp;quot;direct_link&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;) != &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;null&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;)&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            {&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                directDownloadLink = stringData[&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;direct_link&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;].Value&amp;lt;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;&amp;gt;();&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                directDownloadLink = &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#2B91AF;background:white&#39;&gt;HttpUtility&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;.UrlDecode(directDownloadLink);&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                &lt;/span&gt;&lt;span style=&#39;font-size:
9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;int&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
oIndex = directDownloadLink.IndexOf(&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;filename=&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;);&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                &lt;/span&gt;&lt;span style=&#39;font-size:
9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
subStr = directDownloadLink.Substring(oIndex + 9);&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                fileName = directDownloadLink.Substring(oIndex
+ 9, subStr.IndexOf(&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:#A31515;background:white&#39;&gt;&amp;quot;;&amp;quot;&lt;/span&gt;&lt;span style=&#39;font-size:
9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;)).Replace(&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;\&amp;quot;&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;, &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;);&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                wc.UseDefaultCredentials = &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;true&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                data =
wc.DownloadData(directDownloadLink);&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            }&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:blue;background:white&#39;&gt;else&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            {&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                fileName = stringData[&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;fields&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;][&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;filename&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;].Value&amp;lt;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;&amp;gt;();&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                &lt;/span&gt;&lt;span style=&#39;font-size:
9.5pt;font-family:Consolas;color:#2B91AF;background:white&#39;&gt;NameValueCollection&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
myNameValueCollection = &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:blue;background:white&#39;&gt;new&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:
Consolas;color:black;background:white&#39;&gt; &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:#2B91AF;background:white&#39;&gt;NameValueCollection&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;();&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                &lt;/span&gt;&lt;span style=&#39;font-size:
9.5pt;font-family:Consolas;color:#2B91AF;background:white&#39;&gt;Dictionary&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;, &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;&amp;gt;
dict = &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;color:#2B91AF;
background:white&#39;&gt;JsonConvert&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:
Consolas;color:black;background:white&#39;&gt;.DeserializeObject&amp;lt;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#2B91AF;background:white&#39;&gt;Dictionary&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;, &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;&amp;gt;&amp;gt;(stringData.GetValue(&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;fields&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;).ToString());&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                &lt;/span&gt;&lt;span style=&#39;font-size:
9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;foreach&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt; (&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;var&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt; kvp &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;in&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
dict)&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                {&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                   
myNameValueCollection.Add(kvp.Key.ToString(), kvp.Value.ToString());&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                }&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                data =
wc.UploadValues(stringData[&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:
Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;formdata&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;][&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;action&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;].Value&amp;lt;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;&amp;gt;(),
myNameValueCollection);&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            }&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
filePath =  &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:#A31515;background:white&#39;&gt;&amp;quot;C:\\&amp;quot;&lt;/span&gt;&lt;span style=&#39;font-size:
9.5pt;font-family:Consolas;color:black;background:white&#39;&gt; + fileName;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:blue;background:white&#39;&gt;if&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt; (&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#2B91AF;background:white&#39;&gt;File&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;.Exists(filePath))&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            {&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                &lt;/span&gt;&lt;span style=&#39;font-size:
9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
fileNameWithoutExtension = &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:
Consolas;color:#2B91AF;background:white&#39;&gt;Path&lt;/span&gt;&lt;span style=&#39;font-size:
9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;.GetFileNameWithoutExtension(fileName);&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                &lt;/span&gt;&lt;span style=&#39;font-size:
9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;string&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;
fileNameExtension = &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:#2B91AF;background:white&#39;&gt;Path&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt;.GetExtension(fileName);&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                fileName =
fileNameWithoutExtension + &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:
Consolas;color:#2B91AF;background:white&#39;&gt;DateTime&lt;/span&gt;&lt;span style=&#39;font-size:
9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;.Now.ToString(&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;yyyyMMddHHmmssfff&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;) +
fileNameExtension;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            }&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:blue;background:white&#39;&gt;using&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt; (&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#2B91AF;background:white&#39;&gt;FileStream&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt; fs =
&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:
white&#39;&gt;new&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;color:black;
background:white&#39;&gt; &lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:#2B91AF;background:white&#39;&gt;FileStream&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt;(filePath, &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#2B91AF;background:white&#39;&gt;FileMode&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;.Create))&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            {&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;                fs.Write(data, 0, data.Length);&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;            }&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;           
ClientScript.RegisterClientScriptBlock(GetType(), &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;alertMessage&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;, &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;alert(\&amp;quot;&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt; + &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;File
downloaded successfully. File Name:&amp;quot;&lt;/span&gt;&lt;span style=&#39;font-size:9.5pt;
font-family:Consolas;color:black;background:white&#39;&gt; + fileName + &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:#A31515;background:white&#39;&gt;&amp;quot;\&amp;quot;);&amp;quot;&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;, &lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:blue;background:white&#39;&gt;true&lt;/span&gt;&lt;span
style=&#39;font-size:9.5pt;font-family:Consolas;color:black;background:white&#39;&gt;);&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style=&#39;margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:9.5pt;font-family:Consolas;
color:black;background:white&#39;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:9.5pt;line-height:115%;font-family:
Consolas;color:black;background:white&#39;&gt;        }&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/5125354840476706840/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/5125354840476706840' title='5 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/5125354840476706840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/5125354840476706840'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2015/05/c-code-for-downloading-wetransfer-files.html' title='C# Code for Downloading WeTransfer Files (https://www.wetransfer.com/) '/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-1035690538912670677</id><published>2015-04-28T01:47:00.000-07:00</published><updated>2015-04-28T01:47:29.472-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Açma"/><category scheme="http://www.blogger.com/atom/ns#" term="Chrome"/><category scheme="http://www.blogger.com/atom/ns#" term="Genel"/><category scheme="http://www.blogger.com/atom/ns#" term="Kapatılan"/><category scheme="http://www.blogger.com/atom/ns#" term="Sekme"/><title type='text'>Google Chrome&#39;da kapatılan sekmeler nasıl geri yüklenir?</title><content type='html'>Google Chrome&#39;da yanlışlıkla kapatılan sekmeleri tekrar açmak istediğinizde tek yapmanız gereken &lt;b&gt;Ctrl + Shift + T&lt;/b&gt; tuş kombinasyonunu kullanmaktır.&lt;br /&gt;
Ayrıca sağ üst köşedeki &lt;b&gt;&quot;Ayarlar&quot;&lt;/b&gt; butonuna basarak, karşımıza çıkan menüden &lt;b&gt;&quot;Son Sekmeler&quot; &lt;/b&gt;seçeneğine gelerek istediğiniz sayfayı tekrar açabilirsiniz.</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/1035690538912670677/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/1035690538912670677' title='1 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/1035690538912670677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/1035690538912670677'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2015/04/google-chromeda-kapatlan-sekmeler-nasl.html' title='Google Chrome&#39;da kapatılan sekmeler nasıl geri yüklenir?'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-9160615309125506299</id><published>2015-01-08T00:16:00.001-08:00</published><updated>2015-01-08T00:16:36.914-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Back End"/><category scheme="http://www.blogger.com/atom/ns#" term="Developer"/><category scheme="http://www.blogger.com/atom/ns#" term="Front End"/><category scheme="http://www.blogger.com/atom/ns#" term="Nedir"/><title type='text'>Back End ve Front End Nedir?</title><content type='html'>&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #666666; font-family: &#39;open sans&#39;; font-size: 15px; line-height: 24px; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 31px; font-weight: inherit;&quot;&gt;Back End Yazılımcılar&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #666666; font-family: &#39;open sans&#39;; font-size: 15px; line-height: 24px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1.5em 3em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Öncelikle yapılacak web sitesinin, projenin veritabanı şemasını hazırlar.&lt;/li&gt;
&lt;li style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Daha sonra kullanılacak kütüphaneleri seçer ve sistemin arkaplanını hazırlamaya başlar. Burada şunu anlıyoruz&amp;nbsp;&lt;strong style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;back-end&lt;/strong&gt;‘ciler&amp;nbsp;&lt;strong style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;kodlama&lt;/strong&gt;&amp;nbsp;yaparlar.&lt;/li&gt;
&lt;li style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sistemin daha hızlı ve daha güvenilir çalışması&amp;nbsp;&lt;strong style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;back-end developer&lt;/strong&gt;‘in görevidir.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #666666; font-family: &#39;open sans&#39;; font-size: 15px; line-height: 24px; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
3 Başlıkta Back End yazılımcıları geçtim ama sanmayın ki bunlar 2-3 günde bu işlemi tamamlıyorlar. Projenin büyüklüğüne göre bu süreler değişir. Çok büyük bir projeye imza atılacaktır öncelik olarak veritabanı şeması çıkarılır aylarca üzerinde tartışılır “ileride başımıza neler gelebilir gibisinden?” daha sonra bu sistem tamamlanır.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #666666; font-family: &#39;open sans&#39;; font-size: 15px; line-height: 24px; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Kütüphane seçme ve arkaplanı hazırlamaya başlamak bile uzun zaman alıyor buda gene proje büyüklüğüne göre değişen bir durum aslında. Şimdi gelelim Front-End’e…&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #666666; font-family: &#39;open sans&#39;; font-size: 15px; line-height: 24px; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #666666; font-family: &#39;open sans&#39;; font-size: 15px; line-height: 24px; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; border: 0px; box-sizing: border-box; clear: both; color: #666666; display: inline-block; font-family: &#39;open sans&#39;; font-size: 31px; font-weight: inherit; line-height: 24px; margin: 10px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Front End Yazılımcılar&lt;/h2&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #666666; font-family: &#39;open sans&#39;; font-size: 15px; line-height: 24px; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Aslında onlarda yazılımcı diye geçiyor ama ben “Giydiriciler” demek istiyorum kötü anlamda söylemiyorum yaptıkları iş yüzünden bunu yazdım.&lt;/div&gt;
&lt;ul style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #666666; font-family: &#39;open sans&#39;; font-size: 15px; line-height: 24px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1.5em 3em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;UI (&lt;strong style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Kullanıcı Arayüzü&lt;/strong&gt;) tasarımını alır bunu&amp;nbsp;&lt;a href=&quot;http://rooteto.com/kategori/html5&quot; style=&quot;border: 0px; box-sizing: border-box; color: rgb(0, 174, 238) !important; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px !important; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; title=&quot;HTML&quot;&gt;HTML&lt;/a&gt;&amp;nbsp;ve&amp;nbsp;&lt;a href=&quot;http://rooteto.com/kategori/css-css3&quot; style=&quot;border: 0px; box-sizing: border-box; color: rgb(0, 174, 238) !important; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px !important; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; title=&quot;CSS&quot;&gt;CSS&lt;/a&gt;‘e döker.&lt;ul style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; font-weight: inherit; list-style: disc; margin: 0px 0px 0px 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;HTML sayfalar oluşturmaya başlanır.&lt;/li&gt;
&lt;li style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;CSS, Sass, Less tüm bunlar bu safhada oluşturulur.&lt;/li&gt;
&lt;li style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sonra “&lt;strong style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Layout&lt;/strong&gt;” dediğimiz sayfa şablonları oluşturulur.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Son olarak Back End’in yaptığı sisteme entegre etmek kalır.&lt;ul style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; font-weight: inherit; list-style: disc; margin: 0px 0px 0px 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sistem hangi dille yazılmış ise Front-End yazılımcının bu dili biliyor olması gerekiyor. Örneğin:&amp;nbsp;&lt;a href=&quot;http://rooteto.com/etiket/php&quot; style=&quot;border: 0px; box-sizing: border-box; color: rgb(0, 174, 238) !important; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px !important; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; title=&quot;PHP&quot;&gt;PHP&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Entegre edilirken son olarak tasarımdaki rütuşlar yapılır,&amp;nbsp;&lt;a class=&quot;external&quot; href=&quot;http://zjquery.com/&quot; rel=&quot;nofollow&quot; style=&quot;border: 0px; box-sizing: border-box; color: rgb(0, 174, 238) !important; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px !important; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; target=&quot;_blank&quot; title=&quot;Z jQuery&quot;&gt;javascript&lt;/a&gt;&amp;nbsp;kodları ile bazı hareketler katılır.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #666666; font-family: &#39;open sans&#39;; font-size: 15px; line-height: 24px; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Olayı özetlemek gerekirse alttaki fotoğraf herşeyi özetliyor :)&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;open sans&#39;; font-size: 15px; line-height: 24px;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;open sans&#39;; font-size: 15px; line-height: 24px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #666666; font-family: &#39;open sans&#39;; font-size: 15px; line-height: 24px; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;img alt=&quot;grey Back End ve Front End Nedir?&quot; class=&quot;lazy shrinkToFit decoded&quot; data-original=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX4hEeqS88iuulOy5KoFWHsYakmYDDK8M8liZdkdTGKugVuMOF7llz-7dQLfU4xvnjbglI2NViT3pcF9u6ANlUus7I6bvcSvInpNYUivl458wtEwQYQYD2nakmD_tn1Ss5Nt3KW0UkRbQ/s1600/hosteva-front-end-back-end-developers.jpg&quot; height=&quot;959&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX4hEeqS88iuulOy5KoFWHsYakmYDDK8M8liZdkdTGKugVuMOF7llz-7dQLfU4xvnjbglI2NViT3pcF9u6ANlUus7I6bvcSvInpNYUivl458wtEwQYQYD2nakmD_tn1Ss5Nt3KW0UkRbQ/s1600/hosteva-front-end-back-end-developers.jpg&quot; style=&quot;box-sizing: border-box; display: inline; height: auto; margin: 20px 0px; max-width: 100%;&quot; title=&quot;Back End ve Front End Nedir?&quot; width=&quot;829&quot; /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/9160615309125506299/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/9160615309125506299' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/9160615309125506299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/9160615309125506299'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2015/01/back-end-ve-front-end-nedir.html' title='Back End ve Front End Nedir?'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX4hEeqS88iuulOy5KoFWHsYakmYDDK8M8liZdkdTGKugVuMOF7llz-7dQLfU4xvnjbglI2NViT3pcF9u6ANlUus7I6bvcSvInpNYUivl458wtEwQYQYD2nakmD_tn1Ss5Nt3KW0UkRbQ/s72-c/hosteva-front-end-back-end-developers.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-5217352190311788561</id><published>2014-12-29T23:45:00.000-08:00</published><updated>2014-12-29T23:45:07.008-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="autocommit"/><category scheme="http://www.blogger.com/atom/ns#" term="SSMS"/><category scheme="http://www.blogger.com/atom/ns#" term="turn off"/><title type='text'>Sql Server Management Studio&#39;nun auto commit özelliğini kapatma</title><content type='html'>Bildiğimiz üzere SQL Server Management Studio varsayılan olarak Autocommit modunda çalışır. Bunun manası ne zaman bir transaction çalışsa tüm yapılan değişiklikler commit edilir. Yani eğer transaction içerisinde rollback yapmıyorsanız, yaptığınız değişiklikler kalıcı olarak veritabanına kaydedilir.&lt;br /&gt;
Eğer bu özelliği kapatmak istiyorsanız. Aşağıdaki adımları takip edin.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1.&lt;/b&gt; SSMS ile SQL Server&#39;a bağlanın.&lt;br /&gt;
&lt;b&gt;2.&lt;/b&gt; Menüden &lt;b&gt;Tools &amp;nbsp;-&amp;gt; Options&lt;/b&gt; &#39;i seçin.&lt;br /&gt;
&lt;b&gt;3.&lt;/b&gt; Açılan pencereden &lt;b&gt;Query Execution -&amp;gt; SQL Server -&amp;gt; ANSI&lt;/b&gt; tabını seçin.&lt;br /&gt;
&lt;b&gt;4.&lt;/b&gt; SET &lt;b&gt;IMPILICIT_TRANSACTIONS&lt;/b&gt; seçeneğini işaretleyin.&lt;br /&gt;
&lt;b&gt;5.&lt;/b&gt; Sonra &lt;b&gt;OK&lt;/b&gt; butonuna basıp kaydedin.</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/5217352190311788561/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/5217352190311788561' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/5217352190311788561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/5217352190311788561'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2014/12/sql-server-management-studionun-auto.html' title='Sql Server Management Studio&#39;nun auto commit özelliğini kapatma'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-4395337373950737632</id><published>2014-10-10T08:30:00.000-07:00</published><updated>2014-10-31T09:42:25.947-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".net"/><category scheme="http://www.blogger.com/atom/ns#" term="BeginInvoke"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Invoke"/><category scheme="http://www.blogger.com/atom/ns#" term="InvokeRequired"/><category scheme="http://www.blogger.com/atom/ns#" term="Nedir"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Forms"/><title type='text'>InvokeRequired nedir?</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
En basit anlamıyla; Bir windows kontrolünün metoduna, kontrolün yaratıldığı threadin dışında başka bir thread üzerinden erişilmeye çalışıldığında, erişim için bir invoke methoduna ihtiyaç duyup duymadığını belirten bir değerdir.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Eğer kontrol başka bir thread üzerinde yaratılmışsa &lt;b&gt;true&lt;/b&gt;&amp;nbsp;döner aksi halde &lt;b&gt;false&lt;/b&gt;&amp;nbsp;döner.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Windows Forms ta kontroller belli bir thread&#39;e bağlıdır ve thread safe değillerdir. (Hayda thread safe ne yahu?)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Thread Safe:&lt;/b&gt; Bir kaynağa veya fonksiyona herhangi bir zamanda sadece bir tek threadin erişimini garanti etmek gibi diyebiliriz. Bir banka hesabı düşünün &lt;b&gt;ToplamPara&lt;/b&gt; adında bir değişkeni olsun ve bu değişkenin değeri 100 olsun. 2 kişi aynı anda bu banka hesabı üzerinde işlem yapıyor diyelim. Birinci kişi 100 lira para çekmeye çalışsın diğer kişide 100 lira para yatırmaya çalışsın. Her ikisi de aynı anda işlem yapmaya çalıştığı için ekranda 100 lira değerini görüyor. Eğer hesapta bulunan toplam para değerine erişimi bir hizaya dizmez ise birinci kişi 100 lira çektiğinde &lt;b&gt;ToplamPara &lt;/b&gt;değişkeninin değerini 0 (&lt;i&gt;ToplamPara&lt;/i&gt; - 100 = 0) olarak değiştirir . İkinci kişi ise bu değişkeni 200(&lt;i&gt;ToplamPara&lt;/i&gt; + 100 = 200) olarak değiştirir. Sonuçta hesabın &lt;b&gt;ToplamPara&lt;/b&gt; değeri 200 olur ama doğrusu 100 olmalıydı. İşte bunun olmaması için iki kişinin ToplamPara değişkenine aynı anda erişimini engellemeliyiz. İşte Windows forms kontrolleri bunu sağlamayı garanti etmediği için thread safe değillerdir.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
InvokeRequired property&#39;sine ek olarak thread safe olan 4 tane method bulunmaktadır. Bunlar:&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Invoke, BeginInvoke, EndInvoke and CreateGraphics&lt;/span&gt;&amp;nbsp;metodlarıdır.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Eğer kontrolün handle&#39;ı henüz oluşturulmamışsa InvokeRequired, window handle&#39;ı elinde bulunduran form veya window&#39;u bulana kadar kontrolün parentlarını aramaya başlar. Eğer bulamazsa &lt;b&gt;false &lt;/b&gt;değeri döner.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Bunun anlamı, ya kontrolün methoduna erişmek için Invoke kullanmaya gerek yoktur (kontrolün metoduna kontrolün yaratıldığı threadden ulaşılmaya çalışılmaktadır.) ya da kontrol başka bir thread üzerinde yaratılmıştır ama kontrolün handle ı henüz oluşturulmamıştır. (Bir de böyle bişey var malesef!)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Böyle kontrolün handle&#39;ının henüz oluşturulmadığı durumlarda kontrolün property,metod ve eventlerine ulaşmaya çalışmayınız. Çünkü siz ulaşmaya çalıştığınızda handle henüz yeni oluşturuluyor olabilir.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Böyle durumlarda&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;IsHandleCreated&amp;nbsp;&lt;/span&gt;propertysinide kontrol etmeniz gerekmektedir. Handle henüz yaratılmamışsa, &lt;span style=&quot;color: blue;&quot;&gt;Invoke&lt;/span&gt; ya da &lt;span style=&quot;color: blue;&quot;&gt;BeginInvoke&lt;/span&gt; methodunu handle yaratılana kadar çağırmayınız. Bu senaryo çok fazla karşınıza çıkmaz eğer background threadi formun constructorunda oluşturmuyorsanız ya da yada formu göstermeden önce çağırmıyorsanız.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Bunun çözümü ya handle yaratılana kadar bekleyeceksiniz ya da &lt;span style=&quot;color: blue;&quot;&gt;Handle&lt;/span&gt;&amp;nbsp;propertysini çağırarak zorla yaratılmasını sağlayacaksınız.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Umarım InvokeRequired nedir, anlayabilmiş ve anlatabilmişimdir.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/4395337373950737632/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/4395337373950737632' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/4395337373950737632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/4395337373950737632'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2014/10/invokerequired-nedir.html' title='InvokeRequired nedir?'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-4928322229256006401</id><published>2013-12-26T02:33:00.000-08:00</published><updated>2014-10-31T09:45:03.393-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Count"/><category scheme="http://www.blogger.com/atom/ns#" term="Count_Big"/><category scheme="http://www.blogger.com/atom/ns#" term="Fark"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server"/><title type='text'>SQL - Count() ile Count_Big() Fonksiyonları Arasındaki Fark</title><content type='html'>&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Bazen SQL sorgularımızda veritabanındaki kayıtların sayısına ihtiyacımız olabilir. Bunun için genellikle &lt;b&gt;Count()&lt;/b&gt; fonksiyonunu kullanırız. Şimdi SQL Server &lt;b&gt;Count_Big()&lt;/b&gt; isimli başka bir fonkisyona sahip. Kendi kendime bu acaba başka bir aggregate fonksiyonumudur diye sordum. Cevap HAYIR.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;Count()&lt;/b&gt; ve &lt;b&gt;Count_Big() &lt;/b&gt;aslında aynı işi yapan fonksiyonlardır. Aralarındaki tek fark &lt;b&gt;Count() &lt;/b&gt;fonksiyonu Int tipinde bir değer dönderirken &lt;b&gt;Count_Big()&lt;/b&gt; fonksiyonu BigInt tipinde bir değer dönderir.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Yani tablonuzda milyonlarca kayıt varsa &lt;b&gt;Count() &lt;/b&gt;fonksiyonunu kullandığınızda hatayla karşılaşırsınız ancak &lt;b&gt;Count_Big() &lt;/b&gt;fonksiyonunu kullanırsanız hiçbir sorun çıkmaz.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Count() Fonksyionu:&lt;/strong&gt;&lt;br /&gt;
&lt;div class=&quot;syntaxhighlighter nogutter  &quot; id=&quot;highlighter_593358&quot;&gt;
&lt;div class=&quot;lines&quot;&gt;
&lt;div class=&quot;line alt1&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;content&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;code class=&quot;keyword&quot;&gt;Select&lt;/code&gt;&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;&lt;code class=&quot;color2&quot;&gt;Count&lt;/code&gt;&lt;/span&gt;&lt;code class=&quot;plain&quot;&gt;(Column_Name) &lt;/code&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;code class=&quot;keyword&quot;&gt;From&lt;/code&gt;&lt;/span&gt; &lt;code class=&quot;plain&quot;&gt;Table_Name&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;strong&gt;Count_Big Fonction :&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;code class=&quot;keyword&quot;&gt;Select&lt;/code&gt;&lt;/span&gt; &lt;code class=&quot;plain&quot;&gt;&lt;span style=&quot;color: magenta;&quot;&gt;Count_Big&lt;/span&gt;(Column_Name) &lt;/code&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;code class=&quot;keyword&quot;&gt;From&lt;/code&gt;&lt;/span&gt; &lt;code class=&quot;keyword&quot;&gt;Table&lt;/code&gt; &lt;code class=&quot;keyword&quot;&gt;Name&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/4928322229256006401/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/4928322229256006401' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/4928322229256006401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/4928322229256006401'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2013/12/sql-count-ile-countbig-fonksiyonlar.html' title='SQL - Count() ile Count_Big() Fonksiyonları Arasındaki Fark'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-7366500141669421259</id><published>2012-09-21T05:34:00.003-07:00</published><updated>2014-10-31T09:45:24.183-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Agile"/><category scheme="http://www.blogger.com/atom/ns#" term="Diğer"/><category scheme="http://www.blogger.com/atom/ns#" term="Scrum"/><title type='text'>Scrum Nedir</title><content type='html'>Scrum, kısa döngüler ile çıktı üretme ve sürekli iyileştirme felsefesi üzerine oturan “çevik” proje yönetimi uygulamalarından biridir. Diğer çevik metodlojilere; eXtreme Programming, Adaptive Software Development, Crystal Clear, Feature Driven Development ve Lean Software Development örnek olarak verilebilir. Bunlar arasında en popüler olanları Extreme Programming ve Scrum’dır. Microsoft Solutions Framework Agile metodolojiler için de süreç kılavuzları sunmaktadır.&lt;br /&gt;
&lt;br /&gt;
Scrum Jeff Sutjerland ve Ken Schawaber tarafından 1990’ların ortalarında geliştirilmiştir. Kapsam perspektifinden bakıldığında yüksek seviyede belirsizlik arzeden projelerde son yıllarda yoğun biçimde uygulanan ve başarılı sonuçlar üreten bir tür metololidir. Scrum, küçük takımlarda (20 kişiden az) uygulaması kolay olan bir proje yönetimi yöntemi olup, büyük projelerde takımların küçük parçalara ayrılması ile etkinleştirilir. Scrum değişimi bir istisna olarak görmeyen, adaptif sistem geliştirme hayat döngüsü perspektiflerinin genel özelliğine paralel olarak proje kapsamının proje boyunca sürekli değişeceğini en baştan kabul eden bir yöntemdir. Bu kabul doğrultusunda Scrum, fazla dokümantasyon yapmadan, kısa periyotlarda geliştirme yapılıp, sonuçların müşteriye sıkça gösterildiği ve geribeslemeler doğrultusunda geliştirmelerin yönünün sürekli değiştiği, gereksiz geliştirmelerin minimuma indirilmeye çalışıldığı bir sürecin yönetimini üstlenir.&lt;br /&gt;
&lt;br /&gt;
Scrum’ın süreçlerini kısaca ifade etmekte fayda var. Bu bağlamda Product Backlog, Sprint Backlog, Sprint ve Scrum toplantılarına kısaca değinelim. Scrum projelerinde ilk yapılan proje sponsorları ile bir masaya oturulup projenin kapsamını ifade eden “Product Backlog”u çıkartmaktır. “Product Backlog” proje sonunda üretilmesi beklenen sistemin özellik ve fonksiyonlarının önceliklerine göre yazıldığı bir liste dokümanıdır. Bu dokümanda, sponsorun ihtiyaçları ve istekleri öncelik sırasına konarak listelenir. Proje süresince bu doküman proje sponsoru tarafından sürekli güncellenir; yeni fonksiyon ve özellikler listeye eklenir, mevcut fonksiyon ve özelliklerin öncelikleri değiştirilebilir.&lt;br /&gt;
&lt;br /&gt;
Scrum yöntemi ile yönetilen projeler “sprint” denilen fazlara ayrılır. Herbir “sprint”in süresi genellikle (en fazla) 30 gündür. İdeal olan proje boyunca boyunca tüm “sprint”ler aynı süreli olur. Proje takımı (scrum team), proje yöneticisi (scrum master) ile her sprint başlangıcında masaya oturarak yeni “sprint” dahilinde geliştirilecek özellik ve fonksiyonları belirler. Bu süreçte seçilen fonksiyon ve özellikler daha önceden oluşturulmuş ve sürekli güncellenen Product Backlog listesindeki sıra ile en öncelikli olanlardır. Hiçbir zaman önceliği düşük bir özellik veya fonskyon önceliği yüksek bir özellik veya fonskyiondan önce geliştirilemez. Bu bağlamda bazı “sprint”lerde proje takımı, Product Backlog’dan 4 eleman, bazı sprint’lerde 25 eleman seçebilir. Seçilen özellik ve fonksiyonlar Sprint Backlog denilen ikinci bir listeye aktarılır. Proje takımı bir sonraki sprint başlangıcına kadar bir daha Product Backlog’a bakmaz, o sprint dahilinde sadece ilgili Sprint Backlog listesine odaklanır.&lt;br /&gt;
&lt;br /&gt;
Sprint Backlog dahilindeki her özellik veya fonsksiyon için maksimum 3 günlük geliştirme süresi verilir. Bu sürede sözkonusu elemanın geliştirmesinin tamamlanmasına çalışılır. Scrum takımı her sabah Scrum Master eşliğinde “Scrum” denilen günlük toplantısını yapar. Bu toplantıya tüm takım üyeleri katılmak zorundadır. Scrum toplantısına proje takımı dışındaki diğer proje paydaşları da katılabilir; ancak onların toplantı sırasında kesinlikle konuşma hakları yoktur; sadece dinleyici olabilirler. Konuşan paydaşlar bir sonraki “Scrum” toplantısına alınmaz. Scrum toplantılarında kimse oturmaz; herkes ayaktadır. Scrum toplantısında bir önceki gün yapılanlar, o gün yapılacaklar, karşılaşılan ve karşılaşılabilecek riskler tartışılır. Scrum toplantısı en fazla 15 dakika sürer.&lt;br /&gt;
&lt;br /&gt;
Her sprint sonunda sprint raporu çıkarılır. Bu rapor dikey ekseni kalan Sprint Backlog’da bulunan ve daha geliştirilmemiş özellik ve fonskyion sayısını, yatay ekseni sprint gün sayısını gösteren iki eksenli basit bir rapordur. Her sprint için bir adet sprint raporu çıkarılır ve günlük olarak Scrum Master tarafından güncellenir. Sprint’in ilk günü yatay eksendeki değer en yüksektir, sprint sonuna doğru aşağıya doğru eğimli bir çizgi oluşur. </content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/7366500141669421259/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/7366500141669421259' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/7366500141669421259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/7366500141669421259'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2012/09/scrum-nedir.html' title='Scrum Nedir'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-6833727730625621211</id><published>2012-08-09T07:48:00.001-07:00</published><updated>2014-10-31T09:47:46.764-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Diğer"/><category scheme="http://www.blogger.com/atom/ns#" term="game"/><category scheme="http://www.blogger.com/atom/ns#" term="snake"/><category scheme="http://www.blogger.com/atom/ns#" term="Youtube"/><category scheme="http://www.blogger.com/atom/ns#" term="yılan"/><title type='text'>YouTube’da Yılan Oyunu Nasıl Oynanır ?</title><content type='html'>&lt;div class=&quot;tekilresim&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkTUYYYcgODPMOM54iAHpwWZc3T5oL7pMd3bnVSR7ETI2SfFMDo0atYG8IbJq_f6roCArE1Jjdt7iSimG-whcj2fYm5cW33-SYxKhy76nM2av4AUJvOnz0IOOfQKEEueLL-MYdPVrtU3Fh/s1600/youtube-yilan-oyunu.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkTUYYYcgODPMOM54iAHpwWZc3T5oL7pMd3bnVSR7ETI2SfFMDo0atYG8IbJq_f6roCArE1Jjdt7iSimG-whcj2fYm5cW33-SYxKhy76nM2av4AUJvOnz0IOOfQKEEueLL-MYdPVrtU3Fh/s1600/youtube-yilan-oyunu.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
Youtube’da videolarınız geç yüklendiği için canınız mı sıkılıyor? 
Sorun değil. İlginç ve yaratıcı şeylerin uzmanı google, bu probleme de 
bir çözüm üretmiş. Hemde çok eğlenceli bir çözüm &lt;img alt=&quot;:)&quot; class=&quot;wp-smiley&quot; src=&quot;http://www.ekstrabilgi.net/wp-includes/images/smilies/icon_smile.gif&quot; /&gt;
  Video yüklenirken, sadece bir iki tuşa basarak hemen bir yılan oyunu 
açabilir ve oynayabilirsiniz. Siz bu oyunu oynarken bırakın video arkada
 yüklensin. Peki hangi tuş kombinasyonuyla bu eğlenceli yılan oyununu 
açabiliriz? Cevabı tabikide bu yazımızın devamında.&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;b&gt;Peki youtube’da yılan oyunu nasıl oynarız?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
Yılan oyununu oynamak için herhangi bir video sayfasına girin. Daha 
sonra video’nun üzerine tıklayarak video’yu durdurun. Klavyedeki yön 
tuşlarından sol yön tuşuna beş saniye kadar basılı tutun. Hemen ardından
 elinizi çekmeden yukarı yön tuşuna basın ve yılan oyununun keyfini 
çıkarın &lt;img alt=&quot;:)&quot; class=&quot;wp-smiley&quot; src=&quot;http://www.ekstrabilgi.net/wp-includes/images/smilies/icon_smile.gif&quot; /&gt; &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/6833727730625621211/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/6833727730625621211' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/6833727730625621211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/6833727730625621211'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2012/08/youtubeda-ylan-oyunu-nasl-oynanr.html' title='YouTube’da Yılan Oyunu Nasıl Oynanır ?'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkTUYYYcgODPMOM54iAHpwWZc3T5oL7pMd3bnVSR7ETI2SfFMDo0atYG8IbJq_f6roCArE1Jjdt7iSimG-whcj2fYm5cW33-SYxKhy76nM2av4AUJvOnz0IOOfQKEEueLL-MYdPVrtU3Fh/s72-c/youtube-yilan-oyunu.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-7664332262090417117</id><published>2012-05-24T01:59:00.001-07:00</published><updated>2012-05-24T01:59:32.441-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Field"/><category scheme="http://www.blogger.com/atom/ns#" term="Reflection"/><title type='text'>C# Reflection Field Example</title><content type='html'>&lt;br /&gt;
You have a class with instance or static &lt;b&gt;fields&lt;/b&gt; of any type in your C#
program and want to loop through those fields and display their names and values.
The System.Reflection namespace in the .NET Framework provides a powerful and maintainable
way to enumerate fields and properties.
We see how you can loop through fields using reflection.&lt;br /&gt;
&lt;h2&gt;
Example&lt;/h2&gt;
In the .NET Framework, every program is compiled into an assembly containing
metadata, which is an abstract binary representation of the program&#39;s structure.
This improves the options you have when executing your program, as you can explore
the string data stored in the executable to access field and property names.&lt;br /&gt;
&lt;b&gt;This
example demonstrates&lt;/b&gt;
a static class with four fields of type Int32 and String. It
obtains the FieldInfo objects for those fields and then displays them in
a public method.&lt;br /&gt;
&lt;br /&gt;

&lt;a href=&quot;http://www.dotnetperls.com/static-class&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.dotnetperls.com/string&quot;&gt;&lt;/a&gt;&lt;div id=&quot;y&quot;&gt;
This C# example program uses reflection on fields in a static class.&lt;/div&gt;
&lt;pre&gt;&lt;b&gt;Program that uses reflection on fields [C#]&lt;/b&gt;

using System;
using System.Reflection;

static class ReflectionTest
{
    public static int Height;
    public static int Width;
    public static int Weight;
    public static string Name;

    public static void Write()
    {
 Type type = typeof(ReflectionTest); &lt;i&gt;// Get type pointer&lt;/i&gt;
 FieldInfo[] fields = type.&lt;u&gt;GetFields&lt;/u&gt;(); &lt;i&gt;// Obtain all fields&lt;/i&gt;
 foreach (var field in fields) &lt;i&gt;// Loop through fields&lt;/i&gt;
 {
     string name = field.&lt;u&gt;Name&lt;/u&gt;; &lt;i&gt;// Get string name&lt;/i&gt;
     object temp = field.&lt;u&gt;GetValue&lt;/u&gt;(null); &lt;i&gt;// Get value&lt;/i&gt;
     if (temp is int) &lt;i&gt;// See if it is an integer.&lt;/i&gt;
     {
  int value = (int)temp;
  Console.Write(name);
  Console.Write(&quot; (int) = &quot;);
  Console.WriteLine(value);
     }
     else if (temp is string) &lt;i&gt;// See if it is a string.&lt;/i&gt;
     {
  string value = temp as string;
  Console.Write(name);
  Console.Write(&quot; (string) = &quot;);
  Console.WriteLine(value);
     }
 }
    }
}

class Program
{
    static void Main()
    {
 ReflectionTest.Height = 100; &lt;i&gt;// Set value&lt;/i&gt;
 ReflectionTest.Width = 50; &lt;i&gt;// Set value&lt;/i&gt;
 ReflectionTest.Weight = 300; &lt;i&gt;// Set value&lt;/i&gt;
 ReflectionTest.Name = &quot;Perl&quot;; &lt;i&gt;// Set value&lt;/i&gt;
 ReflectionTest.&lt;u&gt;Write&lt;/u&gt;(); &lt;i&gt;// Invoke reflection methods&lt;/i&gt;
    }
}

&lt;b&gt;Output&lt;/b&gt;

Height (int) = 100
Width (int) = 50
Weight (int) = 300
Name (string) = Perl&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/7664332262090417117/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/7664332262090417117' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/7664332262090417117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/7664332262090417117'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2012/05/c-reflection-field-example.html' title='C# Reflection Field Example'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-502501337670169653</id><published>2012-04-20T05:49:00.000-07:00</published><updated>2012-04-20T05:49:48.465-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Request Validation"/><category scheme="http://www.blogger.com/atom/ns#" term="validateRequest"/><title type='text'>A potentially dangerous Request.Form value was detected from the client</title><content type='html'>&lt;div class=&quot;post-header&quot;&gt;  &lt;/div&gt;&quot;A potentially dangerous Request.Form value was detected from the  client&quot; hatası .NET Framework 1.1 ile gelen ve .NET Framework 2.0 da da  bulunan &lt;em&gt;&quot;Request Validation&quot; &lt;/em&gt;özelliğinden kaynaklanmaktadır.  Kullanımındaki amaç script kodları yada html kodları aracılığıyla  yapılabilecek script injection&#39;larına engel olmaktır. Mesela bir  textbox&#39;ın içersinde &quot;&amp;lt;&quot; yada &quot;&amp;gt;&quot; işaretleri yerleştirecek  olursanız form submit edildiği an hata ile karılaşırsınız.&lt;br /&gt;
&lt;br /&gt;
Ancak bazı durumlarda kullanıcının bunu yapmasına müsade etmemiz gerekebilir.&lt;br /&gt;
&lt;br /&gt;
Bu sorunu çözmenin 2 yolu var&lt;br /&gt;
&lt;span style=&quot;color: #006600;&quot;&gt;1)  web.config de Request Validation&#39;ı disable etmek (tüm uygulama için  geçerli olacaktır)  &lt;pages validaterequest=&quot;false&quot;&gt; &lt;/pages&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #006600;&quot;&gt;2) Bu sorunu çözmek istediğiniz sayfa için @Page yönergesine validateRequest=false yazmak.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Ref &lt;a href=&quot;http://kb.seekdotnet.com/ViewArticle/42data.aspx&quot; target=&quot;_blank&quot;&gt;http://kb.seekdotnet.com/ViewArticle/42data.aspx&lt;/a&gt;&lt;span style=&quot;color: #006600;&quot;&gt; &lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/502501337670169653/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/502501337670169653' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/502501337670169653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/502501337670169653'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2012/04/potentially-dangerous-requestform-value.html' title='A potentially dangerous Request.Form value was detected from the client'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-128463775363601770</id><published>2011-09-23T06:31:00.000-07:00</published><updated>2014-10-31T09:49:32.350-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Diğer"/><category scheme="http://www.blogger.com/atom/ns#" term="iflas"/><category scheme="http://www.blogger.com/atom/ns#" term="para"/><category scheme="http://www.blogger.com/atom/ns#" term="ülke"/><title type='text'>Bir ülke iflas ederse ne olur?</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f2f2f2; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 1em; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Bir ülkenin iflas etmesi o ülkenin yükümlülüklerini yerine getirememesi anlamına geliyor. Yani bir ülke memur maaşlarını, borçlarını ödeyemiyorsa teknik anlamda iflas etmiş olarak kabul ediliyor.&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f2f2f2; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f2f2f2; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 1em; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f2f2f2; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;Bugüne&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f2f2f2; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;kadar hiçbir ülke memurlarına maaş ödemeyle, alacaklılarına borç ödeme arasında seçim yapmak zorunda kaldığında alacaklıları tercih etmedi. Yani aralarında silahlı kuvvetlerinde yer aldığı memurlara maaşları öyle ya da böyle ödenirken, diğer alacaklılara para yok deniliyor.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1em; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f2f2f2; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;Bir ülke ben borçlarımı ödemiyorum dediğinde, banka ya da kişilerde olduğu gibi alacaklılar kapısına gelip, mallarına haciz koyamıyor.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1em; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f2f2f2; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;Peki iflas eden ülkenin başına neler geliyor? Bugüne kadar ülke iflaslarının hiçbirisinde devletler alacaklılarına size hiç para ödemeyeceğim demedi.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1em; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f2f2f2; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;Genelde yapılan &#39;Ben iflas ettim, size olan borçlarımın bir kısmını sileceğim. Kalanını da uzun bir vadede ödeyeceğim&#39; şeklinde bir dayatma oluyor.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1em; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f2f2f2; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;Örneğin Arjantin 2003 yılında &#39;Ben iflas ettim&#39; dediğinde borçlarının dörtte üçünü sildi. Arjantin&#39;e borç veren dev bankalar ve bu ülkenin bonolarını alan 500 bin yatırımcı paralarının yüzde 75&#39;ini kaybetti.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1em; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f2f2f2; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;Ancak bir ülkenin &#39;Ben borçlarımı ödemiyorum&#39; demesi öyle kolay değil. Böyle bir şey yapan ülkeye yatırımcılar bunun faturasını daha sonra mutlaka ödetiyor.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1em; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f2f2f2; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;O ülkenin bir daha dünya piyasalarından kolay kolay borç bulması mümkün olmuyor. Bulunan borcun faizi de son derece yüksek oluyor.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/128463775363601770/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/128463775363601770' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/128463775363601770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/128463775363601770'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2011/09/bir-ulke-iflas-ederse-ne-olur.html' title='Bir ülke iflas ederse ne olur?'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-3374361410074555665</id><published>2011-08-16T02:24:00.000-07:00</published><updated>2014-10-31T09:50:04.295-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Alt Satır"/><category scheme="http://www.blogger.com/atom/ns#" term="Diğer"/><category scheme="http://www.blogger.com/atom/ns#" term="Excel"/><title type='text'>Excel&#39;de hücre içinde bir alt satıra nasıl geçilir?</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 5px; -webkit-border-vertical-spacing: 5px; color: #444444; font-family: &#39;Lucida Grande&#39;, &#39;Trebuchet MS&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Excel&#39;de bir hücreye bir satırdan fazla veri girmek istiyorsanız Enter tuşuna bastığınızda o hücre içinde bir alt satıra geçmek yerine bir sonraki hücreye geçtiğini acı bir şekilde farkedeceksiniz&amp;nbsp;&lt;img alt=&quot;:mrgreen:&quot; src=&quot;http://www.bilgisayar.gen.al/f/images/smilies/icon_mrgreen.gif&quot; style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;Bay Yeşil&quot; /&gt;&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Çeşitli tuş kombinasyonları deneyip doğru olanı buluncaya kadar sinir katsayınızı artırmadan önce cevabı forumlarda arama başlayan arkadaşlar için&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Excel&#39;de bir hücrede bir alt satıra geçmenin formülü:&amp;nbsp;&lt;span style=&quot;font-size: 15px; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;ALT + ENTER&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/3374361410074555665/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/3374361410074555665' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/3374361410074555665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/3374361410074555665'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2011/08/excelde-hucre-icinde-bir-alt-satra-nasl.html' title='Excel&#39;de hücre içinde bir alt satıra nasıl geçilir?'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-7808058343405085811</id><published>2011-07-27T01:41:00.000-07:00</published><updated>2011-07-27T01:41:33.068-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Generic Sınıf"/><category scheme="http://www.blogger.com/atom/ns#" term="Generics"/><title type='text'>C# Generic Sınıflara Giriş #2</title><content type='html'>&lt;h2 class=&quot;dtH1&quot; style=&quot;color: #3f529c; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 1.538em; font-weight: bold;&quot;&gt;Generics Nedir&lt;/h2&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Generics size tip-güvenliği ve performansı düşünmeden generic sınıflar yapabilmenizi sağlar.Sunucuyu yanlızca bir kere generic sunucu olarak implement edersiniz, aynı zamanda istediğiniz tip için kullanabilrsiniz. Bunu yapabilmek için &amp;lt; ve &amp;gt; parantezlerinin içine kullanacağımız tipi yazarız. Mesela aşağıda bir generic stack yapısının nasıl olduğu &amp;nbsp;görülmektedir:&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; white-space: normal;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; white-space: normal;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; white-space: normal;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;public class Stack&lt;t&gt;
{
   T[] m_Items; 
   public void Push(T item)
   {...}
   public T Pop()
   {...}
}
Stack&lt;int&gt; stack = new Stack&lt;int&gt;();
stack.Push(1);
stack.Push(2);
int number = stack.Pop();
&lt;/int&gt;&lt;/int&gt;&lt;/t&gt;&lt;/pre&gt;&lt;b&gt;Kod Blok 2&lt;/b&gt;&amp;nbsp;generic stack yapısını göstermektedir. &amp;nbsp;&lt;b&gt;Kod Blok 1&lt;/b&gt;&amp;nbsp;ile&amp;nbsp;&lt;b&gt;Kod Blok 2&lt;/b&gt;&amp;nbsp;yi karşılaştırın göreceksiniz ki, Stack tanımı haricindeki her yerde &amp;nbsp;&lt;b&gt;Code block 1&lt;/b&gt;&amp;nbsp;deki&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;object &lt;/span&gt;yerine&amp;nbsp;&lt;b&gt;Kod Blok 2&lt;/b&gt;, ye T yerleştirilmiştir:
&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;public class Stack&lt;t&gt;
{...}
&lt;/t&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;Generic stack yapısını kullanırken compiler ı generic parametre olan T yerine hangi tipin kullanılacağını hem stack yapısını tanımlarken hemde başlatırken bilgilendirmemiz gerekiyor:

&lt;pre class=&quot;code&quot;&gt;Stack&lt;int&gt; stack = new Stack&lt;int&gt;();
&lt;/int&gt;&lt;/int&gt;&lt;/pre&gt;Compiler ve runtime geri kalan herşeyi yapar.

&lt;div class=&quot;label&quot;&gt;&lt;b&gt;Kod Blok 2. Generic Stack Yapısı&lt;/b&gt;&lt;/div&gt;&lt;pre class=&quot;code&quot;&gt;public class Stack&lt;t&gt;
{
   readonly int m_Size; 
   int m_StackPointer = 0;
   T[] m_Items;
   public Stack():this(100)
   {}
   public Stack(int size)
   {
      m_Size = size;
      m_Items = new T[m_Size];
   }
   public void Push(T item)
   {
      if(m_StackPointer &amp;gt;= m_Size) 
         throw new StackOverflowException();
      m_Items[m_StackPointer] = item;
      m_StackPointer++;
   }
   public T Pop()
   {
      m_StackPointer--;
      if(m_StackPointer &amp;gt;= 0)
      {
         return m_Items[m_StackPointer];
      }
      else
      {
         m_StackPointer = 0;
         throw new InvalidOperationException(&quot;Cannot pop an empty stack&quot;);
      }
   }
}&lt;/t&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/7808058343405085811/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/7808058343405085811' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/7808058343405085811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/7808058343405085811'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2011/05/c-generic-snflara-giris-2.html' title='C# Generic Sınıflara Giriş #2'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-3945388179790236048</id><published>2011-07-23T12:39:00.000-07:00</published><updated>2011-07-23T12:39:17.601-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogger Help"/><category scheme="http://www.blogger.com/atom/ns#" term="SEO"/><category scheme="http://www.blogger.com/atom/ns#" term="Site Map"/><title type='text'>Site Haritası Oluşturma ve Web Yönetici Araçlarına Kayıt</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;Google, Web Master Tools ile hızlı, kolay ve iyi şekilde siteniz hakkında detaylı bilgiye sahip olabilir. Aynı zamanda Web Master Tools&#39;a kayıt olmak Arama Motoru Optimizasyonu (SEO) içinde faydalı olacaktır. Web Yönetici Araçları&#39;na blogunuzun site haritasını yükleyebilir ve böylelikle Google&#39;ın sizin siteniz hakkında bilgi sahibi olmasını sağlayabilirsiniz.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;more&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h2 style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #050505; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 26px; line-height: 28px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 14px;&quot;&gt;Web Yönetici Araçlarını Kullanmak için Sebepleriniz Var&lt;/h2&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;b style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;1.&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;Site haritası oluşturmak.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;b style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;2.&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;İçerik Analizi Yapabilmek; Sitenize giden bağlantılar, Anahtar Kelimeler, İç bağlantılar, Abone istatistiklerinizi inceleyebilirsiniz.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;b style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;3.&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;Sitenizdeki URL&#39;leri Bulunamadı, Erişilemiyor, HTTP, Site Haritaları içerisinde, Zaman aşımına uğradı, robots.txt ile kısıtlanıyor, İzlenemiyor gibi kategorilere ayrılmış listeler yardımı ile kolayce görüntüleyebilme ve varsa sorunları düzenlem imkanı.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;b style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;4.&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;Harici Bağlantılar: Sitenize başka sitelerce verilmiş olan bağlantıları görüntüleme imkanı.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;b style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;5.&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;Harici Bağlantıların içeriği hakkında bilgi.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;b style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;6.&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;URL İndekslenme: Google tarafından hale hazırda indekslenmiş olan bir içeriğin indekslenmesini istemiyorsanız URL&#39;yi kaldırma imkanı.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;Liste benzer maddelerle daha da uzatılabilir.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;Wordpress gibi diğer blog platformlarında hazır eklentilerle oluşturulabilen Site Haritasını Blogger&#39;da oluşturmak için atom.xml beslemesini kullanabiliriz. Eğer halen site haritanızı Web Yönetici Araçlarına kaydettirmediyseniz, vakit kaybetmeden&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;a href=&quot;https://www.google.com/webmasters/tools/home?hl=tr&quot; style=&quot;color: #187890; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot; title=&quot;Web Yönetici Araçları&quot;&gt;Web Yönetici Araçları&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;na kayıt olun. Kayıt işleminden sonra var olan sitenizi kayıt ettirmelisiniz. Size verilecek olan kodu istenlen yere yerleştirin ve&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;b style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;sitenizi doğrulayın&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;Doğrulama işleminden sonra, site haritası eklemek istediğiniz blogunuzu&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;a href=&quot;https://www.google.com/webmasters/tools/home?hl=tr&quot; style=&quot;color: #187890; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot; title=&quot;Web Yönetici Araçları&quot;&gt;Web Yönetici Araçları&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;da seçin. Açılan pencerede sayfanın solunda yer alan Kontrol Panelinden Site Yapılandırma &amp;gt; Site Haritaları yolunu izleyin ve Bir Site Haritası Gönderdin seçeneğine tıklayın açıan kutucuğa alttaki gibi Site Haritanızı ekleyin;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;http://blogadiniyaz.blogspot.com/atom.xml?redirect=false&amp;amp;max-results=100&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;ya da&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;http://www.siteadiniyaz.com/atom.xml?redirect=false&amp;amp;max-results=100&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;* Eğer besleme için Feedburner kullanıyorsanız,&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;b style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;?redirect=false&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;kodunu eklediğinizde hata kodu alabilirsiniz.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;b style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;max-results=100&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;kodu sitenizde yer alan son 100 yazınızın site haritanızda yer almasını sağlayacaktır.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;Eğer sitenizde&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;b style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;100&#39;den fazla sayıda yazınız varsa&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;atom.xml?redirect=false&amp;amp;start-index=101&amp;amp;max-results=100&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;Eğer sitenizde 200&#39;den fazla sayıda yazınız varsa;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;atom.xml?redirect=false&amp;amp;start-index=201&amp;amp;max-results=100&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;Daha fazla yazınız varsa benzer şekilde ilerleyebilirsiniz.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;b style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;h3 style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #232323; font-family: Arial, Helvetica; font-size: 16px; line-height: 28px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Site Haritası Hazırlamak için Farklı Yöntemler&lt;/h3&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;En önerilen yöntem Web Yönetici Araçları ile Site haritası oluşturmaktır. Ancak merak edenler için site haritası oluşturmaya olanak sağlayan birkaç siteden de bahsetmek isterim.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;a href=&quot;http://www.xml-sitemaps.com/&quot; rel=&quot;nofollow&quot; style=&quot;color: #187890; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot; title=&quot;XML-Sitemaps&quot;&gt;xml-sitemaps.com&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;sitesiyle bilgisayarınıza herhangi bir program yüklemeden, bedava olarak site haritası oluşturabiliyorsunuz. Oluşturulan site haritası Google, Yahoo!, Live Search başta olmak üzere tüm arama motorlarına uygun. 500 sayfalık limiti var.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;a href=&quot;http://writemaps.com/&quot; rel=&quot;nofollow&quot; style=&quot;color: #187890; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot; title=&quot;Write Maps&quot;&gt;WriteMaps&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;, online olarak site haritası oluşturmanıza, düzenlemenize ve paylaşmanıza izin veren web tabanlı ücretsiz bir araç.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;* FTP tipindeki Blogger blogları için;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;a href=&quot;http://gsitecrawler.com/&quot; rel=&quot;nofollow&quot; style=&quot;color: #187890; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot; title=&quot;Gsite Crawler&quot;&gt;Gsite Crawler&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #050505; font-family: Arial, Helvetica; font-size: 12px; line-height: 21px;&quot;&gt;gibi Site Haritaları oluşturabileceğiniz farklı sitelerde kullanılabilir.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/3945388179790236048/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/3945388179790236048' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/3945388179790236048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/3945388179790236048'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2011/07/site-haritas-olusturma-ve-web-yonetici.html' title='Site Haritası Oluşturma ve Web Yönetici Araçlarına Kayıt'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-275459007620206155</id><published>2011-07-13T01:08:00.000-07:00</published><updated>2011-07-13T01:08:35.255-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Komut Satırı"/><category scheme="http://www.blogger.com/atom/ns#" term="Server"/><category scheme="http://www.blogger.com/atom/ns#" term="sql"/><title type='text'>İpucu: SQL Server Servislerini Komut Satırından Yönetme</title><content type='html'>SQL Server Servislerini tıpkı diğer servsilerde olduğu gibi komut satırından başlatabilir, durdurabilir veya duraksatabilirsiniz. Varsayılan veritabanını yönetmek için şu komutları komut satırında kullanabilirsiniz:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;NET START MSSQLSERVER&lt;/b&gt; SQL Server&#39;ı bir servis olarak başlatır.&lt;br /&gt;
&lt;b&gt;NET STOP MSSQLSERVER&lt;/b&gt; Servis olarak çalışan SQL Server&#39;ı &amp;nbsp;durdurur.&lt;br /&gt;
&lt;b&gt;NET PAUSE MSSQLSERVER&lt;/b&gt;&amp;nbsp;Servis olarak çalışan SQL Server&#39;ı duraksatır.&lt;br /&gt;
&lt;b&gt;NET CONTINUE MSSQLSERVER&lt;/b&gt;&amp;nbsp;Duraksatılan SQL Server&#39;ı kaldığı yerden devam ettirir.&lt;br /&gt;
&lt;br /&gt;
Diğer adlandırılmış SQL Server örneklerini ( Named Instances) yönetmek için şu komutları kullanabilirsiniz:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;b&gt;NET START MSSQLSERVER$instancename&lt;/b&gt; SQL Server&#39;ı bir servis olarak başlatır.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;b&gt;NET STOP MSSQLSERVER$instancename&lt;/b&gt;&amp;nbsp;Servis olarak çalışan SQL Server&#39;ı &amp;nbsp;durdurur.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;b&gt;NET PAUSE MSSQLSERVER$instancename&lt;/b&gt;&amp;nbsp;Servis olarak çalışan SQL Server&#39;ı duraksatır.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;b&gt;NET CONTINUE MSSQLSERVER$instancename&lt;/b&gt;&amp;nbsp;Duraksatılan SQL Server&#39;ı kaldığı yerden devam ettirir.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/275459007620206155/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/275459007620206155' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/275459007620206155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/275459007620206155'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2011/07/ipucu-sql-server-servislerini-komut.html' title='İpucu: SQL Server Servislerini Komut Satırından Yönetme'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-1011943737880844115</id><published>2011-06-28T07:01:00.000-07:00</published><updated>2011-06-28T07:01:27.461-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server 2008"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server 2008 R2"/><category scheme="http://www.blogger.com/atom/ns#" term="SSMS"/><title type='text'>SSMS 2008 - Saving changes is not permitted</title><content type='html'>&lt;div style=&quot;color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;“&lt;strong style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created&lt;/strong&gt;.” hatası SQL Server 2008 den sonra ortaya çıkan ve bizleri bir miktar bunaltan bir hata çeşididir. Çünkü hatanın çözümü için sizlere önerdiği yol değiştirmek istediğiniz tablonun yeniden oluşturulmasıdır.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuoxIlYKr8Fgws_lyiPHtL91ITRlorMwC5PQh1yJtlD7sAj-gxiAjkYRepGROEoIVuUC8YM2HeaVIwOANekzSbUTPs8roQWxh1LMYSRY-xtubi285RX-m72qUrAr5XfUlvG8YJ9OxRRzJ8/s1600/Hata1.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;316&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuoxIlYKr8Fgws_lyiPHtL91ITRlorMwC5PQh1yJtlD7sAj-gxiAjkYRepGROEoIVuUC8YM2HeaVIwOANekzSbUTPs8roQWxh1LMYSRY-xtubi285RX-m72qUrAr5XfUlvG8YJ9OxRRzJ8/s400/Hata1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;SQL Server 2008 ile beraber ortaya çıkan bu hata çeşidi, sizlere SQL Server Management Studio nun bir hediyesidir. SQL Server Management Studio sizlerin yanlışlıkla bir tabloda kritik bir değişilik yapmamanız için bu sistemi oluşturmuştur. Ancak bu engel özellikle tasarım aşamasında tabloların çok sık değiştiği zamanlarda, aşırı can sıkıcı olabilmektedir. Dolayısı ile bu engelden kurtulmak özellikle veritabanı tasarlarken sizi çok rahatlatacaktır.&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Çözüm yolu ise gene SQL Server Management Studio(SSMS) dan geçer. Başlangıç olarak&amp;nbsp;&lt;strong style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Tools&lt;/strong&gt;&amp;nbsp;menüsü altından&amp;nbsp;&lt;strong style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Options&lt;/strong&gt;&amp;nbsp;seçeneğini seçiniz. (SSMS – Tools – Options)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzhn6CS04R8UZ5sM7VP6gCij6BAhCNn6W_SwA7cua0oF8Db2wvIfBT935FBj3vYvpH5BQy1OLbfl8mTcw5_Odsn21Q2Fb1nEwphRsB1mojjXvaKb4TvAlJl9-TUqb1xujG7cFl3rCKTHQ0/s1600/Hata2.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;372&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzhn6CS04R8UZ5sM7VP6gCij6BAhCNn6W_SwA7cua0oF8Db2wvIfBT935FBj3vYvpH5BQy1OLbfl8mTcw5_Odsn21Q2Fb1nEwphRsB1mojjXvaKb4TvAlJl9-TUqb1xujG7cFl3rCKTHQ0/s640/Hata2.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Açılan pencere de sol menüden&amp;nbsp;&lt;strong style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Designer&lt;/strong&gt;&amp;nbsp;bölümünü seçtikten sonra , sağ tarafa açılan panel de bulunan&lt;strong style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;Prevent saving changes that require table re-creation&lt;/strong&gt;alanındaki kutudaki seçimi kaldırısanız SSMS az önceki hatayı bir daha göstermeyecektir.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/1011943737880844115/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/1011943737880844115' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/1011943737880844115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/1011943737880844115'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2011/06/ssms-2008-saving-changes-is-not.html' title='SSMS 2008 - Saving changes is not permitted'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuoxIlYKr8Fgws_lyiPHtL91ITRlorMwC5PQh1yJtlD7sAj-gxiAjkYRepGROEoIVuUC8YM2HeaVIwOANekzSbUTPs8roQWxh1LMYSRY-xtubi285RX-m72qUrAr5XfUlvG8YJ9OxRRzJ8/s72-c/Hata1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-1217776163259411629</id><published>2011-06-21T05:06:00.000-07:00</published><updated>2011-06-21T05:08:10.136-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="database"/><category scheme="http://www.blogger.com/atom/ns#" term="index"/><category scheme="http://www.blogger.com/atom/ns#" term="sql"/><category scheme="http://www.blogger.com/atom/ns#" term="veritabanı"/><title type='text'>Veritabanı indeksleme nasıl çalışır?</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Neden ihtiyaç duyulur?&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;Veriler disk tabanlı belleklere depolandığında, bloklar halinde depolanır. Bu bloklara bütünlük içinde erişilmesi, onları atomik disk erişim operasyonları yapar. Disk blokları genelde bağlı listeler gibi yapılandırılmıştır; her ikisi de verinin tutulduğu kısım ve bir sonraki düğüme gösteren pointer kısmından oluşur ve her ikiside ardarda depolanmak zorunda değildir.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;Sıralama yapılmamış bir alanda arama yapmak Lineer Arama yapmayı gerektirir, bu da N/2 blok erişimi gerektirir. Buradaki N tablonun disk üzerinde bulunduğu blok sayısıdır. Eğer bu alan key yani anahtar olmayan bir alan ise arama N tane blok erişimi gerektirir.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;Halbuki sıralanmış bir alan olsaydı Binary Arama kullanılabilir, bu da log2 N blok erişimi gerektirir. Bununla birlikte key olmayan alan sıralanmış ise tablonun geri kalanı duplicate değerleri bulmak için aranmaz. Çünkü alan sıralanmış olduğu için aranandan değişik bir değere erişildiğinde arama bitmiş demektir. Böylece performans önemli ölçüde artar.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;İndeksleme nedir?&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;İndeksleme belirli sayıdaki kaydın birden fazla alanda sıralanması demektir. Bir tablodaki bir alanda indeks oluşturunca, alanın değerini ve bu değerin ilişkili olduğu kaydı işaret eden bir pointer tutan diğer bir veri yapısı oluşturur. Daha sonra bu indeks yapısı üzerinde Binary Arama yapılabilmesi için sıralanır.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;İndekslemenin dezavantajı disk üzerinde ekstradan alana ihtiyaç duymasıdır.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Nasıl Çalışır?&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;Öncelikle örnek bir veritabanı tablo şemasının ana hatlarını çizelim;&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;&quot;&gt;Alan adı           Veri tipi      Disk üzerinde kapladığı alan
id (Primary key)   Unsigned INT   4 byte
firstName          Char(50)       50 byte
lastName           Char(50)       50 byte
emailAddress       Char(100)      100 byte
&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Not&lt;/strong&gt;: varchar yerine char kullanılmasının sebebi değerin disk üzerinde kapladığı alanın kesin boyutu belirlemek için kullanılmıştır. Bu örnek veritabanı 5 milyon row a sahiptir ve indexlenmemiştir. Değişik sorguların performansı analiz edilecektir.Bunlar id(sıralanmış anahtar alanı) ve firstName(sıralanmamış anahtar olmayan alan) dir.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;em style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Örnek 1&lt;/strong&gt;&lt;/em&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;Örnek olarak verilen veritabanı r = 5,000,000 kayıtlı, R = 204 byte sabit boyutta kayıt uzunluğu ve blok boyutu B = 1024 byte tır. Tablonun bloklama faktörü bfr = (B/R) = 1024/204 = 5 her bir disk bloğundaki kayıt sayısı. Tabloyu tutmak için gerekli toplam blok sayısı N = (r/bfr) = 5000000/5 = 1,000,000 blok.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;id alanındaki arama ortalama N/2 = 500,000 blok erişimi gerektirir, id alanının aranan değerde olup olmadığını kontrol etmek için. Ama id alanı sıralı olduğu için Binary Arama yapılarak ortalama log2 1000000 = 19.93 = 20 blok erişimi ile bulunabilir. Gördüğünüz gibi bu müthiş bir gelişmedir.&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px;&quot;&gt;Şimdi firstName alanı ne sıralanmıştır, ki böyle olduğu için Binary Arama yapamayız, ne de değerler unique dir, bu yüzden de tablo sonuna kadar aranmalıdır yani N = 1,000,000 blok erişimi gerektirir. İşte burada indekleme yapmak çok faydalıdır.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px;&quot;&gt;Söylendiği gibi index kaydı sadece indexlenen alanı ve orijinal kayda işaret eden pointer ı barındırmaktadır. firstName alanı için index şeması aşağıdaki gibidir:&lt;/span&gt;&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px;&quot;&gt;Alan adı            Veri tipi      Disk üzerinde kapladığı alan
firstName           Char(50)       50 byte
(record pointer)    Special        4 byte
&lt;/span&gt;&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px;&quot;&gt;&lt;em style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Örnek 2&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px;&quot;&gt;Örnek olarak verilen veritabanı r = 5,000,000 kayıtlı ve index kaydı uzunluğu R = 54 byte ve varsayılan blok büyüklüğü B = 1,024 byte tır. İndeksin bloklama faktörü bfr = 1024/54 = 18 herbir disk bloğu için kayıt sayısı. Tabloyu tutmak için gerekli blok sayısı N = (r/bfr) = 5000000/18 = 277,778 bloktur.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px;&quot;&gt;Şimdi firstName kullanarak yapılan arama indeks yapısından faydalanarak performansı arttırır. Yani bu indeksin Binary Aramasının ortalama blok erişimi log2 277778 = 18.08 = 19 dir.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Ne zaman kullanılmalı?&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px;&quot;&gt;Görüldüğü gibi indeks oluşturmak fazladan disk alanı gerektirir. İndeksleme yapısı sadece aramalarda işe yarar. Yeni kayıt güncelleme ve silme işlemlerinde ekstra işlem zamanı ve disk alanı gerektirir. Bu yüzden sadece aramaları hızlandırmak için yapılmalı ve yüksek veri bulunan tablolarda gerekli alanlar için yapılmalıdır.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/1217776163259411629/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/1217776163259411629' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/1217776163259411629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/1217776163259411629'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2011/06/veritaban-indeksleme-nasl-calsr.html' title='Veritabanı indeksleme nasıl çalışır?'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-9136000333462413839</id><published>2011-06-17T05:02:00.000-07:00</published><updated>2019-07-26T03:25:33.265-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Constructor"/><category scheme="http://www.blogger.com/atom/ns#" term="Static Constructor"/><title type='text'>C# Static Constructor</title><content type='html'>&lt;div style=&quot;display: block; font-family: verdana, sans-serif; font-size: 17px; line-height: 24px; margin-bottom: 12px; margin-left: 10px; margin-right: 10px; margin-top: 0px;&quot;&gt;
C# ta&amp;nbsp;&lt;b&gt;static constructor&amp;nbsp;&lt;/b&gt;için performans değerlendirmesi:&amp;nbsp;Microsoft ve birçok kod geliştirici static constructorların ciddi bir yük getirdiği konusunda uyarıyorlar. Static constructorlara aynı zamanda type initializer de denir, çünkü bunlar tiplere referans verirler, instancelara değil. Aşağıda C# dilinde static constructorlar için yapılan test bulunmaktadır. Hangisinin yararlı olduğuna karar verebilirsiniz.&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 17px; line-height: 24px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h2 style=&quot;font-family: verdana, sans-serif; font-size: 24px; line-height: 24px; margin-bottom: 0px; margin-left: 10px; margin-right: 10px; margin-top: 0px;&quot;&gt;
Örnek&lt;/h2&gt;
&lt;div style=&quot;display: block; font-family: verdana, sans-serif; font-size: 17px; line-height: 24px; margin-bottom: 12px; margin-left: 10px; margin-right: 10px; margin-top: 0px;&quot;&gt;
Aşağıda static contructoru bulunan ve bulunmayan olarak iki sınıf bulunmaktadır. Kullandığınız çoğu sınıfın static constructoru yoktur. Sonuca göre static constructorlar tipe her ulaştığınızda ciddi bir yavaşlamaya sebep oluyor.&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 17px; line-height: 24px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;font-size: 15px; line-height: normal; margin-bottom: 12px; margin-left: 10px; margin-right: 10px; margin-top: 0px; padding-bottom: 6px; padding-left: 0px; padding-right: 0px; padding-top: 6px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 17px; line-height: 24px;&quot;&gt;&lt;b style=&quot;background-attachment: initial; background-clip: initial; background-color: lightgrey; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: aqua; border-bottom-style: solid; border-bottom-width: 2px; padding-bottom: 1px; padding-left: 1px; padding-right: 1px; padding-top: 1px;&quot;&gt;Static Constructor a sahip bir class [C#]&lt;/b&gt;

&lt;i style=&quot;color: green; font-style: normal;&quot;&gt;/// &lt;summary&gt;/// Bu tip static constructora sahiptir.
/// &lt;/summary&gt;&lt;/i&gt;
static class HasStaticConstructor
{
    &lt;i style=&quot;color: green; font-style: normal;&quot;&gt;/// &lt;summary&gt;    /// Public field
    /// &lt;/summary&gt;&lt;/i&gt;    public static int _test;

    &lt;i style=&quot;color: green; font-style: normal;&quot;&gt;/// &lt;summary&gt;    /// Static constructor public alanı initialize eder
    /// &lt;/summary&gt;&lt;/i&gt;    static HasStaticConstructor()
    {
 _test = 1;
    }
}

&lt;b style=&quot;background-attachment: initial; background-clip: initial; background-color: lightgrey; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: aqua; border-bottom-style: solid; border-bottom-width: 2px; padding-bottom: 1px; padding-left: 1px; padding-right: 1px; padding-top: 1px;&quot;&gt;Static Constructoru olmayan bir class [C#]&lt;/b&gt;

&lt;i style=&quot;color: green; font-style: normal;&quot;&gt;/// &lt;summary&gt;/// Bu tip static constructora sahip değildir.
/// &lt;/summary&gt;&lt;/i&gt;
static class NoStaticConstructor
{
    &lt;i style=&quot;color: green; font-style: normal;&quot;&gt;/// &lt;summary&gt;    /// Public field initialize edilir
    /// &lt;/summary&gt;&lt;/i&gt;
    public static int _test = 1;
}

&lt;b style=&quot;background-attachment: initial; background-clip: initial; background-color: lightgrey; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: aqua; border-bottom-style: solid; border-bottom-width: 2px; padding-bottom: 1px; padding-left: 1px; padding-right: 1px; padding-top: 1px;&quot;&gt;Benchmark (Karşılaştırmalı Test) notları&lt;/b&gt;

Döngü: 1000000000
Detaylar:    _text alanı her döngüde erişilir.

&lt;b style=&quot;background-attachment: initial; background-clip: initial; background-color: lightgrey; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: aqua; border-bottom-style: solid; border-bottom-width: 2px; padding-bottom: 1px; padding-left: 1px; padding-right: 1px; padding-top: 1px;&quot;&gt;Static constructor performans testi&lt;/b&gt;

Sınıf 1: Static constructoru olan
Zaman:    &lt;span id=&quot;o&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: yellow; background-image: initial; background-origin: initial; border-bottom-left-radius: 3px 3px; border-bottom-right-radius: 3px 3px; border-top-left-radius: 3px 3px; border-top-right-radius: 3px 3px;&quot;&gt;3208 ms&lt;/span&gt;

Sınıf 2: Static constructoru olmayan
Zaman:    &lt;span id=&quot;o&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: yellow; background-image: initial; background-origin: initial; border-bottom-left-radius: 3px 3px; border-bottom-right-radius: 3px 3px; border-top-left-radius: 3px 3px; border-top-right-radius: 3px 3px;&quot;&gt; 319 ms&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;h2 style=&quot;font-family: verdana, sans-serif; font-size: 24px; line-height: 24px; margin-bottom: 0px; margin-left: 10px; margin-right: 10px; margin-top: 0px;&quot;&gt;
Özet&lt;/h2&gt;
&lt;div style=&quot;display: block; font-family: verdana, sans-serif; font-size: 17px; line-height: 24px; margin-bottom: 12px; margin-left: 10px; margin-right: 10px; margin-top: 0px;&quot;&gt;
Static constructor kullanmak uygun olabilir, ama çok yavaşlar.Runtime bunları inline atamaları optimize edebildiği yolla optimize edecek kadar akıllı değil. Bazen lazy loading kullanmak uygun olabilir. ( Lazy Loading: bir değişkenin her erişildiğinde null kontrolü yapılıp eğer null ise initialize etmek).&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/9136000333462413839/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/9136000333462413839' title='1 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/9136000333462413839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/9136000333462413839'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2011/06/c-static-constructor.html' title='C# Static Constructor'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-5106926916183148110</id><published>2011-06-13T00:49:00.000-07:00</published><updated>2011-06-13T00:49:06.599-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net mvc"/><category scheme="http://www.blogger.com/atom/ns#" term="mvc"/><category scheme="http://www.blogger.com/atom/ns#" term="webforms"/><title type='text'>ASP.NET MVC nedir, ne işe yarar, niçin ve ne zaman tercih edilmelidir?</title><content type='html'>ASP.NET MVC’yi anlamak için “WebForms”un ne olduğunu bilmek ve anlamış olmak gerekir. Bundan dolayı öncelikle biraz webformsa değinmek istiyorum.&lt;br /&gt;
Klasik ASP ile web geliştirenlerin .NET’e geçişi ile birlikte hayatlarına giren ilk şey “WebForms” olmuştur. Asp.Net programlamada başlangıç seviyesinde, mantığı tam olarak anlaşılamasa da, giriş seviyesi bir programcı dahi webformsu aktif olarak kullanır. Basit bir şekilde anlatmak gerekirse; bir aspx sayfasında bulunan asp.net server kontrollerine (textbox, dropdown, vb.) girilen verilerin programatik olarak işlenmesi için koda gönderilmesini sağlayan sayfa yapısına webforms diyebiliriz. Bu işlemi gerçekleştirmek için bize yardımcı olan mekanizmalar vardır. Postback ve Viewstate bunların başında gelir. Postback bu kontrollerdeki veriyi koda gönderme eylemine verilen isimdir. Viewstate ise postback öncesinde bu formlara girilmiş olan verilerin postback sonrasında tekrar kullanılabilir olmasını sağlayan mekanizmadır. Örneğin aşağıdaki gibi basit bir aspx sayfamız olsun.&lt;br /&gt;
&lt;img alt=&quot;&quot; height=&quot;436&quot; src=&quot;http://www.fatihsever.com/image.axd?picture=mvc1.jpg&quot; width=&quot;580&quot; /&gt;&lt;br /&gt;
Bu sayfadaki textbox’a bir yazı girip, checkbox’a tick atıp, butona tıklandığında textboxa girilen yazıyı sayfanın başına yazdırdığımızı düşünelim. Bunun için Visual Studio’da designerdaki butona çift tıklarız ve bizi code behind’a yönlendirir ve bu buton için bir event oluşturur. Bu eventin içine Response.Write(TextBox1.Text) benzeri bir kod yazarız. Daha sonra bu sayfayı çalıştırıp, butona tıkladığımızda sayfa bir kere refresh yapar (kendini tazeler) ve tekrar aynı sayfayı açar.&lt;br /&gt;
&lt;img alt=&quot;&quot; height=&quot;436&quot; src=&quot;http://www.fatihsever.com/image.axd?picture=mvc2.jpg&quot; width=&quot;580&quot; /&gt;&lt;br /&gt;
Textboxa girdiğimiz yazı, olması gerektiği gibi sayfanın başında gözükür. Ayrıca textbox’ın içinde yazı hala duruyordur ve checkbox da ticklenmiş durumdadır. Oysa sayfa kendini refresh etmiştir. Refresh eyleminin aynı sayfayı tekrar açtığını düşünürsek (adres çubuğundaki url değişmez), o sayfaya ilk defa girildiğinde olduğu gibi boş bir şekilde açılması beklenir. Bunu test etmek için sayfa boş iken textboxa bir yazı girin checkbox’a tick atın ve daha sonra browser’ınızın refresh butonuna basın. Bunu yaptığınızda göreceğiniz üzere textbox’taki yazı kaybolur ve checkbox boşalır. Sayfa ilk açıldığı şekline geri döner. Fakat butona tıklayıp sayfayı refresh ettirdiğinizde her şey yerinde duruyordur. İşte buradaki butona tıklama eylemi sonucu sayfanın refresh yapmasına postback denir. Bu refresh sonunda textbox’a girdiğimiz yazının durması ve checkbox’ın tickli kalmasını da viewstate mekanizması sağlar. Postback ile textbox’taki yazı koda gönderilir. Kod bu yazıyı alır, işler, sayfanın başına yazar ve tüm bunlar refresh anında olur. Refresh tamamlandığında her şey istediğimiz gibidir. İşte tüm bu olaylar zincirinin ve mekanizmaların tamamına “WebForms” denir.&lt;br /&gt;
Basit anlamda webformsun işleyiş şekli ve yapısı böyledir. Fakat Asp.Net MVC’de yapı bu şekilde değildir. MVC’de postback, viewstate, codebehind, server kontrolleri (textbox, checkbox) ve bu kontollerin eventleri yoktur. “Olamaz! Bunlar olmadan sayfa nasıl çalışır!” dediğinizi duyar gibiyim. Evet alışık olduğumuz bu yapı Asp.Net MVC’de farklı bir şekildedir. Peki neden farklı? Bu yapı gayet güzel çalışıyor. Bunu neden farklı bir yapıda kullanma ihtiyacı duyuyum ki? Benzeri soruların cevabı ise; webformsun bu yapısının bazı dezavantajları olduğu ve bu dezavantajların mvc’de olmamasıdır. Bazı web projelerinde webformsun birazdan bahsedeceğim dezavantajları tahammül edilemeyecek derecelere ulaştığı için Asp.Net MVC, WebForms’a alternatif olarak geliştirilmiştir. Fakat bu MVC’nin daha iyi, webformsun daha kötü olduğu veya mvc’nin webformsun yerine geçeceği gibi bir anlam taşımamaktadır. Projenin türüne göre tercih edilebilecek birer alternatiftirler.&lt;br /&gt;
Şimdi gelelim webformsun dezavantajlarına. Öncelikle bu dezavantajlardan bahsedeceğim. Daha sonra mvc’nin bunları nasıl çözdüğünü elimden geldiğince anlatmaya çalışacağım. Bu çözümleri incelerken mvc’yi de anlamaya çalışmış olacağız.&lt;br /&gt;
&lt;strong&gt;1.)&lt;/strong&gt; Viewstate, sayfadaki server kontrollerinin durumunu hafızasında tutmak için client tarafında gizlenmiş bir hidden input oluşturur. Bu input webforms ile geliştirilmiş her aspx sayfasında vardır. Web browser’ınızda herhangi bir aspx sayfasının kaynağına baktığınızda “__VIEWSTATE” isimli bu inputu görebilirsiniz.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;csharpcode&quot;&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;input&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;hidden&quot;&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;__VIEWSTATE&quot;&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;__VIEWSTATE&quot;&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;value&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;/wEPDwUKLT
c1MDU0Nzg2MWQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgEFCUNoZWNrQm94
MX5gT8EYawMsUp79Tkt2Gz2HkU/i&quot;&lt;/span&gt; &lt;span class=&quot;kwrd&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;style type=&quot;text/css&quot;&gt;
.csharpcode, .csharpcode pre
{
 font-size: small;
 color: black;
 font-family: consolas, &quot;Courier New&quot;, courier, monospace;
 background-color: #ffffff;
 /*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
 background-color: #f4f4f4;
 width: 100%;
 margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/style&gt; &lt;br /&gt;
&lt;br /&gt;
Gerçek hayat uygulamalarında bu inputun value’su o kadar büyür ki boyutu yüzlerce kilobyte’ı bulur. Bu da client tarafında gereksiz bir yavaşlığa neden olur. Server tarafında ise bu viewstate değerini oluşturmak ekstra iş yükü demektir. Hele bir de günde milyonlarca kez ziyaret edilen bir web projesi ise, bu yavaşlık ve iş yükü tahammül edilemez olur. Yukarıda bahsettiğim gibi Asp.Net MVC’de viewstate yoktur. Bundan dolayı mvc’de böyle bir yavaşlık söz konusu değildir. Peki mvc’de viewstate yoksa sayfadaki kontollerinin durumunu nasıl hafızada tutacağız? Merak etmeyin Asp.Net MVC’de bu işi gören bir mekanizma var ve bu mekanizma ne client’a ne de server’a ekstra iş yükü getiriyor. Bu işi http’nin yapısına uygun bir şekilde çok daha doğal yollar ile gerçekleştiriyor.&lt;br /&gt;
&lt;strong&gt;2.)&lt;/strong&gt; Webforms’da sayfa yaşam döngüsü (page life cycle) vardır. Yukarıdaki örnekte kısaca bahsettiğim üzere sayfanın çalışma anında bir tür olaylar zinciri gerçekleşir. Butona tıklandığında o butonun click eventi tetiklenir, daha sonra postback başlar, veriler koda gider, kod veriyi işler ve tekrar sayfaya gönderir. Basit bir uygulamada kısa ve hızlı bir döngüdür bu. Fakat kompleks uygulamalarda maalesef bu kadar hızlı olmamaktadır. Hele bir de o sayfada onlarca server kontrolü bir aradaysa çok daha uzun sürer. Eventler havada uçuşur. Önce hangisi tetiklendi? Sonra hangisi tetiklenecek? Şimdi ne olacak? Aynı anda birden fazla eventi nasıl tetiklerim? Bir sürü karmaşa ortaya çıkar. Codebehind event metotlarıyla dolar. Hangi event hangi kontrolündü karıştırırsınız. Designera geri dönüp o kontrole çift tıklayıp codebehind’taki onun eventine gitmek gibi bir zahmete katlanırsınız. İnanın bana büyük web uygulamalarında bu sizi çığırından çıkarır. Asp.Net MVC’de bu eventlerle boğuşmak zorunda değilsinizdir. MVC sizi Page_Load eventindeki “Page.IsPostBack değilse” kontrolünü yapma derdinden de kurtarır.&lt;br /&gt;
&lt;strong&gt;3.)&lt;/strong&gt; Webforms’da asp.net server kontolleri otomatik olarak html elementlerine dönüştürülür. Siz o kontrolün html’ine müdahale edemezsiniz. Yaptığımızın işin web sitesi geliştirmek olduğunu düşünürsek web’in temeli olan html’de tam kontrol sahibi olamamamız hoş bir durum değildir. Özellikle standartlara uyumlu sayfa tasarlama gibi bir kaygımız varsa (ki olmalıdır) server kontolleri size bu esnekliği sağlamamaktadır. Server kontrollerinin css’lerinde de tam kontrol sahibi değilizdir. Ayrıca server kontolleri bazen gereksiz html kodları da üretebilmektedir. MVC’de server kontrolleri olmadığı için standart html elementlerini kullanırız. Bu da size sayfanızın html’inde tam kontrol verir.&lt;br /&gt;
&lt;strong&gt;4.)&lt;/strong&gt; Büyük web projelerinde N-Layer, N-Tier, vb. metodolojileri kullanarak programınızın mantık (logic) kısmı ile tasarım (presentation) kısmını birbirinden ayırırsınız. Böylece projenin yazılımsal olarak yönetimi daha kolay olur. Webformsdaki codebehind yapısı aslında bu metodolojilere ters düşmektedir. Çünkü presentation layer’ınızda yoğun olarak kod yazarsınız. Bir çok mantıksal işlemi aspx sayfasına bağlı codebehind’da gerçekleştirirsiniz. MVC’de tasarım ile mantık çok iyi bir şekilde ayrılmıştır. Tasarımı bir kere bitirdiğinizde tekrar tekrar oraya geri dönmek zorunda kalmazsınız. Artık işiniz daha çok mantıksal işlemlerdir, bu katmana yoğunlaşırsınız.&lt;br /&gt;
Temel olarak bu dört dezavantajın yanında diğer bazı dezavantajlar da mevcuttur. Fakat konuyu uzatmamak için onlara bu yazıda değinmeyeceğim. Yukarıdaki dezavantajlar ele alındığında büyük bir web projesi için Asp.Net MVC’nin tercih edilmesi akıllı bir yol olarak gözüküyor değil mi? Peki mvc sadece bu dezavantajları gideren bir yapı mı? Kesinlikle hayır. Asp.Net MVC’nin bize kazandırdığı daha birçok yeni ve kullanışlı özellik de mevcut. Bunlardan en önemlisinin “Routing” mekanizması olduğunu söyleyebilirim. Routing, bir aspx sayfasına URL üzerinden gelen çağrıları anlamlı hale getirdikten sonra işlenmesi için mantıksal yapının olduğun koda (logic) yönlendirme işini gerçekleştiren mekanizmadır. Örneğin “www.abc.com/kategori/altkategori/sayfa” şeklinde bir url olduğunu düşünelim. Bu url’i web browserda adres çubuğuna girip enter’a basıldığı an asp.net mvc’de ilk olarak routing mekanizması çalışır. Routing bu url’deki ana domainden (www.abc.com) sonra gelen “/” ile ayrılmış kısımları (kategori, altkategori, sayfa) parçalar, daha sonra mantıksal kodun (logic) içerisinde bunlara uygun olan metotları bulup oraya yönlendirir. Logic’de gerekli işlemler yapıldıktan (veritabanından verilerin çekilmesi, işlenmesi, vb.) sonra tekrar Routing devreye girer ve işlenmiş bu verilerin gösterileceği uygun aspx sayfasını bulup oraya yönlendirir. Routing&#39;in sağladığı bu yapı sayesinde url’ler çok daha anlamlı hale gelir. Böyle olunca da arama motorları bu url’leri daha iyi indeksler ve siteniz üst sıralarda çıkar. Webforms’da bu yapıyı oluşturabilmek için ekstra zahmete girersiniz. Webforms’da url rewrite denilen teknik ile bu işlem gerçekleştirebilmektedir fakat mvc’de olduğu kadar hızlı ve doğal değildir.&lt;br /&gt;
Routing’i anlatırken aslında Asp.Net MVC’yi anlamaya bir giriş yapmış olduk. Genel itibariyle mvc’nin çalışma mantığı routing’deki bu yapı üzerine kuruludur. URL’den bir istek gelir, o isteğe uygun metot (Controller) bulunur, bu metod aldığı bu isteği yerine getirmek için uygun business logic metotlarını (Model) çalıştırır ve son olarak buradan dönen anlamlı veriler uygun aspx sayfalarına (View) yönlendirilir.   &lt;br /&gt;
Burada parantez içerisinde belirttiğim “&lt;strong&gt;M&lt;/strong&gt;odel”, “&lt;strong&gt;V&lt;/strong&gt;iew”, “&lt;strong&gt;C&lt;/strong&gt;ontroller”lar da bir araya gelip MVC’yi oluşturur.&lt;br /&gt;
&lt;img alt=&quot;&quot; src=&quot;http://www.fatihsever.com/image.axd?picture=mvc3.png&quot; /&gt;&lt;br /&gt;
Bu yazıda Asp.Net MVC’ye detaylı sayılabilecek bir giriş yapmış olduk. Planım bunu bir yazı dizisine çevirip MVC’nin tamamını detaylı bir şekilde incelemek ve sizlerle birlikte örnek bir uygulama geliştirmek. Umarım bu planımı gerçekleştirebilirim. Bir sonraki yazıda Model-View-Controller yapısının nasıl çalıştığına göz atıp, örnek bir asp.net mvc projesi oluşturarak bunu pekiştiririz. Şimdilik bu kadar. Diğer yazıda görüşmek üzere.</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/5106926916183148110/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/5106926916183148110' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/5106926916183148110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/5106926916183148110'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2011/06/aspnet-mvc-nedir-ne-ise-yarar-nicin-ve.html' title='ASP.NET MVC nedir, ne işe yarar, niçin ve ne zaman tercih edilmelidir?'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-5081176035090336857</id><published>2011-05-25T00:02:00.000-07:00</published><updated>2011-05-25T00:02:47.073-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bilgi"/><category scheme="http://www.blogger.com/atom/ns#" term="data"/><category scheme="http://www.blogger.com/atom/ns#" term="enformasyon"/><category scheme="http://www.blogger.com/atom/ns#" term="metadata"/><title type='text'>Metadata Nedir?</title><content type='html'>&lt;div style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 12px;&quot;&gt;Son zamanlarda IT sektöründe sıkça duymaya alıştığımız ifadelerden biri oldu &quot;&lt;strong&gt;metadata&lt;/strong&gt;&quot;. Peki nedir bu metadata?&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 12px;&quot;&gt;Birebir anlam olarak baktığımızda metadata, bilgi hakkında bilgi olarak tanımlanıyor. Ancak tabi bu haliyle soyut ve yetersiz bir tanımlama olarak kalıyor. Biraz somutlaştıralım:&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 12px;&quot;&gt;Metadata, bilgi kaynaklarım beni yanıltmıyor ise ilk olarak kütüphanecilik alanında icat edilen bir kavram. Bir kütüphanede pek çok kitap, yani aslında yüklü miktarda bilgi bulunmaktadır. Ancak sorun, bu bilginin nasıl indexleneceği, yani hangi bilgiye hangi kitaplardan ulaşılabileceği, hangi kitabın içeriğinin aşağı yukarı ne olduğu... İşte burada metadata yani bilgi hakkında bilgi yardıma koşuyor. Metadata, ille de içeriğin türü hakkında (örneğin anahtar kelimeler&amp;nbsp;veya bilimsel bir&amp;nbsp;makalenin &quot;abstract&quot; kısmı)&amp;nbsp;olmak zorunda değil. Basım evi, yayın tarihi, baskı sayısı da birer metadatadır.&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 12px;&quot;&gt;Metadatanın IT alanındaki kullanımlarına çok basit&amp;nbsp;örnekler vermek gerekirse, veritabanı sitemlerinde her tablonun ve alanın yanındaki onun hakkındaki açıklama alanları, web sitelerinin &quot;header&quot; bölümünde bulunan &quot;meta tagleri&quot; içindeki web sitesini tanımlayıcı bilgiler gösterilebilir.&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 12px;&quot;&gt;IT ve otomasyon sistemleri yaygınlaştıkça, ortada çok büyük data, datadan üretilen enformasyon ve hatta işlenmiş bilgi havuzları oluştu. Şu an IT dünyasının gündemi, oluşan bu bilgiye en kısa yoldan nasıl ulaşılıp, bilginin nasıl yönetileceği olmaya başladı. Bu yüzden metadata kavramını gittikçe daha da&amp;nbsp;çok duyacağız.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/5081176035090336857/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/5081176035090336857' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/5081176035090336857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/5081176035090336857'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2011/05/metadata-nedir.html' title='Metadata Nedir?'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-8301497890947649814</id><published>2011-05-24T08:36:00.000-07:00</published><updated>2011-05-24T08:36:02.212-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Constraints"/><category scheme="http://www.blogger.com/atom/ns#" term="generic kullanımı"/><category scheme="http://www.blogger.com/atom/ns#" term="Generic Kısıtlamaları"/><category scheme="http://www.blogger.com/atom/ns#" term="Generics"/><title type='text'>Generic Kullanımı #2</title><content type='html'>&lt;h2 class=&quot;dtH1&quot; style=&quot;color: #3f529c; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 1.538em; font-weight: bold;&quot;&gt;Generic Kısıtlamaları&lt;/h2&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;C# ta generic-tip parametrelerinin yerine hangi kısıtlamalarda client-tanımlı parametrelerin kullanılacağını derleyiciye belirtmek zorundasınızy. Üç tip kısıtlama vardır. Türeme kısıtlaması derleyiciye generic-tip parametrenin hangi temel tipte class veya interface den türemesi gerektiğini belirtir. Varsayılan yapıcı (default constructor) kısıtlaması derleyiciye generic-tip parametresinin default public contructor a (parametresiz public constructor) sahip olduğunu gösterir. Referans/Değer tip kısıtlayıcısı generic tip parametrenin referans mı yoksa değer tipindemi olduğunu sınırlar. Bir generic tip birden fazla kısıtlayıcı barındırabilir.&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Şunu da belirtmek lazım ki bu kısıtlayıcılar opsiyoneldir, ama generic-tip parametreler kullanırken bunları kullanmak mecburi gibidir. Bunları kullanmadığınız sürece object-tip parametrelerde olduğu gibi daha fazla tip-güvenlik kontrolleri yapmanız gerekir.Kısıtlamalar generic-tip metadatanın önemli bir parçasıdır, bu sayede client-side derleyiciside bunun avantajlarından faydalanabilir. Client-side derleyicisi client geliştiricisine kısıtlamalara uymasını zorlayarak tip-güvenliği sağlar.&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Kısıtlamaların kullanım ihtiyacına yönelik bir örnek verecek olursak: Bağlı listeye indexleme kabiliyeti ve bir key e göre arama kazandırmak isteyelim&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;public class LinkedList&lt;k,t&gt;
{
   T Find(K key)
   {...}
   public T this[K key]
   {
      get{return Find(key);}
   }
}
&lt;/k,t&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;/span&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Bu clienta aşağıdaki kodu yazmasına olanak sağlar.&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;LinkedList&lt;b&gt;&lt;int,string&gt; &lt;/int,string&gt;&lt;/b&gt;list = new LinkedList&lt;b&gt;&lt;int,string&gt;&lt;/int,string&gt;&lt;/b&gt;();

list.AddHead(123,&quot;AAA&quot;);
list.AddHead(456,&quot;BBB&quot;);
string item = list[456];
Debug.Assert(item == &quot;BBB&quot;);
&lt;/pre&gt;&lt;/span&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Arama yapabilmek için tüm listeyi taramak, her bir node un key ini aranan key ile karşılaştırmak ve eşleşen node u geri döndürmek gerekir. Problem şu ki aşağıdaki method derlenmez:&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;T Find(K key)
{
   Node&lt;k,t&gt; current = m_Head;
   while(current.NextNode != null)
   {
      if(current.Key &lt;b&gt;==&lt;/b&gt; key) //Derlenmez...
         break;
      else
         
         current = current.NextNode;
   }
   return current.Item; 
}
&lt;/k,t&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;/span&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Neden derlenmediğinin sebebi:&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;if(current.Key &lt;b&gt;==&lt;/b&gt; key)
&lt;/pre&gt;&lt;/span&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Yukardaki satır derlenmez çünkü derleyici K nin == operatörünü destekleyip desteklemediğini bilemez. Mesela structlar bu çeşit bir gerçekleştirmeyi desteklemez. Bu == operatör kısıtlamasını aşmak için &amp;nbsp;&lt;b&gt;IComparable&lt;/b&gt;&amp;nbsp;arayüzünü kullanabilirsiniz:&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;public interface IComparable 
{
   int CompareTo(object obj);
}
&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;/span&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;b&gt;CompareTo()&lt;/b&gt;&amp;nbsp;methodu eşitlik durumunda 0 döndürür, böylece&amp;nbsp;&lt;b&gt;Find()&lt;/b&gt;&amp;nbsp;methodu bunu aşağıdaki gibi kullanabilir:&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;if(current.Key.&lt;b&gt;CompareTo(key)&lt;/b&gt; == 0)
&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;/span&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Malesef bu kodda derlenmez çünkü derleyici K nın&amp;nbsp;&lt;b&gt;IComparable&lt;/b&gt;&amp;nbsp;dan türeyip türemediğini bilme imkanı yoktur.&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Siz bunu &amp;nbsp;&lt;b&gt;IComparable&lt;/b&gt;&amp;nbsp;a cast edip kullanabilirsiniz ama bu da tip-güvenliği için pahalıya mal olur:&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;if((&lt;b&gt;(IComparable)&lt;/b&gt;(current.Key)).CompareTo(key) == 0)&lt;/pre&gt;&lt;/span&gt;&lt;h3 class=&quot;dtH1&quot; style=&quot;color: #3f529c; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 1.077em; font-weight: bold;&quot;&gt;Türeme Kısıtlaması&lt;/h3&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;C# 2.0 da kısıtlama tanımlamak için&amp;nbsp;&lt;b&gt;where&lt;/b&gt;&amp;nbsp;keyword ünü kullanırız. &amp;nbsp;&lt;b&gt;where&lt;/b&gt;&amp;nbsp;keyword ünü derleyiciye parametrenin neden türemesi gerektiğini belirtmek için kullanırız.&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;public class LinkedList&lt;k,t&gt; &lt;b&gt;where K : IComparable&lt;/b&gt;
{
   T Find(K key)
   {
      Node&lt;k,t&gt; current = m_Head;
      while(current.NextNode != null)
      {
         if(current.Key.&lt;b&gt;CompareTo(key)&lt;/b&gt; == 0)
            
            break;
         else      
            
            current = current.NextNode;
      }
      return current.Item; 
   }
   //Rest of the implementation 
}
&lt;/k,t&gt;&lt;/k,t&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;/span&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Derleyici burada list in key argümanı için&amp;nbsp;&lt;b&gt;IComparable&lt;/b&gt;&amp;nbsp;dan türeme şartı koşucak ve kodu eğer key bundan türemiyorsa derlemiyecektir.&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Kısıtlama size&amp;nbsp;&lt;b&gt;IComparable&lt;/b&gt;&amp;nbsp;ı kullanmanıza izin verse bile, key olarak değer tipinde, mesela integer tipinde bir değişken kullandığınızda tekrar boxing yapmanız gerekecek. Bu sorunu aşmak için&amp;nbsp;&amp;nbsp;&lt;b&gt;IComparable&lt;t&gt;&amp;nbsp;&lt;/t&gt;&lt;/b&gt;kullanmanız gerekecek:&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;public interface IComparable&lt;t&gt; 
{
   int CompareTo(T other);
   bool Equals(T other);
}
&lt;/t&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;/span&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Key için kullanımı aşağıdaki gibidir.&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;public class LinkedList&lt;k,t&gt; where K :&lt;b&gt; IComparable&lt;k&gt;&lt;/k&gt;&lt;/b&gt;
{...}
&lt;/k,t&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;/span&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Kısıtlamalar gerçek türemelerden sonra yazılmalıdır. Mesela&amp;nbsp;&lt;b&gt;LinkedList&lt;/b&gt;&amp;nbsp;&lt;b&gt;IEnumerable&lt;t&gt;&lt;/t&gt;&lt;/b&gt;interface inden türüyorsa&amp;nbsp;&lt;b&gt;where&lt;/b&gt;&amp;nbsp;bundan hemen sonra yer almalıdır:&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;public class LinkedList&lt;k,t&gt; : IEnumerable&lt;t&gt; where K : IComparable&lt;k&gt;
{...}
&lt;/k&gt;&lt;/t&gt;&lt;/k,t&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;/span&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Aynı generic tip parametresinde birden fazla interface kısıtlaması getirebilirsiniz Mesela:&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;public class LinkedList&lt;k,t&gt; where K : &lt;b&gt;IComparable&lt;k&gt;,IConvertible&lt;/k&gt;&lt;/b&gt;
{...}
&lt;/k,t&gt;&lt;/pre&gt;&lt;/span&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Her bir generic tip parametre için kısıtlama yazılabilir, mesela:&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;public class LinkedList&lt;k,t&gt; &lt;b&gt;where&lt;/b&gt; K : IComparable&lt;k&gt;
&lt;b&gt;                             where&lt;/b&gt; T : ICloneable 
{...}
&lt;/k&gt;&lt;/k,t&gt;&lt;/pre&gt;&lt;/span&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Generic tip parametreler için class dan türeme kısıtlamasıda getirebilirsiniz. Ama sadece bir tane belirleyebilirsiniz:&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;public class MyBaseClass
{...}
public class LinkedList&lt;k,t&gt; where K : &lt;b&gt;MyBaseClass&lt;/b&gt;
{...}&lt;/k,t&gt;&lt;/pre&gt;&lt;/span&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;C# kısıtlama olarak başka bir generic tip parametre kullanmanızada olanak sağlar:&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;public class MyClass&lt;t,u&gt; where T : &lt;b&gt;U &lt;/b&gt;
{...}&lt;/t,u&gt;&lt;/pre&gt;&lt;/span&gt;&lt;h3 class=&quot;dtH1&quot; style=&quot;color: #3f529c; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 1.077em; font-weight: bold;&quot;&gt;Constructor Kısıtlaması&lt;/h3&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Generic sınıfın içinde bir generic nesne oluşturmak istediğinizi düşünün. C# derleyicisi clientın kullanacağı tip argümanın tipinde argümanlara sahip bir constructor olup olmadığını bilemez, böylece derleme yapamaz.&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Bu problemi aşmak için C# size public default contructor tanımlamanıza olanak tanır. Bu&amp;nbsp;&lt;b&gt;new()&lt;/b&gt;kısıtlaması kullanarak yapılır. Örneğin:&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;class Node&lt;k,t&gt; where T : &lt;b&gt;new()&lt;/b&gt; 
{
   public K Key;
   public T Item;
   public Node&lt;k,t&gt; NextNode;
   public Node()
   {
      Key      = default(K);
      Item     = &lt;b&gt;new T();&lt;/b&gt;
      NextNode = null;
   }
}
&lt;/k,t&gt;&lt;/k,t&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;/span&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Türeme kısıtlaması ile birlikte kullanımı aşağıdaki gibidir:&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;public class LinkedList&lt;k,t&gt; where K : IComparable&lt;k&gt;,&lt;b&gt;new() &lt;/b&gt;
{...}
&lt;/k&gt;&lt;/k,t&gt;&lt;/pre&gt;&lt;/span&gt;&lt;h3 class=&quot;dtH1&quot; style=&quot;color: #3f529c; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 1.077em; font-weight: bold;&quot;&gt;Referans/Değer Tip Kısıtlaması&lt;/h3&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Generic tip parametresinin değer tipindemi yoksa başka tiptemi olacağını aşağıdaki gibi kısıtlayabilirsiniz:&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;public class MyClass&lt;t&gt; where T : &lt;b&gt;struct &lt;/b&gt;
{...}
&lt;/t&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;/span&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Aynı şekilde referans tipinde olduğunuda &lt;b&gt;class&lt;/b&gt;&amp;nbsp;keywordü ile kısıtlayabilirsiniz:&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;pre class=&quot;code&quot;&gt;public class MyClass&lt;t&gt; where T : &lt;b&gt;class&lt;/b&gt; 
{...}&lt;/t&gt;&lt;/pre&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/8301497890947649814/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/8301497890947649814' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/8301497890947649814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/8301497890947649814'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2011/05/generic-kullanm-2.html' title='Generic Kullanımı #2'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7667131574751699652.post-4174861947015263982</id><published>2011-05-21T15:52:00.000-07:00</published><updated>2011-05-24T05:14:13.862-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="generic kullanımı"/><category scheme="http://www.blogger.com/atom/ns#" term="generic tipler"/><category scheme="http://www.blogger.com/atom/ns#" term="Generics"/><title type='text'>Generic Kullanımı #1</title><content type='html'>&lt;h2 class=&quot;dtH1&quot; style=&quot;color: #3f529c; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 1.538em; font-weight: bold;&quot;&gt;Generic Kullanımı&lt;/h2&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Generic tipleri sınıflar ve struct lar için kullanabilirsiniz. İşte size faydalı bir generic point (nokta) yapısı:&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;public &lt;b&gt;struct&lt;/b&gt; Point&lt;t&gt;
{
   
   public T X;
   
   public T Y;
}
&lt;/t&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Generic nokta (point) yapısını integer koordinatlar için kullanabilirsiniz. Örneğin:&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Point&lt;int&gt; point;
point.X = 1;
point.Y = 2;
&lt;/int&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Veya double tipinde koordinatlar için:&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Point&lt;double&gt; point;
point.X = 1.2;
point.Y = 3.4;
&lt;/double&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Şimdiye kadar generic tiplerin temel kullanımını gördük.&amp;nbsp;C# 2.0 ın bazı generice özel syntax yapısıda vardır. Mesela&amp;nbsp;&amp;nbsp;&lt;b&gt;default()&lt;/b&gt;&amp;nbsp;operatörü kullanılan tipin default değerini döndürür. Örneğin stack yapısında listeden pop yapmak istediğimizde kullandımız&amp;nbsp;&lt;b&gt;Pop()&lt;/b&gt;&amp;nbsp;methodunu inceleyelim ve stackın boş olduğu durumlarda default bir değer döndermek isteyelim:&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;public T Pop()
{
   m_StackPointer--;
   if(m_StackPointer &amp;gt;= 0)
   {
      return m_Items[m_StackPointer];
   }
   else
   {
      m_StackPointer = 0;
      return &lt;b&gt;default(T)&lt;/b&gt;;
   }
}
&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Referans tipleri için default değer null dır ve value tipleri için default değer 0 dır.&lt;/div&gt;&lt;h3 class=&quot;dtH1&quot; style=&quot;color: #3f529c; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 1.077em; font-weight: bold;&quot;&gt;Çoklu Generic Tipleri&lt;/h3&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Örneğin aşağıdaki gibi bir generic bağlı liste düşünelim:&lt;/div&gt;&lt;div class=&quot;label&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;label&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;b&gt;Kod Blok 3. Generic Bağlı Liste&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;label&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;class Node&lt;k,t&gt;
{
   public K Key;
   public T Item;
   public Node&lt;k,t&gt; NextNode;
   public Node()
   {
      Key      = default(K);
      Item     = defualt(T);
      NextNode = null;
   }
   public Node(K key,T item,Node&lt;k,t&gt; nextNode)
   {
      Key      = key;
      Item     = item;
      NextNode = nextNode;
   }
}

public class LinkedList&lt;k,t&gt;
{
   Node&lt;k,t&gt; m_Head;
   public LinkedList()
   {
      m_Head = new Node&lt;k,t&gt;();
   }
   public void AddHead(K key,T item)
   {
      Node&lt;k,t&gt; newNode = new Node&lt;k,t&gt;(key,item,m_Head.NextNode);
      m_Head.NextNode = newNode;
   }
}
&lt;/k,t&gt;&lt;/k,t&gt;&lt;/k,t&gt;&lt;/k,t&gt;&lt;/k,t&gt;&lt;/k,t&gt;&lt;/k,t&gt;&lt;/k,t&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Bağlı liste düğümleri (node) depolar:&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;class Node&lt;k,t&gt;
{...}
&lt;/k,t&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Her bir düğüm bir anahtar (Generic tip parametresi K) ve bir değer tutar (Generic tip parametresi T). Aynı zamanda her bir düğüm bir sonraki düğüme referans verir. Bağlı listeler generic tip parametreleri K ve T ile tanımlanır:&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;public class LinkedList&lt;k,t&gt;
{...}
&lt;/k,t&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Bu sayede&amp;nbsp;&lt;b&gt;AddHead()&lt;/b&gt;&amp;nbsp;gibi generic methodlar ortaya çıkar:&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;public void AddHead(K key,T item);
&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Ne zaman generic tipinde bir değişken tanımladığınızda, kullanacağınız tipleri belirlemek zorundasınız. Ama belirlenen tip argümanları kendileride bir generic tip olabilirler. Örneğin, bağlı liste m_Head adında Node tipinde bir değişkene sahip. Bu listedeki ilk elemana referans veriyor. Aynı zamanda generic tipler olan K ve T ile tanımlanmış.&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Node&lt;k,t&gt; m_Head;
&lt;/k,t&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Bir düğümün instance ını oluştururken argümanların tipini belirtmelisiniz., bunun içinse bağlı listenin generic tiplerini kullanabilirsiniz:&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;public void AddHead(K key,T item)
{
   Node&lt;k,t&gt; newNode = new Node&amp;lt;&lt;b&gt;K,T&lt;/b&gt;&amp;gt;(key,item,m_Head.NextNode);
   m_Head.NextNode = newNode;
}
&lt;/k,t&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Not olarak söyleyelim liste ile node aynı isimlerde generic tipler kullanıyor. Bu sadece okunabilirliği kolaylaştırma açısından bu şekilde yazılmıştır. Aşağıdaki şekillerdede kullanılabilir:&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;public class LinkedList&lt;u,v&gt;
{...}&lt;/u,v&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Veya:&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;public class LinkedList&lt;keytype,datatype&gt;
{...}
&lt;/keytype,datatype&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Listenin örnek kullanımı olarak key ler için integer value lar için string kullanmak istersek:&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;LinkedList&lt;b&gt;&lt;int,string&gt; &lt;/int,string&gt;&lt;/b&gt;list = new LinkedList&lt;b&gt;&lt;int,string&gt;&lt;/int,string&gt;&lt;/b&gt;();
list.AddHead(123,&quot;AAA&quot;);
&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;İsteyen başka şekillerdede kullanabilir:&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;LinkedList&lt;datetime,string&gt; list = new LinkedList&lt;datetime,string&gt;();
list.AddHead(DateTime.Now,&quot;AAA&quot;);   
&lt;/datetime,string&gt;&lt;/datetime,string&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;Bazen alias kullanmak faydalı olabilir.Bu şekilde bir kullanım sizi kod tekrarından kurtarabilir.&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;label&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;b&gt;Kod Blok 4. Generic tip alias&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;label&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;using &lt;b&gt;List&lt;/b&gt; = LinkedList&lt;int,string&gt;;

class ListClient
{
   static void Main(string[] args)
   {
      &lt;b&gt;List&lt;/b&gt; list = new &lt;b&gt;List&lt;/b&gt;();
      list.AddHead(123,&quot;AAA&quot;);
   }
}&lt;/int,string&gt;&lt;/span&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://mugurcan.blogspot.com/feeds/4174861947015263982/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7667131574751699652/4174861947015263982' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/4174861947015263982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7667131574751699652/posts/default/4174861947015263982'/><link rel='alternate' type='text/html' href='http://mugurcan.blogspot.com/2011/05/generic-kullanm.html' title='Generic Kullanımı #1'/><author><name>M. Uğur Can</name><uri>http://www.blogger.com/profile/06111815604900472221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>