.NET

ASP.NET with Couchbase: Getting Started

Lectura de 2 minutos

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.

Resumen

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.

Compartir este artículo

Autor

Matthew D. Groves es un tipo al que le encanta programar. No importa si se trata de C#, jQuery o PHP: envía solicitudes de incorporación de cambios para cualquier cosa. Se ha dedicado profesionalmente a la programación desde que escribió una aplicación de punto de venta en QuickBASIC para la pizzería de sus papás allá por los años 90. Actualmente trabaja como gerente sénior de mercadotecnia de productos en Couchbase. Dedica su tiempo libre a su familia, a ver a los Reds y a participar en la comunidad de desarrolladores. Es autor de *AOP in .NET* y *Pro Microservices in .NET*, colaborador de Pluralsight y MVP de Microsoft.

5 respuestas

  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 y 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

Deja un comentario

¿Listo para comenzar con Couchbase Capella?

Comenzar a construir

Visita nuestro portal para desarrolladores para explorar NoSQL, consultar recursos y comenzar con los tutoriales.

Usa Capella gratis

Empieza a usar Couchbase en tan solo unos clics. Capella DBaaS es la forma más fácil y rápida de comenzar.

Ponte en contacto

¿Quieres saber más sobre las ofertas de Couchbase? Permítenos ayudarte.