You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/remove-application-insights.md
+63-63Lines changed: 63 additions & 63 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ This article will show you how to remove the ASP.NET and ASP.NET Core Applicatio
12
12
13
13
To remove Application Insights, you'll need to remove the NuGet packages and references from the API in your application. You can uninstall NuGet packages by using the Package Management Console or Manage NuGet Solution in Visual Studio. The following sections will show two ways to remove NuGet Packages and what was automatically added in your project. Be sure to confirm the files added and areas with in your own code in which you made calls to the API are removed.
14
14
15
-
## Uninstall usingthePackageManagementConsole
15
+
## Uninstall usingthePackageManagementConsole
16
16
17
17
# [.NET](#tab/net)
18
18
@@ -41,7 +41,7 @@ To remove Application Insights, you'll need to remove the NuGet packages and ref
41
41
42
42
---
43
43
44
-
## Uninstall usingtheVisualStudioNuGet UI
44
+
## Uninstall usingtheVisualStudioNuGet UI
45
45
46
46
# [.NET](#tab/net)
47
47
@@ -99,78 +99,78 @@ The following pieces of code are added:
If your project has a Layout.cshtml file the code below is added.
134
-
135
-
```html
136
-
<head>
137
-
...
138
-
<scripttype = 'text/javascript' >
139
-
var appInsights=window.appInsights||function(config)
140
-
{
141
-
functionr(config){ t[config] =function(){ var i =arguments; t.queue.push(function(){ t[config].apply(t, i)})} }
142
-
var t = { config:config},u=document,e=window,o='script',s=u.createElement(o),i,f;for(s.src=config.url||'//az416426.vo.msecnd.net/scripts/a/ai.0.js',u.getElementsByTagName(o)[0].parentNode.appendChild(s),t.cookie=u.cookie,t.queue=[],i=['Event','Exception','Metric','PageView','Trace','Ajax'];i.length;)r('track'+i.pop());returnr('setAuthenticatedUserContext'),r('clearAuthenticatedUserContext'),config.disableExceptionTracking||(i='onerror',r('_'+i),f=e[i],e[i]=function(config, r, u, e, o) { var s = f &&f(config, r, u, e, o); return s !==!0&& t['_'+ i](config, r, u, e, o),s}),t
vart= { config:config},u=document,e=window,o='script',s=u.createElement(o),i,f;for(s.src=config.url||'//az416426.vo.msecnd.net/scripts/a/ai.0.js',u.getElementsByTagName(o)[0].parentNode.appendChild(s),t.cookie=u.cookie,t.queue=[],i=['Event','Exception','Metric','PageView','Trace','Ajax'];i.length;)r('track'+i.pop());returnr('setAuthenticatedUserContext'),r('clearAuthenticatedUserContext'),config.disableExceptionTracking||(i='onerror',r('_'+i),f=e[i],e[i]=function(config, r, u, e, o) { vars=f&&f(config, r, u, e, o); returns!==!0&&t['_'+i](config, r, u, e, o),s}),t
0 commit comments