REST API serving dummy data for a proof of concept project with a MS Hololens for HSLU (www.hslu.ch)
The Solution only uses standard functionality. However it is recommended to install the latest .NET runtimes.
- .NET Framework 4.5.2
- IIS >= 7.5
On Windows 10
- Start --> Turn Windows Features on or off
- Internet Information Services --> Web Management Tools check...
- IIS Management Console
- IIS Management Scripts and Tools
- IIS Management Service
- Internet Information Services --> World Wide Web Services check...
- Applicationn Developement Features
- Common HTTP Features
- Internet Information Services --> Web Management Tools check...
- Open the Solution in Visual Studio as Administrator
- Rightclick on the project in the Solution Explorer --> Publish
- Select "Custom" publish target --> Profile Name: local --> Next
- Publish method: "File System"
- Local IIS
- IIS Sites --> Default Web Site
- Create new Web Application --> "HoloApi" --> Open
- Next --> Next --> Publish
You can now access the API through http://localhost/HoloApi/api/1
The last segment can be any number from 1 to 4