Ready to use activity feed using an async pipeline consisting of:
- OpenAPI 2.0 (Swagger) endpoint hosted as a Azure Function
- Azure Storage Queue
- ASP.NET Core 2.1 IHostedService
- Azure Cosmos Document DB
- ASP.NET Core Razor Page to display the feed
Required Tools:
- .NET Core 2.1 SDK
- Azure Function Core Tools
- Azure CosmosDB Emulator
- Azure Blob Storage Local Emulator
- Postman
- Clone the repo
- Restore dependencies with
dotnet restore
- Execute
dotnet dev-certs https --trust
to add a dev cert and trust localhost - Start the function and web with
dotnet run
- Open the application in the browser
Use Postman or any other tool to Post a message with content-type application/json
{
Source: "Postman",
Title: "We love azure",
Text: "Hello people",
Url: "aheadintranet.com",
MediaUrl: ""
}