GithubHelp home page GithubHelp logo

build-your-first-orleans-app-aspnetcore's Introduction

Build your first Orleans app using ASP.NET Core 6.0

This repository contains the sample project for the Microsoft Learn module Build your first Orleans app using ASP.NET Core 6.0. The app demonstrates basic Orleans concepts, such as working with Grains, Silos and persistent state. These concepts are used to build a simple URL shortener utility app. The project also shows how to integrate these features with a basic web service using a Minimal API.

Features

  • Orleans integration using Grains and Silos.
  • Persistent state to save the shortened URLs.
  • Web service endpoints to create and redirect shortened URLs.

Getting Started

Prerequisites

Quickstart

  1. Run the command git clone https://github.com/Azure-Samples/build-your-first-orleans-app-aspnetcore.git in your preferred terminal to clone the project to a folder on your computer.
  2. Run the command cd build-your-first-orleans-app-aspnetcore/OrleansURLShortener to navigate down into the correct project folder.
  3. Run the command dotnet run from your editor or terminal. The app should build and launch in the browser, and then display a Hello World message to verify it is working correctly.
  4. Open the project in your preferred editor to begin modifying the project. There are two other existing endpoints at /shorten and /go to create and use redirects.

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.