.NET

ASP.NET con Couchbase: Introducción

Lectura de 2 minutos

ASP.NET es la plataforma de desarrollo que más desarrolladores de Microsoft utilizan. En la conferencia Couchbase Connect Silicon Valley 2017, hablé con algunos desarrolladores de .NET en un taller. Les pregunté qué tipo de contenido les gustaría que creara para que fuera más útil para ellos. La respuesta fue: vídeos sobre cómo empezar.

Herramientas de ASP.NET para empezar

El video que se muestra a continuación te lleva de no tener ningún código a tener una API REST basada en HTTP que utiliza Couchbase Server, construida con ASP.NET.

El video utiliza las siguientes herramientas:

Vídeo de inicio

En el video, pasé por alto brevemente la coherencia de escaneado. Para obtener más detalles al respecto, consulte el artículo Documentación de la coherencia de la exploración o lee un post de blog que escribí para presentar AtPlus, que también cubre los otros tipos de coherencia de escaneo.

Resumen

Este video te proporciona los conocimientos mínimos necesarios para empezar a utilizar Couchbase, mostrando paso a paso cómo crear una aplicación CRUD sencilla. No te pierdas el próximo video sobre cómo empezar a utilizar ASP.NET Core.

Si tiene alguna pregunta, por favor deje un comentario. O, siempre puede preguntarme cualquier cosa. Twitter @mgroves.

Compartir este artículo

Autor

Matthew D. Groves is a guy who loves to code. It doesn’t matter if it’s C#, jQuery, or PHP: he’ll submit pull requests for anything. He has been coding professionally ever since he wrote a QuickBASIC point-of-sale app for his parent’s pizza shop back in the 90s. He worked as a Senior Product Marketing Manager for Couchbase. His free time is spent with his family, watching the Reds, and getting involved in the developer community. He is the author of AOP in .NET, Pro Microservices in .NET, a Pluralsight author, and a Microsoft MVP.

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

Deje el desorden de las bases de datos en el pasado

Cada suma de pilas significa otra factura y más cosas que gestionar. Calcula cuánto podrías ahorrar en 2 minutos.