diff --git a/OurUmbraco.Site/ApplicationInsights.config b/OurUmbraco.Site/ApplicationInsights.config
deleted file mode 100644
index 33f848b1..00000000
--- a/OurUmbraco.Site/ApplicationInsights.config
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- search|spider|crawl|Bot|Monitor|AlwaysOn
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- System.Web.Handlers.TransferRequestHandler
- Microsoft.VisualStudio.Web.PageInspector.Runtime.Tracing.RequestDataHttpHandler
- System.Web.StaticFileHandler
- System.Web.Handlers.AssemblyResourceLoader
- System.Web.Optimization.BundleHandler
- System.Web.Script.Services.ScriptHandlerFactory
- System.Web.Handlers.TraceHandler
- System.Web.Services.Discovery.DiscoveryRequestHandler
- System.Web.HttpDebugHandler
-
-
-
-
-
-
-
- 5
-
-
-
-
- lalalala-not-telling-you
- subscriptions/76a04863-9a92-45d6-9801-b26d74a625c4/resourceGroups/Default-ApplicationInsights-EastUS/providers/microsoft.insights/components/OurUmbraco.Site
-
\ No newline at end of file
diff --git a/OurUmbraco.Site/OurUmbraco.Site.csproj b/OurUmbraco.Site/OurUmbraco.Site.csproj
index 6f778034..59a106c5 100644
--- a/OurUmbraco.Site/OurUmbraco.Site.csproj
+++ b/OurUmbraco.Site/OurUmbraco.Site.csproj
@@ -26,8 +26,6 @@
- /subscriptions/76a04863-9a92-45d6-9801-b26d74a625c4/resourcegroups/Default-ApplicationInsights-EastUS/providers/microsoft.insights/components/OurUmbraco.Site
- /subscriptions/76a04863-9a92-45d6-9801-b26d74a625c4/resourcegroups/Default-ApplicationInsights-EastUS/providers/microsoft.insights/components/OurUmbraco.Site
true
@@ -129,42 +127,10 @@
..\packages\Markdown.1.14.4\lib\net45\MarkdownSharp.dll
True
-
- ..\packages\Microsoft.ApplicationInsights.Agent.Intercept.2.0.6\lib\net45\Microsoft.AI.Agent.Intercept.dll
- True
-
-
- ..\packages\Microsoft.ApplicationInsights.DependencyCollector.2.2.0\lib\net45\Microsoft.AI.DependencyCollector.dll
- True
-
-
- ..\packages\Microsoft.ApplicationInsights.PerfCounterCollector.2.2.0\lib\net45\Microsoft.AI.PerfCounterCollector.dll
- True
-
-
- ..\packages\Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.2.2.0\lib\net45\Microsoft.AI.ServerTelemetryChannel.dll
- True
-
-
- ..\packages\Microsoft.ApplicationInsights.Web.2.2.0\lib\net45\Microsoft.AI.Web.dll
- True
-
-
- ..\packages\Microsoft.ApplicationInsights.WindowsServer.2.2.0\lib\net45\Microsoft.AI.WindowsServer.dll
- True
-
..\packages\UmbracoCms.Core.7.5.8\lib\Microsoft.ApplicationBlocks.Data.dll
True
-
- ..\packages\Microsoft.ApplicationInsights.2.2.0\lib\net45\Microsoft.ApplicationInsights.dll
- True
-
-
- ..\packages\Microsoft.ApplicationInsights.TraceListener.2.2.0\lib\net45\Microsoft.ApplicationInsights.TraceListener.dll
- True
-
..\packages\Microsoft.AspNet.Identity.Core.2.2.1\lib\net45\Microsoft.AspNet.Identity.Core.dll
True
@@ -667,9 +633,6 @@
-
- PreserveNewest
-
@@ -1747,7 +1710,6 @@
-
Designer
@@ -4387,9 +4349,6 @@
-
-
-
diff --git a/OurUmbraco.Site/Service References/Application Insights/ConnectedService.json b/OurUmbraco.Site/Service References/Application Insights/ConnectedService.json
deleted file mode 100644
index 1127744c..00000000
--- a/OurUmbraco.Site/Service References/Application Insights/ConnectedService.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "ProviderId": "Microsoft.ApplicationInsights.ConnectedService.ConnectedServiceProvider",
- "Version": "7.16.109.2",
- "GettingStartedDocument": {
- "Uri": "https://go.microsoft.com/fwlink/?LinkID=613413"
- }
-}
\ No newline at end of file
diff --git a/OurUmbraco.Site/packages.config b/OurUmbraco.Site/packages.config
index cd66ba3e..f5436666 100644
--- a/OurUmbraco.Site/packages.config
+++ b/OurUmbraco.Site/packages.config
@@ -19,14 +19,6 @@
-
-
-
-
-
-
-
-
diff --git a/OurUmbraco.Site/web.template.config b/OurUmbraco.Site/web.template.config
index a0bedce5..9094968b 100644
--- a/OurUmbraco.Site/web.template.config
+++ b/OurUmbraco.Site/web.template.config
@@ -180,7 +180,6 @@
-
@@ -364,9 +363,6 @@
-
-
-
@@ -665,11 +661,4 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/OurUmbraco/Our/CustomHandlers/OurApplicationStartupHandler.cs b/OurUmbraco/Our/CustomHandlers/OurApplicationStartupHandler.cs
index b3c7845c..0f29ffad 100644
--- a/OurUmbraco/Our/CustomHandlers/OurApplicationStartupHandler.cs
+++ b/OurUmbraco/Our/CustomHandlers/OurApplicationStartupHandler.cs
@@ -1,6 +1,4 @@
-using System.Web.Mvc;
-using System.Web.Routing;
-using Examine;
+using Examine;
using Examine.LuceneEngine.Providers;
using OurUmbraco.Documentation.Busineslogic;
using OurUmbraco.Documentation.Busineslogic.GithubSourcePull;
@@ -21,7 +19,6 @@ namespace OurUmbraco.Our.CustomHandlers
{
BindExamineEvents();
ZipDownloader.OnFinish += ZipDownloader_OnFinish;
- FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
}
protected override void ApplicationStarting(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
diff --git a/OurUmbraco/Our/ErrorHandler/AiHandleErrorAttribute.cs b/OurUmbraco/Our/ErrorHandler/AiHandleErrorAttribute.cs
deleted file mode 100644
index d11de830..00000000
--- a/OurUmbraco/Our/ErrorHandler/AiHandleErrorAttribute.cs
+++ /dev/null
@@ -1 +0,0 @@
-using System;
using System.Web.Mvc;
using Microsoft.ApplicationInsights;
namespace OurUmbraco.Our.ErrorHandler
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = true)]
public class AiHandleErrorAttribute : HandleErrorAttribute
{
public override void OnException(ExceptionContext filterContext)
{
if (filterContext != null && filterContext.HttpContext != null && filterContext.Exception != null)
{
//If customError is Off, then AI HTTPModule will report the exception
if (filterContext.HttpContext.IsCustomErrorEnabled)
{
var ai = new TelemetryClient();
ai.TrackException(filterContext.Exception);
}
}
base.OnException(filterContext);
}
}
}
\ No newline at end of file
diff --git a/OurUmbraco/Our/FilterConfig.cs b/OurUmbraco/Our/FilterConfig.cs
deleted file mode 100644
index e028d249..00000000
--- a/OurUmbraco/Our/FilterConfig.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using System.Web.Mvc;
-using OurUmbraco.Our.ErrorHandler;
-
-namespace OurUmbraco.Our
-{
- public class FilterConfig
- {
- public static void RegisterGlobalFilters(GlobalFilterCollection filters)
- {
- filters.Add(new AiHandleErrorAttribute());
- }
- }
-}
\ No newline at end of file
diff --git a/OurUmbraco/OurUmbraco.csproj b/OurUmbraco/OurUmbraco.csproj
index aa21115d..cc7eb674 100644
--- a/OurUmbraco/OurUmbraco.csproj
+++ b/OurUmbraco/OurUmbraco.csproj
@@ -129,10 +129,6 @@
..\packages\UmbracoCms.Core.7.5.8\lib\Microsoft.ApplicationBlocks.Data.dll
True
-
- ..\packages\Microsoft.ApplicationInsights.2.2.0\lib\net45\Microsoft.ApplicationInsights.dll
- True
-
..\packages\Microsoft.AspNet.Identity.Core.2.2.1\lib\net45\Microsoft.AspNet.Identity.Core.dll
True
@@ -536,7 +532,6 @@
-
@@ -548,7 +543,6 @@
-
diff --git a/OurUmbraco/packages.config b/OurUmbraco/packages.config
index 356f7bcb..bab11366 100644
--- a/OurUmbraco/packages.config
+++ b/OurUmbraco/packages.config
@@ -17,7 +17,6 @@
-
diff --git a/live.proj b/live.proj
index 2e5d0098..8c2dabd3 100644
--- a/live.proj
+++ b/live.proj
@@ -14,11 +14,7 @@
$(SourceDirectory)web.config
$(DeployHelperDirectory)\$(ProjectName)\ConfigTransforms\Web.$(Environment).config
-
- $(SourceDirectory)ApplicationInsights.config
- $(DeployHelperDirectory)\$(ProjectName)\ConfigTransforms\ApplicationInsights.$(Environment).config
$(DeployHelperDirectory)\$(ProjectName)\$(Environment)\
-
False
@@ -28,10 +24,5 @@
Transform="$(WebConfigTransformFile)"
Destination="$(ConfigTransformOutputFolder)\Web.config"
StackTrace="$(StackTraceEnabled)" />
-
-
\ No newline at end of file