Skip to content

Commit 26aa776

Browse files
authored
Proxying to IIS Express explained (#297)
***NO_CI***
1 parent 5964308 commit 26aa776

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,13 @@ using FileStream fs = new FileStream($"I:\\i-am-a-binary-file.bin", FileMode.Cre
123123
response.Content.ReadAsStream().CopyTo(fs);
124124
```
125125

126+
### Debugging through a reverse proxy
127+
128+
When code is deployed to a MCU it might be desirable to let the device connect to your development machine running IIS Express.
129+
This can be achieved with a proxy such as [this one](https://www.npmjs.com/package/iisexpress-proxy).
130+
Be aware that this leads to SocketExceptions with the current version of **nanoFramework** System.Net.Http when sending consecutive
131+
requests to your development machine. A simple retry mechanism in Debug mode will get around this.
132+
126133
## Feedback and documentation
127134

128135
For documentation, providing feedback, issues and finding out how to contribute please refer to the [Home repo](https://github.com/nanoframework/Home).

0 commit comments

Comments
 (0)