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:
- Visual Studio 2017
- Couchbase Server 5.0 Community Edition (La edición Enterprise también funcionará perfectamente)
- SDK de Couchbase para .NET
- ASP.NET (no ASP.NET Core, eso llegará en un video posterior)
- Swagger (proporcionado por Ataque a toda costa)
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.
Autor
5 respuestas
-
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-
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
-
-
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 -
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
-
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
Lo siento, debes estar conectado para publicar un comentario.