CosmicWorks.Template.Web 1.1.0

dotnet add package CosmicWorks.Template.Web --version 1.1.0
NuGet\Install-Package CosmicWorks.Template.Web -Version 1.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CosmicWorks.Template.Web" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CosmicWorks.Template.Web --version 1.1.0
#r "nuget: CosmicWorks.Template.Web, 1.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CosmicWorks.Template.Web as a Cake Addin
#addin nuget:?package=CosmicWorks.Template.Web&version=1.1.0

// Install CosmicWorks.Template.Web as a Cake Tool
#tool nuget:?package=CosmicWorks.Template.Web&version=1.1.0

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 new 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.
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0 157 4/9/2024
1.0.0 2,662 11/2/2022