Run IIS or A Windows Server OS - iis

I know that now-a-days just about any PC is powerful enough to run any modern WS OS. But my question being is, why would you choose running a WS OS over just simply running IIS on your PC?
I would be using this solely for printer sharing and hosting 3 websites (using the .NET framework).

Related

developing an IIS webapp on linux

I know linux does not support IIS, since it requires Windows to exist on your machine.
I'm developing a .net core application, that needs to run in the end on an IIS server. This needs to stay as is, since it's the clients application I'm developing.
Currently my workstation is running Windows, so developing and hosting the application on local server is easy and straight forward using IISExpress.
To be honest I don't like Windows, since it has so many unknown parts running and doing weird stuff, is pretty slow and I don't have the customizability that I want, so I would prefer to use a linux based operating system.
There comes the problem - running IIS based applications is not possible on a local maschine using a linux operating system.
My first idea was to create an IIS docker and publish my application there, but that won't also work, since docker uses parent operating system kernel and IIS docker app requires a Windows based parent system.
The second idea was to use an external server, host IIS there and publish (or remote develop) the app there, but that gives me another system to worry about.
My ideal solution would be fully localized. IIS app running on the same machine.
Does anyone have experience with similar situations?
What would be the best solution here?

Linux application over RDP (FreeRDP, XRDP) / Apache Guacamole

I have started lately using Apache Guacamole.
The problem I am facing is that I want to find a way to have Linux Remote Applications over RDP ( as windows RemoteApp does).
Is there any way to have just a single Linux application using xrdp or freerdp?
I have tried the initial_program option but this brings the whole desktop with the application running.
If none of them works is there any other way?
As far as I understand, in Guacamole, only via RDP there might be a chance to bring a single Linux app. Neither VNC nor SSH can be used for that purpose.

Using XRDP to connect linux to Windows PC from LINUX Client

Has anyone successfully used XRDP/freeRDP to remote login to a Windows PC from a LINUX Client? I did some research on the matter and I found there may be incompatibility issues. However those posts were quite old.
I would like to use the latest XRDP or freeRDP
The site says the following:
"The goal of this project is to provide a fully functional Linux terminal server, capable of accepting connections from rdesktop, freerdp, and Microsoft's own terminal server / remote desktop clients.
Unlike Windows NT/2000/2003/2008/2012 server, xrdp will not display a Windows desktop but an X window desktop to the user.
So it sounds like I can communicate between a Linux Box and Windows. But it sounds like the Windows PC can only be the client logging into a Linux Server and not vice-versa."
Is this true?
That's not true. You can using a freeRDP client in Linux connecting to a server on Windows. I've just tried the latest freeRDP code in Ubuntu, and I've tested Win7/Win10, both are OK.
Follow the instruction of freeRDP in the following link:
https://github.com/FreeRDP/FreeRDP/wiki/Compilation
and hope you make it.
Ps: There may be some connectivity issues, like firewall or something, just google it.

which Windows VPS to choose for cron jobs/scheduler

I have a web crawler which I want to execute every 5 min. As other members adviced here, I will need for that a VPS hosting and running cron jobs.
However, I am not too good with configuring things and not too friendly with Linux. Therefore, I have decided to go for a windows VPS. As I found on the net, windows has a "scheduler" , which is equivalent on cron jobs on Linux.
My Q is:
What kind of Windows should my VPS have so that the configuration will be easy and not require too much admin-skills?
Thanks
Task scheduler is a native part of Windows 2008 or Windows 2012 Operating system. When you navigate to Start Menu, Go to Administrative Tools and you will see Task Scheduler over there. So, you just need to buy a Windows VPS having Windows server 2008 or Windows Server 2012 Operating system. You just need basic VPS management skills to set task scheduler and other tasks. Here is a guide you can refer to schedule a task in Windows VPS:
https://manage.accuwebhosting.com/knowledgebase/2166/How-to-Schedule-a-Task-in-Windows-Server-2008-VPS.html

nodejs and websockets on Windows

I looked through a number of posts on websockets, nodejs, and socket.io and could not find an answer to this question.
I would like to set up a development environment using nodejs to develop websockets application. I would prefer to run Windows since I have physical hardware running Windows and I am very comfortable with VS, but I could set up a Linux box running nginx or apache if necessary. I have explored iisnode, which has good support for node.js, but has no support for websockets since IIS 7.* does not support websockets. I also know Windows 8 supports websockets, but I need Server 2008 R2 and Windows 7 for other tasks, so I would like to avoid that until it is released.
What has worked well for other developers of websockets using nodejs with or without windows as a server development environment?
I am using NodeJS with WAMP (win x64 php 5.x, apache 2.2.x, mysql 5.x) and I'm pretty happy with it, besides a few problem keeping up a long time socket connection between a browser and NodeJS (socket.io). As it's a socket server on its own (with socket.io), i don't have any hooks with apache ! It's pure javascript. And if i need to interact with apache/php/mysql, i just do some posts requests... Also there are modules to interact with mysql.

Resources