Creating Azure WebJobs? - azure

Does anyone know what this article is talking about?
Run Background tasks with WebJobs
The flipping portal doesn't have an "All Settings" button nor any listing of Web Jobs that can be created anywhere. I'm getting so sick of misleading and just plain wrong Azure doco / tutorials. The crazy part is this is a recent article.

The article that you mentioned assumes that you have an Azure App Service created. Once that is done and you navigate to the blade for the App Service, the All Settings and Web Job options appear.

Related

Azure portal: How to find today's visitors count of my Azure web app?

I have an ASP.NET Core web app on Azure. I'm using Azure Portal, of course. It is running fine, no problems.
Here is my question: Where in the Portal can I find out how many visitors the website has had today?
I've looked into Application Insights, but it looks like a large amount of study and work just to answer a simple, ordinary question: How many visitors today?
Any help will be appreciated.
I see you mentioned application insights. And for your case, it's the easy and convenient way, just a few steps.
1.Create an application insights:
2.In azure portal, nav to your web app -> in the left blade, select "Application Insights", and click "Turn on site extension" -> fill in necessary fields -> click Apply button:
3.Now everything is ready, if you want to see how many users visit your site, just nav to the application insights -> in the left blade, click Users:
There is no such a metric available for Azure App Services, closest you can get is the number of requests. You can look at the metrics if you open the metrics blade of the App Service

Azure alert: The portal is having issues getting authentication tokens for Microsoft_Azure_Compute, SqlAzureExtension

I'm getting this alert but I can't seem to find any information related to it online. I seem to be getting it 4 times every 6 hours. I have a SQL database up and running with Microsoft's test AdventureWorks db on it, and 5 test VMs that are all deallocated. Anyone had this and solved it, or know where to guide me to get this resolved?
Only other thing I can find is this, which doesn't seem to apply, as I have no web apps or services installed: https://social.technet.microsoft.com/Forums/en-US/f2a8b549-3be7-413e-a233-cf66acf9fd8b/portal-is-having-issues-getting-authentication-token-in-azure?forum=windowsazuremanagement
App Service Authentication/Authorization is exposed in the Azure Preview Management Portal. To enable it, navigate the Settings blade of any Web or Mobile App and select Authentication/Authorization. Flip the switch to On to view the options for protecting your site.
For more information, kindly refer the link given below:
click here
Hope this helps.

Azure Web app menu disabled

For hosting one of our asp.net application, we created an Azure account which starts with a free trial. Then I created a web app from app services menu. After web app instance is deployed and ready, I clicked on the web app for changing the settings I get a window with all the menu options disabled.
Does the Azure Free trial subscription have any sort of restrictions?
A site in a free subscription is fully functional, so all this UI absolutely should be available. As you found, after creating a new site everything started working.
Now the question is what prevented this from not working in the first site. My take is that it was likely a glitch in the Azure Portal (yes, it still has a few bugs), and that a browser refresh would have solved it. If you run into this again and a Portal refresh doesn't solve it, we can investigate further.

What is a web job on azure, is it part of a web application or standalone

Is it a job attached to a web app, or is it a type of web app itself? I tried following this example but couldn't find the add webjobs link it mentioned, just links to create a web app.
https://azure.microsoft.com/en-us/documentation/articles/web-sites-create-web-jobs/
Yes, a job is "attached" to a Web App. A Web App is the execution container for WebJobs. In some cases you might also have a companion website also running in the WebApp, but often, the Web App only contains WebJobs.
Once you have a Web App, you can create/manage WebJobs via the portal "WebJobs" blade in the new portal. You'll find it in the Settings blade under "Features".
Another way to think of a Web Job is as an extra .exe/process that runs on the same VM as your web app, with the only special thing being that it is launched with the same set of environment variables as the web app and has access to the same set of directories.
There's a great post here explaining WebJobs and how to create/operate one. Everything you need to know to get going.

Published Web app to Azure, how do I browse to it, monitor it?

I have created my first app for azure. It's has an MVC3 web role which writes some data to table storage.
It also has a worker role that does some work behind the scenes to the same data.
It all works fine in the emulator.
I've uploaded it all to Azure as a staging deployment, the hosted service it is reports all roles as "ready". The health for all roles is "healthy", though the worker role appears to crash and goes to "degraded" and then resets itself (I assume this is what is happening).
So what now? I have found a "DNS Name" on my Web Role in the form "http://{guid}.cloudapp.net/"
Clicking on that link just gives me a network access error, http://www.downforeveryoneorjustme.com/ can't find it either.
What am I missing? Where can I see diagnostics similar to the emulator? I've set "Enable Diagnostics" to use my Azure storage account in each role. How do I get into the storage to see if it has traced anything? Can this be done through the Management Portal?
I've tried searching through MSDN, but I can't find a page that says "and then you click the DNS name link and your website will launch. I'm sure there is a lovely page like that but I can't find it.
thanks in advance!
In August 2011, the Windows Azure role templates were updated to work with the ASP.NET Universal Providers. As such, when you create a new project, the session state provider is backed by SQL Express by default. If you don't change this to SQL Azure or Cache (or disable session state), you'll run into issues.
I'm not sure this is exactly the issue you're running into, but it's a common one. See Nate Totten's blog post for more information about this (Nate calls out this issue a few pages down, under IMPORTANT NOTE).
You can access diagnostics data directly from Visual Studio Server Explorer.
Here you have all necessary information: Browsing Storage Resources with Server Explorer http://msdn.microsoft.com/en-us/library/windowsazure/ff683677.aspx
Personally I use Azure Diagnostics Manager from Cerebrata http://www.cerebrata.com/products/AzureDiagnosticsManager/ that is easy and has a good dashboard

Resources