Unofficial Autodesk Forge SDK for .NET 6.0.
- Clone the repository
- Open the solution folder with Visual Studio Code
- Create a new .env file in the solution folder, specifying
FORGE_CLIENT_ID
andFORGE_CLIENT_SECRET
environment variables:FORGE_CLIENT_ID=your-client-id FORGE_CLIENT_SECRET=your-client-secret
- Launch one of the predefined configurations ("Launch Console App" or "Launch Server App")
- Clone the repository
- Navigate to the solution folder in terminal
- Build the solution
dotnet build
- Set environment variables
FORGE_CLIENT_ID
andFORGE_CLIENT_SECRET
# on Windows set FORGE_CLIENT_ID=your-client-id set FORGE_CLIENT_SECRET=your-client-secret # on *nix export FORGE_CLIENT_ID=your-client-id export FORGE_CLIENT_SECRET=your-client-secret
- Run the sample console application
cd sample-console-app dotnet run
- Run the sample server application
cs sample-server-app dotnet run
- Go to https://localhost:5001/index.html