简体   繁体   English

将“ Quartz Scheduler .NET”移植到Windows Azure-> Web应用程序。 不访问Windows Azure VM

[英]Porting “Quartz Scheduler .NET” to Windows Azure -> Web apps. Not to Windows Azure VM

I'm using the Quartz Enterprise Scheduler .NET for my jobs. 我正在为我的工作使用Quartz Enterprise Scheduler .NET。 Can I port my console application wrapped on the Quartz into Windows Azure Web App? 我可以将包装在Quartz上的控制台应用程序移植到Windows Azure Web App中吗? I just need to install "Windows Service" and configure some port to listen on Azure. 我只需要安装“ Windows服务”并配置一些端口以侦听Azure。 I don't want to use Windows Azure VM because I don't want to configure server and install updates, etc. 我不想使用Windows Azure VM,因为我不想配置服务器和安装更新等。

Think of Web Apps as a managed IIS instance - you can't access the host OS at all. 将Web Apps视为托管的IIS实例-您根本无法访问主机操作系统。 So no installing things or configuring ports. 因此,无需安装任何东西或配置端口。

You might take a look at Cloud Services which are kind of a hybrid of Web Apps and VMs. 您可能会看到Cloud Services ,它是Web Apps和VM的混合体。

You can use Azure Web Jobs, which will in the same context of Azure Web App. 您可以使用Azure Web作业,它将在Azure Web App的相同上下文中使用。 It accepts console application and also .sh, .js and other formats. 它接受控制台应用程序以及.sh,.js和其他格式。 Probably you won't need to change almost nothing in your code. 可能您几乎不需要更改代码中的任何内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM