petrbroz / forge-simple-viewer-dotnet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

forge-simple-viewer-dotnet

platforms .net license

Simple Autodesk Forge application built by following the Simple Viewer tutorial from https://forge-tutorials.autodesk.io.

screenshot

Development

Prerequisites

Setup & Run

  • Clone this repository
  • Install dependencies: dotnet restore
  • Setup environment variables:
    • FORGE_CLIENT_ID - your Forge application client ID
    • FORGE_CLIENT_SECRET - your Forge application client secret
    • FORGE_BUCKET (optional) - name of Forge bucket to store your designs in
  • Run the server: dotnet run

When using Visual Studio Code, you can specify the env. variables listed above in a .env file in this folder, and run & debug the application directly from the editor.

Troubleshooting

Invalid active developer path

If you're getting invalid active developer path errors, please follow the steps explained in https://apple.stackexchange.com/questions/254380/why-am-i-getting-an-invalid-active-developer-path-when-attempting-to-use-git-a.

Dev-certs errors

If you're seeing errors related to dev-certs, try cleaning any existing certificates as explained in https://docs.microsoft.com/en-us/dotnet/core/additional-tools/self-signed-certificates-guide, and on macOS and Windows systems, do not forget to use the --trust switch.

If you have any other question, please contact us via https://forge.autodesk.com/en/support/get-help.

License

This sample is licensed under the terms of the MIT License. Please see the LICENSE file for more details.

About

License:MIT License


Languages

Language:C# 59.4%Language:JavaScript 30.7%Language:HTML 5.3%Language:CSS 4.5%