.NET

ASP.NET with Couchbase: Getting Started

2 분 읽기

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.

요약

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.

이 기사 공유하기

작가

매튜 D. 그로브스는 코딩을 정말 좋아하는 사람입니다. C#, jQuery, PHP 등 어떤 언어든 상관없이, 그는 무엇이든 풀 리퀘스트를 제출합니다. 그는 90년대에 부모님이 운영하던 피자 가게를 위해 QuickBASIC으로 POS(판매 시점 관리) 앱을 개발한 이래로 줄곧 전문 프로그래머로 활동해 왔습니다. 현재는 Couchbase에서 선임 제품 마케팅 매니저로 근무하고 있습니다. 여가 시간에는 가족과 함께 시간을 보내거나, 레즈(Reds) 경기를 관람하며, 개발자 커뮤니티 활동에 참여합니다. 그는 『AOP in .NET』과 『Pro Microservices in .NET』의 저자이자 Pluralsight 저자이며, Microsoft MVP이기도 합니다.

5개의 응답

  1. 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. 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 그리고 https://www.couchbase.com/subscriptions-and-support

  2. 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. 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. 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

댓글 남기기

카우치베이스 카펠라를 시작할 준비가 되셨나요?

개발 시작하기

NoSQL을 탐색하고, 리소스를 찾아보고, 튜토리얼을 시작하려면 개발자 포털을 확인하세요.

카펠라 프리 사용하기

단 몇 번의 클릭으로 카우치베이스(Couchbase)를 직접 체험해 보세요. Capella DBaaS는 시작하기 가장 쉽고 빠른 방법입니다.

연락해

Couchbase 제품군에 대해 더 알고 싶으신가요? 저희가 도와드리겠습니다.