简体   繁体   中英

Executing windows azure web job

I create a small .exe that updates some tables in my database also create in azure, but all the times that I upload the .zip file required shows this error

窃听器

Reading blogs I realized that some people are using the windows azure web job sdk, to upload their projects, it is worth to point it out that this library doesn't have a version for Visual Studio 2010, so it can't be used.

Is the use of the aforementioned sdk the only way to create and use console application web jobs?

Usually you get the failed to upload job error if the zip file does not have the job exe in the root folder .

This often happens when you zip the Debug/Release folder instead of its contents.

You don't have to use the Azure WebJobs SDK for your job. Any console application will work.

sdk the only way ...

No, WebJobs can run without the cloud SDK. To quote Hanselman

You don't have to use the WebJobs SDK with the WebJobs feature of Windows Azure Web Sites.

As to what the exact problem is...with VS2010 and Azure that is hard to say with what you have presented.

WebJobs, since it sits on top of the Azure Web Sites service, it supports everything the Web Sites support. Including: python, php, bash, powershell, node.js, .net, cmd, bat, etc...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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