.NET

ASP.NET with Couchbase: Getting Started

2 MIN DE LEITURA

ASP.NET is the development platform that most Microsoft developers use. At the Couchbase Connect Silicon Valley 2017 conference, I spoke to some .NET developers in a workshop. I asked them what type of content they’d like to see me create that would be most useful for them. The answer was: videos on getting started.

ASP.NET Tools to Get Started

The below video takes you from having no code to having an HTTP-based REST API that uses Couchbase Server, built with ASP.NET.

The video uses the following tools:

Getting Started Video

In the video, I briefly gloss over Scan Consistency. For more details on that, check out the Scan Consistency documentation or read a blog post that I wrote introducing AtPlus, which also covers the other types of Scan Consistency.

Summary

This video gives you the absolute minimum to get started with Couchbase by walking you through a simple CRUD application. Stay tuned for a similar video on getting started with ASP.NET Core.

If you have any questions, please leave a comment. Or, you can always ask me questions on Twitter @mgroves.

Share this article

Autor

Matthew D. Groves é um cara que adora programar. Não importa se é C#, jQuery ou PHP: ele envia pull requests para qualquer coisa. Ele vem programando profissionalmente desde que escreveu um aplicativo de ponto de venda em QuickBASIC para a pizzaria dos pais, lá nos anos 90. Atualmente, trabalha como gerente sênior de marketing de produto na Couchbase. Passa seu tempo livre com a família, assistindo aos Reds e participando da comunidade de desenvolvedores. É autor dos livros “AOP in .NET” e “Pro Microservices in .NET”, autor da Pluralsight e MVP da Microsoft.

5 respostas

  1. Avatar de alikolahdoozan
    alikolahdoozan

    Great tutorial.

    May I know about its pricing and licensing ?. Is this free ?. It seems it is, but for commercial use, we need to pay. I need to the details.

    Regards
    Ali

    1. Avatar de Matthew Groves, Developer Advocate

      Hi Ali,

      In the video, I showed the Community edition, which is open source and free (even in production). We also have the Enterprise edition, which requires a commercial license for production. For more information, check out https://www.couchbase.com/editions e https://www.couchbase.com/subscriptions-and-support

  2. Avatar de alikolahdoozan
    alikolahdoozan

    Great tutorial.

    May I know about its pricing and licensing ?. Is this free ?. It seems it is, but for commercial use, we need to pay. I need to the details.

    Regards
    Ali Kolahdoozan

  3. Avatar de martinsse
    martinsse

    Hi Mathew,
    Great Tutorial, but I have a exception.
    I followed the process from A to Z of your video, with the sames class names, properties, etc…
    The only difference is the URI because my couchbase is in another server. I put: https://xx.xxx.xxx.xx:8091/
    The actions Get(Guid), Edit and Delete are OK, But not the GetAll I think that is because I use query N1QL.
    The exception:
    Couchbase.Linq.CouchbaseQueryException: ‘An error occurred executing the N1QL query. See the inner exception for details.’
    SocketException: A connection attempt failed because the connected party did not respond properly beyond a certain time or an
    established connection failed because the connection host did not respond 52.166.184.59:8093.

    Have you an idea?

    Best regards,

    Martinsse

    1. Avatar de Matthew Groves, Developer Advocate

      Hi Martinsse, it sounds like that port (8093) might not be open to your application. You can try running sdk-doctor to verify https://github.com/couchbaselabs/sdk-doctor and if the problem persists, I would recommend posting to the forums with more information about your network setup: https://forums.couchbase.com/c/net-sdk

Deixe um comentário

Pronto para começar com o Couchbase Capella?

Começar a construir

Confira nosso portal para desenvolvedores para explorar o NoSQL, navegar por recursos e começar com tutoriais.

Use o Capella free

Coloque a mão na massa com o Couchbase em apenas alguns cliques. O Capella DBaaS é a maneira mais fácil e rápida de começar.

Entre em contato

Quer saber mais sobre as ofertas do Couchbase? Deixe-nos ajudar.