जब मैं नया Azure webjob परियोजना मैं नीचे के रूप में app.config
खंड में connectionstring अनुभाग देख सकते हैं बनाने के लिए:क्या मैं AzureWebJobsStorage कनेक्शनस्ट्रिंग के बिना Azure webjobs निष्पादित कर सकता हूं?
<connectionStrings>
<!-- The format of the connection string is "DefaultEndpointsProtocol=https;AccountName=NAME;AccountKey=KEY" -->
<!-- For local execution, the value can be set either in this config file or through environment variables -->
<add name="AzureWebJobsDashboard" connectionString="" />
<add name="AzureWebJobsStorage" connectionString="" />
</connectionStrings>
मेरी webjob कार्यों में अपने आवेदन डाटाबेस के साथ ही बातचीत im।
- So Do i really need to create two more databases for azure webjobs ?
जब मैं दृश्य स्टूडियो से webjobs मैं नीचे त्रुटि मिल रही चलाएँ:
Application: WebJobTest.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.InvalidOperationException Stack: at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.Azure.WebJobs.JobHost.Call(System.Reflection.MethodInfo, System.Object) at WebJobTest.Program.Main()
और जब मैं पहुँच webjobs कोशिश लॉग इन करें यह पता चलता है: WebJob विवरण WebJobTest
Make sure that you are setting a connection string named AzureWebJobsDashboard in your Microsoft Azure Website configuration by using the following format DefaultEndpointsProtocol=https;AccountName=NAME;AccountKey=KEY pointing to the Microsoft Azure Storage account where the Microsoft Azure WebJobs Runtime logs are stored.
मैं अनुमान है कि यह उचित डेटाबेस कनेक्शन स्ट्रिंग नहीं होने के कारण है।
- What could be the possible connection between above two errors ?
लॉग के लिए एज़ूर स्टोरेज का उपयोग करने की आवश्यकता नहीं है। मेरे पास वेब नौकरियां हैं जो ऐसा नहीं करती हैं। –
दोनों कनेक्शन तारों की आवश्यकता नहीं है? @MattfromStackify – ManirajSS