{"id":1838,"date":"2014-12-16T17:37:18","date_gmt":"2014-12-16T17:37:18","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=1838"},"modified":"2023-06-28T01:28:31","modified_gmt":"2023-06-28T08:28:31","slug":"wicked-easy-net-and-nosql-couchbase-server","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/pt\/wicked-easy-net-and-nosql-couchbase-server\/","title":{"rendered":"Wicked Easy .NET e NoSQL com o Couchbase Server"},"content":{"rendered":"<p>O NoSQL n\u00e3o precisa ser dif\u00edcil.  De modo geral, n\u00e3o \u00e9.  Mas, reconhecidamente, e especialmente no Windows, nem sempre \u00e9 t\u00e3o limpo quanto poderia ser.  Cada banco de dados tem seus desafios.  Alguns s\u00e3o dif\u00edceis de instalar.  Alguns s\u00e3o dif\u00edceis de configurar. Alguns t\u00eam ferramentas de administra\u00e7\u00e3o de servidor ruins.  Alguns n\u00e3o t\u00eam suporte s\u00f3lido \u00e0 biblioteca do cliente.  Uma das ofertas de NoSQL que realmente faz as coisas direito \u00e9 o Couchbase Server.  OK, revela\u00e7\u00e3o total, esta \u00e9 minha primeira postagem no dllHell (onde esta postagem foi publicada originalmente) como Developer Advocate do Couchbase!<\/p>\n<div>\n<p>O Couchbase foi criado quando o Membase e o CouchOne se fundiram.  O Couchbase Server 2.0 ser\u00e1 um banco de dados NoSQL h\u00edbrido, combinando recursos de armazenamentos distribu\u00eddos de chave\/valor e bancos de dados orientados a documentos.  O produto 2.0 ser\u00e1 lan\u00e7ado em 2012.  Em janeiro de 2012, uma vers\u00e3o provis\u00f3ria 1.8 ser\u00e1 o primeiro lan\u00e7amento oficial do Couchbase Server mesclado, antigo Membase Server.  Como parte de minhas responsabilidades no Couchbase, estou trabalhando na biblioteca de cliente .NET para o Couchbase Server 1.8.  Veja abaixo uma pr\u00e9via do que est\u00e1 por vir.  Se voc\u00ea j\u00e1 usou o Membase Server com .NET, deve estar familiarizado com o c\u00f3digo abaixo.  Se voc\u00ea \u00e9 novo no Couchbase Server, vou come\u00e7ar do in\u00edcio.<\/p>\n<h3 style=\"border-style: initial;border-color: initial;font-size: 16px\"><strong>Instala\u00e7\u00e3o do servidor Couchbase<\/strong><\/h3>\n<div>A maioria dos bancos de dados NoSQL tem instaladores para Windows, embora \u00e0s vezes eles n\u00e3o sejam mantidos atualizados.  No caso do CouchDB, h\u00e1 alguns pacotes MSI diferentes dispon\u00edveis, mas apenas um funciona (pelo menos at\u00e9 outubro de 2011).  O MongoDB tem um instalador de linha de comando para seu servi\u00e7o.  Felizmente, o Couchbase Server tem um instalador do Windows com suporte oficial.   Voc\u00ea pode fazer o download do <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/downloads\/\">instalador mais recente<\/a> aqui. No momento em que escrevo este texto, a vers\u00e3o mais recente do servidor \u00e9 a 1.7.2.  Volte em janeiro para conferir a vers\u00e3o 1.8.  Obtenha a Community Edition do Membase Server, que \u00e9 apropriada para fins de desenvolvimento.  O Membase Server ser\u00e1 renomeado para Couchbase Server com a vers\u00e3o 1.8.  Voc\u00ea tamb\u00e9m pode obter o 2.0 Developer Preview, que j\u00e1 tem o novo nome.<\/div>\n<div style=\"border-style: initial;border-color: initial;font-size: 16px\"><\/div>\n<div>Depois de executar o instalador, voc\u00ea ser\u00e1 levado ao console de administra\u00e7\u00e3o baseado na Web.  O console de administra\u00e7\u00e3o \u00e9 onde voc\u00ea poder\u00e1 configurar o cluster e gerenciar os n\u00f3s dentro desse cluster.  No desenvolvimento local, voc\u00ea provavelmente ter\u00e1 um cluster de n\u00f3 \u00fanico (por exemplo, sua m\u00e1quina de desenvolvimento).<\/div>\n<div style=\"border-style: initial;border-color: initial;font-size: 16px\"><\/div>\n<\/div>\n<div style=\"border-style: initial;border-color: initial;font-size: 16px\"><\/div>\n<div style=\"border-style: initial;border-color: initial;font-size: 16px\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3576\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2014\/12\/windows-web-admin.png\" alt=\" windows-web-admin\" width=\"609\" height=\"600\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2014\/12\/windows-web-admin.png 609w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2014\/12\/windows-web-admin-300x296.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2014\/12\/windows-web-admin-65x65.png 65w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2014\/12\/windows-web-admin-50x50.png 50w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2014\/12\/windows-web-admin-20x20.png 20w\" sizes=\"auto, (max-width: 609px) 100vw, 609px\" \/><\/div>\n<div>\n<div style=\"border-style: initial;border-color: initial;font-size: 16px\"><\/div>\n<div>Depois de colocar o servidor em funcionamento, \u00e9 hora de escrever algum c\u00f3digo.  Se voc\u00ea criar um aplicativo de console simples, a maneira mais f\u00e1cil de incluir a biblioteca do cliente Couchbase .NET no seu aplicativo \u00e9 usar o Nuget.  Depois de adicionar a refer\u00eancia, adicione a seguinte instru\u00e7\u00e3o using:<\/div>\n<\/div>\n<div><\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3577\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2014\/12\/nuget.png\" alt=\" nuget\" width=\"800\" height=\"533\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2014\/12\/nuget.png 800w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2014\/12\/nuget-300x200.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2014\/12\/nuget-768x512.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2014\/12\/nuget-400x267.png 400w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2014\/12\/nuget-450x300.png 450w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2014\/12\/nuget-20x13.png 20w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/div>\n<div>\n<div style=\"font-size: 16px\"><\/div>\n<\/div>\n<div style=\"border-style: initial;border-color: initial;font-size: 16px\"><\/div>\n<div>\n<div class=\"geshifilter\">\n<div class=\"csharp geshifilter-csharp\" style=\"font-family: monospace\"><span style=\"color: #0600ff;font-weight: bold\">usando<\/span> <span style=\"color: #008080\">Couchbase<\/span><span style=\"color: #008000\">;<\/span><\/div>\n<\/div>\n<div style=\"border-style: initial;border-color: initial;font-size: 16px\">Em seguida, adicione a seguinte linha ao seu m\u00e9todo Main:<\/div>\n<div style=\"border-style: initial;border-color: initial;font-size: 16px\">\n<div class=\"geshifilter\">\n<div class=\"csharp geshifilter-csharp\" style=\"font-family: monospace\"><span style=\"color: #0600ff;font-weight: bold\">est\u00e1tico<\/span> <span style=\"color: #6666cc;font-weight: bold\">vazio<\/span> Principal<span style=\"color: #008000\">(<\/span><span style=\"color: #6666cc;font-weight: bold\">string<\/span><span style=\"color: #008000\">[<\/span><span style=\"color: #008000\">]<\/span> argumentos<span style=\"color: #008000\">)<\/span> <span style=\"color: #008000\">{<\/span><br \/>\nvar cliente <span style=\"color: #008000\">=<\/span><a href=\"https:\/\/www.google.com\/search?q=new+msdn.microsoft.com\"><span style=\"color: #008000\">novo<\/span><\/a> Cliente Couchbase<span style=\"color: #008000\">(<\/span><span style=\"color: #008000\">)<\/span><span style=\"color: #008000\">;<\/span><br \/>\n<span style=\"color: #008000\">}<\/span><\/div>\n<\/div>\n<\/div>\n<p>Depois de adicionar essas linhas, compile o aplicativo.  Voc\u00ea provavelmente receber\u00e1 um estranho erro de compila\u00e7\u00e3o informando que o namespace \"Couchbase\" n\u00e3o pode ser encontrado.  A raz\u00e3o pela qual voc\u00ea ver\u00e1 esse erro \u00e9 que o Visual Studio 2010 (presumi que voc\u00ea est\u00e1 usando o 2010) padroniza os projetos de console para usar o .NET 4 Client Profile, que \u00e9 um subconjunto do .NET 4. Voc\u00ea precisar\u00e1 atualizar a vers\u00e3o do .NET para o .NET 4.0 (ou 3.5).  Depois de fazer essa altera\u00e7\u00e3o, voc\u00ea poder\u00e1 compilar.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3578\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2014\/12\/net-version-selector.png\" alt=\"net-version-selector\" width=\"741\" height=\"600\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2014\/12\/net-version-selector.png 741w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2014\/12\/net-version-selector-300x243.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2014\/12\/net-version-selector-20x16.png 20w\" sizes=\"auto, (max-width: 741px) 100vw, 741px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Em seguida, voc\u00ea precisar\u00e1 adicionar algumas informa\u00e7\u00f5es de configura\u00e7\u00e3o ao seu app.config.  O arquivo inteiro deve ter a seguinte apar\u00eancia:<\/p>\n<div class=\"geshifilter\">\n<div class=\"xml geshifilter-xml\" style=\"font-family: monospace\">\n<span style=\"color: #009900\"><span style=\"color: #000000;font-weight: bold\">&lt;configura\u00e7\u00e3o<span style=\"color: #000000;font-weight: bold\">&gt;<\/span><\/span><\/span><br \/>\n<span style=\"color: #009900\"><span style=\"color: #000000;font-weight: bold\">&lt;configSections<span style=\"color: #000000;font-weight: bold\">&gt;<\/span><\/span><\/span><br \/>\n<span style=\"color: #009900\"><span style=\"color: #000000;font-weight: bold\">&lt;se\u00e7\u00e3o<\/span> <span style=\"color: #000066\">nome<\/span>=<span style=\"color: #ff0000\">\"membase\"<\/span> <span style=\"color: #000066\">tipo<\/span>=<span style=\"color: #ff0000\">\"Couchbase.Configuration.CouchbaseClientSection, Couchbase\"<\/span><span style=\"color: #000000;font-weight: bold\">\/&gt;<\/span><\/span><br \/>\n<span style=\"color: #009900\"><span style=\"color: #000000;font-weight: bold\">&gt;<\/span><\/span><br \/>\n<span style=\"color: #009900\"><span style=\"color: #000000;font-weight: bold\">&lt;membase<span style=\"color: #000000;font-weight: bold\">&gt;<\/span><\/span><\/span><br \/>\n<span style=\"color: #009900\"><span style=\"color: #000000;font-weight: bold\">&lt;servidores<\/span> <span style=\"color: #000066\">balde<\/span>=<span style=\"color: #ff0000\">\"default\"<\/span> <span style=\"color: #000066\">bucketPassword<\/span>=<span style=\"color: #ff0000\">&#8220;&#8221;<\/span><span style=\"color: #000000;font-weight: bold\">&gt;<\/span><\/span><br \/>\n<span style=\"color: #009900\"><span style=\"color: #000000;font-weight: bold\">&lt;add<\/span> <span style=\"color: #000066\">uri<\/span>=<span style=\"color: #ff0000\">\"https:\/\/127.0.0.1:8091\/pools\/default\"<\/span><span style=\"color: #000000;font-weight: bold\">\/&gt;<\/span><\/span><br \/>\n<span style=\"color: #009900\"><span style=\"color: #000000;font-weight: bold\">&gt;<\/span><\/span><br \/>\n<span style=\"color: #009900\"><span style=\"color: #000000;font-weight: bold\">&gt;<\/span><\/span><br \/>\n<span style=\"color: #009900\"><span style=\"color: #000000;font-weight: bold\">&gt;<\/span><\/span><\/div>\n<\/div>\n<div>Na se\u00e7\u00e3o config, voc\u00ea fornece ao cliente detalhes sobre como se conectar e onde os dados ser\u00e3o gravados.  Para dizer ao CouchbaseClient para usar a se\u00e7\u00e3o app.config, atualize a declara\u00e7\u00e3o da seguinte forma:<\/div>\n<div class=\"geshifilter\">\n<div class=\"csharp geshifilter-csharp\" style=\"font-family: monospace\">var cliente <span style=\"color: #008000\">=<\/span><a href=\"https:\/\/www.google.com\/search?q=new+msdn.microsoft.com\"><span style=\"color: #008000\">novo<\/span><\/a> Cliente Couchbase<span style=\"color: #008000\">(<\/span><span style=\"color: #666666\">\"membase\"<\/span><span style=\"color: #008000\">)<\/span><span style=\"color: #008000\">;<\/span><\/div>\n<\/div>\n<div>Salvar e ler tipos de dados primitivos \u00e9 t\u00e3o f\u00e1cil quanto salvar e ler tipos definidos pelo usu\u00e1rio.  Portanto, criarei algumas classes Brewery e Beer (intencionalmente simplificadas).<\/div>\n<div class=\"geshifilter\">\n<div class=\"csharp geshifilter-csharp\" style=\"font-family: monospace\">\n<p><span style=\"color: #008000\">[<\/span>Serializ\u00e1vel<span style=\"color: #008000\">]<\/span><br \/>\n<span style=\"color: #0600ff;font-weight: bold\">p\u00fablico<\/span> <span style=\"color: #6666cc;font-weight: bold\">classe<\/span> Cervejaria <span style=\"color: #008000\">{<\/span><br \/>\n<span style=\"color: #0600ff;font-weight: bold\">p\u00fablico<\/span> <span style=\"color: #6666cc;font-weight: bold\">string<\/span> Nome <span style=\"color: #008000\">{<\/span> obter<span style=\"color: #008000\">;<\/span> definir<span style=\"color: #008000\">;<\/span> <span style=\"color: #008000\">}<\/span><br \/>\n<span style=\"color: #0600ff;font-weight: bold\">p\u00fablico<\/span> <span style=\"color: #6666cc;font-weight: bold\">string<\/span> Cidade <span style=\"color: #008000\">{<\/span> obter<span style=\"color: #008000\">;<\/span> definir<span style=\"color: #008000\">;<\/span> <span style=\"color: #008000\">}<\/span><br \/>\n<span style=\"color: #0600ff;font-weight: bold\">p\u00fablico<\/span> <span style=\"color: #6666cc;font-weight: bold\">string<\/span> Estado <span style=\"color: #008000\">{<\/span> obter<span style=\"color: #008000\">;<\/span> definir<span style=\"color: #008000\">;<\/span> <span style=\"color: #008000\">}<\/span><br \/>\n<span style=\"color: #008000\">}<\/span><\/p>\n<p><span style=\"color: #008000\">[<\/span>Serializ\u00e1vel<span style=\"color: #008000\">]<\/span><br \/>\n<span style=\"color: #0600ff;font-weight: bold\">p\u00fablico<\/span> <span style=\"color: #6666cc;font-weight: bold\">classe<\/span> Cerveja <span style=\"color: #008000\">{<\/span><br \/>\n<span style=\"color: #0600ff;font-weight: bold\">p\u00fablico<\/span> <span style=\"color: #6666cc;font-weight: bold\">string<\/span> Nome <span style=\"color: #008000\">{<\/span> obter<span style=\"color: #008000\">;<\/span> definir<span style=\"color: #008000\">;<\/span> <span style=\"color: #008000\">}<\/span><br \/>\n<span style=\"color: #0600ff;font-weight: bold\">p\u00fablico<\/span> Cervejaria Cervejaria <span style=\"color: #008000\">{<\/span> obter<span style=\"color: #008000\">;<\/span> definir<span style=\"color: #008000\">;<\/span> <span style=\"color: #008000\">}<\/span><br \/>\n<span style=\"color: #0600ff;font-weight: bold\">p\u00fablico<\/span> <span style=\"color: #6666cc;font-weight: bold\">decimal<\/span> ABV <span style=\"color: #008000\">{<\/span> obter<span style=\"color: #008000\">;<\/span> definir<span style=\"color: #008000\">;<\/span> <span style=\"color: #008000\">}<\/span><br \/>\n<span style=\"color: #008000\">}<\/span><\/p>\n<\/div>\n<\/div>\n<div>Essas classes s\u00e3o apenas POCOs (Plain Old CLR Objects) que foram marcadas como serializ\u00e1veis.  Criarei uma inst\u00e2ncia de cada uma delas em meu m\u00e9todo Main.<\/div>\n<div class=\"geshifilter\">\n<div class=\"csharp geshifilter-csharp\" style=\"font-family: monospace\">\n<p>var brewery <span style=\"color: #008000\">=<\/span><a href=\"https:\/\/www.google.com\/search?q=new+msdn.microsoft.com\"><span style=\"color: #008000\">novo<\/span><\/a> Cervejaria <span style=\"color: #008000\">{<\/span><br \/>\nCidade <span style=\"color: #008000\">=<\/span> <span style=\"color: #666666\">\"Hartford\"<\/span>,<br \/>\nEstado <span style=\"color: #008000\">=<\/span> <span style=\"color: #666666\">\"CT\"<\/span>,<br \/>\nNome <span style=\"color: #008000\">=<\/span> <span style=\"color: #666666\">\"Cervejaria Thomas Hooker\"<\/span><br \/>\n<span style=\"color: #008000\">}<\/span><span style=\"color: #008000\">;<\/span><\/p>\n<p>var cerveja <span style=\"color: #008000\">=<\/span><a href=\"https:\/\/www.google.com\/search?q=new+msdn.microsoft.com\"><span style=\"color: #008000\">novo<\/span><\/a> Cerveja <span style=\"color: #008000\">{<\/span><br \/>\nCervejaria <span style=\"color: #008000\">=<\/span> cervejaria,<br \/>\nNome <span style=\"color: #008000\">=<\/span> <span style=\"color: #666666\">\"American Pale Ale\"<\/span>,<br \/>\nABV <span style=\"color: #008000\">=<\/span> 5<span style=\"color: #008000\">.<\/span>3m<br \/>\n<span style=\"color: #008000\">}<\/span><span style=\"color: #008000\">;<\/span><\/p>\n<\/div>\n<\/div>\n<p>Em seguida, manterei a inst\u00e2ncia da Beer chamando o m\u00e9todo Store do cliente. Observe que o StoreMode exige que a instru\u00e7\u00e3o using adicional seja adicionada para Enyim.Caching.Memcached.<\/p>\n<\/div>\n<div>cliente.Store(StoreMode.Set, beer.Name, beer);<\/div>\n<div>Ap\u00f3s o armazenamento, lerei a cerveja novamente e exibirei seu nome.<\/div>\n<div class=\"geshifilter\">\n<div class=\"csharp geshifilter-csharp\" style=\"font-family: monospace\">var savedBeer <span style=\"color: #008000\">=<\/span> cliente<span style=\"color: #008000\">.<\/span><span style=\"color: #0000ff\">Obter<\/span><span style=\"color: #008000\">&lt;<\/span>Cerveja<span style=\"color: #008000\">&gt;<\/span><span style=\"color: #008000\">(<\/span><span style=\"color: #666666\">\"cerveja\"<\/span><span style=\"color: #008000\">)<\/span><span style=\"color: #008000\">;<\/span> Console<span style=\"color: #008000\">.<\/span><span style=\"color: #0000ff\">WriteLine<\/span><span style=\"color: #008000\">(<\/span>Cerveja salva<span style=\"color: #008000\">.<\/span><span style=\"color: #0000ff\">Nome<\/span><span style=\"color: #008000\">)<\/span><span style=\"color: #008000\">;<\/span><\/div>\n<\/div>\n<div>E \u00e9 isso, muito f\u00e1cil, certo?  Reconhecidamente, esta \u00e9 uma introdu\u00e7\u00e3o muito simplificada ao Couchbase Server.  Como agora estou assumindo a biblioteca de clientes .NET, publicarei tutoriais e exemplos mais detalhados.<\/div>","protected":false},"excerpt":{"rendered":"<p>NoSQL doesn&#8217;t have to be difficult. \u00a0Generally speaking, it isn&#8217;t. \u00a0But admittedly, and especially on Windows, it&#8217;s not always as clean as it could be. \u00a0Each database has its challenges. \u00a0Some are difficult to install. \u00a0Some are difficult to configure. [&hellip;]<\/p>","protected":false},"author":22,"featured_media":13873,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"ppma_author":[8980],"class_list":["post-1838","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.1 (Yoast SEO v26.1.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Wicked Easy .NET and NoSQL with Couchbase Server - The Couchbase Blog<\/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:\/\/www.couchbase.com\/blog\/pt\/wicked-easy-net-and-nosql-couchbase-server\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Wicked Easy .NET and NoSQL with Couchbase Server\" \/>\n<meta property=\"og:description\" content=\"NoSQL doesn&#8217;t have to be difficult. \u00a0Generally speaking, it isn&#8217;t. \u00a0But admittedly, and especially on Windows, it&#8217;s not always as clean as it could be. \u00a0Each database has its challenges. \u00a0Some are difficult to install. \u00a0Some are difficult to configure. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/pt\/wicked-easy-net-and-nosql-couchbase-server\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2014-12-16T17:37:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-28T08:28:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2014\/12\/windows-web-admin.png\" \/>\n<meta name=\"author\" content=\"John Zablocki, NET. SDK Developer, Couchbase\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"John Zablocki, NET. SDK Developer, Couchbase\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/\"},\"author\":{\"name\":\"John Zablocki, NET. SDK Developer, Couchbase\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/ee312fb775c13d20a32f1d455888a282\"},\"headline\":\"Wicked Easy .NET and NoSQL with Couchbase Server\",\"datePublished\":\"2014-12-16T17:37:18+00:00\",\"dateModified\":\"2023-06-28T08:28:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/\"},\"wordCount\":838,\"commentCount\":8,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"articleSection\":[\"Uncategorized\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/\",\"name\":\"Wicked Easy .NET and NoSQL with Couchbase Server - The Couchbase Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"datePublished\":\"2014-12-16T17:37:18+00:00\",\"dateModified\":\"2023-06-28T08:28:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"width\":1800,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Wicked Easy .NET and NoSQL with Couchbase Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/ee312fb775c13d20a32f1d455888a282\",\"name\":\"John Zablocki, NET. SDK Developer, Couchbase\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/201925d9efc4992ce80385b76fdea34b\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8c5a77152c796c424a3f7f6d9fa31a999a7fe115d64c2acc93c4c0c014e6512a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8c5a77152c796c424a3f7f6d9fa31a999a7fe115d64c2acc93c4c0c014e6512a?s=96&d=mm&r=g\",\"caption\":\"John Zablocki, NET. SDK Developer, Couchbase\"},\"description\":\"John Zablocki is a NET. SDK Developer at Couchbase. John is also the organizer of Beantown ALT.NET and a former adjunct at Fairfield University. You can also check out the book on Amazon named \\\"Couchbase Essentials\\\" which explains how to install and configure Couchbase Server.\",\"url\":\"https:\/\/www.couchbase.com\/blog\/pt\/author\/john-zablocki\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Wicked Easy .NET and NoSQL with Couchbase Server - The Couchbase Blog","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:\/\/www.couchbase.com\/blog\/pt\/wicked-easy-net-and-nosql-couchbase-server\/","og_locale":"pt_BR","og_type":"article","og_title":"Wicked Easy .NET and NoSQL with Couchbase Server","og_description":"NoSQL doesn&#8217;t have to be difficult. \u00a0Generally speaking, it isn&#8217;t. \u00a0But admittedly, and especially on Windows, it&#8217;s not always as clean as it could be. \u00a0Each database has its challenges. \u00a0Some are difficult to install. \u00a0Some are difficult to configure. [&hellip;]","og_url":"https:\/\/www.couchbase.com\/blog\/pt\/wicked-easy-net-and-nosql-couchbase-server\/","og_site_name":"The Couchbase Blog","article_published_time":"2014-12-16T17:37:18+00:00","article_modified_time":"2023-06-28T08:28:31+00:00","og_image":[{"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2014\/12\/windows-web-admin.png","type":"","width":"","height":""}],"author":"John Zablocki, NET. SDK Developer, Couchbase","twitter_card":"summary_large_image","twitter_misc":{"Written by":"John Zablocki, NET. SDK Developer, Couchbase","Est. reading time":"5 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/"},"author":{"name":"John Zablocki, NET. SDK Developer, Couchbase","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/ee312fb775c13d20a32f1d455888a282"},"headline":"Wicked Easy .NET and NoSQL with Couchbase Server","datePublished":"2014-12-16T17:37:18+00:00","dateModified":"2023-06-28T08:28:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/"},"wordCount":838,"commentCount":8,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","articleSection":["Uncategorized"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/","url":"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/","name":"Wicked Easy .NET and NoSQL with Couchbase Server - The Couchbase Blog","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","datePublished":"2014-12-16T17:37:18+00:00","dateModified":"2023-06-28T08:28:31+00:00","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","width":1800,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/wicked-easy-net-and-nosql-couchbase-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Wicked Easy .NET and NoSQL with Couchbase Server"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"Blog do Couchbase","description":"Couchbase, o banco de dados NoSQL","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"Blog do Couchbase","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/ee312fb775c13d20a32f1d455888a282","name":"John Zablocki, NET. SDK, Couchbase","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/201925d9efc4992ce80385b76fdea34b","url":"https:\/\/secure.gravatar.com\/avatar\/8c5a77152c796c424a3f7f6d9fa31a999a7fe115d64c2acc93c4c0c014e6512a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8c5a77152c796c424a3f7f6d9fa31a999a7fe115d64c2acc93c4c0c014e6512a?s=96&d=mm&r=g","caption":"John Zablocki, NET. SDK Developer, Couchbase"},"description":"John Zablocki is a NET. SDK Developer at Couchbase. John is also the organizer of Beantown ALT.NET and a former adjunct at Fairfield University. You can also check out the book on Amazon named \"Couchbase Essentials\" which explains how to install and configure Couchbase Server.","url":"https:\/\/www.couchbase.com\/blog\/pt\/author\/john-zablocki\/"}]}},"authors":[{"term_id":8980,"user_id":22,"is_guest":0,"slug":"john-zablocki","display_name":"John Zablocki, NET. SDK Developer, Couchbase","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/8c5a77152c796c424a3f7f6d9fa31a999a7fe115d64c2acc93c4c0c014e6512a?s=96&d=mm&r=g","author_category":"","last_name":"Zablocki","first_name":"John","job_title":"","user_url":"","description":"John Zablocki \u00e9 um desenvolvedor NET. SDK Developer na Couchbase. John tamb\u00e9m \u00e9 o organizador do Beantown ALT.NET e ex-adjunto da Fairfield University.\r\nVoc\u00ea tamb\u00e9m pode conferir o livro na Amazon chamado \"Couchbase Essentials\", que explica como instalar e configurar o Couchbase Server."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/1838","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/comments?post=1838"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/1838\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media\/13873"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media?parent=1838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/categories?post=1838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/tags?post=1838"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/ppma_author?post=1838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}