¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Server for testing


 

What is everyone using as a test server that SimplWindows, S+ and C# can all connect to and retrieve data. Trying not to need to purchase an actual server but more virtual.

Currently trying to get Chrome Web Server to function. Works in browser but not able to get C# to connect and retrieve and files. I've heard that this can be done with Dropbox.

For instance: I created an XML (probably need to convert to JSON) that has all my channel lineups. Includes channel# and logo URL. Is there a virtual server that I can save this document and reference in C# to retrieve file so I can use the data?

Chrome Web Server points to a folder on your local laptop and I can view this document in a browser using??IP:8080/data/myLineup.xml?


 

If it works in the browser, there is likely something off with your http request in C#. I've found when something isn't working it is often a missing or incorrectly formatted header in the request. I typically use Postman to test http requests and make sure I'm including all the correct headers.?Are you getting any response and if so, what status code does it have?
You can also host files from the built-in webserver of a processor.?


 

¿ªÔÆÌåÓý

I used an Amazon s3 bucket for testing

On Feb 11, 2022, at 3:40 PM, Dustin Hurlock <dustinhurlock@...> wrote:

?If it works in the browser, there is likely something off with your http request in C#. I've found when something isn't working it is often a missing or incorrectly formatted header in the request. I typically use Postman to test http requests and make sure I'm including all the correct headers.?Are you getting any response and if so, what status code does it have?
You can also host files from the built-in webserver of a processor.?


 

You can easily use WebAPI or something similar to mock one up.

--
?
Crestron Service Provider - TBD Enterprises Inc.


 

Upload to the HTML directory on your processor and use that.? Or on Windows, install IIS or use a simple server like?


On Fri, Feb 11, 2022 at 2:46 PM Brad Wykoff via <bradwykoff=[email protected]> wrote:
What is everyone using as a test server that SimplWindows, S+ and C# can all connect to and retrieve data. Trying not to need to purchase an actual server but more virtual.

Currently trying to get Chrome Web Server to function. Works in browser but not able to get C# to connect and retrieve and files. I've heard that this can be done with Dropbox.

For instance: I created an XML (probably need to convert to JSON) that has all my channel lineups. Includes channel# and logo URL. Is there a virtual server that I can save this document and reference in C# to retrieve file so I can use the data?

Chrome Web Server points to a folder on your local laptop and I can view this document in a browser using??IP:8080/data/myLineup.xml?


 

Using a processor would seem to be the easiest

I placed my xml file in the HTML directory but doesn't display contents using a browser.

processor_IP/html/somefile.xml

Neither of these methods worked. What am I missing?


 

You don't need to add /html. That is the root folder for the webserver.


If you put a subfolder in the html folder and then put the file there, you would need to include that subfolder.


 

Dustin -

That seems to work but only using HTTPS but this gets me in the right direction. Thanks.


 

Fenix web server is really easy to use for static content.

http://fenixwebserver.com/