Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microsoft Orleans with F#

This repository holds the F# code that implements the Microsoft Orleans quickstart example UrlShortener:

Project structure

graph LR;
    Grains["Grains (F#)"];
    CodeGen["CodeGen (C#)"];
    Server["Server (F#)"];
    Grains-->CodeGen;
    CodeGen-->Server;
Loading

Notice that for now, it's necessary to have part of the project in C#, so Orleans correctly generates code. There's more information at the following links:

How to run?

    # start the server
    dotnet run --project Server/
    # assert that the HTTP server started at the port 5062

Then, at the browser, open the server endpoint that shortens another URL, like:

This endpoint outputs a new URL, like http://localhost:5062/go/4F09B02C, which, once you open must redirect you to the previously shortened URL, in this case: https://gaio.dev.

About

This repository holds the F# code that implements the Microsoft Orleans quickstart example UrlShortener.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages