AppHarbor's operating system.
What OS is appharbor based on? I'm trying to use a .Net library called NAudio, which is basically an audio file editing library. The library requires some native Windows DLL files and some codec files to be present (which are there by default, no idea about Windows Server though).
So I was wondering, what actually is the base OS? And is it possible to use that lib or not?
Thank you in advance!
Discussions are closed to public comments.
If you need help with AppHarbor please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by balexandre on 18 Mar, 2017 12:28 PM
No matter what server is it, you should never rely on server files, as your website will be locked to use external resources, for security reasons or everyone would be allowed to do some mambo-jambo where other users on the some server would not like it at all.
you should take those "needed" files and add then into your website, either by importing the
.dll
's (and mark them to be copied into the server upon build) or using a nuget package.always a good idea to fire up a VM with windows so you can test the deployment of such website...
or maybe, use another library for audio editing that is more secure to shared hosting environments if you don't want to buy your own server in the cloud.
BTW, I was wondering.. is NAudio for web projects? seems it's for window application projects rather than web... (I never used, but I find no tutorial about using the library in a web environment)
2 Posted by Kef on 18 Mar, 2017 01:31 PM
Thank you for your reply. I understand why the limitations are there.
As for NAudio, my app is deployed for background worker, not web worker. It's a custom server that i've written that's lightweight and doesn't require cpu usage, ram, bandwidth, etc. NAudio was gonna help occasionally reading some data from mp3/wav files. And yes, there's no tutorial for it on its usage for web services
Support Staff 3 Posted by rune on 19 Mar, 2017 02:11 AM
Hi,
Just adding the server OS here: The application workers are currently running WIndows Server 2012 R2, and all .NET applications are running as 32-bit processes at this time. Note that the servers will soon be upgraded to Windows Server 2016 and have 64-bit hosting options available (I suspect 32-bit may be best for NAudio though and existing apps will continue to run under 32-bit compatibility).
Best,
Rune
4 Posted by Kef on 21 Mar, 2017 12:01 AM
Thanks for the reply. Much appreciated!
Kef closed this discussion on 21 Mar, 2017 12:01 AM.