All Projects → EdiWang → Elf

EdiWang / Elf

Licence: mit
The .NET 5 link forward service runs on Microsoft Azure

Projects that are alternatives of or similar to Elf

Cofoundry
Cofoundry is an extensible and flexible .NET Core CMS & application framework focusing on code first development
Stars: ✭ 621 (+813.24%)
Mutual labels:  asp-net-core, dotnet-core
Nopcommerce
The most popular open-source eCommerce shopping cart solution based on ASP.NET Core
Stars: ✭ 6,827 (+9939.71%)
Mutual labels:  asp-net-core, dotnet-core
Practical Aspnetcore
Practical samples of ASP.NET Core 2.1, 2.2, 3.1, 5.0 and 6.0 projects you can use. Readme contains explanations on all projects.
Stars: ✭ 6,199 (+9016.18%)
Mutual labels:  asp-net-core, dotnet-core
Aspnet Core React Template
ASP.NET Core 3.1 / React SPA Template App
Stars: ✭ 539 (+692.65%)
Mutual labels:  asp-net-core, dotnet-core
Carter
Carter is framework that is a thin layer of extension methods and functionality over ASP.NET Core allowing code to be more explicit and most importantly more enjoyable.
Stars: ✭ 875 (+1186.76%)
Mutual labels:  asp-net-core, dotnet-core
Starwars
GraphQL 'Star Wars' example using GraphQL for .NET, ASP.NET Core, Entity Framework Core
Stars: ✭ 559 (+722.06%)
Mutual labels:  asp-net-core, dotnet-core
Aspnetcore Developer Roadmap
Roadmap to becoming an ASP.NET Core developer in 2021
Stars: ✭ 8,248 (+12029.41%)
Mutual labels:  asp-net-core, dotnet-core
Umbraco Cms
The simple, flexible and friendly ASP.NET CMS used by more than 730.000 websites
Stars: ✭ 3,484 (+5023.53%)
Mutual labels:  dotnet-core, asp-net-core
Awesome Microservices Netcore
💎 A collection of awesome training series, articles, videos, books, courses, sample projects, and tools for Microservices in .NET Core
Stars: ✭ 865 (+1172.06%)
Mutual labels:  asp-net-core, dotnet-core
Pieshopcore
A simple pie shopping management system using ASP.NET CORE MVC application
Stars: ✭ 25 (-63.24%)
Mutual labels:  asp-net-core, dotnet-core
Netcorebbs
ASP.NET Core Light forum NETCoreBBS
Stars: ✭ 483 (+610.29%)
Mutual labels:  asp-net-core, dotnet-core
Jetweet
Jetweet is a mini twitter clone with basic functionalities, Made using ASP.NET CORE and Entity framework technologies
Stars: ✭ 29 (-57.35%)
Mutual labels:  asp-net-core, dotnet-core
Framework
.NET Core Extensions and Helper NuGet packages.
Stars: ✭ 399 (+486.76%)
Mutual labels:  asp-net-core, dotnet-core
Awesome Blazor
Resources for Blazor, a .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly.
Stars: ✭ 6,063 (+8816.18%)
Mutual labels:  asp-net-core, dotnet-core
Comcms core
COMCMS_Core 版本
Stars: ✭ 377 (+454.41%)
Mutual labels:  asp-net-core, dotnet-core
Electron.net
Build cross platform desktop apps with ASP.NET Core (Razor Pages, MVC, Blazor).
Stars: ✭ 6,074 (+8832.35%)
Mutual labels:  asp-net-core, dotnet-core
Mix.core
🚀 Mixcore CMS is an open source CMS that support both headless and decoupled to easily build any kinds of app/web app/customisable APIs built on top of ASP.NET Core / Dotnet Core. It is a completely open source ASP.NET Core (Dotnet Core) CMS solution. https://mixcore.org
Stars: ✭ 304 (+347.06%)
Mutual labels:  asp-net-core, dotnet-core
Simplcommerce
A simple, cross platform, modularized ecommerce system built on .NET Core
Stars: ✭ 3,474 (+5008.82%)
Mutual labels:  asp-net-core, dotnet-core
Ocelot
.NET core API Gateway
Stars: ✭ 6,675 (+9716.18%)
Mutual labels:  asp-net-core, dotnet-core
Mlnet Workshop
ML.NET Workshop to predict car sales prices
Stars: ✭ 29 (-57.35%)
Mutual labels:  asp-net-core, dotnet-core

Elf

Azure Web App Build and Deploy Docker Build and Push ACR Build and Push

The link forward service used by https://go.edi.wang. It generates static URLs for redirecting third party URLs. It's similar to, but NOT a URL shorter.

  • Use a static token to adapt changes to origin url.
  • Track user click to generate report. (Only if DNT isn't enabled)

e.g.:

Raw URL:

https://www.somewebsite.com/a-very-long-and-complicated-link-that-can-also-change?with=parameters

will translate to

https://yourdomain/fw/token

or

https://yourdomain/aka/name

Features

Forward Link, Create/Manage/Share Link, View Report

image image

Forward Logic

image

Docker Deployment

https://hub.docker.com/r/ediwang/elf

You can also follow the next section to build and run the project yourself.

Build and Run

Tools Alternative
.NET 5 SDK N/A
Visual Studio 2019 Visual Studio Code
Azure SQL Database SQL Server 2019 / LocalDB (Dev Only)

For a quick Azure deployment, you can use the automation script Azure-Deployment\Deploy.ps1 to setup a ready-to-run Elf in a couple of minutes. (Azure CLI is required to run the script)

Setup Database

1. Create Database

For Development (Light Weight, Recommended for Windows)

Create an SQL Server 2019 LocalDB database. e.g. elf

For Production

Create an Azure SQL Database or a SQL Server 2019+ database. e.g. elf

2. Set Connection String

Update the connection string "ElfDatabase" in appsettings.[env].json according to your database configuration.

Example:

"ConnectionStrings": {
  "ElfDatabase": "Server=(localdb)\\MSSQLLocalDB;Database=elf;Trusted_Connection=True;"
}

Build Source

  1. Create an "appsettings.Development.json" under "src\Elf.Web", this file defines development time settings like db connections. It is by default ignored by git, so you will need to manange it on your own.

  2. Build and run Elf.sln

Configuration

Below section discuss system settings in appsettings.[env].json.

Authentication

Configure how to sign in to admin portal.

Preferred: Azure Active Directory

Register an App in Azure Active Directory

"Authentication": {
  "Provider": "AzureAD",
  "AzureAd": {
    "Domain": "{YOUR-VALUE}",
    "TenantId": "{YOUR-VALUE}",
    "ClientId": "{YOUR-VALUE}",
  }
}

Alternative: Local Account

Set Authentication:Provider to "Local" and assign a pair of username and password.

Currently password is not encrypted, use it at your own risk.

"Authentication": {
  "Provider": "Local",
  "Local": {
    "Username": "{YOUR-VALUE}",
    "Password": "{YOUR-VALUE}",
  }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].