The ASP.NET Core URL forward service runs on Microsoft Azure
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.
e.g.:
Raw URL:
https://www.somewebsite.com/a-very-long-and-complicated-link-that-can-also-change?with=parameters
will be translate to https://yourdomain/fw/token
or https://yourdomain/aka/name
Forward Link, Create/Manage/Share Link, View Report.
https://hub.docker.com/r/ediwang/elf
You can also follow the next section to build and run the project yourself.
Tools | Alternative |
---|---|
.NET 8 SDK | N/A |
Visual Studio 2022 | Visual Studio Code |
Azure SQL Database | SQL Server 2022 / 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)
Create an Azure SQL Database or a SQL Server 2019+ database. e.g. elf
Update the connection string "ElfDatabase" in appsettings.[env].json
"ConnectionStrings": {
"ElfDatabase": "Server=(localdb)\\MSSQLLocalDB;Database=elf;Trusted_Connection=True;"
}
Build and run ./src/API/Elf.sln
Register an App in Microsoft Entra ID (Azure Active Directory)
access_as_user
and with Admins and users typeaccessTokenAcceptedVersion
to 2
in Manifest blade"EntraID": {
"Domain": "{YOUR-VALUE}",
"TenantId": "{YOUR-VALUE}",
"ClientId": "{YOUR-VALUE}",
}
To use Redis, follow these steps:
ConnectionStrings:RedisConnection
in appsettings.json
or environment variableelf-admin
.https://localhost:7160/authentication/login-callback
for local debug and whatever URL you use in production../src/Admin/Constants.cs
, replace APIAddress
, APIAppUrlGuid
with your own values../src/Admin/wwwroot/appsettings.json
, replace Authority
, ClientId
with your own values.cd ./src/Admin/
dotnet run
对于中国用户,我们有一份特定的免责申明。请确保你已经阅读并理解其内容: