{"id":370,"date":"2006-06-04T19:33:00","date_gmt":"2006-06-04T16:33:00","guid":{"rendered":"https:\/\/fatihboy.com\/?p=370"},"modified":"2021-06-12T20:38:38","modified_gmt":"2021-06-12T17:38:38","slug":"farkli-kullanici-ile-tfs-sunucusuna-baglanmak","status":"publish","type":"post","link":"https:\/\/fatihboy.com\/en\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/","title":{"rendered":"Farkl\u0131 Kullan\u0131c\u0131 ile TFS Sunucusuna Ba\u011flanmak"},"content":{"rendered":"<p>Team Foundation Server i\u00e7in eklentiler yazmaya karar verdim. Bunun i\u00e7inde makinama sanal sunucu i\u00e7erisinde Windows Server 2003 R2 ard\u0131nda da TFS&#8217;yi kurdum. TFS&#8217;yi Sanal makine \u00fczerinde \u00e7al\u0131\u015faca\u011f\u0131mdan bir Domain Controller ayarlamaya gerek g\u00f6rmedim. Sanal makinemi sunucu olmas\u0131 i\u00e7in a\u00e7arak normal Windows Xp Sp2 \u00fczerinde de kodumu yazmaya ba\u015flad\u0131m. Fakat kod i\u00e7erisinde bir t\u00fcrl\u00fc TFS sunucuna oturum a\u00e7am\u0131yordum :<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"csharp\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">TeamFoundationServerFactory.GetServer(\"Sunucu Ad\u0131\");<\/pre>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tamam, iki makine \u00fczerindeki kullan\u0131c\u0131lar farkl\u0131; ama en az\u0131ndan kullan\u0131c\u0131 ad\u0131 ve \u015fifresi girebilece\u011fim bir yer eklenseydi hi\u00e7 fena olmazd\u0131. Sanal makinemdeki ve normal makinemdeki kullan\u0131c\u0131 adlar\u0131 ve \u015fifreleri ayn\u0131yd\u0131, bu tarz bir problemle kar\u015f\u0131la\u015fmamak i\u00e7in ayarlam\u0131\u015ft\u0131m&#8230;<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; Biraz ara\u015ft\u0131r\u0131nca sorunumu \u00e7\u00f6zecek sihirli sat\u0131rlar\u0131 buldum<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"csharp\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">tfs = TeamFoundationServerFactory.GetServer(\"Sunucu Adi\", new UICredentialsProvider());\ntfs.EnsureAuthenticated();<\/pre>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u0130kinci sat\u0131rdaki <em>EnsureAuthenticated<\/em> TFS&#8217;de ba\u015far\u0131yla oturum a\u00e7t\u0131\u011f\u0131n\u0131z\u0131 kontrol eder, e\u011fer ba\u015far\u0131s\u0131z ise <em>TeamFoundationServerUnauthorizedException<\/em> hatas\u0131n\u0131 atarak program\u0131n\u0131z\u0131n bir sonraki sat\u0131ra ge\u00e7mesini ve ba\u015fka problemlerle bo\u011fu\u015fman\u0131z\u0131 engeller. Benim iki taraftada ayn\u0131 kullan\u0131c\u0131 ad\u0131 ve \u015fifreyi vermemden dolay\u0131 herhangi bir \u015fifre ekran\u0131 kar\u015f\u0131ma gelmedi; ama okudu\u011fum kadar\u0131yla ayn\u0131 olmamas\u0131 durumunda sizden bir dialog vas\u0131tas\u0131yla bu bilgileri istiyecekmi\u015f.<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; <em>EnsureAuthenticated<\/em> fonksiyonu yerine <em>Authenticate<\/em> fonksiyonunu da kullanabilirsiniz. Sadece bu iki komut sizin kar\u015f\u0131n\u0131za \u015fifre dialo\u011funu getirecektir.<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; Peki bu fonksiyonlar ayn\u0131 i\u015fi yap\u0131yorsa neden iki tane var? Yan\u0131t\u0131 ufak bir performans kriterine ba\u011fl\u0131 asl\u0131na bakarsan\u0131z : <em>Authenticate<\/em> fonksiyonu her \u00e7a\u011f\u0131r\u0131ld\u0131\u011f\u0131nda sunucuya giderek kontrol yap\u0131lmas\u0131n\u0131 sa\u011flar, EnsureAuthenticated fonksiyonu ise sadece kullan\u0131c\u0131n\u0131n sisteme giri\u015fi kontrol\u00fc yap\u0131lmad\u0131ysa sunucuya gider. Dolay\u0131s\u0131yla da hangisini kullanaca\u011f\u0131n\u0131z tamamen sistem tasar\u0131m\u0131n\u0131za kalm\u0131\u015f.<\/p>","protected":false},"excerpt":{"rendered":"<p>Team Foundation Server i\u00e7in eklentiler yazmaya karar verdim. Bunun i\u00e7inde makinama sanal sunucu i\u00e7erisinde Windows Server 2003 R2 ard\u0131nda da TFS&#8217;yi kurdum. TFS&#8217;yi Sanal makine \u00fczerinde \u00e7al\u0131\u015faca\u011f\u0131mdan bir Domain Controller ayarlamaya gerek g\u00f6rmedim. Sanal makinemi sunucu olmas\u0131 i\u00e7in a\u00e7arak normal Windows Xp Sp2 \u00fczerinde de kodumu yazmaya ba\u015flad\u0131m. Fakat kod i\u00e7erisinde bir t\u00fcrl\u00fc TFS sunucuna&#8230;<\/p>\n<p><a class=\"read-more\" href=\"https:\/\/fatihboy.com\/en\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/\">Read More<\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71,28],"tags":[59],"class_list":["post-370","post","type-post","status-publish","format-standard","hentry","category-team-foundation-server","category-turkce","tag-team-foundation-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Farkl\u0131 Kullan\u0131c\u0131 ile TFS Sunucusuna Ba\u011flanmak - Fatih Boy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihboy.com\/en\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Farkl\u0131 Kullan\u0131c\u0131 ile TFS Sunucusuna Ba\u011flanmak - Fatih Boy\" \/>\n<meta property=\"og:description\" content=\"Team Foundation Server i\u00e7in eklentiler yazmaya karar verdim. Bunun i\u00e7inde makinama sanal sunucu i\u00e7erisinde Windows Server 2003 R2 ard\u0131nda da TFS&#8217;yi kurdum. TFS&#8217;yi Sanal makine \u00fczerinde \u00e7al\u0131\u015faca\u011f\u0131mdan bir Domain Controller ayarlamaya gerek g\u00f6rmedim. Sanal makinemi sunucu olmas\u0131 i\u00e7in a\u00e7arak normal Windows Xp Sp2 \u00fczerinde de kodumu yazmaya ba\u015flad\u0131m. Fakat kod i\u00e7erisinde bir t\u00fcrl\u00fc TFS sunucuna...Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihboy.com\/en\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/\" \/>\n<meta property=\"og:site_name\" content=\"Fatih Boy\" \/>\n<meta property=\"article:published_time\" content=\"2006-06-04T16:33:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-12T17:38:38+00:00\" \/>\n<meta name=\"author\" content=\"Fatih Boy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Boy\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihboy.com\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihboy.com\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/\"},\"author\":{\"name\":\"Fatih Boy\",\"@id\":\"https:\/\/fatihboy.com\/#\/schema\/person\/6b06a41d42eed36eaa0780fbeb774158\"},\"headline\":\"Farkl\u0131 Kullan\u0131c\u0131 ile TFS Sunucusuna Ba\u011flanmak\",\"datePublished\":\"2006-06-04T16:33:00+00:00\",\"dateModified\":\"2021-06-12T17:38:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihboy.com\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/\"},\"wordCount\":331,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihboy.com\/#\/schema\/person\/6b06a41d42eed36eaa0780fbeb774158\"},\"keywords\":[\"Team Foundation Server\"],\"articleSection\":[\"Team Foundation Server\",\"T\u00fcrk\u00e7e\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihboy.com\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihboy.com\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/\",\"url\":\"https:\/\/fatihboy.com\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/\",\"name\":\"Farkl\u0131 Kullan\u0131c\u0131 ile TFS Sunucusuna Ba\u011flanmak - Fatih Boy\",\"isPartOf\":{\"@id\":\"https:\/\/fatihboy.com\/#website\"},\"datePublished\":\"2006-06-04T16:33:00+00:00\",\"dateModified\":\"2021-06-12T17:38:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihboy.com\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihboy.com\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihboy.com\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/fatihboy.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Farkl\u0131 Kullan\u0131c\u0131 ile TFS Sunucusuna Ba\u011flanmak\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihboy.com\/#website\",\"url\":\"https:\/\/fatihboy.com\/\",\"name\":\"Fatih Boy\",\"description\":\"Ki\u015fisel Web Sitesi\",\"publisher\":{\"@id\":\"https:\/\/fatihboy.com\/#\/schema\/person\/6b06a41d42eed36eaa0780fbeb774158\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihboy.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihboy.com\/#\/schema\/person\/6b06a41d42eed36eaa0780fbeb774158\",\"name\":\"Fatih Boy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fatihboy.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5b3de123ad95a2ffe30b75a54cee98b55f65185c6d6805b35088a3d945f2feb4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5b3de123ad95a2ffe30b75a54cee98b55f65185c6d6805b35088a3d945f2feb4?s=96&d=mm&r=g\",\"caption\":\"Fatih Boy\"},\"logo\":{\"@id\":\"https:\/\/fatihboy.com\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/fatihboy.com\"],\"url\":\"https:\/\/fatihboy.com\/en\/author\/fatih\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Farkl\u0131 Kullan\u0131c\u0131 ile TFS Sunucusuna Ba\u011flanmak - Fatih Boy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihboy.com\/en\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/","og_locale":"en_US","og_type":"article","og_title":"Farkl\u0131 Kullan\u0131c\u0131 ile TFS Sunucusuna Ba\u011flanmak - Fatih Boy","og_description":"Team Foundation Server i\u00e7in eklentiler yazmaya karar verdim. Bunun i\u00e7inde makinama sanal sunucu i\u00e7erisinde Windows Server 2003 R2 ard\u0131nda da TFS&#8217;yi kurdum. TFS&#8217;yi Sanal makine \u00fczerinde \u00e7al\u0131\u015faca\u011f\u0131mdan bir Domain Controller ayarlamaya gerek g\u00f6rmedim. Sanal makinemi sunucu olmas\u0131 i\u00e7in a\u00e7arak normal Windows Xp Sp2 \u00fczerinde de kodumu yazmaya ba\u015flad\u0131m. Fakat kod i\u00e7erisinde bir t\u00fcrl\u00fc TFS sunucuna...Read More","og_url":"https:\/\/fatihboy.com\/en\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/","og_site_name":"Fatih Boy","article_published_time":"2006-06-04T16:33:00+00:00","article_modified_time":"2021-06-12T17:38:38+00:00","author":"Fatih Boy","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Fatih Boy","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihboy.com\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/#article","isPartOf":{"@id":"https:\/\/fatihboy.com\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/"},"author":{"name":"Fatih Boy","@id":"https:\/\/fatihboy.com\/#\/schema\/person\/6b06a41d42eed36eaa0780fbeb774158"},"headline":"Farkl\u0131 Kullan\u0131c\u0131 ile TFS Sunucusuna Ba\u011flanmak","datePublished":"2006-06-04T16:33:00+00:00","dateModified":"2021-06-12T17:38:38+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihboy.com\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/"},"wordCount":331,"commentCount":0,"publisher":{"@id":"https:\/\/fatihboy.com\/#\/schema\/person\/6b06a41d42eed36eaa0780fbeb774158"},"keywords":["Team Foundation Server"],"articleSection":["Team Foundation Server","T\u00fcrk\u00e7e"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihboy.com\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/fatihboy.com\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/","url":"https:\/\/fatihboy.com\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/","name":"Farkl\u0131 Kullan\u0131c\u0131 ile TFS Sunucusuna Ba\u011flanmak - Fatih Boy","isPartOf":{"@id":"https:\/\/fatihboy.com\/#website"},"datePublished":"2006-06-04T16:33:00+00:00","dateModified":"2021-06-12T17:38:38+00:00","breadcrumb":{"@id":"https:\/\/fatihboy.com\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihboy.com\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihboy.com\/farkli-kullanici-ile-tfs-sunucusuna-baglanmak\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/fatihboy.com\/"},{"@type":"ListItem","position":2,"name":"Farkl\u0131 Kullan\u0131c\u0131 ile TFS Sunucusuna Ba\u011flanmak"}]},{"@type":"WebSite","@id":"https:\/\/fatihboy.com\/#website","url":"https:\/\/fatihboy.com\/","name":"Fatih Boy","description":"Ki\u015fisel Web Sitesi","publisher":{"@id":"https:\/\/fatihboy.com\/#\/schema\/person\/6b06a41d42eed36eaa0780fbeb774158"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihboy.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihboy.com\/#\/schema\/person\/6b06a41d42eed36eaa0780fbeb774158","name":"Fatih Boy","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fatihboy.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5b3de123ad95a2ffe30b75a54cee98b55f65185c6d6805b35088a3d945f2feb4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5b3de123ad95a2ffe30b75a54cee98b55f65185c6d6805b35088a3d945f2feb4?s=96&d=mm&r=g","caption":"Fatih Boy"},"logo":{"@id":"https:\/\/fatihboy.com\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/fatihboy.com"],"url":"https:\/\/fatihboy.com\/en\/author\/fatih\/"}]}},"brizy_media":[],"_links":{"self":[{"href":"https:\/\/fatihboy.com\/en\/wp-json\/wp\/v2\/posts\/370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihboy.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihboy.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihboy.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihboy.com\/en\/wp-json\/wp\/v2\/comments?post=370"}],"version-history":[{"count":1,"href":"https:\/\/fatihboy.com\/en\/wp-json\/wp\/v2\/posts\/370\/revisions"}],"predecessor-version":[{"id":371,"href":"https:\/\/fatihboy.com\/en\/wp-json\/wp\/v2\/posts\/370\/revisions\/371"}],"wp:attachment":[{"href":"https:\/\/fatihboy.com\/en\/wp-json\/wp\/v2\/media?parent=370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihboy.com\/en\/wp-json\/wp\/v2\/categories?post=370"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihboy.com\/en\/wp-json\/wp\/v2\/tags?post=370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}