Application Insight stopped sending data to portal - azure

We already use Application Insight for diagnostics our cloud service project.
Today I added AppInsight Telemetry to project from Visual studio.
It added some lines to web config and nuget packages.
But after deployed it stopped sending data to Visual Studio Portal. No telemetry data and diagnostic data.
Now I rollback changes.
How can I add AppInsight Telemetry to out project?

In Visual Studio 2013 open Tools, Extensions and Updates,
Select Installed on the left and look for Application Insight Tools for Visual Studio and check its version. If it is version 2, uninstall it. This one sends the telemetry data to Azure instead of VS Online (portal that you mentioned above).
Now select Online and search for Application Insight Tools for Visual Studio, you will see 1.3.2 version. Install it, restart the Visual Studio and Add Application Insights Telemetry to the project..., it will show you VS Online account that it will use and the Application Insight component under which data will be captured. Run the app and after few minutes data will appear in the VS Online portal.
You can add Application Insight in Visual Studio 2012 as well. However, it is a manual process and involves below steps:
Create Application Insight application in VS Online portal
Add Nuget package to the project in VS
Finally, add few lines of code in Global.asax.cs

Related

Logic App and Function App Development in Visual Studio 2019 Preview

I am using the latest Preview version of Visual Studio Enterprise 2019 (16.0.0 Preview 1.1), and I was wondering if I can develop Logic Apps (Logic App Designer) and Function Apps in this version of Visual Studio. To be precise I am trying to use this Extension Azure Logic Apps Tools for Visual Studio.
I am unable to find this extension in Tools -> Extensions and Updates.
Is the extension specifically only for Visual Studio 2017?
I would say you're right, we don't see Azure Logic Apps Tools for Visual Studio in VS2019 preview, because the extension is restricted for VS2017(as described in its Pre-requisites). I assume the upgrade work is underway since it's expected that a preview edition doesn't include everything we need.
For Azure Functions, the extension is built-in once we install Azure Development workload. On VS2019 menus, Help> About Microsoft Visual Studio, we can see Azure Functions and Web Jobs Tools 16.0.01169.

Azure WebJobs and Visual Studio 2017

I need to deploy an Azure WebJob and tried to follow this article. Is this supposed to work in Visual Studio 2017? I have none of the mentioned context menu entries (tried two different machines).
I have none of the mentioned context menu entries (tried two different machines).
What type of project did you create? Until now, we could see the [Publish as Azure WebJob…] context menu when we create a Console App(.NET Framework) in Visual Studio 2017.
You also need to check whether you have checked the Azure Development option when you install your Visual Studio 2017. If you did not do that, you could re-run the Visual Studio 2017 install exe file to update your Visual Studio 2017.
If your project type is Console App(.NET Core), the publish function is not available until now.
No.
WebJobs deployment features are available in Visual Studio 2015 when you install the Azure SDK for .NET.
It's not yet available in VS2017.
EDIT: See post below.

Deploy WebJobs using Visual Studio 2015

I was following this blog post to deploy my existing console app to web jobs.But, I'm unable to find right-click, "Add > Existing Project as Azure WebJob" option in Visual Studio 2015. I did install the new Azure SDK bits. Just wondering if this future has been deprecated ?
The option is still there. But please do note that this is only supported on regular ASP.NET projects. So if you are using ASP.NET Core, that option is not available at this time.

Visual Studio publish to azure existing apps error

Getting this error when I select a "publish target" in VS 2015 update 3. Had a look for a while online but didn't see anything, so any help would be appreciated if you could point me in the right direction.
An error has occurred while processing the request: Method 'StopRemoteProfiler' in type 'Microsoft.VisualStudio.Web.WindowsAzure.AzureWebSite' from assembly 'Microsoft.VisualStudio.Web.WindowsAzure.Impl, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' does not have implementation
I updated to the to Azure sdk 2.9.6 last night because of a different issue but related where there was no error, but no existing apps were listed.
I can confirm that this works on my work computer and I have existing apps on Azure, but not working on my home computer.
I am a bit loath to uninstall and reinstall VS, so any help would be appreciated. Of course, if the only solution is to reset, then so be it.
Thanks,
Jarrod
I faced the same problem. This is what worked for me.
I updated the "Microsoft .NET Core 1.0.1 - VS 2015 Tooling Preview 2" by going to Menu -> Tools -> Extensions and Updates -> Updates -> Visual Studio Gallery. It shows all the available updates for your version of studio. Select the component to update. It should download a file named "DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe" or something similar. When you run this file, if you have the software already installed then select the repair option. It will ask you to close any running instances of Visual Studio, also make sure you have internet connection.
Also if you are using Web Deploy to publish your app make sure you have Microsoft Web Deploy v3 or higher installed or you will get error. You can do it using Microsoft Web Platform Installer.
Hope it helps.

Unable to design an Azure Logic App from VS 2015

I am currently developing an Azure Logic App. This is very straight-forward from portal, but I need to use Visual Studio as an IDE for this. I have followed all the steps mentioned in https://azure.microsoft.com/en-in/documentation/articles/app-service-logic-deploy-from-vs/ article, but when I try to do right-click "<>.json" and say "Open in Logic App Designer", the Visual Studio crashes everytime.
Could anyone please assist on the same?
Thanks
I has a similar issue, I found I had to install the Azure Logic Apps Tools (https://marketplace.visualstudio.com/items?itemName=VinaySinghMSFT.AzureLogicAppsToolsforVisualStudio), restart Visual Studio and then create the Azure Resource Group project for it to work.
The project that I had generated without the tool installed did not work (ever).
I'm using the Azure SDK 2.9.6, Visual Studio 2015 update 3
Are you currently signed into Visual Studio with an account containing valid Azure subscriptions/currently has strong internet connectivity? That is known to cause editing issues before.
If that does not solve your problem, we have enabled logging feature in our most recent update (ver 1.0.0):
a. Open developer command prompt for VS2015
b. Run following command to start VS with activity logging enabled.
devenv.exe /log
c. Repro the issue in this instance and close it.
d. You can find the activity log at location :
%APPDATA%\Microsoft\VisualStudio\14.0\ActivityLog.xml
e. Please send us this file to us.
If you can share the logs with logicappsbug#microsoft.com, we can further assist you on this specific problem.
Thanks,
Max

Resources