Skip to content

rogeralvarez-tapkey/orleans-first-app

Repository files navigation

Build your first Orleans app using ASP.NET Core 7.0

This repository contains the sample project for the Microsoft Learn module Build your first Orleans app using ASP.NET Core 7.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.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •