Coder Social home page Coder Social logo

webapp-cosmosdb's Introduction

Azure Cosmos DB for NoSQL Tutorial - ASP.NET project template

Sample ASP.NET web application to use with API for NoSQL. This sample is used in the API for NOSQL web application tutorial. This sample is built using .NET 6 (LTS).

Features

This project framework provides the following features:

Getting Started

Prerequisites

(ideally very short, if any)

  • .NET 6 or later
  • Shell (Bash/PowerShell)

Installation

  • Install the CosmicWorks.Template.Web package from NuGet:

    dotnet install CosmicWorks.Template.Web
    
  • In an empty directory, create a new ASP.NET web application project using the project template:

    dotnet new cosmosdbnosql-webapp
    

    ๐Ÿ—ˆ Note: The name of the project will be the same as the empty folder's name. To influence this, use the --name and -output options.

Quickstart

  1. Build the project:

    dotnet build
    
  2. Optionally, open the project in Visual Studio Code.

    code .
    
  3. Run the project leaving the option to refresh on code changes:

    dotnet watch
    

    ๐Ÿ—ˆ Note: Under normal circumstances, the web application should be hosted at port 5000 and the URL http://localhost:5000.

  4. Open a web browser and navigate to the running web application.

Resources

  • Want to update this template to use Azure Cosmos DB for NoSQL? See the corresponding tutorial.
  • Want to learn more about NoSQL in Azure Cosmos DB? Check out our documentation.

webapp-cosmosdb's People

Watchers

Nabajyoti Boruah avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.