https://github.com/autodesk-forge/forge-viewmodels-netcore-aws
https://github.com/autodesk-forge/forge-viewmodels-netcore-aws
aws forge-client netcore viewer
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/autodesk-forge/forge-viewmodels-netcore-aws
- Owner: Autodesk-Forge
- License: mit
- Created: 2019-06-13T20:36:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-23T17:50:52.000Z (almost 7 years ago)
- Last Synced: 2025-01-15T07:57:01.039Z (over 1 year ago)
- Topics: aws, forge-client, netcore, viewer
- Language: C#
- Size: 167 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# forge-viewmodels-netcore-aws


[](http://opensource.org/licenses/MIT)
[](http://developer.autodesk.com/)
[](http://developer.autodesk.com/)
[](http://developer.autodesk.com/)

# Description
AWS Cloudformation Project for the use with [Autodesk Forge AWS Quickstart](https://aws.amazon.com/quickstart/architecture/autodesk-forge/)

# Setup
## Prerequisites
1. **Forge Account**: Learn how to create a Forge Account, activate subscription and create an app at [this tutorial](http://learnforge.autodesk.io/#/account/).
2. **Visual Studio** Community edition or **Visual Code**
3. **.NET Framework** basic knowledge with C#
4. **JavaScript** basic knowledge with **jQuery**
For using this sample, you need an Autodesk developer credentials. Visit the [Forge Developer Portal](https://forge.autodesk.com), sign up for an account, then [create an app](https://forge.autodesk.com/myapps/create) that uses Data Management and Model Derivative APIs. For this new app, use `http://localhost:3000/api/forge/callback/oauth` as Callback URL, although is not used on 2-legged flow. Finally take note of the **Client ID** and **Client Secret**.
## Running locally
Clone this project or download it (this `netcore` branch only). It's recommended to install [GitHub desktop](https://desktop.github.com/). To clone it via command line, use the following (**Terminal** on MacOSX/Linux, **Git Shell** on Windows):
git clone -b netcore https://github.com/Autodesk-Forge/forge-viewmodels-netcore-aws.git
For Visual Studio, go to project properties and specify the environment variables. For Visual Code, create a new Debug Configuration with the environment variables:
- `FORGE_CLIENT_ID`: your Forge Client ID
- `FORGE_CLIENT_SECRET`: your Forge Client Secret
Compile the solution, Visual Studio should download the NUGET packages ([Autodesk Forge](https://www.nuget.org/packages/Autodesk.Forge/), [RestSharp](https://www.nuget.org/packages/RestSharp) and [Newtonsoft.Json](https://www.nuget.org/packages/newtonsoft.json/))
Start the **forgesample** project, the **index.html** is marked as start page. At the webpage, the **New Bucket** blue button allow create new buckets (as of now, minimum input validation is implemented). For any bucket, right-click to upload a file (objects). For demonstration, objects **are not** automatically translated, but right-click on a object and select **Translate**.
# Further Reading
Documentation:
- [BIM 360 API](https://developer.autodesk.com/en/docs/bim360/v1/overview/) and [App Provisioning](https://forge.autodesk.com/blog/bim-360-docs-provisioning-forge-apps)
- [Data Management API](https://developer.autodesk.com/en/docs/data/v2/overview/)
- [Viewer](https://developer.autodesk.com/en/docs/viewer/v7)
## License
This sample is licensed under the terms of the [MIT License](http://opensource.org/licenses/MIT). Please see the [LICENSE](LICENSE) file for full details.
## Written by
[Forge Partner Development](http://forge.autodesk.com)