Last active
July 1, 2024 16:02
-
-
Save djzager/06d2c9d998626bb975051fa3ebc743c9 to your computer and use it in GitHub Desktop.
Upgrade assistant analyze
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/mvc4/NerdDinner.sln b/mvc4/NerdDinner.sln | |
index f234270..7201f66 100644 | |
--- a/mvc4/NerdDinner.sln | |
+++ b/mvc4/NerdDinner.sln | |
@@ -1,9 +1,9 @@ | |
- | |
+ | |
Microsoft Visual Studio Solution File, Format Version 12.00 | |
# Visual Studio 14 | |
VisualStudioVersion = 14.0.25420.1 | |
MinimumVisualStudioVersion = 10.0.40219.1 | |
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NerdDinner", "NerdDinner\NerdDinner.csproj", "{895CEE2D-D913-427F-9BFF-1343EC5CAAC4}" | |
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NerdDinner", "NerdDinner\NerdDinner.csproj", "{895CEE2D-D913-427F-9BFF-1343EC5CAAC4}" | |
EndProject | |
Global | |
GlobalSection(SolutionConfigurationPlatforms) = preSolution | |
diff --git a/mvc4/NerdDinner/App_Start/BundleConfig.cs b/mvc4/NerdDinner/App_Start/BundleConfig.cs | |
index cefd416..895f456 100644 | |
--- a/mvc4/NerdDinner/App_Start/BundleConfig.cs | |
+++ b/mvc4/NerdDinner/App_Start/BundleConfig.cs | |
@@ -6,7 +6,8 @@ namespace NerdDinner | |
public class BundleConfig | |
{ | |
// For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725 | |
- public static void RegisterBundles(BundleCollection bundles) | |
+ public static void RegisterBundles(// TODO Script and style bundling works differently in ASP.NET Core. BundleCollection should be replaced by alternative bundling technologies. For more details see https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification. | |
+BundleCollection bundles) | |
{ | |
bundles.Add(new ScriptBundle("~/bundles/jquery").Include( | |
"~/Scripts/jquery-{version}.js")); | |
diff --git a/mvc4/NerdDinner/App_Start/FilterConfig.cs b/mvc4/NerdDinner/App_Start/FilterConfig.cs | |
index b7f0d0b..99da01a 100644 | |
--- a/mvc4/NerdDinner/App_Start/FilterConfig.cs | |
+++ b/mvc4/NerdDinner/App_Start/FilterConfig.cs | |
@@ -1,5 +1,4 @@ | |
using System.Web; | |
-using System.Web.Mvc; | |
namespace NerdDinner | |
{ | |
diff --git a/mvc4/NerdDinner/App_Start/RouteConfig.cs b/mvc4/NerdDinner/App_Start/RouteConfig.cs | |
index 0049c17..a6e8b84 100644 | |
--- a/mvc4/NerdDinner/App_Start/RouteConfig.cs | |
+++ b/mvc4/NerdDinner/App_Start/RouteConfig.cs | |
@@ -2,7 +2,6 @@ | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
-using System.Web.Mvc; | |
using System.Web.Routing; | |
namespace NerdDinner | |
diff --git a/mvc4/NerdDinner/App_Start/WebApiConfig.cs b/mvc4/NerdDinner/App_Start/WebApiConfig.cs | |
index cc1b63c..dcad922 100644 | |
--- a/mvc4/NerdDinner/App_Start/WebApiConfig.cs | |
+++ b/mvc4/NerdDinner/App_Start/WebApiConfig.cs | |
@@ -1,7 +1,6 @@ | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
-using System.Web.Http; | |
namespace NerdDinner | |
{ | |
diff --git a/mvc4/NerdDinner/Controllers/AccountController.cs b/mvc4/NerdDinner/Controllers/AccountController.cs | |
index d63045e..593a22b 100644 | |
--- a/mvc4/NerdDinner/Controllers/AccountController.cs | |
+++ b/mvc4/NerdDinner/Controllers/AccountController.cs | |
@@ -3,13 +3,14 @@ using System.Collections.Generic; | |
using System.Linq; | |
using System.Transactions; | |
using System.Web; | |
-using System.Web.Mvc; | |
using System.Web.Security; | |
using DotNetOpenAuth.AspNet; | |
using Microsoft.Web.WebPages.OAuth; | |
using WebMatrix.WebData; | |
using NerdDinner.Filters; | |
using NerdDinner.Models; | |
+using Microsoft.AspNetCore.Mvc; | |
+using Microsoft.AspNetCore.Authorization; | |
namespace NerdDinner.Controllers | |
{ | |
@@ -300,6 +301,7 @@ namespace NerdDinner.Controllers | |
} | |
[AllowAnonymous] | |
+ // TODO Child actions should be replaced with view components. For more details see https://docs.microsoft.com/aspnet/core/mvc/views/view-components and https://www.davepaquette.com/archive/2016/01/02/goodbye-child-actions-hello-view-components.aspx. | |
[ChildActionOnly] | |
public ActionResult ExternalLoginsList(string returnUrl) | |
{ | |
@@ -307,6 +309,7 @@ namespace NerdDinner.Controllers | |
return PartialView("_ExternalLoginsListPartial", OAuthWebSecurity.RegisteredClientData); | |
} | |
+ // TODO Child actions should be replaced with view components. For more details see https://docs.microsoft.com/aspnet/core/mvc/views/view-components and https://www.davepaquette.com/archive/2016/01/02/goodbye-child-actions-hello-view-components.aspx. | |
[ChildActionOnly] | |
public ActionResult RemoveExternalLogins() | |
{ | |
diff --git a/mvc4/NerdDinner/Controllers/DinnersController.cs b/mvc4/NerdDinner/Controllers/DinnersController.cs | |
index 59e2a8b..0b10aad 100644 | |
--- a/mvc4/NerdDinner/Controllers/DinnersController.cs | |
+++ b/mvc4/NerdDinner/Controllers/DinnersController.cs | |
@@ -4,9 +4,10 @@ using System.Data; | |
using System.Data.Entity; | |
using System.Linq; | |
using System.Web; | |
-using System.Web.Mvc; | |
using NerdDinner.Models; | |
using PagedList; | |
+using Microsoft.AspNetCore.Mvc; | |
+using Microsoft.AspNetCore.Authorization; | |
namespace NerdDinner.Controllers | |
{ | |
@@ -33,7 +34,7 @@ namespace NerdDinner.Controllers | |
Dinner dinner = db.Dinners.Find(id); | |
if (dinner == null) | |
{ | |
- return HttpNotFound(); | |
+ return NotFound(); | |
} | |
return View(dinner); | |
} | |
@@ -86,7 +87,7 @@ namespace NerdDinner.Controllers | |
Dinner dinner = db.Dinners.Find(id); | |
if (dinner == null) | |
{ | |
- return HttpNotFound(); | |
+ return NotFound(); | |
} | |
if (!dinner.IsHostedBy(User.Identity.Name)) | |
{ | |
@@ -124,7 +125,7 @@ namespace NerdDinner.Controllers | |
Dinner dinner = db.Dinners.Find(id); | |
if (dinner == null) | |
{ | |
- return HttpNotFound(); | |
+ return NotFound(); | |
} | |
if (!dinner.IsHostedBy(User.Identity.Name)) | |
{ | |
diff --git a/mvc4/NerdDinner/Controllers/HomeController.cs b/mvc4/NerdDinner/Controllers/HomeController.cs | |
index 57d7fe4..b1b9cab 100644 | |
--- a/mvc4/NerdDinner/Controllers/HomeController.cs | |
+++ b/mvc4/NerdDinner/Controllers/HomeController.cs | |
@@ -2,7 +2,7 @@ | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
-using System.Web.Mvc; | |
+using Microsoft.AspNetCore.Mvc; | |
namespace NerdDinner.Controllers | |
{ | |
diff --git a/mvc4/NerdDinner/Controllers/RSVPController.cs b/mvc4/NerdDinner/Controllers/RSVPController.cs | |
index 4aed6ee..56f19a3 100644 | |
--- a/mvc4/NerdDinner/Controllers/RSVPController.cs | |
+++ b/mvc4/NerdDinner/Controllers/RSVPController.cs | |
@@ -1,9 +1,10 @@ | |
using System; | |
using System.Globalization; | |
using System.Linq; | |
-using System.Web.Mvc; | |
using NerdDinner.Helpers; | |
using NerdDinner.Models; | |
+using Microsoft.AspNetCore.Mvc; | |
+using Microsoft.AspNetCore.Authorization; | |
namespace NerdDinner.Controllers | |
{ | |
diff --git a/mvc4/NerdDinner/Controllers/SearchController.cs b/mvc4/NerdDinner/Controllers/SearchController.cs | |
index 9669c28..a64c7c8 100644 | |
--- a/mvc4/NerdDinner/Controllers/SearchController.cs | |
+++ b/mvc4/NerdDinner/Controllers/SearchController.cs | |
@@ -7,7 +7,7 @@ using System.Globalization; | |
using System.Linq; | |
using System.Net; | |
using System.Net.Http; | |
-using System.Web.Http; | |
+using Microsoft.AspNetCore.Mvc; | |
namespace NerdDinner.Controllers | |
{ | |
@@ -23,7 +23,7 @@ namespace NerdDinner.Controllers | |
public string Url { get; set; } | |
} | |
- public class SearchController : ApiController | |
+ public class SearchController : ControllerBase | |
{ | |
private NerdDinnerContext db = new NerdDinnerContext(); | |
diff --git a/mvc4/NerdDinner/Filters/InitializeSimpleMembershipAttribute.cs b/mvc4/NerdDinner/Filters/InitializeSimpleMembershipAttribute.cs | |
index e7857aa..ef2bdaa 100644 | |
--- a/mvc4/NerdDinner/Filters/InitializeSimpleMembershipAttribute.cs | |
+++ b/mvc4/NerdDinner/Filters/InitializeSimpleMembershipAttribute.cs | |
@@ -2,9 +2,9 @@ | |
using System.Data.Entity; | |
using System.Data.Entity.Infrastructure; | |
using System.Threading; | |
-using System.Web.Mvc; | |
using WebMatrix.WebData; | |
using NerdDinner.Models; | |
+using Microsoft.AspNetCore.Mvc.Filters; | |
namespace NerdDinner.Filters | |
{ | |
diff --git a/mvc4/NerdDinner/Global.asax b/mvc4/NerdDinner/Global.asax | |
deleted file mode 100644 | |
index 8b18fdb..0000000 | |
--- a/mvc4/NerdDinner/Global.asax | |
+++ /dev/null | |
@@ -1 +0,0 @@ | |
-<%@ Application Codebehind="Global.asax.cs" Inherits="NerdDinner.MvcApplication" Language="C#" %> | |
diff --git a/mvc4/NerdDinner/Global.asax.cs b/mvc4/NerdDinner/Global.asax.cs | |
deleted file mode 100644 | |
index 7514478..0000000 | |
--- a/mvc4/NerdDinner/Global.asax.cs | |
+++ /dev/null | |
@@ -1,34 +0,0 @@ | |
-using System; | |
-using System.Collections.Generic; | |
-using System.Linq; | |
-using System.Reflection; | |
-using System.Web; | |
-using System.Web.Http; | |
-using System.Web.Mvc; | |
-using System.Web.Optimization; | |
-using System.Web.Routing; | |
- | |
-namespace NerdDinner | |
-{ | |
- // Note: For instructions on enabling IIS6 or IIS7 classic mode, | |
- // visit http://go.microsoft.com/?LinkId=9394801 | |
- | |
- public class MvcApplication : System.Web.HttpApplication | |
- { | |
- protected void Application_Start() | |
- { | |
- AreaRegistration.RegisterAllAreas(); | |
- | |
- WebApiConfig.Register(GlobalConfiguration.Configuration); | |
- FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); | |
- RouteConfig.RegisterRoutes(RouteTable.Routes); | |
- BundleConfig.RegisterBundles(BundleTable.Bundles); | |
- AuthConfig.RegisterAuth(); | |
- | |
- ModelBinderProviders.BinderProviders.Add(new EFModelBinderProvider()); | |
- | |
- Version version = Assembly.GetExecutingAssembly().GetName().Version; | |
- Application["Version"] = string.Format("{0}.{1}", version.Major, version.Minor); | |
- } | |
- } | |
-} | |
\ No newline at end of file | |
diff --git a/mvc4/NerdDinner/ModelBinders/DbGeographyModelBinder.cs b/mvc4/NerdDinner/ModelBinders/DbGeographyModelBinder.cs | |
index 6396dda..13d3c43 100644 | |
--- a/mvc4/NerdDinner/ModelBinders/DbGeographyModelBinder.cs | |
+++ b/mvc4/NerdDinner/ModelBinders/DbGeographyModelBinder.cs | |
@@ -3,7 +3,6 @@ using System.Collections.Generic; | |
using System.Data.Spatial; | |
using System.Linq; | |
using System.Web; | |
-using System.Web.Mvc; | |
namespace NerdDinner | |
{ | |
diff --git a/mvc4/NerdDinner/Models/Dinner.cs b/mvc4/NerdDinner/Models/Dinner.cs | |
index 4b88728..543f4fe 100644 | |
--- a/mvc4/NerdDinner/Models/Dinner.cs | |
+++ b/mvc4/NerdDinner/Models/Dinner.cs | |
@@ -5,7 +5,6 @@ using System.ComponentModel.DataAnnotations.Schema; | |
using System.Data.Spatial; | |
using System.Linq; | |
using System.Web; | |
-using System.Web.Mvc; | |
namespace NerdDinner.Models | |
{ | |
diff --git a/mvc4/NerdDinner/NerdDinner.csproj b/mvc4/NerdDinner/NerdDinner.csproj | |
index 7c46102..976be57 100644 | |
--- a/mvc4/NerdDinner/NerdDinner.csproj | |
+++ b/mvc4/NerdDinner/NerdDinner.csproj | |
@@ -1,205 +1,23 @@ | |
-<?xml version="1.0" encoding="utf-8"?> | |
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
- <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | |
+<Project Sdk="Microsoft.NET.Sdk.Web"> | |
<PropertyGroup> | |
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |
- <ProductVersion> | |
- </ProductVersion> | |
- <SchemaVersion>2.0</SchemaVersion> | |
- <ProjectGuid>{895CEE2D-D913-427F-9BFF-1343EC5CAAC4}</ProjectGuid> | |
- <ProjectTypeGuids>{E3E379DF-F4C6-4180-9B81-6769533ABE47};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids> | |
- <OutputType>Library</OutputType> | |
- <AppDesignerFolder>Properties</AppDesignerFolder> | |
- <RootNamespace>NerdDinner</RootNamespace> | |
- <AssemblyName>NerdDinner</AssemblyName> | |
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | |
- <MvcBuildViews>false</MvcBuildViews> | |
- <UseIISExpress>true</UseIISExpress> | |
- <IISExpressSSLPort /> | |
- <IISExpressAnonymousAuthentication /> | |
- <IISExpressWindowsAuthentication /> | |
- <IISExpressUseClassicPipelineMode /> | |
+ <OutputType>Exe</OutputType> | |
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir> | |
<RestorePackages>true</RestorePackages> | |
+ <AssemblyTitle>NerdDinner</AssemblyTitle> | |
+ <Product>NerdDinner</Product> | |
+ <Copyright>Copyright © 2012</Copyright> | |
+ <AssemblyVersion>1.0.0.0</AssemblyVersion> | |
+ <FileVersion>1.0.0.0</FileVersion> | |
</PropertyGroup> | |
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |
- <DebugSymbols>true</DebugSymbols> | |
- <DebugType>full</DebugType> | |
- <Optimize>false</Optimize> | |
- <OutputPath>bin\</OutputPath> | |
- <DefineConstants>DEBUG;TRACE</DefineConstants> | |
- <ErrorReport>prompt</ErrorReport> | |
- <WarningLevel>4</WarningLevel> | |
- </PropertyGroup> | |
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | |
- <DebugType>pdbonly</DebugType> | |
- <Optimize>true</Optimize> | |
+ <PropertyGroup> | |
+ <TargetFramework>net8.0</TargetFramework> | |
+ <GenerateAssemblyInfo>false</GenerateAssemblyInfo> | |
<OutputPath>bin\</OutputPath> | |
- <DefineConstants>TRACE</DefineConstants> | |
- <ErrorReport>prompt</ErrorReport> | |
- <WarningLevel>4</WarningLevel> | |
</PropertyGroup> | |
<ItemGroup> | |
- <Reference Include="Antlr3.Runtime, Version=3.3.1.7705, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | |
- <SpecificVersion>False</SpecificVersion> | |
- <HintPath>..\packages\WebGrease.1.3.0\lib\Antlr3.Runtime.dll</HintPath> | |
- </Reference> | |
- <Reference Include="DotNetOpenAuth.AspNet, Version=4.3.0.0, Culture=neutral, PublicKeyToken=2780ccd10d57b246, processorArchitecture=MSIL"> | |
- <SpecificVersion>False</SpecificVersion> | |
- <HintPath>..\packages\DotNetOpenAuth.AspNet.4.3.0.13117\lib\net45-full\DotNetOpenAuth.AspNet.dll</HintPath> | |
- </Reference> | |
- <Reference Include="DotNetOpenAuth.Core, Version=4.3.0.0, Culture=neutral, PublicKeyToken=2780ccd10d57b246, processorArchitecture=MSIL"> | |
- <SpecificVersion>False</SpecificVersion> | |
- <HintPath>..\packages\DotNetOpenAuth.Core.4.3.0.13117\lib\net45-full\DotNetOpenAuth.Core.dll</HintPath> | |
- </Reference> | |
- <Reference Include="DotNetOpenAuth.OAuth, Version=4.3.0.0, Culture=neutral, PublicKeyToken=2780ccd10d57b246, processorArchitecture=MSIL"> | |
- <SpecificVersion>False</SpecificVersion> | |
- <HintPath>..\packages\DotNetOpenAuth.OAuth.Core.4.3.0.13117\lib\net45-full\DotNetOpenAuth.OAuth.dll</HintPath> | |
- </Reference> | |
- <Reference Include="DotNetOpenAuth.OAuth.Consumer, Version=4.3.0.0, Culture=neutral, PublicKeyToken=2780ccd10d57b246, processorArchitecture=MSIL"> | |
- <SpecificVersion>False</SpecificVersion> | |
- <HintPath>..\packages\DotNetOpenAuth.OAuth.Consumer.4.3.0.13117\lib\net45-full\DotNetOpenAuth.OAuth.Consumer.dll</HintPath> | |
- </Reference> | |
- <Reference Include="DotNetOpenAuth.OpenId, Version=4.3.0.0, Culture=neutral, PublicKeyToken=2780ccd10d57b246, processorArchitecture=MSIL"> | |
- <SpecificVersion>False</SpecificVersion> | |
- <HintPath>..\packages\DotNetOpenAuth.OpenId.Core.4.3.0.13117\lib\net45-full\DotNetOpenAuth.OpenId.dll</HintPath> | |
- </Reference> | |
- <Reference Include="DotNetOpenAuth.OpenId.RelyingParty, Version=4.3.0.0, Culture=neutral, PublicKeyToken=2780ccd10d57b246, processorArchitecture=MSIL"> | |
- <SpecificVersion>False</SpecificVersion> | |
- <HintPath>..\packages\DotNetOpenAuth.OpenId.RelyingParty.4.3.0.13117\lib\net45-full\DotNetOpenAuth.OpenId.RelyingParty.dll</HintPath> | |
- </Reference> | |
- <Reference Include="Glimpse.AspNet"> | |
- <HintPath>..\packages\Glimpse.AspNet.1.2.1\lib\net45\Glimpse.AspNet.dll</HintPath> | |
- </Reference> | |
- <Reference Include="Glimpse.Core, Version=1.3.0.0, Culture=neutral, processorArchitecture=MSIL"> | |
- <SpecificVersion>False</SpecificVersion> | |
- <HintPath>..\packages\Glimpse.1.3.0\lib\net45\Glimpse.Core.dll</HintPath> | |
- </Reference> | |
- <Reference Include="Glimpse.Mvc4"> | |
- <HintPath>..\packages\Glimpse.Mvc4.1.2.1\lib\net40\Glimpse.Mvc4.dll</HintPath> | |
- </Reference> | |
- <Reference Include="Microsoft.CSharp" /> | |
- <Reference Include="Microsoft.SqlServer.Types, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL"> | |
- <Private>True</Private> | |
- <HintPath>..\packages\Microsoft.SqlServer.Types.10.50.1600.1\lib\Net20\Microsoft.SqlServer.Types.dll</HintPath> | |
- </Reference> | |
- <Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> | |
- <SpecificVersion>False</SpecificVersion> | |
- <HintPath>..\packages\Newtonsoft.Json.5.0.4\lib\net45\Newtonsoft.Json.dll</HintPath> | |
- </Reference> | |
- <Reference Include="PagedList"> | |
- <HintPath>..\packages\PagedList.1.15.0.0\lib\net40\PagedList.dll</HintPath> | |
- </Reference> | |
- <Reference Include="System" /> | |
- <Reference Include="System.Data" /> | |
- <Reference Include="System.Data.Entity" /> | |
- <Reference Include="System.Drawing" /> | |
- <Reference Include="System.Runtime.Caching" /> | |
- <Reference Include="System.Web.DynamicData" /> | |
- <Reference Include="System.Web.ApplicationServices" /> | |
- <Reference Include="System.ComponentModel.DataAnnotations" /> | |
- <Reference Include="System.Core" /> | |
- <Reference Include="System.Data.DataSetExtensions" /> | |
- <Reference Include="System.Web.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | |
- <Private>True</Private> | |
- <HintPath>..\packages\Microsoft.AspNet.Razor.2.0.20715.0\lib\net40\System.Web.Razor.dll</HintPath> | |
- </Reference> | |
- <Reference Include="System.Xml.Linq" /> | |
- <Reference Include="System.Web" /> | |
- <Reference Include="System.Web.Extensions" /> | |
- <Reference Include="System.Web.Abstractions" /> | |
- <Reference Include="System.Web.Routing" /> | |
- <Reference Include="System.Xml" /> | |
- <Reference Include="System.Configuration" /> | |
- <Reference Include="System.Transactions" /> | |
- <Reference Include="System.Web.Services" /> | |
- <Reference Include="System.EnterpriseServices" /> | |
- <Reference Include="EntityFramework"> | |
- <HintPath>..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll</HintPath> | |
- </Reference> | |
- <Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | |
- <Private>True</Private> | |
- <HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath> | |
- </Reference> | |
- <Reference Include="System.Net.Http"> | |
- </Reference> | |
- <Reference Include="System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | |
- <HintPath>..\packages\Microsoft.AspNet.WebApi.Client.4.0.20710.0\lib\net40\System.Net.Http.Formatting.dll</HintPath> | |
- </Reference> | |
- <Reference Include="System.Net.Http.WebRequest"> | |
- </Reference> | |
- <Reference Include="System.Web.Helpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | |
- <Private>True</Private> | |
- <HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.Helpers.dll</HintPath> | |
- </Reference> | |
- <Reference Include="System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | |
- <HintPath>..\packages\Microsoft.AspNet.WebApi.Core.4.0.20710.0\lib\net40\System.Web.Http.dll</HintPath> | |
- </Reference> | |
- <Reference Include="System.Web.Http.WebHost, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | |
- <HintPath>..\packages\Microsoft.AspNet.WebApi.WebHost.4.0.20710.0\lib\net40\System.Web.Http.WebHost.dll</HintPath> | |
- </Reference> | |
- <Reference Include="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | |
- <Private>True</Private> | |
- <HintPath>..\packages\Microsoft.AspNet.Mvc.4.0.20710.0\lib\net40\System.Web.Mvc.dll</HintPath> | |
- </Reference> | |
- <Reference Include="System.Web.Optimization"> | |
- <HintPath>..\packages\Microsoft.AspNet.Web.Optimization.1.0.0\lib\net40\System.Web.Optimization.dll</HintPath> | |
- </Reference> | |
- <Reference Include="System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | |
- <Private>True</Private> | |
- <HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.dll</HintPath> | |
- </Reference> | |
- <Reference Include="System.Web.WebPages.Deployment, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | |
- <Private>True</Private> | |
- <HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Deployment.dll</HintPath> | |
- </Reference> | |
- <Reference Include="System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | |
- <Private>True</Private> | |
- <HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Razor.dll</HintPath> | |
- </Reference> | |
- <Reference Include="WebGrease, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | |
- <SpecificVersion>False</SpecificVersion> | |
- <HintPath>..\packages\WebGrease.1.3.0\lib\WebGrease.dll</HintPath> | |
- </Reference> | |
- <Reference Include="WebMatrix.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | |
- <Private>True</Private> | |
- <HintPath>..\packages\Microsoft.AspNet.WebPages.Data.2.0.20710.0\lib\net40\WebMatrix.Data.dll</HintPath> | |
- </Reference> | |
- <Reference Include="Microsoft.Web.WebPages.OAuth, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | |
- <Private>True</Private> | |
- <HintPath>..\packages\Microsoft.AspNet.WebPages.OAuth.2.0.20710.0\lib\net40\Microsoft.Web.WebPages.OAuth.dll</HintPath> | |
- </Reference> | |
- <Reference Include="WebMatrix.WebData, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | |
- <Private>True</Private> | |
- <HintPath>..\packages\Microsoft.AspNet.WebPages.WebData.2.0.20710.0\lib\net40\WebMatrix.WebData.dll</HintPath> | |
- </Reference> | |
- </ItemGroup> | |
- <ItemGroup> | |
- <Compile Include="App_Start\AuthConfig.cs" /> | |
- <Compile Include="App_Start\BundleConfig.cs" /> | |
- <Compile Include="App_Start\FilterConfig.cs" /> | |
- <Compile Include="App_Start\RouteConfig.cs" /> | |
- <Compile Include="App_Start\WebApiConfig.cs" /> | |
- <Compile Include="Controllers\AccountController.cs" /> | |
- <Compile Include="Controllers\DinnersController.cs" /> | |
- <Compile Include="Controllers\HomeController.cs" /> | |
- <Compile Include="Controllers\RSVPController.cs" /> | |
- <Compile Include="Controllers\SearchController.cs" /> | |
- <Compile Include="Filters\InitializeSimpleMembershipAttribute.cs" /> | |
- <Compile Include="GlimpseSecurityPolicy.cs" /> | |
- <Compile Include="Global.asax.cs"> | |
+ <Compile Update="Global.asax.cs"> | |
<DependentUpon>Global.asax</DependentUpon> | |
</Compile> | |
- <Compile Include="Helpers\CountryList.cs" /> | |
- <Compile Include="Helpers\StringExtensions.cs" /> | |
- <Compile Include="ModelBinders\DbGeographyModelBinder.cs" /> | |
- <Compile Include="Models\AccountModels.cs" /> | |
- <Compile Include="Models\Dinner.cs" /> | |
- <Compile Include="Models\NerdDinnerContext.cs" /> | |
- <Compile Include="Models\RSVP.cs" /> | |
- <Compile Include="Properties\AssemblyInfo.cs" /> | |
- <Compile Include="Services\GeolocationService.cs" /> | |
</ItemGroup> | |
<ItemGroup> | |
<Content Include="Content\images\ajax-loader.gif" /> | |
@@ -277,7 +95,6 @@ | |
<Content Include="Content\themes\base\minified\jquery.ui.tooltip.min.css" /> | |
<Content Include="favicon.ico" /> | |
<Content Include="Global.asax" /> | |
- <None Include="Scripts\jquery-1.7.1.intellisense.js" /> | |
<Content Include="Images\accent.png" /> | |
<Content Include="Images\bullet.png" /> | |
<Content Include="Images\heroAccent.png" /> | |
@@ -308,7 +125,6 @@ | |
<Content Include="Scripts\jquery.mobile-1.3.0.min.js" /> | |
<Content Include="Scripts\jquery.unobtrusive-ajax.js" /> | |
<Content Include="Scripts\jquery.unobtrusive-ajax.min.js" /> | |
- <None Include="Scripts\jquery.validate-vsdoc.js" /> | |
<Content Include="Scripts\jquery.validate.js" /> | |
<Content Include="Scripts\jquery.validate.min.js" /> | |
<Content Include="Scripts\jquery.validate.unobtrusive.js" /> | |
@@ -319,82 +135,47 @@ | |
<Content Include="Scripts\NerdDinner.js" /> | |
<Content Include="Scripts\yepnope.1.5.4-min.js" /> | |
<Content Include="Scripts\yepnope.1.5.4.js" /> | |
- <Content Include="Web.config"> | |
+ <Content Update="Web.config"> | |
<SubType>Designer</SubType> | |
</Content> | |
- <Content Include="Web.Debug.config"> | |
+ <Content Update="Web.Debug.config"> | |
<DependentUpon>Web.config</DependentUpon> | |
</Content> | |
- <Content Include="Web.Release.config"> | |
+ <Content Update="Web.Release.config"> | |
<DependentUpon>Web.config</DependentUpon> | |
</Content> | |
<Content Include="Content\Site.css" /> | |
<Content Include="Scripts\_references.js" /> | |
- <Content Include="Views\_ViewStart.cshtml" /> | |
- <Content Include="Views\Account\_ChangePasswordPartial.cshtml" /> | |
- <Content Include="Views\Account\_ExternalLoginsListPartial.cshtml" /> | |
- <Content Include="Views\Account\_RemoveExternalLoginsPartial.cshtml" /> | |
- <Content Include="Views\Account\_SetPasswordPartial.cshtml" /> | |
- <Content Include="Views\Account\Login.cshtml" /> | |
- <Content Include="Views\Account\Manage.cshtml" /> | |
- <Content Include="Views\Account\Register.cshtml" /> | |
- <Content Include="Views\Account\ExternalLoginFailure.cshtml" /> | |
- <Content Include="Views\Account\ExternalLoginConfirmation.cshtml" /> | |
- <Content Include="Views\Home\About.cshtml" /> | |
- <Content Include="Views\Home\Index.cshtml" /> | |
- <Content Include="Views\Shared\Error.cshtml" /> | |
- <Content Include="Views\Shared\_LoginPartial.cshtml" /> | |
- <Content Include="Views\Shared\_Layout.cshtml" /> | |
- <Content Include="Views\Web.config" /> | |
- <Content Include="Views\Dinners\Index.cshtml" /> | |
- <Content Include="Views\Dinners\Details.cshtml" /> | |
- <Content Include="Views\Dinners\Create.cshtml" /> | |
- <Content Include="Views\Dinners\Edit.cshtml" /> | |
- <Content Include="Views\Dinners\Delete.cshtml" /> | |
- <Content Include="Views\Shared\DisplayTemplates\DbGeography.cshtml" /> | |
- <Content Include="Views\Shared\EditorTemplates\DbGeography.cshtml" /> | |
- <Content Include="Views\Dinners\InvalidOwner.cshtml" /> | |
- <Content Include="Views\Shared\EditorTemplates\CountryDropDown.cshtml" /> | |
- <Content Include="Views\Shared\EditorTemplates\LocationDetail.cshtml" /> | |
- <Content Include="Views\Dinners\DinnerPagination.cshtml" /> | |
- <Content Include="Views\Dinners\WebSlice.cshtml" /> | |
- <Content Include="Views\Shared\DisplayTemplates\LocationDetail.cshtml" /> | |
- <Content Include="Views\Dinners\_RSVPStatus.cshtml" /> | |
- <Content Include="Views\Shared\_Layout.Mobile.cshtml" /> | |
- <Content Include="Views\Home\Index.Mobile.cshtml" /> | |
</ItemGroup> | |
<ItemGroup> | |
<Folder Include="App_Data\" /> | |
</ItemGroup> | |
<ItemGroup> | |
- <Content Include="packages.config" /> | |
+ <PackageReference Include="Microsoft.CSharp" Version="4.7.0" /> | |
+ <PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" /> | |
+ <PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" /> | |
+ <PackageReference Include="System.Runtime.Caching" Version="8.0.0" /> | |
+ <PackageReference Include="Microsoft.AspNetCore.SystemWebAdapters" Version="1.3.0" /> | |
+ <PackageReference Include="EntityFramework" Version="6.4.4" /> | |
+ <PackageReference Include="System.Net.Http" Version="4.3.4" /> | |
+ <PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> | |
+ <PackageReference Include="System.Configuration.ConfigurationManager" Version="8.0.0" /> | |
+ </ItemGroup> | |
+ <ItemGroup> | |
+ <PackageReference Include="Glimpse" Version="1.8.6" /> | |
+ <PackageReference Include="jQuery" Version="1.7.1.1" /> | |
+ <PackageReference Include="jquery.mobile" Version="1.3.0" /> | |
+ <PackageReference Include="jQuery.UI.Combined" Version="1.10.2" /> | |
+ <PackageReference Include="jQuery.Validation" Version="1.11.1" /> | |
+ <PackageReference Include="knockoutjs" Version="2.2.1" /> | |
+ <PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="6.0.0" /> | |
+ <PackageReference Include="Microsoft.AspNet.WebPages.Data" Version="3.3.0" /> | |
+ <PackageReference Include="Microsoft.jQuery.Unobtrusive.Ajax" Version="2.0.30116.0" /> | |
+ <PackageReference Include="Microsoft.jQuery.Unobtrusive.Validation" Version="2.0.30116.0" /> | |
+ <PackageReference Include="Microsoft.SqlServer.Types" Version="160.1000.6" /> | |
+ <PackageReference Include="Modernizr" Version="2.6.2" /> | |
+ <PackageReference Include="PagedList" Version="1.17.0" /> | |
+ <PackageReference Include="WebGrease" Version="1.3.0" /> | |
+ <PackageReference Include="yepnope.js" Version="1.5.4" /> | |
</ItemGroup> | |
- <PropertyGroup> | |
- <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion> | |
- <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> | |
- </PropertyGroup> | |
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | |
- <Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" /> | |
- <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" /> | |
- <Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'"> | |
- <AspNetCompiler VirtualPath="temp" PhysicalPath="$(WebProjectOutputDir)" /> | |
- </Target> | |
- <ProjectExtensions> | |
- <VisualStudio> | |
- <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}"> | |
- <WebProjectProperties> | |
- <UseIIS>True</UseIIS> | |
- <AutoAssignPort>True</AutoAssignPort> | |
- <DevelopmentServerPort>0</DevelopmentServerPort> | |
- <DevelopmentServerVPath>/</DevelopmentServerVPath> | |
- <IISUrl>http://localhost:10581/</IISUrl> | |
- <NTLMAuthentication>False</NTLMAuthentication> | |
- <UseCustomServer>False</UseCustomServer> | |
- <CustomServerUrl> | |
- </CustomServerUrl> | |
- <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile> | |
- </WebProjectProperties> | |
- </FlavorProperties> | |
- </VisualStudio> | |
- </ProjectExtensions> | |
</Project> | |
\ No newline at end of file | |
diff --git a/mvc4/NerdDinner/Properties/AssemblyInfo.cs b/mvc4/NerdDinner/Properties/AssemblyInfo.cs | |
index 77da994..242043d 100644 | |
--- a/mvc4/NerdDinner/Properties/AssemblyInfo.cs | |
+++ b/mvc4/NerdDinner/Properties/AssemblyInfo.cs | |
@@ -1,16 +1,6 @@ | |
using System.Reflection; | |
using System.Runtime.CompilerServices; | |
using System.Runtime.InteropServices; | |
- | |
-// General Information about an assembly is controlled through the following | |
-// set of attributes. Change these attribute values to modify the information | |
-// associated with an assembly. | |
-[assembly: AssemblyTitle("NerdDinner")] | |
-[assembly: AssemblyDescription("")] | |
-[assembly: AssemblyConfiguration("")] | |
-[assembly: AssemblyCompany("")] | |
-[assembly: AssemblyProduct("NerdDinner")] | |
-[assembly: AssemblyCopyright("Copyright © 2012")] | |
[assembly: AssemblyTrademark("")] | |
[assembly: AssemblyCulture("")] | |
@@ -21,15 +11,3 @@ using System.Runtime.InteropServices; | |
// The following GUID is for the ID of the typelib if this project is exposed to COM | |
[assembly: Guid("7db0d577-9a82-4a95-8a0b-1c3987a25d2f")] | |
- | |
-// Version information for an assembly consists of the following four values: | |
-// | |
-// Major Version | |
-// Minor Version | |
-// Build Number | |
-// Revision | |
-// | |
-// You can specify all the values or you can default the Revision and Build Numbers | |
-// by using the '*' as shown below: | |
-[assembly: AssemblyVersion("1.0.0.0")] | |
-[assembly: AssemblyFileVersion("1.0.0.0")] | |
diff --git a/mvc4/NerdDinner/packages.config b/mvc4/NerdDinner/packages.config | |
deleted file mode 100644 | |
index e00ebba..0000000 | |
--- a/mvc4/NerdDinner/packages.config | |
+++ /dev/null | |
@@ -1,39 +0,0 @@ | |
-<?xml version="1.0" encoding="utf-8"?> | |
-<packages> | |
- <package id="DotNetOpenAuth.AspNet" version="4.3.0.13117" targetFramework="net45" /> | |
- <package id="DotNetOpenAuth.Core" version="4.3.0.13117" targetFramework="net45" /> | |
- <package id="DotNetOpenAuth.OAuth.Consumer" version="4.3.0.13117" targetFramework="net45" /> | |
- <package id="DotNetOpenAuth.OAuth.Core" version="4.3.0.13117" targetFramework="net45" /> | |
- <package id="DotNetOpenAuth.OpenId.Core" version="4.3.0.13117" targetFramework="net45" /> | |
- <package id="DotNetOpenAuth.OpenId.RelyingParty" version="4.3.0.13117" targetFramework="net45" /> | |
- <package id="EntityFramework" version="5.0.0" targetFramework="net45" /> | |
- <package id="Glimpse" version="1.3.0" targetFramework="net45" /> | |
- <package id="Glimpse.AspNet" version="1.2.1" targetFramework="net45" /> | |
- <package id="Glimpse.Mvc4" version="1.2.1" targetFramework="net45" /> | |
- <package id="jQuery" version="1.7.1.1" targetFramework="net45" /> | |
- <package id="jquery.mobile" version="1.3.0" targetFramework="net45" /> | |
- <package id="jQuery.UI.Combined" version="1.10.2" targetFramework="net45" /> | |
- <package id="jQuery.Validation" version="1.11.1" targetFramework="net45" /> | |
- <package id="knockoutjs" version="2.2.1" targetFramework="net45" /> | |
- <package id="Microsoft.AspNet.Mvc" version="4.0.20710.0" targetFramework="net45" /> | |
- <package id="Microsoft.AspNet.Razor" version="2.0.20715.0" targetFramework="net45" /> | |
- <package id="Microsoft.AspNet.Web.Optimization" version="1.0.0" targetFramework="net45" /> | |
- <package id="Microsoft.AspNet.WebApi" version="4.0.20710.0" targetFramework="net45" /> | |
- <package id="Microsoft.AspNet.WebApi.Client" version="4.0.20710.0" targetFramework="net45" /> | |
- <package id="Microsoft.AspNet.WebApi.Core" version="4.0.20710.0" targetFramework="net45" /> | |
- <package id="Microsoft.AspNet.WebApi.WebHost" version="4.0.20710.0" targetFramework="net45" /> | |
- <package id="Microsoft.AspNet.WebPages" version="2.0.20710.0" targetFramework="net45" /> | |
- <package id="Microsoft.AspNet.WebPages.Data" version="2.0.20710.0" targetFramework="net45" /> | |
- <package id="Microsoft.AspNet.WebPages.OAuth" version="2.0.20710.0" targetFramework="net45" /> | |
- <package id="Microsoft.AspNet.WebPages.WebData" version="2.0.20710.0" targetFramework="net45" /> | |
- <package id="Microsoft.jQuery.Unobtrusive.Ajax" version="2.0.30116.0" targetFramework="net45" /> | |
- <package id="Microsoft.jQuery.Unobtrusive.Validation" version="2.0.30116.0" targetFramework="net45" /> | |
- <package id="Microsoft.Net.Http" version="2.0.20710.0" targetFramework="net45" /> | |
- <package id="Microsoft.SqlServer.Types" version="10.50.1600.1" targetFramework="net45" /> | |
- <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" /> | |
- <package id="Modernizr" version="2.6.2" targetFramework="net45" /> | |
- <package id="Newtonsoft.Json" version="5.0.4" targetFramework="net45" /> | |
- <package id="PagedList" version="1.15.0.0" targetFramework="net45" /> | |
- <package id="WebGrease" version="1.3.0" targetFramework="net45" /> | |
- <package id="yepnope.js" version="1.5.4" targetFramework="net45" /> | |
-</packages> | |
\ No newline at end of file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"settings": { | |
"components": { | |
"code": true, | |
"binaries": false | |
}, | |
"targetId": "", | |
"targetDisplayName": ".NET 8.0" | |
}, | |
"analysisStartTime": "2024-06-28T15:40:37.4880996Z", | |
"analysisEndTime": "2024-06-28T15:41:13.2853105Z", | |
"privacyMode": "Unrestricted", | |
"privacyModeHelpUrl": "https://go.microsoft.com/fwlink/?linkid=2270980", | |
"stats": { | |
"summary": { | |
"projects": 1, | |
"issues": 9, | |
"incidents": 611, | |
"effort": 611 | |
}, | |
"charts": { | |
"severity": { | |
"Mandatory": 577, | |
"Optional": 5, | |
"Potential": 29, | |
"Information": 0 | |
}, | |
"category": { | |
"NuGet": 31, | |
"Project": 2, | |
"Api": 578 | |
} | |
} | |
}, | |
"projects": [ | |
{ | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"startingProject": true, | |
"issues": 9, | |
"storyPoints": 611, | |
"ruleInstances": [ | |
{ | |
"incidentId": "3c1ccf55-463c-4604-9592-9ce4d8a54ed7", | |
"ruleId": "NuGet.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "DotNetOpenAuth.AspNet, 4.3.0.13117\n\nRecommendation:\n\nNo supported version found", | |
"protectedSnippet": "DotNetOpenAuth.AspNet, 4.3.0.13117\n\nRecommendation:\n\nNo supported version found", | |
"label": "DotNetOpenAuth.AspNet 4.3.0.13117" | |
} | |
}, | |
{ | |
"incidentId": "77ba51f4-7b30-4690-be7e-06291c8ae27a", | |
"ruleId": "NuGet.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "DotNetOpenAuth.Core, 4.3.0.13117\n\nRecommendation:\n\nNo supported version found", | |
"protectedSnippet": "DotNetOpenAuth.Core, 4.3.0.13117\n\nRecommendation:\n\nNo supported version found", | |
"label": "DotNetOpenAuth.Core 4.3.0.13117" | |
} | |
}, | |
{ | |
"incidentId": "b91247bb-689f-4e63-8654-8d2b12025360", | |
"ruleId": "NuGet.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "DotNetOpenAuth.OAuth.Consumer, 4.3.0.13117\n\nRecommendation:\n\nNo supported version found", | |
"protectedSnippet": "DotNetOpenAuth.OAuth.Consumer, 4.3.0.13117\n\nRecommendation:\n\nNo supported version found", | |
"label": "DotNetOpenAuth.OAuth.Consumer 4.3.0.13117" | |
} | |
}, | |
{ | |
"incidentId": "8d64ade7-2a23-4619-8632-391adab1f30a", | |
"ruleId": "NuGet.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "DotNetOpenAuth.OAuth.Core, 4.3.0.13117\n\nRecommendation:\n\nNo supported version found", | |
"protectedSnippet": "DotNetOpenAuth.OAuth.Core, 4.3.0.13117\n\nRecommendation:\n\nNo supported version found", | |
"label": "DotNetOpenAuth.OAuth.Core 4.3.0.13117" | |
} | |
}, | |
{ | |
"incidentId": "d0d75f09-381b-476a-82fe-922713468eb2", | |
"ruleId": "NuGet.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "DotNetOpenAuth.OpenId.Core, 4.3.0.13117\n\nRecommendation:\n\nNo supported version found", | |
"protectedSnippet": "DotNetOpenAuth.OpenId.Core, 4.3.0.13117\n\nRecommendation:\n\nNo supported version found", | |
"label": "DotNetOpenAuth.OpenId.Core 4.3.0.13117" | |
} | |
}, | |
{ | |
"incidentId": "d62a19f4-7f58-4e88-b2bf-cee629af8186", | |
"ruleId": "NuGet.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "DotNetOpenAuth.OpenId.RelyingParty, 4.3.0.13117\n\nRecommendation:\n\nNo supported version found", | |
"protectedSnippet": "DotNetOpenAuth.OpenId.RelyingParty, 4.3.0.13117\n\nRecommendation:\n\nNo supported version found", | |
"label": "DotNetOpenAuth.OpenId.RelyingParty 4.3.0.13117" | |
} | |
}, | |
{ | |
"incidentId": "be144e77-d134-4a97-8d59-bae70cbaf310", | |
"ruleId": "NuGet.0002", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "EntityFramework, 5.0.0\n\nRecommendation:\n\nEntityFramework 6.4.4", | |
"protectedSnippet": "EntityFramework, 5.0.0\n\nRecommendation:\n\nEntityFramework 6.4.4", | |
"label": "EntityFramework 5.0.0" | |
} | |
}, | |
{ | |
"incidentId": "391316da-dc4c-4e11-a420-99cd95317aa9", | |
"ruleId": "NuGet.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Glimpse, 1.3.0\n\nRecommendation:\n\nNo supported version found", | |
"protectedSnippet": "Glimpse, 1.3.0\n\nRecommendation:\n\nNo supported version found", | |
"label": "Glimpse 1.3.0" | |
} | |
}, | |
{ | |
"incidentId": "13f86baa-c547-4012-a31d-5da50d12f60c", | |
"ruleId": "NuGet.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Glimpse.AspNet, 1.2.1\n\nRecommendation:\n\nNo supported version found", | |
"protectedSnippet": "Glimpse.AspNet, 1.2.1\n\nRecommendation:\n\nNo supported version found", | |
"label": "Glimpse.AspNet 1.2.1" | |
} | |
}, | |
{ | |
"incidentId": "fa694d2f-edea-45a7-ac33-92eba1e625e7", | |
"ruleId": "NuGet.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Glimpse.Mvc4, 1.2.1\n\nRecommendation:\n\nNo supported version found", | |
"protectedSnippet": "Glimpse.Mvc4, 1.2.1\n\nRecommendation:\n\nNo supported version found", | |
"label": "Glimpse.Mvc4 1.2.1" | |
} | |
}, | |
{ | |
"incidentId": "7b42a7a5-f93f-42f5-b61f-d35a2f2641dc", | |
"ruleId": "NuGet.0003", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Microsoft.AspNet.Mvc, 4.0.20710.0\n\nRecommendation:\n\nPackage functionality included with new framework reference", | |
"protectedSnippet": "Microsoft.AspNet.Mvc, 4.0.20710.0\n\nRecommendation:\n\nPackage functionality included with new framework reference", | |
"label": "Microsoft.AspNet.Mvc 4.0.20710.0" | |
} | |
}, | |
{ | |
"incidentId": "33bbd430-e3ee-42ae-81be-c0a93fcf339b", | |
"ruleId": "NuGet.0003", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Microsoft.AspNet.Razor, 2.0.20715.0\n\nRecommendation:\n\nPackage functionality included with new framework reference", | |
"protectedSnippet": "Microsoft.AspNet.Razor, 2.0.20715.0\n\nRecommendation:\n\nPackage functionality included with new framework reference", | |
"label": "Microsoft.AspNet.Razor 2.0.20715.0" | |
} | |
}, | |
{ | |
"incidentId": "1bfc8a40-dba2-46a3-bffa-12b8e8a3608d", | |
"ruleId": "NuGet.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Microsoft.AspNet.Web.Optimization, 1.0.0\n\nRecommendation:\n\nNo supported version found", | |
"protectedSnippet": "Microsoft.AspNet.Web.Optimization, 1.0.0\n\nRecommendation:\n\nNo supported version found", | |
"label": "Microsoft.AspNet.Web.Optimization 1.0.0" | |
} | |
}, | |
{ | |
"incidentId": "d85e7df9-3d3e-46b9-9122-7167d102c966", | |
"ruleId": "NuGet.0003", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Microsoft.AspNet.WebApi, 4.0.20710.0\n\nRecommendation:\n\nPackage functionality included with new framework reference", | |
"protectedSnippet": "Microsoft.AspNet.WebApi, 4.0.20710.0\n\nRecommendation:\n\nPackage functionality included with new framework reference", | |
"label": "Microsoft.AspNet.WebApi 4.0.20710.0" | |
} | |
}, | |
{ | |
"incidentId": "e45d6e81-8006-4c59-97fe-c065ce55720e", | |
"ruleId": "NuGet.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Microsoft.AspNet.WebApi.Client, 4.0.20710.0\n\nRecommendation:\n\nMicrosoft.AspNet.WebApi.Client, 6.0.0", | |
"protectedSnippet": "Microsoft.AspNet.WebApi.Client, 4.0.20710.0\n\nRecommendation:\n\nMicrosoft.AspNet.WebApi.Client, 6.0.0", | |
"label": "Microsoft.AspNet.WebApi.Client 4.0.20710.0" | |
} | |
}, | |
{ | |
"incidentId": "9df3024d-c512-4234-baca-962a1d8571aa", | |
"ruleId": "NuGet.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Microsoft.AspNet.WebApi.Core, 4.0.20710.0\n\nRecommendation:\n\nNo supported version found", | |
"protectedSnippet": "Microsoft.AspNet.WebApi.Core, 4.0.20710.0\n\nRecommendation:\n\nNo supported version found", | |
"label": "Microsoft.AspNet.WebApi.Core 4.0.20710.0" | |
} | |
}, | |
{ | |
"incidentId": "5d3b0aa9-b980-4599-83e5-8cb1f5549f41", | |
"ruleId": "NuGet.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Microsoft.AspNet.WebApi.WebHost, 4.0.20710.0\n\nRecommendation:\n\nNo supported version found", | |
"protectedSnippet": "Microsoft.AspNet.WebApi.WebHost, 4.0.20710.0\n\nRecommendation:\n\nNo supported version found", | |
"label": "Microsoft.AspNet.WebApi.WebHost 4.0.20710.0" | |
} | |
}, | |
{ | |
"incidentId": "c4c27d2f-a1b2-419e-b844-7dda626e3afc", | |
"ruleId": "NuGet.0003", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Microsoft.AspNet.WebPages, 2.0.20710.0\n\nRecommendation:\n\nPackage functionality included with new framework reference", | |
"protectedSnippet": "Microsoft.AspNet.WebPages, 2.0.20710.0\n\nRecommendation:\n\nPackage functionality included with new framework reference", | |
"label": "Microsoft.AspNet.WebPages 2.0.20710.0" | |
} | |
}, | |
{ | |
"incidentId": "e09487e8-4f45-4495-906a-a14aed1804dd", | |
"ruleId": "NuGet.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Microsoft.AspNet.WebPages.Data, 2.0.20710.0\n\nRecommendation:\n\nNo supported version found", | |
"protectedSnippet": "Microsoft.AspNet.WebPages.Data, 2.0.20710.0\n\nRecommendation:\n\nNo supported version found", | |
"label": "Microsoft.AspNet.WebPages.Data 2.0.20710.0" | |
} | |
}, | |
{ | |
"incidentId": "ce02dff8-8337-44c6-992e-6e179591619a", | |
"ruleId": "NuGet.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Microsoft.AspNet.WebPages.OAuth, 2.0.20710.0\n\nRecommendation:\n\nNo supported version found", | |
"protectedSnippet": "Microsoft.AspNet.WebPages.OAuth, 2.0.20710.0\n\nRecommendation:\n\nNo supported version found", | |
"label": "Microsoft.AspNet.WebPages.OAuth 2.0.20710.0" | |
} | |
}, | |
{ | |
"incidentId": "0561ddf7-4fcf-4e14-bfb5-69a737b2a6d2", | |
"ruleId": "NuGet.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Microsoft.AspNet.WebPages.WebData, 2.0.20710.0\n\nRecommendation:\n\nNo supported version found", | |
"protectedSnippet": "Microsoft.AspNet.WebPages.WebData, 2.0.20710.0\n\nRecommendation:\n\nNo supported version found", | |
"label": "Microsoft.AspNet.WebPages.WebData 2.0.20710.0" | |
} | |
}, | |
{ | |
"incidentId": "56986914-bf3d-493c-a859-349e13ab1017", | |
"ruleId": "NuGet.0002", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Microsoft.Net.Http, 2.0.20710.0\n\nRecommendation:\n\nSystem.Net.Http 4.3.4", | |
"protectedSnippet": "Microsoft.Net.Http, 2.0.20710.0\n\nRecommendation:\n\nSystem.Net.Http 4.3.4", | |
"label": "Microsoft.Net.Http 2.0.20710.0" | |
} | |
}, | |
{ | |
"incidentId": "7abc20a3-a2de-4fa7-b6e1-444f0e60600c", | |
"ruleId": "NuGet.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Microsoft.SqlServer.Types, 10.50.1600.1\n\nRecommendation:\n\nMicrosoft.SqlServer.Types, 160.1000.6", | |
"protectedSnippet": "Microsoft.SqlServer.Types, 10.50.1600.1\n\nRecommendation:\n\nMicrosoft.SqlServer.Types, 160.1000.6", | |
"label": "Microsoft.SqlServer.Types 10.50.1600.1" | |
} | |
}, | |
{ | |
"incidentId": "218445a6-520d-4aae-b15a-4af041ea48f4", | |
"ruleId": "NuGet.0003", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Microsoft.Web.Infrastructure, 1.0.0.0\n\nRecommendation:\n\nPackage functionality included with new framework reference", | |
"protectedSnippet": "Microsoft.Web.Infrastructure, 1.0.0.0\n\nRecommendation:\n\nPackage functionality included with new framework reference", | |
"label": "Microsoft.Web.Infrastructure 1.0.0.0" | |
} | |
}, | |
{ | |
"incidentId": "94bc8874-7e1b-4beb-a2ff-e0f93ad6a338", | |
"ruleId": "NuGet.0002", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Newtonsoft.Json, 5.0.4\n\nRecommendation:\n\nNewtonsoft.Json 13.0.3", | |
"protectedSnippet": "Newtonsoft.Json, 5.0.4\n\nRecommendation:\n\nNewtonsoft.Json 13.0.3", | |
"label": "Newtonsoft.Json 5.0.4" | |
} | |
}, | |
{ | |
"incidentId": "bde8a196-3ad2-4076-bef8-c4322eaea40b", | |
"ruleId": "NuGet.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "PagedList, 1.15.0.0\n\nRecommendation:\n\nNo supported version found", | |
"protectedSnippet": "PagedList, 1.15.0.0\n\nRecommendation:\n\nNo supported version found", | |
"label": "PagedList 1.15.0.0" | |
} | |
}, | |
{ | |
"incidentId": "7ebfaff1-032a-4b0f-b8d9-faa0c8bfa187", | |
"ruleId": "NuGet.0004", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "jQuery, 1.7.1.1", | |
"protectedSnippet": "jQuery, 1.7.1.1", | |
"label": "jQuery 1.7.1.1" | |
} | |
}, | |
{ | |
"incidentId": "bf126869-12af-4a6a-a949-c3dae03eee49", | |
"ruleId": "NuGet.0004", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "jQuery.UI.Combined, 1.10.2", | |
"protectedSnippet": "jQuery.UI.Combined, 1.10.2", | |
"label": "jQuery.UI.Combined 1.10.2" | |
} | |
}, | |
{ | |
"incidentId": "a2bce4f8-1a27-4904-965e-f0136708d16d", | |
"ruleId": "NuGet.0004", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "jQuery.Validation, 1.11.1", | |
"protectedSnippet": "jQuery.Validation, 1.11.1", | |
"label": "jQuery.Validation 1.11.1" | |
} | |
}, | |
{ | |
"incidentId": "2028c8eb-65fa-4857-923b-c73e5deb3d6b", | |
"ruleId": "NuGet.0005", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Microsoft.Net.Http, 2.0.20710.0\n\nRecommendation:\n\nThis package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217", | |
"protectedSnippet": "Microsoft.Net.Http, 2.0.20710.0\n\nRecommendation:\n\nThis package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217", | |
"label": "Microsoft.Net.Http 2.0.20710.0" | |
} | |
}, | |
{ | |
"incidentId": "84f8b887-7332-42aa-a34d-1f8b3474f1c8", | |
"ruleId": "NuGet.0004", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Newtonsoft.Json, 5.0.4", | |
"protectedSnippet": "Newtonsoft.Json, 5.0.4", | |
"label": "Newtonsoft.Json 5.0.4" | |
} | |
}, | |
{ | |
"incidentId": "78fa8997-eba4-4e9d-b4be-d1390f1163f8", | |
"ruleId": "Project.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj" | |
} | |
}, | |
{ | |
"incidentId": "5605341d-07b6-4ae1-a962-c6d8598b9ab3", | |
"ruleId": "Project.0002", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\NerdDinner.csproj", | |
"snippet": "Current: .NETFramework,Version=v4.5\nNew: net8.0", | |
"protectedSnippet": "Current: .NETFramework,Version=v4.5\nNew: net8.0" | |
} | |
}, | |
{ | |
"incidentId": "53846250-f656-4a49-9f7c-3c751f6db584", | |
"ruleId": "Api.0002", | |
"description": "API is available in package System.Configuration.ConfigurationManager, 9.0.0-preview.6.24302.3.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Services\\GeolocationService.cs", | |
"snippet": "string apiKey = System.Configuration.ConfigurationManager.AppSettings[\u0022ipInfoDbKey\u0022];", | |
"protectedSnippet": "T:System.Configuration.ConfigurationManager", | |
"label": "T:System.Configuration.ConfigurationManager", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.configuration.configurationmanager", | |
"isCustom": false | |
} | |
], | |
"line": 47, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "fe73eb69-1596-4a86-93c2-beca81aaf337", | |
"ruleId": "Api.0002", | |
"description": "API is available in package System.Configuration.ConfigurationManager, 9.0.0-preview.6.24302.3.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Services\\GeolocationService.cs", | |
"snippet": "string apiKey = System.Configuration.ConfigurationManager.AppSettings[\u0022ipInfoDbKey\u0022];", | |
"protectedSnippet": "P:System.Configuration.ConfigurationManager.AppSettings", | |
"label": "P:System.Configuration.ConfigurationManager.AppSettings", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.configuration.configurationmanager.appsettings", | |
"isCustom": false | |
} | |
], | |
"line": 47, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "92b1da70-2ace-4e8f-bc53-4d619aef3e71", | |
"ruleId": "Api.0002", | |
"description": "API is available in package System.Runtime.Caching, 8.0.0.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Services\\GeolocationService.cs", | |
"snippet": "cache.Add(placeOrZip, result,\r\n new CacheItemPolicy() { SlidingExpiration = TimeSpan.FromDays(1) });", | |
"protectedSnippet": "P:System.Runtime.Caching.CacheItemPolicy.SlidingExpiration", | |
"label": "P:System.Runtime.Caching.CacheItemPolicy.SlidingExpiration", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.runtime.caching.cacheitempolicy.slidingexpiration", | |
"isCustom": false | |
} | |
], | |
"line": 21, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "0be5cb5f-6c45-44fc-9f3a-7d6f3fc396c6", | |
"ruleId": "Api.0002", | |
"description": "API is available in package System.Runtime.Caching, 8.0.0.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Services\\GeolocationService.cs", | |
"snippet": "cache.Add(placeOrZip, result,\r\n new CacheItemPolicy() { SlidingExpiration = TimeSpan.FromDays(1) });", | |
"protectedSnippet": "T:System.Runtime.Caching.CacheItemPolicy", | |
"label": "T:System.Runtime.Caching.CacheItemPolicy", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.runtime.caching.cacheitempolicy", | |
"isCustom": false | |
} | |
], | |
"line": 21, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "a864b28b-122b-4039-9a5f-0c03f6490981", | |
"ruleId": "Api.0002", | |
"description": "API is available in package System.Runtime.Caching, 8.0.0.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Services\\GeolocationService.cs", | |
"snippet": "cache.Add(placeOrZip, result,\r\n new CacheItemPolicy() { SlidingExpiration = TimeSpan.FromDays(1) });", | |
"protectedSnippet": "M:System.Runtime.Caching.CacheItemPolicy.#ctor", | |
"label": "M:System.Runtime.Caching.CacheItemPolicy.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.runtime.caching.cacheitempolicy.cacheitempolicy", | |
"isCustom": false | |
} | |
], | |
"line": 21, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "c28909f0-1ff7-47c5-86d1-d2d33d5b046f", | |
"ruleId": "Api.0002", | |
"description": "API is available in package System.Runtime.Caching, 8.0.0.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Services\\GeolocationService.cs", | |
"snippet": "cache.Add(placeOrZip, result,\r\n new CacheItemPolicy() { SlidingExpiration = TimeSpan.FromDays(1) });", | |
"protectedSnippet": "M:System.Runtime.Caching.ObjectCache.Add(System.String,System.Object,System.Runtime.Caching.CacheItemPolicy,System.String)", | |
"label": "M:System.Runtime.Caching.ObjectCache.Add(System.String,System.Object,System.Runtime.Caching.CacheItemPolicy,System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.runtime.caching.objectcache.add", | |
"isCustom": false | |
} | |
], | |
"line": 21, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "697454d6-7967-4de1-a4d3-dc6f49db3b10", | |
"ruleId": "Api.0002", | |
"description": "API is available in package System.Runtime.Caching, 8.0.0.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Services\\GeolocationService.cs", | |
"snippet": "var result = cache[placeOrZip] as XDocument;", | |
"protectedSnippet": "P:System.Runtime.Caching.ObjectCache.Item(System.String)", | |
"label": "P:System.Runtime.Caching.ObjectCache.Item(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.runtime.caching.objectcache.this[string]", | |
"isCustom": false | |
} | |
], | |
"line": 17, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "5da7b7df-f7c9-45b8-98a8-9c8e8468971d", | |
"ruleId": "Api.0002", | |
"description": "API is available in package System.Runtime.Caching, 8.0.0.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Services\\GeolocationService.cs", | |
"snippet": "ObjectCache cache = MemoryCache.Default;", | |
"protectedSnippet": "T:System.Runtime.Caching.MemoryCache", | |
"label": "T:System.Runtime.Caching.MemoryCache", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.runtime.caching.memorycache", | |
"isCustom": false | |
} | |
], | |
"line": 12, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "77958a13-da37-4f71-b21b-a23052aae9d1", | |
"ruleId": "Api.0002", | |
"description": "API is available in package System.Runtime.Caching, 8.0.0.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Services\\GeolocationService.cs", | |
"snippet": "ObjectCache cache = MemoryCache.Default;", | |
"protectedSnippet": "P:System.Runtime.Caching.MemoryCache.Default", | |
"label": "P:System.Runtime.Caching.MemoryCache.Default", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.runtime.caching.memorycache.default", | |
"isCustom": false | |
} | |
], | |
"line": 12, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "7569b4bc-c2b1-4a25-b238-9bf42f616f54", | |
"ruleId": "Api.0002", | |
"description": "API is available in package EntityFramework, 6.4.4.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Models\\NerdDinnerContext.cs", | |
"snippet": ": base(\u0022name=NerdDinnerContext\u0022)", | |
"protectedSnippet": "M:System.Data.Entity.DbContext.#ctor(System.String)", | |
"label": "M:System.Data.Entity.DbContext.#ctor(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.entity.dbcontext.dbcontext", | |
"isCustom": false | |
} | |
], | |
"line": 15, | |
"column": 35 | |
} | |
}, | |
{ | |
"incidentId": "3f08be45-6fb2-4e48-a36e-bbea36dee1d5", | |
"ruleId": "Api.0002", | |
"description": "API is available in package EntityFramework, 6.4.4.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Models\\NerdDinnerContext.cs", | |
"snippet": "DbContext", | |
"protectedSnippet": "T:System.Data.Entity.DbContext", | |
"label": "T:System.Data.Entity.DbContext", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.entity.dbcontext", | |
"isCustom": false | |
} | |
], | |
"line": 4, | |
"column": 37 | |
} | |
}, | |
{ | |
"incidentId": "6644a2ac-a997-45ca-b560-edf141d8bb1d", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Models\\Dinner.cs", | |
"snippet": "Location", | |
"protectedSnippet": "T:System.Data.Spatial.DbGeography", | |
"label": "T:System.Data.Spatial.DbGeography", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.spatial.dbgeography", | |
"isCustom": false | |
} | |
], | |
"line": 80, | |
"column": 27 | |
} | |
}, | |
{ | |
"incidentId": "9a3f4cc2-c500-4185-8fe1-f32640d9f9a6", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Models\\Dinner.cs", | |
"snippet": "this.Location = value.Location;", | |
"protectedSnippet": "T:System.Data.Spatial.DbGeography", | |
"label": "T:System.Data.Spatial.DbGeography", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.spatial.dbgeography", | |
"isCustom": false | |
} | |
], | |
"line": 71, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "01b9f328-b4b8-4d32-aafb-fb45b2760acc", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Models\\Dinner.cs", | |
"snippet": "return new LocationDetail() { Location = this.Location, Id = this.DinnerID, Title = this.Title, Address = this.Address };", | |
"protectedSnippet": "T:System.Data.Spatial.DbGeography", | |
"label": "T:System.Data.Spatial.DbGeography", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.spatial.dbgeography", | |
"isCustom": false | |
} | |
], | |
"line": 67, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "a7ef1034-e8e1-437c-9d96-7859e4cc7043", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Models\\Dinner.cs", | |
"snippet": "set;", | |
"protectedSnippet": "T:System.Data.Spatial.DbGeography", | |
"label": "T:System.Data.Spatial.DbGeography", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.spatial.dbgeography", | |
"isCustom": false | |
} | |
], | |
"line": 47, | |
"column": 43 | |
} | |
}, | |
{ | |
"incidentId": "57cd95d6-1d5c-452c-b744-fea2e3b9c96a", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Models\\Dinner.cs", | |
"snippet": "get;", | |
"protectedSnippet": "T:System.Data.Spatial.DbGeography", | |
"label": "T:System.Data.Spatial.DbGeography", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.spatial.dbgeography", | |
"isCustom": false | |
} | |
], | |
"line": 47, | |
"column": 38 | |
} | |
}, | |
{ | |
"incidentId": "71cbb2b3-cad5-4429-99a2-43fbe9dea790", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Models\\Dinner.cs", | |
"snippet": "public DbGeography Location", | |
"protectedSnippet": "T:System.Data.Spatial.DbGeography", | |
"label": "T:System.Data.Spatial.DbGeography", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.spatial.dbgeography", | |
"isCustom": false | |
} | |
], | |
"line": 46, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "e706b9ba-f4e1-492c-9e2f-bde422ead8c5", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Models\\Dinner.cs", | |
"snippet": "HiddenInput(DisplayValue = false)", | |
"protectedSnippet": "M:System.Web.Mvc.HiddenInputAttribute.#ctor", | |
"label": "M:System.Web.Mvc.HiddenInputAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.hiddeninputattribute.hiddeninputattribute", | |
"isCustom": false | |
} | |
], | |
"line": 13, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "3bd73fc4-5228-4e61-8046-7a32c74b6e16", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Models\\Dinner.cs", | |
"snippet": "HiddenInput(DisplayValue = false)", | |
"protectedSnippet": "T:System.Web.Mvc.HiddenInputAttribute", | |
"label": "T:System.Web.Mvc.HiddenInputAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.hiddeninputattribute", | |
"isCustom": false | |
} | |
], | |
"line": 13, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "4a766efe-3595-4977-a22c-d29a961cec38", | |
"ruleId": "Api.0002", | |
"description": "API is available in package EntityFramework, 6.4.4.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Models\\AccountModels.cs", | |
"snippet": ": base(\u0022DefaultConnection\u0022)", | |
"protectedSnippet": "M:System.Data.Entity.DbContext.#ctor(System.String)", | |
"label": "M:System.Data.Entity.DbContext.#ctor(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.entity.dbcontext.dbcontext", | |
"isCustom": false | |
} | |
], | |
"line": 13, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "e002f1e9-e7a6-4f63-bec0-0c11beed451d", | |
"ruleId": "Api.0002", | |
"description": "API is available in package EntityFramework, 6.4.4.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Models\\AccountModels.cs", | |
"snippet": "DbContext", | |
"protectedSnippet": "T:System.Data.Entity.DbContext", | |
"label": "T:System.Data.Entity.DbContext", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.entity.dbcontext", | |
"isCustom": false | |
} | |
], | |
"line": 10, | |
"column": 32 | |
} | |
}, | |
{ | |
"incidentId": "53204e80-3647-4fe4-8910-8ef43ee2367e", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionExecutingContext is no longer supported. Use Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Filters\\InitializeSimpleMembershipAttribute.cs", | |
"snippet": "public override void OnActionExecuting(ActionExecutingContext filterContext)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionExecutingContext", | |
"label": "T:System.Web.Mvc.ActionExecutingContext", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionexecutingcontext", | |
"isCustom": false | |
} | |
], | |
"line": 17, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "3ae7bd5c-a3a8-4c3b-8ad1-b40dc7e52835", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Filters\\InitializeSimpleMembershipAttribute.cs", | |
"snippet": "ActionFilterAttribute", | |
"protectedSnippet": "M:System.Web.Mvc.ActionFilterAttribute.#ctor", | |
"label": "M:System.Web.Mvc.ActionFilterAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionfilterattribute.actionfilterattribute", | |
"isCustom": false | |
} | |
], | |
"line": 11, | |
"column": 62 | |
} | |
}, | |
{ | |
"incidentId": "afacfa8f-50d5-4824-81c4-560e68cd1f21", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionFilterAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.Filters.ActionFilterAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Filters\\InitializeSimpleMembershipAttribute.cs", | |
"snippet": "ActionFilterAttribute", | |
"protectedSnippet": "T:System.Web.Mvc.ActionFilterAttribute", | |
"label": "T:System.Web.Mvc.ActionFilterAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionfilterattribute", | |
"isCustom": false | |
} | |
], | |
"line": 11, | |
"column": 62 | |
} | |
}, | |
{ | |
"incidentId": "cec7d06d-5276-4a32-9ba4-ac71b60bfc34", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\SearchController.cs", | |
"snippet": "base.Dispose(disposing);", | |
"protectedSnippet": "M:System.Web.Http.ApiController.Dispose(System.Boolean)", | |
"label": "M:System.Web.Http.ApiController.Dispose(System.Boolean)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.http.apicontroller.dispose", | |
"isCustom": false | |
} | |
], | |
"line": 108, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "d5fe1737-5a86-4216-be69-96b506664669", | |
"ruleId": "Api.0002", | |
"description": "API is available in package EntityFramework, 6.4.4.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\SearchController.cs", | |
"snippet": "db.Dispose();", | |
"protectedSnippet": "M:System.Data.Entity.DbContext.Dispose", | |
"label": "M:System.Data.Entity.DbContext.Dispose", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.entity.dbcontext.dispose", | |
"isCustom": false | |
} | |
], | |
"line": 107, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "345ce132-38ba-4722-81d9-152c6ffffb95", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\SearchController.cs", | |
"snippet": "return new JsonDinner\r\n {\r\n DinnerID = dinner.DinnerID,\r\n EventDate = dinner.EventDate,\r\n Latitude = dinner.Location.Latitude.Value,\r\n Longitude = dinner.Location.Longitude.Value,\r\n Title = dinner.Title,\r\n Description = dinner.Description,\r\n RSVPCount = dinner.RSVPs.Count(),\r\n Url = dinner.DinnerID.ToString()\r\n };", | |
"protectedSnippet": "T:System.Data.Spatial.DbGeography", | |
"label": "T:System.Data.Spatial.DbGeography", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.spatial.dbgeography", | |
"isCustom": false | |
} | |
], | |
"line": 92, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "504010fd-9974-4f50-bb62-eb39c83bcb2d", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\SearchController.cs", | |
"snippet": "return new JsonDinner\r\n {\r\n DinnerID = dinner.DinnerID,\r\n EventDate = dinner.EventDate,\r\n Latitude = dinner.Location.Latitude.Value,\r\n Longitude = dinner.Location.Longitude.Value,\r\n Title = dinner.Title,\r\n Description = dinner.Description,\r\n RSVPCount = dinner.RSVPs.Count(),\r\n Url = dinner.DinnerID.ToString()\r\n };", | |
"protectedSnippet": "P:System.Data.Spatial.DbGeography.Longitude", | |
"label": "P:System.Data.Spatial.DbGeography.Longitude", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.spatial.dbgeography.longitude", | |
"isCustom": false | |
} | |
], | |
"line": 92, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "e2ae52bc-afea-414b-9459-02a30b493c95", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\SearchController.cs", | |
"snippet": "return new JsonDinner\r\n {\r\n DinnerID = dinner.DinnerID,\r\n EventDate = dinner.EventDate,\r\n Latitude = dinner.Location.Latitude.Value,\r\n Longitude = dinner.Location.Longitude.Value,\r\n Title = dinner.Title,\r\n Description = dinner.Description,\r\n RSVPCount = dinner.RSVPs.Count(),\r\n Url = dinner.DinnerID.ToString()\r\n };", | |
"protectedSnippet": "P:System.Data.Spatial.DbGeography.Latitude", | |
"label": "P:System.Data.Spatial.DbGeography.Latitude", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.spatial.dbgeography.latitude", | |
"isCustom": false | |
} | |
], | |
"line": 92, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "cba635ec-bbb5-4b7f-abf6-ed2b95ecf043", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\SearchController.cs", | |
"snippet": "var results =\r\n db.Dinners\r\n .Where(loc =\u003E loc.Location.Distance(sourcePoint) \u003C 2000)\r\n .OrderBy(loc =\u003E loc.Location.Distance(sourcePoint));", | |
"protectedSnippet": "T:System.Data.Spatial.DbGeography", | |
"label": "T:System.Data.Spatial.DbGeography", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.spatial.dbgeography", | |
"isCustom": false | |
} | |
], | |
"line": 67, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "6bf5610a-e494-4168-ba48-402bf0422614", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\SearchController.cs", | |
"snippet": "var results =\r\n db.Dinners\r\n .Where(loc =\u003E loc.Location.Distance(sourcePoint) \u003C 2000)\r\n .OrderBy(loc =\u003E loc.Location.Distance(sourcePoint));", | |
"protectedSnippet": "M:System.Data.Spatial.DbGeography.Distance(System.Data.Spatial.DbGeography)", | |
"label": "M:System.Data.Spatial.DbGeography.Distance(System.Data.Spatial.DbGeography)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.spatial.dbgeography.distance", | |
"isCustom": false | |
} | |
], | |
"line": 67, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "7b12af1b-812c-45f9-8f65-64b57401f6b9", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\SearchController.cs", | |
"snippet": "var sourcePoint = DbGeography.FromText(string.Format(\u0022POINT ({0} {1})\u0022, longitude, latitude));", | |
"protectedSnippet": "T:System.Data.Spatial.DbGeography", | |
"label": "T:System.Data.Spatial.DbGeography", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.spatial.dbgeography", | |
"isCustom": false | |
} | |
], | |
"line": 65, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "ec019b4a-de5e-43c9-8752-1044f03f55f0", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\SearchController.cs", | |
"snippet": "var sourcePoint = DbGeography.FromText(string.Format(\u0022POINT ({0} {1})\u0022, longitude, latitude));", | |
"protectedSnippet": "M:System.Data.Spatial.DbGeography.FromText(System.String)", | |
"label": "M:System.Data.Spatial.DbGeography.FromText(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.spatial.dbgeography.fromtext", | |
"isCustom": false | |
} | |
], | |
"line": 65, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "0ef1d866-88bd-4181-8f04-05c6ce8b6a88", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\SearchController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "M:System.Web.Http.HttpPostAttribute.#ctor", | |
"label": "M:System.Web.Http.HttpPostAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.http.httppostattribute.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 52, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "1fddfe54-5516-4c98-8edc-156bd423b30d", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Http.HttpPostAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.HttpPostAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\SearchController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "T:System.Web.Http.HttpPostAttribute", | |
"label": "T:System.Web.Http.HttpPostAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.http.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 52, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "1e5baa64-fa62-4b36-9aad-6bc452483477", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\SearchController.cs", | |
"snippet": "HttpGet", | |
"protectedSnippet": "M:System.Web.Http.HttpGetAttribute.#ctor", | |
"label": "M:System.Web.Http.HttpGetAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.http.httpgetattribute.httpgetattribute", | |
"isCustom": false | |
} | |
], | |
"line": 38, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "77227540-350b-461e-8870-9f254be1b258", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Http.HttpGetAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.HttpGetAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\SearchController.cs", | |
"snippet": "HttpGet", | |
"protectedSnippet": "T:System.Web.Http.HttpGetAttribute", | |
"label": "T:System.Web.Http.HttpGetAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.http.httpgetattribute", | |
"isCustom": false | |
} | |
], | |
"line": 38, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "ddcff523-a377-44dd-a026-82961597aecf", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\SearchController.cs", | |
"snippet": "HttpGet", | |
"protectedSnippet": "M:System.Web.Http.HttpGetAttribute.#ctor", | |
"label": "M:System.Web.Http.HttpGetAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.http.httpgetattribute.httpgetattribute", | |
"isCustom": false | |
} | |
], | |
"line": 30, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "88f6670c-a379-48e9-8935-875f7cafd2e0", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Http.HttpGetAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.HttpGetAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\SearchController.cs", | |
"snippet": "HttpGet", | |
"protectedSnippet": "T:System.Web.Http.HttpGetAttribute", | |
"label": "T:System.Web.Http.HttpGetAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.http.httpgetattribute", | |
"isCustom": false | |
} | |
], | |
"line": 30, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "16aeb27a-c58b-4403-884f-b9ce17b0d3e8", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\SearchController.cs", | |
"snippet": "ApiController", | |
"protectedSnippet": "M:System.Web.Http.ApiController.#ctor", | |
"label": "M:System.Web.Http.ApiController.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.http.apicontroller.apicontroller", | |
"isCustom": false | |
} | |
], | |
"line": 25, | |
"column": 36 | |
} | |
}, | |
{ | |
"incidentId": "9161dd6d-5888-4926-8a93-b2d64679f241", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Http.ApiController is no longer supported. Use Microsoft.AspNetCore.Mvc.ControllerBase instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\SearchController.cs", | |
"snippet": "ApiController", | |
"protectedSnippet": "T:System.Web.Http.ApiController", | |
"label": "T:System.Web.Http.ApiController", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.http.apicontroller", | |
"isCustom": false | |
} | |
], | |
"line": 25, | |
"column": 36 | |
} | |
}, | |
{ | |
"incidentId": "3e91a2bd-7efe-4bca-96a1-2692edac253c", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "public ActionResult CancelAjax(int id)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 48, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "de7f1861-7946-4c2d-bb2e-49b4eec4666a", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"label": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 48, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "4e8eab02-2319-4e87-a464-67e6b4e810bf", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.HttpPostAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.HttpPostAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "T:System.Web.Mvc.HttpPostAttribute", | |
"label": "T:System.Web.Mvc.HttpPostAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 48, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "204e3cb9-b359-4627-b578-3f879295b48f", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "Authorize", | |
"protectedSnippet": "M:System.Web.Mvc.AuthorizeAttribute.#ctor", | |
"label": "M:System.Web.Mvc.AuthorizeAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.authorizeattribute.authorizeattribute", | |
"isCustom": false | |
} | |
], | |
"line": 48, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "14056390-f82e-4629-9152-970f77ece97d", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.AuthorizeAttribute is no longer supported. Use Microsoft.AspNetCore.Authorization.AuthorizeAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "Authorize", | |
"protectedSnippet": "T:System.Web.Mvc.AuthorizeAttribute", | |
"label": "T:System.Web.Mvc.AuthorizeAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.authorizeattribute", | |
"isCustom": false | |
} | |
], | |
"line": 48, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "996e0271-d7df-4cbf-90fc-d9658d793c26", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ContentResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ContentResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "return Content(\u0022Sorry you can\u0027t make it!\u0022);", | |
"protectedSnippet": "T:System.Web.Mvc.ContentResult", | |
"label": "T:System.Web.Mvc.ContentResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.contentresult", | |
"isCustom": false | |
} | |
], | |
"line": 60, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "8db73d90-ced0-4f2f-90f9-4370ee9e023c", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "return Content(\u0022Sorry you can\u0027t make it!\u0022);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.Content(System.String)", | |
"label": "M:System.Web.Mvc.Controller.Content(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.content", | |
"isCustom": false | |
} | |
], | |
"line": 60, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "ffaea2c4-8514-4325-bc0b-91529da8204c", | |
"ruleId": "Api.0002", | |
"description": "API is available in package EntityFramework, 6.4.4.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "db.SaveChanges();", | |
"protectedSnippet": "M:System.Data.Entity.DbContext.SaveChanges", | |
"label": "M:System.Data.Entity.DbContext.SaveChanges", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.entity.dbcontext.savechanges", | |
"isCustom": false | |
} | |
], | |
"line": 57, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "85e498bf-ec84-47b8-9012-f21ae7d45a58", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "RSVP rsvp = dinner.RSVPs.SingleOrDefault(r =\u003E this.User.Identity.Name == r.AttendeeName);", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 53, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "b1fcdffe-a1f7-4c0f-b94f-0eaf9c76c4df", | |
"ruleId": "Api.0002", | |
"description": "API is available in package EntityFramework, 6.4.4.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "db.SaveChanges();", | |
"protectedSnippet": "M:System.Data.Entity.DbContext.SaveChanges", | |
"label": "M:System.Data.Entity.DbContext.SaveChanges", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.entity.dbcontext.savechanges", | |
"isCustom": false | |
} | |
], | |
"line": 41, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "1b980f99-3a77-45a2-92b5-85c3d1a9733e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "rsvp.AttendeeName = User.Identity.Name;", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 38, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "f12eb613-2719-4e06-899a-63c12256fea4", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "if (!dinner.IsUserRegistered(User.Identity.Name))\r\n {\r\n RSVP rsvp = new RSVP();\r\n rsvp.AttendeeName = User.Identity.Name;\r\n\r\n dinner.RSVPs.Add(rsvp);\r\n db.SaveChanges();\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 35, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "8d0bb6f4-7a8b-40f4-a8b0-d6f7d4c29d1c", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "public ActionResult RegisterAjax(int id)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 24, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "3cd5f376-251a-405b-96c3-10e72fc77c02", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"label": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 24, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "0d7866a2-0ca9-464b-9538-f25c9aed047c", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.HttpPostAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.HttpPostAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "T:System.Web.Mvc.HttpPostAttribute", | |
"label": "T:System.Web.Mvc.HttpPostAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 24, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "38c279a6-58ab-4c8e-94ca-902b80d4feed", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "Authorize", | |
"protectedSnippet": "M:System.Web.Mvc.AuthorizeAttribute.#ctor", | |
"label": "M:System.Web.Mvc.AuthorizeAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.authorizeattribute.authorizeattribute", | |
"isCustom": false | |
} | |
], | |
"line": 24, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "0a7cdb75-1afe-4b3a-900e-cf23260c689a", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.AuthorizeAttribute is no longer supported. Use Microsoft.AspNetCore.Authorization.AuthorizeAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "Authorize", | |
"protectedSnippet": "T:System.Web.Mvc.AuthorizeAttribute", | |
"label": "T:System.Web.Mvc.AuthorizeAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.authorizeattribute", | |
"isCustom": false | |
} | |
], | |
"line": 24, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "3f82e9cb-7943-4fee-9446-e4a927ba7029", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ContentResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ContentResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "return Content(\u0022Thanks - we\u0027ll see you there!\u0022);", | |
"protectedSnippet": "T:System.Web.Mvc.ContentResult", | |
"label": "T:System.Web.Mvc.ContentResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.contentresult", | |
"isCustom": false | |
} | |
], | |
"line": 28, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "2c5ae8f1-c7ad-41a0-b5e7-6585d13b0733", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "return Content(\u0022Thanks - we\u0027ll see you there!\u0022);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.Content(System.String)", | |
"label": "M:System.Web.Mvc.Controller.Content(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.content", | |
"isCustom": false | |
} | |
], | |
"line": 28, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "2ab2dae1-01d3-4d58-ba53-4616da219019", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "public ActionResult Register(int id)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 15, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "785a7cce-0679-4288-b200-e538f25bdc47", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "Authorize", | |
"protectedSnippet": "M:System.Web.Mvc.AuthorizeAttribute.#ctor", | |
"label": "M:System.Web.Mvc.AuthorizeAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.authorizeattribute.authorizeattribute", | |
"isCustom": false | |
} | |
], | |
"line": 15, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "7ea5ffec-cb8c-43fb-8adc-b890799fcebb", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.AuthorizeAttribute is no longer supported. Use Microsoft.AspNetCore.Authorization.AuthorizeAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "Authorize", | |
"protectedSnippet": "T:System.Web.Mvc.AuthorizeAttribute", | |
"label": "T:System.Web.Mvc.AuthorizeAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.authorizeattribute", | |
"isCustom": false | |
} | |
], | |
"line": 15, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "f3b61116-be01-4bc9-9700-03fce430aef2", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "return RedirectToAction(\u0022Details\u0022, \u0022Dinners\u0022, new { id = id });", | |
"protectedSnippet": "T:System.Web.Mvc.RedirectToRouteResult", | |
"label": "T:System.Web.Mvc.RedirectToRouteResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.redirecttorouteresult", | |
"isCustom": false | |
} | |
], | |
"line": 19, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "8a3c7b6a-644a-4687-b558-85e8d60562a1", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "return RedirectToAction(\u0022Details\u0022, \u0022Dinners\u0022, new { id = id });", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.RedirectToAction(System.String,System.String,System.Object)", | |
"label": "M:System.Web.Mvc.Controller.RedirectToAction(System.String,System.String,System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.redirecttoaction", | |
"isCustom": false | |
} | |
], | |
"line": 19, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "aa159c75-d874-42ce-ac32-c908939e0da7", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "Controller", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.#ctor", | |
"label": "M:System.Web.Mvc.Controller.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.controller", | |
"isCustom": false | |
} | |
], | |
"line": 9, | |
"column": 34 | |
} | |
}, | |
{ | |
"incidentId": "a3344723-a7ec-430c-957a-bc3e4cb3f56e", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.Controller is no longer supported. Use Microsoft.AspNetCore.Mvc.Controller instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\RSVPController.cs", | |
"snippet": "Controller", | |
"protectedSnippet": "T:System.Web.Mvc.Controller", | |
"label": "T:System.Web.Mvc.Controller", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller", | |
"isCustom": false | |
} | |
], | |
"line": 9, | |
"column": 34 | |
} | |
}, | |
{ | |
"incidentId": "1dcd3c34-0ef8-425f-90d1-5ef9922b1e2c", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\HomeController.cs", | |
"snippet": "public ActionResult About()", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 17, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "9bb38db0-cc06-47a8-b005-710a24f8c84e", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\HomeController.cs", | |
"snippet": "return View();", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 19, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "fcb1c335-3ffa-4bbc-b519-6a928213b349", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\HomeController.cs", | |
"snippet": "return View();", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View", | |
"label": "M:System.Web.Mvc.Controller.View", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 19, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "6e845a3f-6aaa-4c9d-97bb-76df5ed5e479", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\HomeController.cs", | |
"snippet": "public ActionResult Index()", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 10, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "04838aef-185d-460b-85b5-fd69b8b6bfc8", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\HomeController.cs", | |
"snippet": "return View();", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 14, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "228d88cb-6be2-47e3-a8b2-95ec4f476af7", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\HomeController.cs", | |
"snippet": "return View();", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View", | |
"label": "M:System.Web.Mvc.Controller.View", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 14, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "9f494527-9cca-4091-a2d3-1b6b2256d7be", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\HomeController.cs", | |
"snippet": "ViewBag.Message = \u0022Organizing the world\u0027s nerds and helping them eat in packs.\u0022;", | |
"protectedSnippet": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"label": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controllerbase.viewbag", | |
"isCustom": false | |
} | |
], | |
"line": 12, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "c983e4f7-4844-4fda-8c66-bb2b3eaa0f09", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\HomeController.cs", | |
"snippet": "Controller", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.#ctor", | |
"label": "M:System.Web.Mvc.Controller.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.controller", | |
"isCustom": false | |
} | |
], | |
"line": 8, | |
"column": 34 | |
} | |
}, | |
{ | |
"incidentId": "90646a8b-1da2-4a9a-b5c4-0b3d6d28cb7c", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.Controller is no longer supported. Use Microsoft.AspNetCore.Mvc.Controller instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\HomeController.cs", | |
"snippet": "Controller", | |
"protectedSnippet": "T:System.Web.Mvc.Controller", | |
"label": "T:System.Web.Mvc.Controller", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller", | |
"isCustom": false | |
} | |
], | |
"line": 8, | |
"column": 34 | |
} | |
}, | |
{ | |
"incidentId": "2d86cc6d-cebf-4c80-afda-beeced87329c", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "public ActionResult WebSliceUpcoming()", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 169, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "7b5e2e07-02bc-4161-b82a-0de42a89a596", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(\u0022WebSlice\u0022, model.Take(5));", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 177, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "e5560ff2-3163-42e3-9eb3-1ac7ae0a690a", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(\u0022WebSlice\u0022, model.Take(5));", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View(System.String,System.Object)", | |
"label": "M:System.Web.Mvc.Controller.View(System.String,System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 177, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "b8579094-bdd0-4e0c-a9e0-963ed839bc59", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "ViewData[\u0022Title\u0022] = \u0022Upcoming Nerd Dinners\u0022;", | |
"protectedSnippet": "T:System.Web.Mvc.ViewDataDictionary", | |
"label": "T:System.Web.Mvc.ViewDataDictionary", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewdatadictionary", | |
"isCustom": false | |
} | |
], | |
"line": 171, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "90c0b302-e6c8-44b7-ba6e-1b2c519e7ca0", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "ViewData[\u0022Title\u0022] = \u0022Upcoming Nerd Dinners\u0022;", | |
"protectedSnippet": "P:System.Web.Mvc.ControllerBase.ViewData", | |
"label": "P:System.Web.Mvc.ControllerBase.ViewData", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controllerbase.viewdata", | |
"isCustom": false | |
} | |
], | |
"line": 171, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "e0b46c11-f935-4ae6-9df4-b321c492eef5", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "ViewData[\u0022Title\u0022] = \u0022Upcoming Nerd Dinners\u0022;", | |
"protectedSnippet": "P:System.Web.Mvc.ViewDataDictionary.Item(System.String)", | |
"label": "P:System.Web.Mvc.ViewDataDictionary.Item(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewdatadictionary.this[string]", | |
"isCustom": false | |
} | |
], | |
"line": 171, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "34e5ffa9-5f55-42b4-84b8-3f6754264d70", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "public ActionResult WebSlicePopular()", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 159, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "dea5792c-7523-45e8-98c4-688c0b82dfed", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(\u0022WebSlice\u0022, model.Take(5));", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 166, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "508de4d4-45b3-4a4f-91d2-34729a6005b5", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(\u0022WebSlice\u0022, model.Take(5));", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View(System.String,System.Object)", | |
"label": "M:System.Web.Mvc.Controller.View(System.String,System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 166, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "c1f24fe3-bae1-4761-996c-f165f2a62ee6", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "ViewData[\u0022Title\u0022] = \u0022Popular Nerd Dinners\u0022;", | |
"protectedSnippet": "T:System.Web.Mvc.ViewDataDictionary", | |
"label": "T:System.Web.Mvc.ViewDataDictionary", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewdatadictionary", | |
"isCustom": false | |
} | |
], | |
"line": 161, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "f78d1430-a80e-4138-bb20-80ee8103281b", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "ViewData[\u0022Title\u0022] = \u0022Popular Nerd Dinners\u0022;", | |
"protectedSnippet": "P:System.Web.Mvc.ControllerBase.ViewData", | |
"label": "P:System.Web.Mvc.ControllerBase.ViewData", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controllerbase.viewdata", | |
"isCustom": false | |
} | |
], | |
"line": 161, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "ff5d66a2-7b1a-48b0-8927-fc38387b0737", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "ViewData[\u0022Title\u0022] = \u0022Popular Nerd Dinners\u0022;", | |
"protectedSnippet": "P:System.Web.Mvc.ViewDataDictionary.Item(System.String)", | |
"label": "P:System.Web.Mvc.ViewDataDictionary.Item(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewdatadictionary.this[string]", | |
"isCustom": false | |
} | |
], | |
"line": 161, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "64689b21-a716-4581-a0b4-cfbfa4a7d25b", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "base.Dispose(disposing);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.Dispose(System.Boolean)", | |
"label": "M:System.Web.Mvc.Controller.Dispose(System.Boolean)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.dispose", | |
"isCustom": false | |
} | |
], | |
"line": 156, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "75b7674f-19b2-4ff4-94b0-b64668727f73", | |
"ruleId": "Api.0002", | |
"description": "API is available in package EntityFramework, 6.4.4.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "db.Dispose();", | |
"protectedSnippet": "M:System.Data.Entity.DbContext.Dispose", | |
"label": "M:System.Data.Entity.DbContext.Dispose", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.entity.dbcontext.dispose", | |
"isCustom": false | |
} | |
], | |
"line": 155, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "026a1887-0777-4f21-82d2-0c74540d8ef7", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "public ActionResult DeleteConfirmed(int id)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 138, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "fb11bf7f-2d57-449f-aa6c-7960d946645c", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "ValidateAntiForgeryToken", | |
"protectedSnippet": "M:System.Web.Mvc.ValidateAntiForgeryTokenAttribute.#ctor", | |
"label": "M:System.Web.Mvc.ValidateAntiForgeryTokenAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.validateantiforgerytokenattribute.validateantiforgerytokenattribute", | |
"isCustom": false | |
} | |
], | |
"line": 138, | |
"column": 52 | |
} | |
}, | |
{ | |
"incidentId": "9b16b016-c96d-44bc-bfb0-b65e4ed95f7b", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "ValidateAntiForgeryToken", | |
"protectedSnippet": "T:System.Web.Mvc.ValidateAntiForgeryTokenAttribute", | |
"label": "T:System.Web.Mvc.ValidateAntiForgeryTokenAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.validateantiforgerytokenattribute", | |
"isCustom": false | |
} | |
], | |
"line": 138, | |
"column": 52 | |
} | |
}, | |
{ | |
"incidentId": "12cf4824-c57f-46d8-8f04-053b5ad4c65b", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "Authorize", | |
"protectedSnippet": "M:System.Web.Mvc.AuthorizeAttribute.#ctor", | |
"label": "M:System.Web.Mvc.AuthorizeAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.authorizeattribute.authorizeattribute", | |
"isCustom": false | |
} | |
], | |
"line": 138, | |
"column": 41 | |
} | |
}, | |
{ | |
"incidentId": "7ea23d09-0ff1-4adf-9a94-a4596176d312", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.AuthorizeAttribute is no longer supported. Use Microsoft.AspNetCore.Authorization.AuthorizeAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "Authorize", | |
"protectedSnippet": "T:System.Web.Mvc.AuthorizeAttribute", | |
"label": "T:System.Web.Mvc.AuthorizeAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.authorizeattribute", | |
"isCustom": false | |
} | |
], | |
"line": 138, | |
"column": 41 | |
} | |
}, | |
{ | |
"incidentId": "53a93327-7bcf-4820-b75d-8335579d8adb", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "ActionName(\u0022Delete\u0022)", | |
"protectedSnippet": "M:System.Web.Mvc.ActionNameAttribute.#ctor(System.String)", | |
"label": "M:System.Web.Mvc.ActionNameAttribute.#ctor(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionnameattribute.actionnameattribute", | |
"isCustom": false | |
} | |
], | |
"line": 138, | |
"column": 19 | |
} | |
}, | |
{ | |
"incidentId": "9859813d-aae7-404f-9db8-20e43ce04228", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionNameAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionNameAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "ActionName(\u0022Delete\u0022)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionNameAttribute", | |
"label": "T:System.Web.Mvc.ActionNameAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionnameattribute", | |
"isCustom": false | |
} | |
], | |
"line": 138, | |
"column": 19 | |
} | |
}, | |
{ | |
"incidentId": "b44ec624-a705-4b1d-a12c-7ac9f61e3ddf", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"label": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 138, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "5bfe58be-61ec-4952-9fb2-070da83c668d", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.HttpPostAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.HttpPostAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "T:System.Web.Mvc.HttpPostAttribute", | |
"label": "T:System.Web.Mvc.HttpPostAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 138, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "6c1b0286-f6f0-478d-8754-e1e795ce41a5", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return RedirectToAction(\u0022Index\u0022);", | |
"protectedSnippet": "T:System.Web.Mvc.RedirectToRouteResult", | |
"label": "T:System.Web.Mvc.RedirectToRouteResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.redirecttorouteresult", | |
"isCustom": false | |
} | |
], | |
"line": 150, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "4a7812c2-d4e8-4572-8803-d4ff16c9d59f", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return RedirectToAction(\u0022Index\u0022);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.RedirectToAction(System.String)", | |
"label": "M:System.Web.Mvc.Controller.RedirectToAction(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.redirecttoaction", | |
"isCustom": false | |
} | |
], | |
"line": 150, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "23e9c1fe-028c-4827-8e59-9276b1ce20fa", | |
"ruleId": "Api.0002", | |
"description": "API is available in package EntityFramework, 6.4.4.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "db.SaveChanges();", | |
"protectedSnippet": "M:System.Data.Entity.DbContext.SaveChanges", | |
"label": "M:System.Data.Entity.DbContext.SaveChanges", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.entity.dbcontext.savechanges", | |
"isCustom": false | |
} | |
], | |
"line": 149, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "43b8dcbf-b4d8-40b6-b9fe-9ba642808760", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(\u0022InvalidOwner\u0022);", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 145, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "410fb604-b0cd-43c4-b7c2-fb0b9201a079", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(\u0022InvalidOwner\u0022);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View(System.String)", | |
"label": "M:System.Web.Mvc.Controller.View(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 145, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "d810e816-9c50-406f-a323-611d5a4c815e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "if (!dinner.IsHostedBy(User.Identity.Name))\r\n {\r\n return View(\u0022InvalidOwner\u0022);\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 143, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "6b4ba496-9213-4e6b-9034-5d7bf3ce8951", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "public ActionResult Delete(int id = 0)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 120, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "4936ba60-47cb-4ba4-9723-5bb27e5e90fb", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "Authorize", | |
"protectedSnippet": "M:System.Web.Mvc.AuthorizeAttribute.#ctor", | |
"label": "M:System.Web.Mvc.AuthorizeAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.authorizeattribute.authorizeattribute", | |
"isCustom": false | |
} | |
], | |
"line": 120, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "1e72d5d4-aa2d-456e-8ef1-a445e34ff70c", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.AuthorizeAttribute is no longer supported. Use Microsoft.AspNetCore.Authorization.AuthorizeAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "Authorize", | |
"protectedSnippet": "T:System.Web.Mvc.AuthorizeAttribute", | |
"label": "T:System.Web.Mvc.AuthorizeAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.authorizeattribute", | |
"isCustom": false | |
} | |
], | |
"line": 120, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "4ccd54d4-f72e-417a-b49d-ef7b1c5a57e7", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(dinner);", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 132, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "21d3216a-370f-4e4f-8451-c46546e3e50c", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(dinner);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"label": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 132, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "4d2807b7-6b1b-4f4b-9b14-33385334dab5", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(\u0022InvalidOwner\u0022);", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 130, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "4ac21a70-bcbf-454c-9b6e-0f7159119025", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(\u0022InvalidOwner\u0022);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View(System.String)", | |
"label": "M:System.Web.Mvc.Controller.View(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 130, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "044f146c-d08d-433f-9a0f-d5f7d73209d8", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "if (!dinner.IsHostedBy(User.Identity.Name))\r\n {\r\n return View(\u0022InvalidOwner\u0022);\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 128, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "cb1822d9-33ff-44f5-aeb0-faa95dbb5cd3", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.HttpNotFoundResult is no longer supported. Use Microsoft.AspNetCore.Mvc.NotFoundResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return HttpNotFound();", | |
"protectedSnippet": "T:System.Web.Mvc.HttpNotFoundResult", | |
"label": "T:System.Web.Mvc.HttpNotFoundResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httpnotfoundresult", | |
"isCustom": false | |
} | |
], | |
"line": 126, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "4b4498f7-b84f-445d-a337-9b5a7d2b865c", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return HttpNotFound();", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.HttpNotFound", | |
"label": "M:System.Web.Mvc.Controller.HttpNotFound", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.httpnotfound", | |
"isCustom": false | |
} | |
], | |
"line": 126, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "7721f9f0-ed06-4f5a-b24c-ce3636287015", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "public ActionResult Edit(Dinner dinner)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 100, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "406fb077-73dc-4d6a-abb6-6988a89e6d15", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "ValidateAntiForgeryToken", | |
"protectedSnippet": "M:System.Web.Mvc.ValidateAntiForgeryTokenAttribute.#ctor", | |
"label": "M:System.Web.Mvc.ValidateAntiForgeryTokenAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.validateantiforgerytokenattribute.validateantiforgerytokenattribute", | |
"isCustom": false | |
} | |
], | |
"line": 100, | |
"column": 30 | |
} | |
}, | |
{ | |
"incidentId": "b4c8e7dd-e04d-476d-8d94-8e86dd9b418c", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "ValidateAntiForgeryToken", | |
"protectedSnippet": "T:System.Web.Mvc.ValidateAntiForgeryTokenAttribute", | |
"label": "T:System.Web.Mvc.ValidateAntiForgeryTokenAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.validateantiforgerytokenattribute", | |
"isCustom": false | |
} | |
], | |
"line": 100, | |
"column": 30 | |
} | |
}, | |
{ | |
"incidentId": "5f6cfe46-3abf-4916-964f-24de350adff1", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "Authorize", | |
"protectedSnippet": "M:System.Web.Mvc.AuthorizeAttribute.#ctor", | |
"label": "M:System.Web.Mvc.AuthorizeAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.authorizeattribute.authorizeattribute", | |
"isCustom": false | |
} | |
], | |
"line": 100, | |
"column": 19 | |
} | |
}, | |
{ | |
"incidentId": "ef372def-1428-4b52-8a19-23595b5f511d", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.AuthorizeAttribute is no longer supported. Use Microsoft.AspNetCore.Authorization.AuthorizeAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "Authorize", | |
"protectedSnippet": "T:System.Web.Mvc.AuthorizeAttribute", | |
"label": "T:System.Web.Mvc.AuthorizeAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.authorizeattribute", | |
"isCustom": false | |
} | |
], | |
"line": 100, | |
"column": 19 | |
} | |
}, | |
{ | |
"incidentId": "96e0a4c7-4e19-47fa-abad-d9ea178dfa1f", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"label": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 100, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "efb008bc-a336-4053-909a-2e8ef4d88f8b", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.HttpPostAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.HttpPostAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "T:System.Web.Mvc.HttpPostAttribute", | |
"label": "T:System.Web.Mvc.HttpPostAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 100, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "be16b968-2225-4c8e-a8e2-caafb1546390", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(dinner);", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 114, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "6bf84a1b-661c-4e0b-b9a9-65aa562f049a", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(dinner);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"label": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 114, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "1d84b0fb-55c3-4c7f-96db-8c8e89a7e641", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return RedirectToAction(\u0022Index\u0022);", | |
"protectedSnippet": "T:System.Web.Mvc.RedirectToRouteResult", | |
"label": "T:System.Web.Mvc.RedirectToRouteResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.redirecttorouteresult", | |
"isCustom": false | |
} | |
], | |
"line": 112, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "140d62a3-c447-4bb3-b5e4-4e2a22fc3d20", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return RedirectToAction(\u0022Index\u0022);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.RedirectToAction(System.String)", | |
"label": "M:System.Web.Mvc.Controller.RedirectToAction(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.redirecttoaction", | |
"isCustom": false | |
} | |
], | |
"line": 112, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "21f52ae4-bde5-4ea4-9856-68095941c238", | |
"ruleId": "Api.0002", | |
"description": "API is available in package EntityFramework, 6.4.4.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "db.SaveChanges();", | |
"protectedSnippet": "M:System.Data.Entity.DbContext.SaveChanges", | |
"label": "M:System.Data.Entity.DbContext.SaveChanges", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.entity.dbcontext.savechanges", | |
"isCustom": false | |
} | |
], | |
"line": 111, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "1a674a49-0b3c-40b8-a7af-65c8d6a333c5", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "db.Entry(dinner).State = EntityState.Modified;", | |
"protectedSnippet": "T:System.Data.EntityState", | |
"label": "T:System.Data.EntityState", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.entitystate", | |
"isCustom": false | |
} | |
], | |
"line": 110, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "5f59761b-1518-48fd-9414-23739094548b", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "db.Entry(dinner).State = EntityState.Modified;", | |
"protectedSnippet": "F:System.Data.EntityState.Modified", | |
"label": "F:System.Data.EntityState.Modified", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.entitystate.modified", | |
"isCustom": false | |
} | |
], | |
"line": 110, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "ff04ef77-05ff-4091-a3f0-14c35b45aad6", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "if (ModelState.IsValid)\r\n {\r\n db.Entry(dinner).State = EntityState.Modified;\r\n db.SaveChanges();\r\n return RedirectToAction(\u0022Index\u0022);\r\n }", | |
"protectedSnippet": "T:System.Web.Mvc.ModelStateDictionary", | |
"label": "T:System.Web.Mvc.ModelStateDictionary", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary", | |
"isCustom": false | |
} | |
], | |
"line": 108, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "9f673d40-0fb6-4ca1-83f3-50a49d0b1764", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "if (ModelState.IsValid)\r\n {\r\n db.Entry(dinner).State = EntityState.Modified;\r\n db.SaveChanges();\r\n return RedirectToAction(\u0022Index\u0022);\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.ModelState", | |
"label": "P:System.Web.Mvc.Controller.ModelState", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.modelstate", | |
"isCustom": false | |
} | |
], | |
"line": 108, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "3d490df2-18d5-4575-a5fb-6a8d740bb92a", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "if (ModelState.IsValid)\r\n {\r\n db.Entry(dinner).State = EntityState.Modified;\r\n db.SaveChanges();\r\n return RedirectToAction(\u0022Index\u0022);\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.ModelStateDictionary.IsValid", | |
"label": "P:System.Web.Mvc.ModelStateDictionary.IsValid", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary.isvalid", | |
"isCustom": false | |
} | |
], | |
"line": 108, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "64f76d8d-c48a-4bb5-b3c1-17f04374d623", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(\u0022InvalidOwner\u0022);", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 105, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "3692d57e-5753-422f-b637-149e62021614", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(\u0022InvalidOwner\u0022);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View(System.String)", | |
"label": "M:System.Web.Mvc.Controller.View(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 105, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "194a5d47-58ca-438f-96ff-8157e51cf78a", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "if (!dinner.IsHostedBy(User.Identity.Name))\r\n {\r\n return View(\u0022InvalidOwner\u0022);\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 103, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "100c7d2e-fc34-4901-aed2-bab7d864dc15", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "public ActionResult Edit(int id = 0)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 82, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "98af8d0b-65bd-4de8-af1a-9ec95e86e74c", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "Authorize", | |
"protectedSnippet": "M:System.Web.Mvc.AuthorizeAttribute.#ctor", | |
"label": "M:System.Web.Mvc.AuthorizeAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.authorizeattribute.authorizeattribute", | |
"isCustom": false | |
} | |
], | |
"line": 82, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "3495b4ac-da81-41c2-80ce-a71a18df3695", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.AuthorizeAttribute is no longer supported. Use Microsoft.AspNetCore.Authorization.AuthorizeAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "Authorize", | |
"protectedSnippet": "T:System.Web.Mvc.AuthorizeAttribute", | |
"label": "T:System.Web.Mvc.AuthorizeAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.authorizeattribute", | |
"isCustom": false | |
} | |
], | |
"line": 82, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "1941548b-3eb9-49ad-8467-383b5be428a2", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(dinner);", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 94, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "d0f9e5ad-26d6-4b9f-ab02-87bd00205434", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(dinner);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"label": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 94, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "b139d505-c688-4bd9-ba1c-0db639295df4", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(\u0022InvalidOwner\u0022);", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 92, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "7b68445a-2e65-4de2-970a-c16441d61e65", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(\u0022InvalidOwner\u0022);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View(System.String)", | |
"label": "M:System.Web.Mvc.Controller.View(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 92, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "6d691752-3bd0-4000-9386-c0cda879dc17", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "if (!dinner.IsHostedBy(User.Identity.Name))\r\n {\r\n return View(\u0022InvalidOwner\u0022);\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 90, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "2237537e-bd1b-497a-af3c-e4ac62406f3a", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.HttpNotFoundResult is no longer supported. Use Microsoft.AspNetCore.Mvc.NotFoundResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return HttpNotFound();", | |
"protectedSnippet": "T:System.Web.Mvc.HttpNotFoundResult", | |
"label": "T:System.Web.Mvc.HttpNotFoundResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httpnotfoundresult", | |
"isCustom": false | |
} | |
], | |
"line": 88, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "f238be94-9160-4f1a-a6a0-ce4a568312a5", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return HttpNotFound();", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.HttpNotFound", | |
"label": "M:System.Web.Mvc.Controller.HttpNotFound", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.httpnotfound", | |
"isCustom": false | |
} | |
], | |
"line": 88, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "913b1d1e-f36e-4986-a710-92bd85c38988", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "public ActionResult Create(Dinner dinner)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 58, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "14e2e9cd-8deb-4fbe-8308-871b4a2585f3", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "ValidateAntiForgeryToken", | |
"protectedSnippet": "M:System.Web.Mvc.ValidateAntiForgeryTokenAttribute.#ctor", | |
"label": "M:System.Web.Mvc.ValidateAntiForgeryTokenAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.validateantiforgerytokenattribute.validateantiforgerytokenattribute", | |
"isCustom": false | |
} | |
], | |
"line": 58, | |
"column": 30 | |
} | |
}, | |
{ | |
"incidentId": "d3f820a9-2f4e-4055-9ee7-7e8f1fc22c4a", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "ValidateAntiForgeryToken", | |
"protectedSnippet": "T:System.Web.Mvc.ValidateAntiForgeryTokenAttribute", | |
"label": "T:System.Web.Mvc.ValidateAntiForgeryTokenAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.validateantiforgerytokenattribute", | |
"isCustom": false | |
} | |
], | |
"line": 58, | |
"column": 30 | |
} | |
}, | |
{ | |
"incidentId": "d686c07d-77d8-4514-a1ec-d4c2e04d72df", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "Authorize", | |
"protectedSnippet": "M:System.Web.Mvc.AuthorizeAttribute.#ctor", | |
"label": "M:System.Web.Mvc.AuthorizeAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.authorizeattribute.authorizeattribute", | |
"isCustom": false | |
} | |
], | |
"line": 58, | |
"column": 19 | |
} | |
}, | |
{ | |
"incidentId": "572af4a4-e348-40b4-9a2f-d9eb9e53c29e", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.AuthorizeAttribute is no longer supported. Use Microsoft.AspNetCore.Authorization.AuthorizeAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "Authorize", | |
"protectedSnippet": "T:System.Web.Mvc.AuthorizeAttribute", | |
"label": "T:System.Web.Mvc.AuthorizeAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.authorizeattribute", | |
"isCustom": false | |
} | |
], | |
"line": 58, | |
"column": 19 | |
} | |
}, | |
{ | |
"incidentId": "ec386dd4-e320-4bf9-989c-6fe0369d4abf", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"label": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 58, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "934a9a39-b62c-4eb4-8812-37b593e30b75", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.HttpPostAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.HttpPostAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "T:System.Web.Mvc.HttpPostAttribute", | |
"label": "T:System.Web.Mvc.HttpPostAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 58, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "94223a6c-3ca0-4a66-a01c-83547415b39a", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(dinner);", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 76, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "6fbda2a0-bc1b-4dc2-bd9a-826e0bb8d1be", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(dinner);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"label": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 76, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "3c71db2f-ea21-4af5-9797-7b84bf577872", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return RedirectToAction(\u0022Index\u0022);", | |
"protectedSnippet": "T:System.Web.Mvc.RedirectToRouteResult", | |
"label": "T:System.Web.Mvc.RedirectToRouteResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.redirecttorouteresult", | |
"isCustom": false | |
} | |
], | |
"line": 73, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "062fc3b9-23ac-4b03-a9a9-47149c12c209", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return RedirectToAction(\u0022Index\u0022);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.RedirectToAction(System.String)", | |
"label": "M:System.Web.Mvc.Controller.RedirectToAction(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.redirecttoaction", | |
"isCustom": false | |
} | |
], | |
"line": 73, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "a4971e34-2884-4eb7-9164-85980c6e7f21", | |
"ruleId": "Api.0002", | |
"description": "API is available in package EntityFramework, 6.4.4.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "db.SaveChanges();", | |
"protectedSnippet": "M:System.Data.Entity.DbContext.SaveChanges", | |
"label": "M:System.Data.Entity.DbContext.SaveChanges", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.entity.dbcontext.savechanges", | |
"isCustom": false | |
} | |
], | |
"line": 72, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "6dcf31a1-e6c7-49b5-b7a0-04143c5dd7f6", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "rsvp.AttendeeName = User.Identity.Name;", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 66, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "de250890-596c-45c0-bdc8-a45dda04fd9e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "dinner.HostedBy = User.Identity.Name;", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 63, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "19ab002c-fac4-431e-94e9-5bb0ae124bd0", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "if (ModelState.IsValid)\r\n {\r\n dinner.HostedBy = User.Identity.Name;\r\n\r\n RSVP rsvp = new RSVP();\r\n rsvp.AttendeeName = User.Identity.Name;\r\n\r\n dinner.RSVPs = new List\u003CRSVP\u003E();\r\n dinner.RSVPs.Add(rsvp);\r\n\r\n db.Dinners.Add(dinner);\r\n db.SaveChanges();\r\n return RedirectToAction(\u0022Index\u0022);\r\n }", | |
"protectedSnippet": "T:System.Web.Mvc.ModelStateDictionary", | |
"label": "T:System.Web.Mvc.ModelStateDictionary", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary", | |
"isCustom": false | |
} | |
], | |
"line": 61, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "354ba4c5-f6c5-4b56-9f36-4b2a11fcefce", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "if (ModelState.IsValid)\r\n {\r\n dinner.HostedBy = User.Identity.Name;\r\n\r\n RSVP rsvp = new RSVP();\r\n rsvp.AttendeeName = User.Identity.Name;\r\n\r\n dinner.RSVPs = new List\u003CRSVP\u003E();\r\n dinner.RSVPs.Add(rsvp);\r\n\r\n db.Dinners.Add(dinner);\r\n db.SaveChanges();\r\n return RedirectToAction(\u0022Index\u0022);\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.ModelState", | |
"label": "P:System.Web.Mvc.Controller.ModelState", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.modelstate", | |
"isCustom": false | |
} | |
], | |
"line": 61, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "44027b60-1900-4a09-8135-d01f63e3aaf5", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "if (ModelState.IsValid)\r\n {\r\n dinner.HostedBy = User.Identity.Name;\r\n\r\n RSVP rsvp = new RSVP();\r\n rsvp.AttendeeName = User.Identity.Name;\r\n\r\n dinner.RSVPs = new List\u003CRSVP\u003E();\r\n dinner.RSVPs.Add(rsvp);\r\n\r\n db.Dinners.Add(dinner);\r\n db.SaveChanges();\r\n return RedirectToAction(\u0022Index\u0022);\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.ModelStateDictionary.IsValid", | |
"label": "P:System.Web.Mvc.ModelStateDictionary.IsValid", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary.isvalid", | |
"isCustom": false | |
} | |
], | |
"line": 61, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "6688f158-07c9-4d3b-9a02-ea7962e48ffe", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "public ActionResult Create()", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 43, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "a3ed5f5f-3c4a-44c2-ae91-549e3ec6accf", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "Authorize", | |
"protectedSnippet": "M:System.Web.Mvc.AuthorizeAttribute.#ctor", | |
"label": "M:System.Web.Mvc.AuthorizeAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.authorizeattribute.authorizeattribute", | |
"isCustom": false | |
} | |
], | |
"line": 43, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "a86629c7-2e7e-4117-8e4b-a1cc13d627a9", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.AuthorizeAttribute is no longer supported. Use Microsoft.AspNetCore.Authorization.AuthorizeAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "Authorize", | |
"protectedSnippet": "T:System.Web.Mvc.AuthorizeAttribute", | |
"label": "T:System.Web.Mvc.AuthorizeAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.authorizeattribute", | |
"isCustom": false | |
} | |
], | |
"line": 43, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "bb310058-47a5-433a-810e-b0d742767389", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(dinner);", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 52, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "c1e1d7f3-b946-450f-ba76-0416d6827033", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(dinner);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"label": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 52, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "41cba1ac-a37d-4f3d-bbaf-3a4cb81c720e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "var dinner = new Dinner()\r\n {\r\n EventDate = DateTime.Now.AddDays(7),\r\n HostedBy = User.Identity.Name\r\n };", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 46, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "8e7ccc7b-3f19-4b98-98f9-c69e2bc28385", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "public ActionResult Details(int id = 0)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 30, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "4518b7eb-6f53-4c00-ac31-3e668fc96b52", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(dinner);", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 37, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "5d990fe4-b40c-4ed5-a977-4838b74ef38e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(dinner);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"label": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 37, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "6e2b9cc4-496c-4f93-9e66-6498aa0934c6", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.HttpNotFoundResult is no longer supported. Use Microsoft.AspNetCore.Mvc.NotFoundResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return HttpNotFound();", | |
"protectedSnippet": "T:System.Web.Mvc.HttpNotFoundResult", | |
"label": "T:System.Web.Mvc.HttpNotFoundResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httpnotfoundresult", | |
"isCustom": false | |
} | |
], | |
"line": 35, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "6b411394-92c8-428a-a3da-056ed3193a03", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return HttpNotFound();", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.HttpNotFound", | |
"label": "M:System.Web.Mvc.Controller.HttpNotFound", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.httpnotfound", | |
"isCustom": false | |
} | |
], | |
"line": 35, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "0abf7ad2-d6a3-4219-889f-9e9a0f67ce44", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "public ActionResult Index(int? page)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 19, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "f7618c72-9dad-45e5-b8f8-f9a76a4cab97", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(dinners.ToPagedList(pageIndex, PageSize));", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 24, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "0b3ce113-1abd-4673-a57d-7a265b6ae5e4", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "return View(dinners.ToPagedList(pageIndex, PageSize));", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"label": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 24, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "b83c3517-3128-490a-a6dc-f60d8af2cf4a", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "Controller", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.#ctor", | |
"label": "M:System.Web.Mvc.Controller.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.controller", | |
"isCustom": false | |
} | |
], | |
"line": 12, | |
"column": 37 | |
} | |
}, | |
{ | |
"incidentId": "de3c01ac-c6b8-423e-8676-47afd525d829", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.Controller is no longer supported. Use Microsoft.AspNetCore.Mvc.Controller instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\DinnersController.cs", | |
"snippet": "Controller", | |
"protectedSnippet": "T:System.Web.Mvc.Controller", | |
"label": "T:System.Web.Mvc.Controller", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller", | |
"isCustom": false | |
} | |
], | |
"line": 12, | |
"column": 37 | |
} | |
}, | |
{ | |
"incidentId": "33e17371-ac80-4222-9bcb-e249dc1abcd5", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "Authorize", | |
"protectedSnippet": "M:System.Web.Mvc.AuthorizeAttribute.#ctor", | |
"label": "M:System.Web.Mvc.AuthorizeAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.authorizeattribute.authorizeattribute", | |
"isCustom": false | |
} | |
], | |
"line": 15, | |
"column": 5 | |
} | |
}, | |
{ | |
"incidentId": "bc816e92-30ba-437e-99b9-86baee89f014", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.AuthorizeAttribute is no longer supported. Use Microsoft.AspNetCore.Authorization.AuthorizeAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "Authorize", | |
"protectedSnippet": "T:System.Web.Mvc.AuthorizeAttribute", | |
"label": "T:System.Web.Mvc.AuthorizeAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.authorizeattribute", | |
"isCustom": false | |
} | |
], | |
"line": 15, | |
"column": 5 | |
} | |
}, | |
{ | |
"incidentId": "24d4b3c1-51b3-4cba-9224-195aee818aa8", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "private static string ErrorCodeToString(MembershipCreateStatus createStatus)", | |
"protectedSnippet": "T:System.Web.Security.MembershipCreateStatus", | |
"label": "T:System.Web.Security.MembershipCreateStatus", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.security.membershipcreatestatus", | |
"isCustom": false | |
} | |
], | |
"line": 367, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "0d3a27d9-6645-4616-ad9e-84e60b121852", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "switch (createStatus)\r\n {\r\n case MembershipCreateStatus.DuplicateUserName:\r\n return \u0022User name already exists. Please enter a different user name.\u0022;\r\n\r\n case MembershipCreateStatus.DuplicateEmail:\r\n return \u0022A user name for that e-mail address already exists. Please enter a different e-mail address.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidPassword:\r\n return \u0022The password provided is invalid. Please enter a valid password value.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidEmail:\r\n return \u0022The e-mail address provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidAnswer:\r\n return \u0022The password retrieval answer provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidQuestion:\r\n return \u0022The password retrieval question provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidUserName:\r\n return \u0022The user name provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.ProviderError:\r\n return \u0022The authentication provider returned an error. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n\r\n case MembershipCreateStatus.UserRejected:\r\n return \u0022The user creation request has been canceled. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n\r\n default:\r\n return \u0022An unknown error occurred. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n }", | |
"protectedSnippet": "T:System.Web.Security.MembershipCreateStatus", | |
"label": "T:System.Web.Security.MembershipCreateStatus", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.security.membershipcreatestatus", | |
"isCustom": false | |
} | |
], | |
"line": 371, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "a9c17ad3-7bb7-4411-8947-021858264bf6", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "switch (createStatus)\r\n {\r\n case MembershipCreateStatus.DuplicateUserName:\r\n return \u0022User name already exists. Please enter a different user name.\u0022;\r\n\r\n case MembershipCreateStatus.DuplicateEmail:\r\n return \u0022A user name for that e-mail address already exists. Please enter a different e-mail address.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidPassword:\r\n return \u0022The password provided is invalid. Please enter a valid password value.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidEmail:\r\n return \u0022The e-mail address provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidAnswer:\r\n return \u0022The password retrieval answer provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidQuestion:\r\n return \u0022The password retrieval question provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidUserName:\r\n return \u0022The user name provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.ProviderError:\r\n return \u0022The authentication provider returned an error. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n\r\n case MembershipCreateStatus.UserRejected:\r\n return \u0022The user creation request has been canceled. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n\r\n default:\r\n return \u0022An unknown error occurred. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n }", | |
"protectedSnippet": "F:System.Web.Security.MembershipCreateStatus.UserRejected", | |
"label": "F:System.Web.Security.MembershipCreateStatus.UserRejected", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.security.membershipcreatestatus.userrejected", | |
"isCustom": false | |
} | |
], | |
"line": 371, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "1a260e81-555c-42d6-a0b7-690e752b44f9", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "switch (createStatus)\r\n {\r\n case MembershipCreateStatus.DuplicateUserName:\r\n return \u0022User name already exists. Please enter a different user name.\u0022;\r\n\r\n case MembershipCreateStatus.DuplicateEmail:\r\n return \u0022A user name for that e-mail address already exists. Please enter a different e-mail address.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidPassword:\r\n return \u0022The password provided is invalid. Please enter a valid password value.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidEmail:\r\n return \u0022The e-mail address provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidAnswer:\r\n return \u0022The password retrieval answer provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidQuestion:\r\n return \u0022The password retrieval question provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidUserName:\r\n return \u0022The user name provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.ProviderError:\r\n return \u0022The authentication provider returned an error. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n\r\n case MembershipCreateStatus.UserRejected:\r\n return \u0022The user creation request has been canceled. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n\r\n default:\r\n return \u0022An unknown error occurred. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n }", | |
"protectedSnippet": "F:System.Web.Security.MembershipCreateStatus.ProviderError", | |
"label": "F:System.Web.Security.MembershipCreateStatus.ProviderError", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.security.membershipcreatestatus.providererror", | |
"isCustom": false | |
} | |
], | |
"line": 371, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "b5ac94f2-70aa-432b-bc3e-14e04c033074", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "switch (createStatus)\r\n {\r\n case MembershipCreateStatus.DuplicateUserName:\r\n return \u0022User name already exists. Please enter a different user name.\u0022;\r\n\r\n case MembershipCreateStatus.DuplicateEmail:\r\n return \u0022A user name for that e-mail address already exists. Please enter a different e-mail address.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidPassword:\r\n return \u0022The password provided is invalid. Please enter a valid password value.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidEmail:\r\n return \u0022The e-mail address provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidAnswer:\r\n return \u0022The password retrieval answer provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidQuestion:\r\n return \u0022The password retrieval question provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidUserName:\r\n return \u0022The user name provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.ProviderError:\r\n return \u0022The authentication provider returned an error. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n\r\n case MembershipCreateStatus.UserRejected:\r\n return \u0022The user creation request has been canceled. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n\r\n default:\r\n return \u0022An unknown error occurred. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n }", | |
"protectedSnippet": "F:System.Web.Security.MembershipCreateStatus.InvalidUserName", | |
"label": "F:System.Web.Security.MembershipCreateStatus.InvalidUserName", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.security.membershipcreatestatus.invalidusername", | |
"isCustom": false | |
} | |
], | |
"line": 371, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "c7dc2f33-0e2a-46e4-8273-0236ba62db22", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "switch (createStatus)\r\n {\r\n case MembershipCreateStatus.DuplicateUserName:\r\n return \u0022User name already exists. Please enter a different user name.\u0022;\r\n\r\n case MembershipCreateStatus.DuplicateEmail:\r\n return \u0022A user name for that e-mail address already exists. Please enter a different e-mail address.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidPassword:\r\n return \u0022The password provided is invalid. Please enter a valid password value.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidEmail:\r\n return \u0022The e-mail address provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidAnswer:\r\n return \u0022The password retrieval answer provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidQuestion:\r\n return \u0022The password retrieval question provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidUserName:\r\n return \u0022The user name provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.ProviderError:\r\n return \u0022The authentication provider returned an error. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n\r\n case MembershipCreateStatus.UserRejected:\r\n return \u0022The user creation request has been canceled. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n\r\n default:\r\n return \u0022An unknown error occurred. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n }", | |
"protectedSnippet": "F:System.Web.Security.MembershipCreateStatus.InvalidQuestion", | |
"label": "F:System.Web.Security.MembershipCreateStatus.InvalidQuestion", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.security.membershipcreatestatus.invalidquestion", | |
"isCustom": false | |
} | |
], | |
"line": 371, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "f9f8776e-47fb-4ad8-a93d-7766fbebfb11", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "switch (createStatus)\r\n {\r\n case MembershipCreateStatus.DuplicateUserName:\r\n return \u0022User name already exists. Please enter a different user name.\u0022;\r\n\r\n case MembershipCreateStatus.DuplicateEmail:\r\n return \u0022A user name for that e-mail address already exists. Please enter a different e-mail address.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidPassword:\r\n return \u0022The password provided is invalid. Please enter a valid password value.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidEmail:\r\n return \u0022The e-mail address provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidAnswer:\r\n return \u0022The password retrieval answer provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidQuestion:\r\n return \u0022The password retrieval question provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidUserName:\r\n return \u0022The user name provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.ProviderError:\r\n return \u0022The authentication provider returned an error. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n\r\n case MembershipCreateStatus.UserRejected:\r\n return \u0022The user creation request has been canceled. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n\r\n default:\r\n return \u0022An unknown error occurred. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n }", | |
"protectedSnippet": "F:System.Web.Security.MembershipCreateStatus.InvalidAnswer", | |
"label": "F:System.Web.Security.MembershipCreateStatus.InvalidAnswer", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.security.membershipcreatestatus.invalidanswer", | |
"isCustom": false | |
} | |
], | |
"line": 371, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "62a33d53-171a-46d3-b359-54f4d0e16f58", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "switch (createStatus)\r\n {\r\n case MembershipCreateStatus.DuplicateUserName:\r\n return \u0022User name already exists. Please enter a different user name.\u0022;\r\n\r\n case MembershipCreateStatus.DuplicateEmail:\r\n return \u0022A user name for that e-mail address already exists. Please enter a different e-mail address.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidPassword:\r\n return \u0022The password provided is invalid. Please enter a valid password value.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidEmail:\r\n return \u0022The e-mail address provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidAnswer:\r\n return \u0022The password retrieval answer provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidQuestion:\r\n return \u0022The password retrieval question provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidUserName:\r\n return \u0022The user name provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.ProviderError:\r\n return \u0022The authentication provider returned an error. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n\r\n case MembershipCreateStatus.UserRejected:\r\n return \u0022The user creation request has been canceled. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n\r\n default:\r\n return \u0022An unknown error occurred. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n }", | |
"protectedSnippet": "F:System.Web.Security.MembershipCreateStatus.InvalidEmail", | |
"label": "F:System.Web.Security.MembershipCreateStatus.InvalidEmail", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.security.membershipcreatestatus.invalidemail", | |
"isCustom": false | |
} | |
], | |
"line": 371, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "34a1c6e6-ce1a-438a-a431-f9d4394db3d0", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "switch (createStatus)\r\n {\r\n case MembershipCreateStatus.DuplicateUserName:\r\n return \u0022User name already exists. Please enter a different user name.\u0022;\r\n\r\n case MembershipCreateStatus.DuplicateEmail:\r\n return \u0022A user name for that e-mail address already exists. Please enter a different e-mail address.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidPassword:\r\n return \u0022The password provided is invalid. Please enter a valid password value.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidEmail:\r\n return \u0022The e-mail address provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidAnswer:\r\n return \u0022The password retrieval answer provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidQuestion:\r\n return \u0022The password retrieval question provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidUserName:\r\n return \u0022The user name provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.ProviderError:\r\n return \u0022The authentication provider returned an error. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n\r\n case MembershipCreateStatus.UserRejected:\r\n return \u0022The user creation request has been canceled. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n\r\n default:\r\n return \u0022An unknown error occurred. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n }", | |
"protectedSnippet": "F:System.Web.Security.MembershipCreateStatus.InvalidPassword", | |
"label": "F:System.Web.Security.MembershipCreateStatus.InvalidPassword", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.security.membershipcreatestatus.invalidpassword", | |
"isCustom": false | |
} | |
], | |
"line": 371, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "36caf166-ffda-4583-be07-d14d5a8dbb82", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "switch (createStatus)\r\n {\r\n case MembershipCreateStatus.DuplicateUserName:\r\n return \u0022User name already exists. Please enter a different user name.\u0022;\r\n\r\n case MembershipCreateStatus.DuplicateEmail:\r\n return \u0022A user name for that e-mail address already exists. Please enter a different e-mail address.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidPassword:\r\n return \u0022The password provided is invalid. Please enter a valid password value.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidEmail:\r\n return \u0022The e-mail address provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidAnswer:\r\n return \u0022The password retrieval answer provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidQuestion:\r\n return \u0022The password retrieval question provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidUserName:\r\n return \u0022The user name provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.ProviderError:\r\n return \u0022The authentication provider returned an error. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n\r\n case MembershipCreateStatus.UserRejected:\r\n return \u0022The user creation request has been canceled. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n\r\n default:\r\n return \u0022An unknown error occurred. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n }", | |
"protectedSnippet": "F:System.Web.Security.MembershipCreateStatus.DuplicateEmail", | |
"label": "F:System.Web.Security.MembershipCreateStatus.DuplicateEmail", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.security.membershipcreatestatus.duplicateemail", | |
"isCustom": false | |
} | |
], | |
"line": 371, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "48bed27a-5a4c-4242-b7de-27068f3e1a17", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "switch (createStatus)\r\n {\r\n case MembershipCreateStatus.DuplicateUserName:\r\n return \u0022User name already exists. Please enter a different user name.\u0022;\r\n\r\n case MembershipCreateStatus.DuplicateEmail:\r\n return \u0022A user name for that e-mail address already exists. Please enter a different e-mail address.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidPassword:\r\n return \u0022The password provided is invalid. Please enter a valid password value.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidEmail:\r\n return \u0022The e-mail address provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidAnswer:\r\n return \u0022The password retrieval answer provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidQuestion:\r\n return \u0022The password retrieval question provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.InvalidUserName:\r\n return \u0022The user name provided is invalid. Please check the value and try again.\u0022;\r\n\r\n case MembershipCreateStatus.ProviderError:\r\n return \u0022The authentication provider returned an error. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n\r\n case MembershipCreateStatus.UserRejected:\r\n return \u0022The user creation request has been canceled. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n\r\n default:\r\n return \u0022An unknown error occurred. Please verify your entry and try again. If the problem persists, please contact your system administrator.\u0022;\r\n }", | |
"protectedSnippet": "F:System.Web.Security.MembershipCreateStatus.DuplicateUserName", | |
"label": "F:System.Web.Security.MembershipCreateStatus.DuplicateUserName", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.security.membershipcreatestatus.duplicateusername", | |
"isCustom": false | |
} | |
], | |
"line": 371, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "1edc8f80-9004-4e56-9c8c-47115d627c57", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "private ActionResult RedirectToLocal(string returnUrl)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 331, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "6f1c6486-fa6e-4ff0-b8d1-3acee0a9ccd5", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return RedirectToAction(\u0022Index\u0022, \u0022Home\u0022);", | |
"protectedSnippet": "T:System.Web.Mvc.RedirectToRouteResult", | |
"label": "T:System.Web.Mvc.RedirectToRouteResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.redirecttorouteresult", | |
"isCustom": false | |
} | |
], | |
"line": 339, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "ee62d185-fd8b-4876-8a67-4e1973ce2f72", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return RedirectToAction(\u0022Index\u0022, \u0022Home\u0022);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.RedirectToAction(System.String,System.String)", | |
"label": "M:System.Web.Mvc.Controller.RedirectToAction(System.String,System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.redirecttoaction", | |
"isCustom": false | |
} | |
], | |
"line": 339, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "0170e1cc-ae40-4ae2-8894-0854803cecba", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.RedirectResult is no longer supported. Use Microsoft.AspNetCore.Mvc.RedirectResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return Redirect(returnUrl);", | |
"protectedSnippet": "T:System.Web.Mvc.RedirectResult", | |
"label": "T:System.Web.Mvc.RedirectResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.redirectresult", | |
"isCustom": false | |
} | |
], | |
"line": 335, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "b8d07111-d64b-4432-b73a-454d04b56e43", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return Redirect(returnUrl);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.Redirect(System.String)", | |
"label": "M:System.Web.Mvc.Controller.Redirect(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.redirect", | |
"isCustom": false | |
} | |
], | |
"line": 335, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "00b2cc92-3375-4c11-8cc1-9fd16e622dc1", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (Url.IsLocalUrl(returnUrl))\r\n {\r\n return Redirect(returnUrl);\r\n }\r\n else\r\n {\r\n return RedirectToAction(\u0022Index\u0022, \u0022Home\u0022);\r\n }", | |
"protectedSnippet": "T:System.Web.Mvc.UrlHelper", | |
"label": "T:System.Web.Mvc.UrlHelper", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.urlhelper", | |
"isCustom": false | |
} | |
], | |
"line": 333, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "4f69037c-55c5-4e90-b3a3-04c91551a48f", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (Url.IsLocalUrl(returnUrl))\r\n {\r\n return Redirect(returnUrl);\r\n }\r\n else\r\n {\r\n return RedirectToAction(\u0022Index\u0022, \u0022Home\u0022);\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.Url", | |
"label": "P:System.Web.Mvc.Controller.Url", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.url", | |
"isCustom": false | |
} | |
], | |
"line": 333, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "d40d7c85-c24d-4dd5-8218-4a3bca7e58df", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (Url.IsLocalUrl(returnUrl))\r\n {\r\n return Redirect(returnUrl);\r\n }\r\n else\r\n {\r\n return RedirectToAction(\u0022Index\u0022, \u0022Home\u0022);\r\n }", | |
"protectedSnippet": "M:System.Web.Mvc.UrlHelper.IsLocalUrl(System.String)", | |
"label": "M:System.Web.Mvc.UrlHelper.IsLocalUrl(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.urlhelper.islocalurl", | |
"isCustom": false | |
} | |
], | |
"line": 333, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "06b71bb7-94ba-405f-9622-12ff356a8e22", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "public ActionResult RemoveExternalLogins()", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 309, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "bdccfa78-6c24-4d6b-b3d2-368a6e22426a", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ChildActionOnly", | |
"protectedSnippet": "M:System.Web.Mvc.ChildActionOnlyAttribute.#ctor", | |
"label": "M:System.Web.Mvc.ChildActionOnlyAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.childactiononlyattribute.childactiononlyattribute", | |
"isCustom": false | |
} | |
], | |
"line": 309, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "f646ccac-b2cd-44bc-9b30-68564eeb7bae", | |
"ruleId": "Api.0001", | |
"description": "Child actions should be replaced with view components. For more details see https://docs.microsoft.com/aspnet/core/mvc/views/view-components and https://www.davepaquette.com/archive/2016/01/02/goodbye-child-actions-hello-view-components.aspx.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ChildActionOnly", | |
"protectedSnippet": "T:System.Web.Mvc.ChildActionOnlyAttribute", | |
"label": "T:System.Web.Mvc.ChildActionOnlyAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://docs.microsoft.com/aspnet/core/mvc/views/view-components", | |
"isCustom": false | |
} | |
], | |
"line": 309, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "54b251ef-2256-4282-b690-eda99748891b", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.PartialViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.PartialViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return PartialView(\u0022_RemoveExternalLoginsPartial\u0022, externalLogins);", | |
"protectedSnippet": "T:System.Web.Mvc.PartialViewResult", | |
"label": "T:System.Web.Mvc.PartialViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.partialviewresult", | |
"isCustom": false | |
} | |
], | |
"line": 327, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "17e6da35-f1bd-424a-86a0-810389ca8b5e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return PartialView(\u0022_RemoveExternalLoginsPartial\u0022, externalLogins);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.PartialView(System.String,System.Object)", | |
"label": "M:System.Web.Mvc.Controller.PartialView(System.String,System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.partialview", | |
"isCustom": false | |
} | |
], | |
"line": 327, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "6228e22d-3869-4adb-a93a-d42bfe8fc8b2", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ShowRemoveButton = externalLogins.Count \u003E 1 || OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 326, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "ccb06c0d-8376-4ec9-af06-aa6788b50881", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ShowRemoveButton = externalLogins.Count \u003E 1 || OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "T:WebMatrix.WebData.WebSecurity", | |
"label": "T:WebMatrix.WebData.WebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/webmatrix.webdata.websecurity", | |
"isCustom": false | |
} | |
], | |
"line": 326, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "0b3a37d4-cae5-421d-99b0-27ddfddee3cc", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ShowRemoveButton = externalLogins.Count \u003E 1 || OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "M:WebMatrix.WebData.WebSecurity.GetUserId(System.String)", | |
"label": "M:WebMatrix.WebData.WebSecurity.GetUserId(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/webmatrix.webdata.websecurity.getuserid", | |
"isCustom": false | |
} | |
], | |
"line": 326, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "c40c77a8-e1d2-48f2-8505-bcd18e369227", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ShowRemoveButton = externalLogins.Count \u003E 1 || OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 326, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "71a09b97-9c2e-4ce5-8bf5-db162667c99c", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ShowRemoveButton = externalLogins.Count \u003E 1 || OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.HasLocalAccount(System.Int32)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.HasLocalAccount(System.Int32)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.haslocalaccount", | |
"isCustom": false | |
} | |
], | |
"line": 326, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "75325159-3450-41d2-b2d1-65b742fd1b72", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ShowRemoveButton = externalLogins.Count \u003E 1 || OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"label": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controllerbase.viewbag", | |
"isCustom": false | |
} | |
], | |
"line": 326, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "3a36c4ae-bcf4-49c8-aad9-1a819c2de4e6", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "externalLogins.Add(new ExternalLogin\r\n {\r\n Provider = account.Provider,\r\n ProviderDisplayName = clientData.DisplayName,\r\n ProviderUserId = account.ProviderUserId,\r\n });", | |
"protectedSnippet": "P:Microsoft.Web.WebPages.OAuth.OAuthAccount.ProviderUserId", | |
"label": "P:Microsoft.Web.WebPages.OAuth.OAuthAccount.ProviderUserId", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthaccount.provideruserid", | |
"isCustom": false | |
} | |
], | |
"line": 318, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "64afadd3-18f4-42fd-907a-85a37917d555", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "externalLogins.Add(new ExternalLogin\r\n {\r\n Provider = account.Provider,\r\n ProviderDisplayName = clientData.DisplayName,\r\n ProviderUserId = account.ProviderUserId,\r\n });", | |
"protectedSnippet": "P:Microsoft.Web.WebPages.OAuth.AuthenticationClientData.DisplayName", | |
"label": "P:Microsoft.Web.WebPages.OAuth.AuthenticationClientData.DisplayName", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.authenticationclientdata.displayname", | |
"isCustom": false | |
} | |
], | |
"line": 318, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "40508b92-aae9-4367-8eb1-21479525dbf9", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "externalLogins.Add(new ExternalLogin\r\n {\r\n Provider = account.Provider,\r\n ProviderDisplayName = clientData.DisplayName,\r\n ProviderUserId = account.ProviderUserId,\r\n });", | |
"protectedSnippet": "P:Microsoft.Web.WebPages.OAuth.OAuthAccount.Provider", | |
"label": "P:Microsoft.Web.WebPages.OAuth.OAuthAccount.Provider", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthaccount.provider", | |
"isCustom": false | |
} | |
], | |
"line": 318, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "bf35f5fb-00fc-4e3a-a9cd-ac66677787e6", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AuthenticationClientData clientData = OAuthWebSecurity.GetOAuthClientData(account.Provider);", | |
"protectedSnippet": "P:Microsoft.Web.WebPages.OAuth.OAuthAccount.Provider", | |
"label": "P:Microsoft.Web.WebPages.OAuth.OAuthAccount.Provider", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthaccount.provider", | |
"isCustom": false | |
} | |
], | |
"line": 316, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "ddd00e5f-5d7b-4444-b32e-3f6b29851ed5", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AuthenticationClientData clientData = OAuthWebSecurity.GetOAuthClientData(account.Provider);", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 316, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "465864e3-5e7d-4fc2-a719-79c8c8cb9f33", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AuthenticationClientData clientData = OAuthWebSecurity.GetOAuthClientData(account.Provider);", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.AuthenticationClientData", | |
"label": "T:Microsoft.Web.WebPages.OAuth.AuthenticationClientData", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.authenticationclientdata", | |
"isCustom": false | |
} | |
], | |
"line": 316, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "d54757ef-c341-4dd1-8567-29ae31af2d39", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AuthenticationClientData clientData = OAuthWebSecurity.GetOAuthClientData(account.Provider);", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.GetOAuthClientData(System.String)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.GetOAuthClientData(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.getoauthclientdata", | |
"isCustom": false | |
} | |
], | |
"line": 316, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "919a25c3-0185-49c8-af33-987d18935697", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ICollection\u003COAuthAccount\u003E accounts = OAuthWebSecurity.GetAccountsFromUserName(User.Identity.Name);", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 312, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "f5045d9b-c963-41b2-9776-7ad8f5e01cbf", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ICollection\u003COAuthAccount\u003E accounts = OAuthWebSecurity.GetAccountsFromUserName(User.Identity.Name);", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 312, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "0aa9a654-8631-46d1-bfc1-8a92c491595b", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ICollection\u003COAuthAccount\u003E accounts = OAuthWebSecurity.GetAccountsFromUserName(User.Identity.Name);", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.GetAccountsFromUserName(System.String)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.GetAccountsFromUserName(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.getaccountsfromusername", | |
"isCustom": false | |
} | |
], | |
"line": 312, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "67289249-5421-4c55-92aa-a4cf4922ad6b", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "public ActionResult ExternalLoginsList(string returnUrl)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 301, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "54b369ad-3817-45f8-9e10-50a705e82368", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ChildActionOnly", | |
"protectedSnippet": "M:System.Web.Mvc.ChildActionOnlyAttribute.#ctor", | |
"label": "M:System.Web.Mvc.ChildActionOnlyAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.childactiononlyattribute.childactiononlyattribute", | |
"isCustom": false | |
} | |
], | |
"line": 302, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "269f81d2-8c67-4835-8249-61b8228fcdf2", | |
"ruleId": "Api.0001", | |
"description": "Child actions should be replaced with view components. For more details see https://docs.microsoft.com/aspnet/core/mvc/views/view-components and https://www.davepaquette.com/archive/2016/01/02/goodbye-child-actions-hello-view-components.aspx.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ChildActionOnly", | |
"protectedSnippet": "T:System.Web.Mvc.ChildActionOnlyAttribute", | |
"label": "T:System.Web.Mvc.ChildActionOnlyAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://docs.microsoft.com/aspnet/core/mvc/views/view-components", | |
"isCustom": false | |
} | |
], | |
"line": 302, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "cd92483f-78db-4117-bc24-a6c8d6a5adff", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AllowAnonymous", | |
"protectedSnippet": "M:System.Web.Mvc.AllowAnonymousAttribute.#ctor", | |
"label": "M:System.Web.Mvc.AllowAnonymousAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.allowanonymousattribute.allowanonymousattribute", | |
"isCustom": false | |
} | |
], | |
"line": 301, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "acb6d359-7b8e-47f2-9b23-6f0ab3cef00b", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.AllowAnonymousAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.AllowAnonymousAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AllowAnonymous", | |
"protectedSnippet": "T:System.Web.Mvc.AllowAnonymousAttribute", | |
"label": "T:System.Web.Mvc.AllowAnonymousAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.allowanonymousattribute", | |
"isCustom": false | |
} | |
], | |
"line": 301, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "498dd3e2-5ffe-4ccc-b011-c5733fe2414c", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return PartialView(\u0022_ExternalLoginsListPartial\u0022, OAuthWebSecurity.RegisteredClientData);", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 306, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "a22ccf50-fd97-4c25-a8a0-f56fb6529e92", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return PartialView(\u0022_ExternalLoginsListPartial\u0022, OAuthWebSecurity.RegisteredClientData);", | |
"protectedSnippet": "P:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.RegisteredClientData", | |
"label": "P:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.RegisteredClientData", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.registeredclientdata", | |
"isCustom": false | |
} | |
], | |
"line": 306, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "7fa6d92c-d755-4ba2-8552-e103319bd8ea", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.PartialViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.PartialViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return PartialView(\u0022_ExternalLoginsListPartial\u0022, OAuthWebSecurity.RegisteredClientData);", | |
"protectedSnippet": "T:System.Web.Mvc.PartialViewResult", | |
"label": "T:System.Web.Mvc.PartialViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.partialviewresult", | |
"isCustom": false | |
} | |
], | |
"line": 306, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "c2cfe38a-704e-42c8-a7c5-bfd202f3caf6", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return PartialView(\u0022_ExternalLoginsListPartial\u0022, OAuthWebSecurity.RegisteredClientData);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.PartialView(System.String,System.Object)", | |
"label": "M:System.Web.Mvc.Controller.PartialView(System.String,System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.partialview", | |
"isCustom": false | |
} | |
], | |
"line": 306, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "daf794f0-eeb8-4532-b2ce-cd34108a1493", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ReturnUrl = returnUrl;", | |
"protectedSnippet": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"label": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controllerbase.viewbag", | |
"isCustom": false | |
} | |
], | |
"line": 305, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "424a9527-d130-4a70-9bc7-bb081eeeedcc", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "public ActionResult ExternalLoginFailure()", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 295, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "b89d51f9-882e-4c3e-8448-705958efd788", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AllowAnonymous", | |
"protectedSnippet": "M:System.Web.Mvc.AllowAnonymousAttribute.#ctor", | |
"label": "M:System.Web.Mvc.AllowAnonymousAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.allowanonymousattribute.allowanonymousattribute", | |
"isCustom": false | |
} | |
], | |
"line": 295, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "0ac787d8-0993-4d7f-9063-6ebcd34e59ed", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.AllowAnonymousAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.AllowAnonymousAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AllowAnonymous", | |
"protectedSnippet": "T:System.Web.Mvc.AllowAnonymousAttribute", | |
"label": "T:System.Web.Mvc.AllowAnonymousAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.allowanonymousattribute", | |
"isCustom": false | |
} | |
], | |
"line": 295, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "49cf1650-8d41-44aa-8c1f-4e62650a094a", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return View();", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 298, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "4bea2124-88b7-4a00-9024-211e876c206a", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return View();", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View", | |
"label": "M:System.Web.Mvc.Controller.View", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 298, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "d0158351-f3f8-4970-8678-4980484479a1", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "public ActionResult ExternalLoginConfirmation(RegisterExternalLoginModel model, string returnUrl)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 249, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "16def24f-6923-4205-90af-ce04a7b62ac3", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ValidateAntiForgeryToken", | |
"protectedSnippet": "M:System.Web.Mvc.ValidateAntiForgeryTokenAttribute.#ctor", | |
"label": "M:System.Web.Mvc.ValidateAntiForgeryTokenAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.validateantiforgerytokenattribute.validateantiforgerytokenattribute", | |
"isCustom": false | |
} | |
], | |
"line": 251, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "cf05b179-859e-43b6-8195-9be667fd57a4", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ValidateAntiForgeryToken", | |
"protectedSnippet": "T:System.Web.Mvc.ValidateAntiForgeryTokenAttribute", | |
"label": "T:System.Web.Mvc.ValidateAntiForgeryTokenAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.validateantiforgerytokenattribute", | |
"isCustom": false | |
} | |
], | |
"line": 251, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "65fc6c58-66d2-4789-b39e-98bdb7c519d3", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AllowAnonymous", | |
"protectedSnippet": "M:System.Web.Mvc.AllowAnonymousAttribute.#ctor", | |
"label": "M:System.Web.Mvc.AllowAnonymousAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.allowanonymousattribute.allowanonymousattribute", | |
"isCustom": false | |
} | |
], | |
"line": 250, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "8d81473e-d5e1-4b89-8735-81db7f57ae7e", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.AllowAnonymousAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.AllowAnonymousAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AllowAnonymous", | |
"protectedSnippet": "T:System.Web.Mvc.AllowAnonymousAttribute", | |
"label": "T:System.Web.Mvc.AllowAnonymousAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.allowanonymousattribute", | |
"isCustom": false | |
} | |
], | |
"line": 250, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "ae117b62-42d7-4dd2-ba46-3c1f008841b8", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"label": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 249, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "442c1fa0-9ded-4c88-87ca-25761d52ceae", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.HttpPostAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.HttpPostAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "T:System.Web.Mvc.HttpPostAttribute", | |
"label": "T:System.Web.Mvc.HttpPostAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 249, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "7b409065-fad6-4185-8223-72cd205d2503", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return View(model);", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 289, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "2e535396-6b70-4cc7-86d3-dbc84a06cce4", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return View(model);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"label": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 289, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "bb727d52-ce73-4496-abaa-14c248908ccc", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ReturnUrl = returnUrl;", | |
"protectedSnippet": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"label": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controllerbase.viewbag", | |
"isCustom": false | |
} | |
], | |
"line": 288, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "5cb391b2-5b9d-4f92-9dd1-60642037ccec", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ProviderDisplayName = OAuthWebSecurity.GetOAuthClientData(provider).DisplayName;", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 287, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "b135ca69-c50e-40ed-ae2e-f19629b163a6", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ProviderDisplayName = OAuthWebSecurity.GetOAuthClientData(provider).DisplayName;", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.AuthenticationClientData", | |
"label": "T:Microsoft.Web.WebPages.OAuth.AuthenticationClientData", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.authenticationclientdata", | |
"isCustom": false | |
} | |
], | |
"line": 287, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "2cdb1197-4df4-4a37-bd86-f5e8126543c8", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ProviderDisplayName = OAuthWebSecurity.GetOAuthClientData(provider).DisplayName;", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.GetOAuthClientData(System.String)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.GetOAuthClientData(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.getoauthclientdata", | |
"isCustom": false | |
} | |
], | |
"line": 287, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "7d41b3a0-6baf-4677-a438-3efa9cf49ce8", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ProviderDisplayName = OAuthWebSecurity.GetOAuthClientData(provider).DisplayName;", | |
"protectedSnippet": "P:Microsoft.Web.WebPages.OAuth.AuthenticationClientData.DisplayName", | |
"label": "P:Microsoft.Web.WebPages.OAuth.AuthenticationClientData.DisplayName", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.authenticationclientdata.displayname", | |
"isCustom": false | |
} | |
], | |
"line": 287, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "68f14f60-2ec4-421d-bb48-f43625683925", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ProviderDisplayName = OAuthWebSecurity.GetOAuthClientData(provider).DisplayName;", | |
"protectedSnippet": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"label": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controllerbase.viewbag", | |
"isCustom": false | |
} | |
], | |
"line": 287, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "a286b6f0-5ab2-4df3-8128-633826c05340", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState.AddModelError(\u0022UserName\u0022, \u0022User name already exists. Please enter a different user name.\u0022);", | |
"protectedSnippet": "T:System.Web.Mvc.ModelStateDictionary", | |
"label": "T:System.Web.Mvc.ModelStateDictionary", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary", | |
"isCustom": false | |
} | |
], | |
"line": 282, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "895b8f83-73df-4e5f-9ded-fceac579f00d", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState.AddModelError(\u0022UserName\u0022, \u0022User name already exists. Please enter a different user name.\u0022);", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.ModelState", | |
"label": "P:System.Web.Mvc.Controller.ModelState", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.modelstate", | |
"isCustom": false | |
} | |
], | |
"line": 282, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "fd1a42a9-4b19-476b-9c03-476e1c29c860", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState.AddModelError(\u0022UserName\u0022, \u0022User name already exists. Please enter a different user name.\u0022);", | |
"protectedSnippet": "M:System.Web.Mvc.ModelStateDictionary.AddModelError(System.String,System.String)", | |
"label": "M:System.Web.Mvc.ModelStateDictionary.AddModelError(System.String,System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary.addmodelerror", | |
"isCustom": false | |
} | |
], | |
"line": 282, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "30f44b6f-8320-4864-86f8-192895606547", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return RedirectToLocal(returnUrl);", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 278, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "f5afc37e-5fb1-4485-aecd-0a6ad754b385", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "OAuthWebSecurity.Login(provider, providerUserId, createPersistentCookie: false);", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 276, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "4834556d-510a-4984-b690-04e68fda324c", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "OAuthWebSecurity.Login(provider, providerUserId, createPersistentCookie: false);", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.Login(System.String,System.String,System.Boolean)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.Login(System.String,System.String,System.Boolean)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.login", | |
"isCustom": false | |
} | |
], | |
"line": 276, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "cb1e0124-e291-4d62-a6f4-290223a85cbf", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "OAuthWebSecurity.CreateOrUpdateAccount(provider, providerUserId, model.UserName);", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 275, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "70d59cda-1ce9-4112-81e2-b80ac46ec1e4", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "OAuthWebSecurity.CreateOrUpdateAccount(provider, providerUserId, model.UserName);", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.CreateOrUpdateAccount(System.String,System.String,System.String)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.CreateOrUpdateAccount(System.String,System.String,System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.createorupdateaccount", | |
"isCustom": false | |
} | |
], | |
"line": 275, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "cb8eba52-d448-4c95-afb9-f02343d9c2d0", | |
"ruleId": "Api.0002", | |
"description": "API is available in package EntityFramework, 6.4.4.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "db.SaveChanges();", | |
"protectedSnippet": "M:System.Data.Entity.DbContext.SaveChanges", | |
"label": "M:System.Data.Entity.DbContext.SaveChanges", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.entity.dbcontext.savechanges", | |
"isCustom": false | |
} | |
], | |
"line": 273, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "04e85ceb-2f00-4377-92cc-70de0f447656", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (ModelState.IsValid)\r\n {\r\n // Insert a new user into the database\r\n using (UsersContext db = new UsersContext())\r\n {\r\n UserProfile user = db.UserProfiles.FirstOrDefault(u =\u003E u.UserName.ToLower() == model.UserName.ToLower());\r\n // Check if user already exists\r\n if (user == null)\r\n {\r\n // Insert name into the profile table\r\n db.UserProfiles.Add(new UserProfile { UserName = model.UserName });\r\n db.SaveChanges();\r\n\r\n OAuthWebSecurity.CreateOrUpdateAccount(provider, providerUserId, model.UserName);\r\n OAuthWebSecurity.Login(provider, providerUserId, createPersistentCookie: false);\r\n\r\n return RedirectToLocal(returnUrl);\r\n }\r\n else\r\n {\r\n ModelState.AddModelError(\u0022UserName\u0022, \u0022User name already exists. Please enter a different user name.\u0022);\r\n }\r\n }\r\n }", | |
"protectedSnippet": "T:System.Web.Mvc.ModelStateDictionary", | |
"label": "T:System.Web.Mvc.ModelStateDictionary", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary", | |
"isCustom": false | |
} | |
], | |
"line": 262, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "60bbfdbe-47c8-4cfd-bebd-7e0a9240cf9f", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (ModelState.IsValid)\r\n {\r\n // Insert a new user into the database\r\n using (UsersContext db = new UsersContext())\r\n {\r\n UserProfile user = db.UserProfiles.FirstOrDefault(u =\u003E u.UserName.ToLower() == model.UserName.ToLower());\r\n // Check if user already exists\r\n if (user == null)\r\n {\r\n // Insert name into the profile table\r\n db.UserProfiles.Add(new UserProfile { UserName = model.UserName });\r\n db.SaveChanges();\r\n\r\n OAuthWebSecurity.CreateOrUpdateAccount(provider, providerUserId, model.UserName);\r\n OAuthWebSecurity.Login(provider, providerUserId, createPersistentCookie: false);\r\n\r\n return RedirectToLocal(returnUrl);\r\n }\r\n else\r\n {\r\n ModelState.AddModelError(\u0022UserName\u0022, \u0022User name already exists. Please enter a different user name.\u0022);\r\n }\r\n }\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.ModelState", | |
"label": "P:System.Web.Mvc.Controller.ModelState", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.modelstate", | |
"isCustom": false | |
} | |
], | |
"line": 262, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "5f3be098-4489-44eb-b70c-9b20b834422b", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (ModelState.IsValid)\r\n {\r\n // Insert a new user into the database\r\n using (UsersContext db = new UsersContext())\r\n {\r\n UserProfile user = db.UserProfiles.FirstOrDefault(u =\u003E u.UserName.ToLower() == model.UserName.ToLower());\r\n // Check if user already exists\r\n if (user == null)\r\n {\r\n // Insert name into the profile table\r\n db.UserProfiles.Add(new UserProfile { UserName = model.UserName });\r\n db.SaveChanges();\r\n\r\n OAuthWebSecurity.CreateOrUpdateAccount(provider, providerUserId, model.UserName);\r\n OAuthWebSecurity.Login(provider, providerUserId, createPersistentCookie: false);\r\n\r\n return RedirectToLocal(returnUrl);\r\n }\r\n else\r\n {\r\n ModelState.AddModelError(\u0022UserName\u0022, \u0022User name already exists. Please enter a different user name.\u0022);\r\n }\r\n }\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.ModelStateDictionary.IsValid", | |
"label": "P:System.Web.Mvc.ModelStateDictionary.IsValid", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary.isvalid", | |
"isCustom": false | |
} | |
], | |
"line": 262, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "9418f075-84ac-423b-8afc-1a7fac279458", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return RedirectToAction(\u0022Manage\u0022);", | |
"protectedSnippet": "T:System.Web.Mvc.RedirectToRouteResult", | |
"label": "T:System.Web.Mvc.RedirectToRouteResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.redirecttorouteresult", | |
"isCustom": false | |
} | |
], | |
"line": 259, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "64a43592-c785-4b70-bf8f-af35a8047773", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return RedirectToAction(\u0022Manage\u0022);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.RedirectToAction(System.String)", | |
"label": "M:System.Web.Mvc.Controller.RedirectToAction(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.redirecttoaction", | |
"isCustom": false | |
} | |
], | |
"line": 259, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "3bc090ee-6376-4a52-93c6-042032649db2", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (User.Identity.IsAuthenticated || !OAuthWebSecurity.TryDeserializeProviderUserId(model.ExternalLoginData, out provider, out providerUserId))\r\n {\r\n return RedirectToAction(\u0022Manage\u0022);\r\n }", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 257, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "7f2e8d81-775d-4918-ba52-8cecfb2b53ea", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (User.Identity.IsAuthenticated || !OAuthWebSecurity.TryDeserializeProviderUserId(model.ExternalLoginData, out provider, out providerUserId))\r\n {\r\n return RedirectToAction(\u0022Manage\u0022);\r\n }", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.TryDeserializeProviderUserId(System.String,System.String@,System.String@)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.TryDeserializeProviderUserId(System.String,System.String@,System.String@)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.trydeserializeprovideruserid", | |
"isCustom": false | |
} | |
], | |
"line": 257, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "075eef68-3d87-422e-8eb1-44f5e5de5e80", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (User.Identity.IsAuthenticated || !OAuthWebSecurity.TryDeserializeProviderUserId(model.ExternalLoginData, out provider, out providerUserId))\r\n {\r\n return RedirectToAction(\u0022Manage\u0022);\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 257, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "aac0b3c3-fb26-4fed-b039-de7c152928b8", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "public ActionResult ExternalLoginCallback(string returnUrl)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 216, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "9615f331-f583-4bef-92ff-0305690f6f5e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AllowAnonymous", | |
"protectedSnippet": "M:System.Web.Mvc.AllowAnonymousAttribute.#ctor", | |
"label": "M:System.Web.Mvc.AllowAnonymousAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.allowanonymousattribute.allowanonymousattribute", | |
"isCustom": false | |
} | |
], | |
"line": 216, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "06d69d66-b8a7-4a3d-905e-32b795826f84", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.AllowAnonymousAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.AllowAnonymousAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AllowAnonymous", | |
"protectedSnippet": "T:System.Web.Mvc.AllowAnonymousAttribute", | |
"label": "T:System.Web.Mvc.AllowAnonymousAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.allowanonymousattribute", | |
"isCustom": false | |
} | |
], | |
"line": 216, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "3be7add3-76f5-4963-8b35-e1e56f0b39ae", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return View(\u0022ExternalLoginConfirmation\u0022, new RegisterExternalLoginModel { UserName = result.UserName, ExternalLoginData = loginData });", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 242, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "8935647e-5438-4964-840d-c01473bd4cbc", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return View(\u0022ExternalLoginConfirmation\u0022, new RegisterExternalLoginModel { UserName = result.UserName, ExternalLoginData = loginData });", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View(System.String,System.Object)", | |
"label": "M:System.Web.Mvc.Controller.View(System.String,System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 242, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "4eb0c375-fc57-465a-9351-07b3126ba3ba", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ReturnUrl = returnUrl;", | |
"protectedSnippet": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"label": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controllerbase.viewbag", | |
"isCustom": false | |
} | |
], | |
"line": 241, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "673db6bc-3187-4468-bd81-e482498818f7", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ProviderDisplayName = OAuthWebSecurity.GetOAuthClientData(result.Provider).DisplayName;", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 240, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "ba2b6764-5cd0-4736-b217-f1bfa06bd000", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ProviderDisplayName = OAuthWebSecurity.GetOAuthClientData(result.Provider).DisplayName;", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.AuthenticationClientData", | |
"label": "T:Microsoft.Web.WebPages.OAuth.AuthenticationClientData", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.authenticationclientdata", | |
"isCustom": false | |
} | |
], | |
"line": 240, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "11a3e817-7bad-47d3-bd64-6982c88ff5e6", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ProviderDisplayName = OAuthWebSecurity.GetOAuthClientData(result.Provider).DisplayName;", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.GetOAuthClientData(System.String)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.GetOAuthClientData(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.getoauthclientdata", | |
"isCustom": false | |
} | |
], | |
"line": 240, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "ec2a3330-ba6f-4e45-9fca-81a80b6ce5b3", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ProviderDisplayName = OAuthWebSecurity.GetOAuthClientData(result.Provider).DisplayName;", | |
"protectedSnippet": "P:Microsoft.Web.WebPages.OAuth.AuthenticationClientData.DisplayName", | |
"label": "P:Microsoft.Web.WebPages.OAuth.AuthenticationClientData.DisplayName", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.authenticationclientdata.displayname", | |
"isCustom": false | |
} | |
], | |
"line": 240, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "b6a56c6e-5de6-4544-bdf4-d8bd1872cfe5", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ProviderDisplayName = OAuthWebSecurity.GetOAuthClientData(result.Provider).DisplayName;", | |
"protectedSnippet": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"label": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controllerbase.viewbag", | |
"isCustom": false | |
} | |
], | |
"line": 240, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "416568f5-9b0f-4918-ad7b-64ea9d81f686", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "string loginData = OAuthWebSecurity.SerializeProviderUserId(result.Provider, result.ProviderUserId);", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 239, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "bdefd933-a99d-4eb9-a855-6bcde5b23d0a", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "string loginData = OAuthWebSecurity.SerializeProviderUserId(result.Provider, result.ProviderUserId);", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.SerializeProviderUserId(System.String,System.String)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.SerializeProviderUserId(System.String,System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.serializeprovideruserid", | |
"isCustom": false | |
} | |
], | |
"line": 239, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "504cfd27-5e20-4325-9647-223efd014a66", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return RedirectToLocal(returnUrl);", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 234, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "07cbc929-321c-472c-ac2f-e2032322a552", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "OAuthWebSecurity.CreateOrUpdateAccount(result.Provider, result.ProviderUserId, User.Identity.Name);", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 233, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "8691890e-7b6e-4f60-955e-bb931cd1d41d", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "OAuthWebSecurity.CreateOrUpdateAccount(result.Provider, result.ProviderUserId, User.Identity.Name);", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 233, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "9ff9b850-3fe8-4733-9f85-603f40f4a1df", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "OAuthWebSecurity.CreateOrUpdateAccount(result.Provider, result.ProviderUserId, User.Identity.Name);", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.CreateOrUpdateAccount(System.String,System.String,System.String)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.CreateOrUpdateAccount(System.String,System.String,System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.createorupdateaccount", | |
"isCustom": false | |
} | |
], | |
"line": 233, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "dc3f7173-b106-49ef-ba86-d28218f26924", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (User.Identity.IsAuthenticated)\r\n {\r\n // If the current user is logged in add the new account\r\n OAuthWebSecurity.CreateOrUpdateAccount(result.Provider, result.ProviderUserId, User.Identity.Name);\r\n return RedirectToLocal(returnUrl);\r\n }\r\n else\r\n {\r\n // User is new, ask for their desired membership name\r\n string loginData = OAuthWebSecurity.SerializeProviderUserId(result.Provider, result.ProviderUserId);\r\n ViewBag.ProviderDisplayName = OAuthWebSecurity.GetOAuthClientData(result.Provider).DisplayName;\r\n ViewBag.ReturnUrl = returnUrl;\r\n return View(\u0022ExternalLoginConfirmation\u0022, new RegisterExternalLoginModel { UserName = result.UserName, ExternalLoginData = loginData });\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 230, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "4a479f40-f457-490a-b6e9-8cf5782d8296", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return RedirectToLocal(returnUrl);", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 227, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "42b369ca-704b-4ddb-be45-7cfc0df0ed32", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (OAuthWebSecurity.Login(result.Provider, result.ProviderUserId, createPersistentCookie: false))\r\n {\r\n return RedirectToLocal(returnUrl);\r\n }", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 225, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "2ad4aa8b-7df7-4ae0-b5b0-60cb9a5ea1d7", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (OAuthWebSecurity.Login(result.Provider, result.ProviderUserId, createPersistentCookie: false))\r\n {\r\n return RedirectToLocal(returnUrl);\r\n }", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.Login(System.String,System.String,System.Boolean)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.Login(System.String,System.String,System.Boolean)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.login", | |
"isCustom": false | |
} | |
], | |
"line": 225, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "0cf1dc3a-6e46-4f27-bf89-29ccd9818cf7", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return RedirectToAction(\u0022ExternalLoginFailure\u0022);", | |
"protectedSnippet": "T:System.Web.Mvc.RedirectToRouteResult", | |
"label": "T:System.Web.Mvc.RedirectToRouteResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.redirecttorouteresult", | |
"isCustom": false | |
} | |
], | |
"line": 222, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "8981d09a-26b0-4a6a-bece-ab52f260dca1", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return RedirectToAction(\u0022ExternalLoginFailure\u0022);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.RedirectToAction(System.String)", | |
"label": "M:System.Web.Mvc.Controller.RedirectToAction(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.redirecttoaction", | |
"isCustom": false | |
} | |
], | |
"line": 222, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "1e375d57-9c23-42b7-9c5f-b1dc6cbc356f", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AuthenticationResult result = OAuthWebSecurity.VerifyAuthentication(Url.Action(\u0022ExternalLoginCallback\u0022, new { ReturnUrl = returnUrl }));", | |
"protectedSnippet": "T:System.Web.Mvc.UrlHelper", | |
"label": "T:System.Web.Mvc.UrlHelper", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.urlhelper", | |
"isCustom": false | |
} | |
], | |
"line": 219, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "4cb9ebe2-581b-4691-b3ea-1a59bea9d9fb", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AuthenticationResult result = OAuthWebSecurity.VerifyAuthentication(Url.Action(\u0022ExternalLoginCallback\u0022, new { ReturnUrl = returnUrl }));", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.Url", | |
"label": "P:System.Web.Mvc.Controller.Url", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.url", | |
"isCustom": false | |
} | |
], | |
"line": 219, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "9e736be0-711e-4cf0-9cc9-b79955b73037", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AuthenticationResult result = OAuthWebSecurity.VerifyAuthentication(Url.Action(\u0022ExternalLoginCallback\u0022, new { ReturnUrl = returnUrl }));", | |
"protectedSnippet": "M:System.Web.Mvc.UrlHelper.Action(System.String,System.Object)", | |
"label": "M:System.Web.Mvc.UrlHelper.Action(System.String,System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.urlhelper.action", | |
"isCustom": false | |
} | |
], | |
"line": 219, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "ca5ac2bd-dfea-44a6-ba0e-63b5462463bf", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AuthenticationResult result = OAuthWebSecurity.VerifyAuthentication(Url.Action(\u0022ExternalLoginCallback\u0022, new { ReturnUrl = returnUrl }));", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 219, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "e8ef3093-54eb-4efd-b6fd-c6584a81644c", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AuthenticationResult result = OAuthWebSecurity.VerifyAuthentication(Url.Action(\u0022ExternalLoginCallback\u0022, new { ReturnUrl = returnUrl }));", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.VerifyAuthentication(System.String)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.VerifyAuthentication(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.verifyauthentication", | |
"isCustom": false | |
} | |
], | |
"line": 219, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "4cf08928-b7e3-45c4-9d67-684d140b698a", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "public ActionResult ExternalLogin(string provider, string returnUrl)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 205, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "a88cfe91-be92-48de-be8d-fb0d637d8e49", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ValidateAntiForgeryToken", | |
"protectedSnippet": "M:System.Web.Mvc.ValidateAntiForgeryTokenAttribute.#ctor", | |
"label": "M:System.Web.Mvc.ValidateAntiForgeryTokenAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.validateantiforgerytokenattribute.validateantiforgerytokenattribute", | |
"isCustom": false | |
} | |
], | |
"line": 207, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "f0707f7e-a3ce-49f2-ab46-9de7643c3ecb", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ValidateAntiForgeryToken", | |
"protectedSnippet": "T:System.Web.Mvc.ValidateAntiForgeryTokenAttribute", | |
"label": "T:System.Web.Mvc.ValidateAntiForgeryTokenAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.validateantiforgerytokenattribute", | |
"isCustom": false | |
} | |
], | |
"line": 207, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "adaf05c0-07bd-4c2e-bf02-d11a486bdffb", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AllowAnonymous", | |
"protectedSnippet": "M:System.Web.Mvc.AllowAnonymousAttribute.#ctor", | |
"label": "M:System.Web.Mvc.AllowAnonymousAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.allowanonymousattribute.allowanonymousattribute", | |
"isCustom": false | |
} | |
], | |
"line": 206, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "40570c1b-ed25-494b-a490-acfb56969915", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.AllowAnonymousAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.AllowAnonymousAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AllowAnonymous", | |
"protectedSnippet": "T:System.Web.Mvc.AllowAnonymousAttribute", | |
"label": "T:System.Web.Mvc.AllowAnonymousAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.allowanonymousattribute", | |
"isCustom": false | |
} | |
], | |
"line": 206, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "2954cbd6-596c-4b0e-88c6-f536c95ece22", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"label": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 205, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "3fe28a5f-d331-494f-a87e-bd742e8a747f", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.HttpPostAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.HttpPostAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "T:System.Web.Mvc.HttpPostAttribute", | |
"label": "T:System.Web.Mvc.HttpPostAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 205, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "7180a822-eecb-4cc9-b821-13f846e5ae7e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return new ExternalLoginResult(provider, Url.Action(\u0022ExternalLoginCallback\u0022, new { ReturnUrl = returnUrl }));", | |
"protectedSnippet": "T:System.Web.Mvc.UrlHelper", | |
"label": "T:System.Web.Mvc.UrlHelper", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.urlhelper", | |
"isCustom": false | |
} | |
], | |
"line": 210, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "6180710f-3258-43f4-b965-961e66b7b7c1", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return new ExternalLoginResult(provider, Url.Action(\u0022ExternalLoginCallback\u0022, new { ReturnUrl = returnUrl }));", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.Url", | |
"label": "P:System.Web.Mvc.Controller.Url", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.url", | |
"isCustom": false | |
} | |
], | |
"line": 210, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "a1bacc10-f00c-4297-a5e2-ae6d89467e80", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return new ExternalLoginResult(provider, Url.Action(\u0022ExternalLoginCallback\u0022, new { ReturnUrl = returnUrl }));", | |
"protectedSnippet": "M:System.Web.Mvc.UrlHelper.Action(System.String,System.Object)", | |
"label": "M:System.Web.Mvc.UrlHelper.Action(System.String,System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.urlhelper.action", | |
"isCustom": false | |
} | |
], | |
"line": 210, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "f37822f4-e59c-4c57-94c9-e5fe71872dff", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "public ActionResult Manage(LocalPasswordModel model)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 142, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "5c0ffa5a-aeb6-4185-95b8-9cd4a55073d1", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ValidateAntiForgeryToken", | |
"protectedSnippet": "M:System.Web.Mvc.ValidateAntiForgeryTokenAttribute.#ctor", | |
"label": "M:System.Web.Mvc.ValidateAntiForgeryTokenAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.validateantiforgerytokenattribute.validateantiforgerytokenattribute", | |
"isCustom": false | |
} | |
], | |
"line": 143, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "86a91422-b2ed-4770-bcc7-5ba18d81f278", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ValidateAntiForgeryToken", | |
"protectedSnippet": "T:System.Web.Mvc.ValidateAntiForgeryTokenAttribute", | |
"label": "T:System.Web.Mvc.ValidateAntiForgeryTokenAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.validateantiforgerytokenattribute", | |
"isCustom": false | |
} | |
], | |
"line": 143, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "f79f686c-62e6-499c-b7b5-9b8288fad5d5", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"label": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 142, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "c5aec056-db50-4436-acf8-96051d56f74b", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.HttpPostAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.HttpPostAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "T:System.Web.Mvc.HttpPostAttribute", | |
"label": "T:System.Web.Mvc.HttpPostAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 142, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "197a6c74-ba0a-49ca-b023-37f78b17ce6b", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return View(model);", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 199, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "22d42f75-ec2c-4d24-8eb1-28f8837c0948", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return View(model);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"label": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 199, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "7ee85a6e-bf03-4d0d-9b56-d783f507aeda", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState.AddModelError(\u0022\u0022, String.Format(\u0022Unable to create local account. An account with the name \\\u0022{0}\\\u0022 may already exist.\u0022, User.Identity.Name));", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 193, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "332f1dca-a0f8-4311-8565-4ac52bf2b6be", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState.AddModelError(\u0022\u0022, String.Format(\u0022Unable to create local account. An account with the name \\\u0022{0}\\\u0022 may already exist.\u0022, User.Identity.Name));", | |
"protectedSnippet": "T:System.Web.Mvc.ModelStateDictionary", | |
"label": "T:System.Web.Mvc.ModelStateDictionary", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary", | |
"isCustom": false | |
} | |
], | |
"line": 193, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "4b904231-85e4-48d2-af3d-7eda669eaec8", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState.AddModelError(\u0022\u0022, String.Format(\u0022Unable to create local account. An account with the name \\\u0022{0}\\\u0022 may already exist.\u0022, User.Identity.Name));", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.ModelState", | |
"label": "P:System.Web.Mvc.Controller.ModelState", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.modelstate", | |
"isCustom": false | |
} | |
], | |
"line": 193, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "226e57e8-4ccd-4e78-8a23-3f769c5d2a7e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState.AddModelError(\u0022\u0022, String.Format(\u0022Unable to create local account. An account with the name \\\u0022{0}\\\u0022 may already exist.\u0022, User.Identity.Name));", | |
"protectedSnippet": "M:System.Web.Mvc.ModelStateDictionary.AddModelError(System.String,System.String)", | |
"label": "M:System.Web.Mvc.ModelStateDictionary.AddModelError(System.String,System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary.addmodelerror", | |
"isCustom": false | |
} | |
], | |
"line": 193, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "48363e11-e4cc-4898-8116-199e8b485ed7", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return RedirectToAction(\u0022Manage\u0022, new { Message = ManageMessageId.SetPasswordSuccess });", | |
"protectedSnippet": "T:System.Web.Mvc.RedirectToRouteResult", | |
"label": "T:System.Web.Mvc.RedirectToRouteResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.redirecttorouteresult", | |
"isCustom": false | |
} | |
], | |
"line": 189, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "9ac73c17-6d45-4037-9167-ed18d1d42628", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return RedirectToAction(\u0022Manage\u0022, new { Message = ManageMessageId.SetPasswordSuccess });", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.RedirectToAction(System.String,System.Object)", | |
"label": "M:System.Web.Mvc.Controller.RedirectToAction(System.String,System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.redirecttoaction", | |
"isCustom": false | |
} | |
], | |
"line": 189, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "806e5fb4-6b9c-4ad1-bd77-685762e4287c", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "WebSecurity.CreateAccount(User.Identity.Name, model.NewPassword);", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 188, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "977bfe62-9dad-4558-bec8-fe8a88585b68", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "WebSecurity.CreateAccount(User.Identity.Name, model.NewPassword);", | |
"protectedSnippet": "T:WebMatrix.WebData.WebSecurity", | |
"label": "T:WebMatrix.WebData.WebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/webmatrix.webdata.websecurity", | |
"isCustom": false | |
} | |
], | |
"line": 188, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "e9daa694-91f3-4e60-96d1-fcbacc9d5d4e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "WebSecurity.CreateAccount(User.Identity.Name, model.NewPassword);", | |
"protectedSnippet": "M:WebMatrix.WebData.WebSecurity.CreateAccount(System.String,System.String,System.Boolean)", | |
"label": "M:WebMatrix.WebData.WebSecurity.CreateAccount(System.String,System.String,System.Boolean)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/webmatrix.webdata.websecurity.createaccount", | |
"isCustom": false | |
} | |
], | |
"line": 188, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "7c415fca-ca83-4b10-beed-af953cc60f8d", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (ModelState.IsValid)\r\n {\r\n try\r\n {\r\n WebSecurity.CreateAccount(User.Identity.Name, model.NewPassword);\r\n return RedirectToAction(\u0022Manage\u0022, new { Message = ManageMessageId.SetPasswordSuccess });\r\n }\r\n catch (Exception)\r\n {\r\n ModelState.AddModelError(\u0022\u0022, String.Format(\u0022Unable to create local account. An account with the name \\\u0022{0}\\\u0022 may already exist.\u0022, User.Identity.Name));\r\n }\r\n }", | |
"protectedSnippet": "T:System.Web.Mvc.ModelStateDictionary", | |
"label": "T:System.Web.Mvc.ModelStateDictionary", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary", | |
"isCustom": false | |
} | |
], | |
"line": 184, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "5aa608d2-16e5-4482-a7b0-cbaf418fdc58", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (ModelState.IsValid)\r\n {\r\n try\r\n {\r\n WebSecurity.CreateAccount(User.Identity.Name, model.NewPassword);\r\n return RedirectToAction(\u0022Manage\u0022, new { Message = ManageMessageId.SetPasswordSuccess });\r\n }\r\n catch (Exception)\r\n {\r\n ModelState.AddModelError(\u0022\u0022, String.Format(\u0022Unable to create local account. An account with the name \\\u0022{0}\\\u0022 may already exist.\u0022, User.Identity.Name));\r\n }\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.ModelState", | |
"label": "P:System.Web.Mvc.Controller.ModelState", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.modelstate", | |
"isCustom": false | |
} | |
], | |
"line": 184, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "611fb548-cc7e-46fc-9551-c0168ab0c460", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (ModelState.IsValid)\r\n {\r\n try\r\n {\r\n WebSecurity.CreateAccount(User.Identity.Name, model.NewPassword);\r\n return RedirectToAction(\u0022Manage\u0022, new { Message = ManageMessageId.SetPasswordSuccess });\r\n }\r\n catch (Exception)\r\n {\r\n ModelState.AddModelError(\u0022\u0022, String.Format(\u0022Unable to create local account. An account with the name \\\u0022{0}\\\u0022 may already exist.\u0022, User.Identity.Name));\r\n }\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.ModelStateDictionary.IsValid", | |
"label": "P:System.Web.Mvc.ModelStateDictionary.IsValid", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary.isvalid", | |
"isCustom": false | |
} | |
], | |
"line": 184, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "10eba93c-abe4-4ca4-814e-e74c014e3048", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "state.Errors.Clear();", | |
"protectedSnippet": "T:System.Web.Mvc.ModelErrorCollection", | |
"label": "T:System.Web.Mvc.ModelErrorCollection", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelerrorcollection", | |
"isCustom": false | |
} | |
], | |
"line": 181, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "5f3ccddf-11ed-45a2-adc0-f6c4d9125276", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "state.Errors.Clear();", | |
"protectedSnippet": "P:System.Web.Mvc.ModelState.Errors", | |
"label": "P:System.Web.Mvc.ModelState.Errors", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstate.errors", | |
"isCustom": false | |
} | |
], | |
"line": 181, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "711ffa2b-d247-4341-87fc-db8408efb897", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState state = ModelState[\u0022OldPassword\u0022];", | |
"protectedSnippet": "T:System.Web.Mvc.ModelStateDictionary", | |
"label": "T:System.Web.Mvc.ModelStateDictionary", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary", | |
"isCustom": false | |
} | |
], | |
"line": 178, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "c385198a-3c76-4bfb-82b6-f161c4a8e5f9", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState state = ModelState[\u0022OldPassword\u0022];", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.ModelState", | |
"label": "P:System.Web.Mvc.Controller.ModelState", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.modelstate", | |
"isCustom": false | |
} | |
], | |
"line": 178, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "d764d133-68f1-4ea2-86d6-6439f695b0af", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState state = ModelState[\u0022OldPassword\u0022];", | |
"protectedSnippet": "T:System.Web.Mvc.ModelState", | |
"label": "T:System.Web.Mvc.ModelState", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstate", | |
"isCustom": false | |
} | |
], | |
"line": 178, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "a45f72a8-ae1d-4cbf-9b41-dec0ab98186a", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState state = ModelState[\u0022OldPassword\u0022];", | |
"protectedSnippet": "P:System.Web.Mvc.ModelStateDictionary.Item(System.String)", | |
"label": "P:System.Web.Mvc.ModelStateDictionary.Item(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary.this[string]", | |
"isCustom": false | |
} | |
], | |
"line": 178, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "c3caa044-f744-47e9-aaec-fc0d4e736bd3", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState.AddModelError(\u0022\u0022, \u0022The current password is incorrect or the new password is invalid.\u0022);", | |
"protectedSnippet": "T:System.Web.Mvc.ModelStateDictionary", | |
"label": "T:System.Web.Mvc.ModelStateDictionary", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary", | |
"isCustom": false | |
} | |
], | |
"line": 170, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "e8504843-bfba-4d41-9e15-671eb65456bf", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState.AddModelError(\u0022\u0022, \u0022The current password is incorrect or the new password is invalid.\u0022);", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.ModelState", | |
"label": "P:System.Web.Mvc.Controller.ModelState", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.modelstate", | |
"isCustom": false | |
} | |
], | |
"line": 170, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "a4375c58-5559-41fb-a5df-e21e25d8739d", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState.AddModelError(\u0022\u0022, \u0022The current password is incorrect or the new password is invalid.\u0022);", | |
"protectedSnippet": "M:System.Web.Mvc.ModelStateDictionary.AddModelError(System.String,System.String)", | |
"label": "M:System.Web.Mvc.ModelStateDictionary.AddModelError(System.String,System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary.addmodelerror", | |
"isCustom": false | |
} | |
], | |
"line": 170, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "ea7b0cfa-482a-409f-b2a9-08b03ac6e37e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return RedirectToAction(\u0022Manage\u0022, new { Message = ManageMessageId.ChangePasswordSuccess });", | |
"protectedSnippet": "T:System.Web.Mvc.RedirectToRouteResult", | |
"label": "T:System.Web.Mvc.RedirectToRouteResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.redirecttorouteresult", | |
"isCustom": false | |
} | |
], | |
"line": 166, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "a3e2d292-9d08-4430-b42e-a69a99a3af9e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return RedirectToAction(\u0022Manage\u0022, new { Message = ManageMessageId.ChangePasswordSuccess });", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.RedirectToAction(System.String,System.Object)", | |
"label": "M:System.Web.Mvc.Controller.RedirectToAction(System.String,System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.redirecttoaction", | |
"isCustom": false | |
} | |
], | |
"line": 166, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "9122038a-ad6d-4db6-85a6-1643cee76054", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "changePasswordSucceeded = WebSecurity.ChangePassword(User.Identity.Name, model.OldPassword, model.NewPassword);", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 157, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "6a19c00b-2937-4ca0-9ef8-55cbcc0893c5", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "changePasswordSucceeded = WebSecurity.ChangePassword(User.Identity.Name, model.OldPassword, model.NewPassword);", | |
"protectedSnippet": "T:WebMatrix.WebData.WebSecurity", | |
"label": "T:WebMatrix.WebData.WebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/webmatrix.webdata.websecurity", | |
"isCustom": false | |
} | |
], | |
"line": 157, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "8fe0046d-24f1-471a-95ec-2314c3a1dbc4", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "changePasswordSucceeded = WebSecurity.ChangePassword(User.Identity.Name, model.OldPassword, model.NewPassword);", | |
"protectedSnippet": "M:WebMatrix.WebData.WebSecurity.ChangePassword(System.String,System.String,System.String)", | |
"label": "M:WebMatrix.WebData.WebSecurity.ChangePassword(System.String,System.String,System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/webmatrix.webdata.websecurity.changepassword", | |
"isCustom": false | |
} | |
], | |
"line": 157, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "144a776e-e61a-445d-a97c-2a810df73057", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (ModelState.IsValid)\r\n {\r\n // ChangePassword will throw an exception rather than return false in certain failure scenarios.\r\n bool changePasswordSucceeded;\r\n try\r\n {\r\n changePasswordSucceeded = WebSecurity.ChangePassword(User.Identity.Name, model.OldPassword, model.NewPassword);\r\n }\r\n catch (Exception)\r\n {\r\n changePasswordSucceeded = false;\r\n }\r\n\r\n if (changePasswordSucceeded)\r\n {\r\n return RedirectToAction(\u0022Manage\u0022, new { Message = ManageMessageId.ChangePasswordSuccess });\r\n }\r\n else\r\n {\r\n ModelState.AddModelError(\u0022\u0022, \u0022The current password is incorrect or the new password is invalid.\u0022);\r\n }\r\n }", | |
"protectedSnippet": "T:System.Web.Mvc.ModelStateDictionary", | |
"label": "T:System.Web.Mvc.ModelStateDictionary", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary", | |
"isCustom": false | |
} | |
], | |
"line": 151, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "d2b45478-106b-4784-bb42-f6068628da4a", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (ModelState.IsValid)\r\n {\r\n // ChangePassword will throw an exception rather than return false in certain failure scenarios.\r\n bool changePasswordSucceeded;\r\n try\r\n {\r\n changePasswordSucceeded = WebSecurity.ChangePassword(User.Identity.Name, model.OldPassword, model.NewPassword);\r\n }\r\n catch (Exception)\r\n {\r\n changePasswordSucceeded = false;\r\n }\r\n\r\n if (changePasswordSucceeded)\r\n {\r\n return RedirectToAction(\u0022Manage\u0022, new { Message = ManageMessageId.ChangePasswordSuccess });\r\n }\r\n else\r\n {\r\n ModelState.AddModelError(\u0022\u0022, \u0022The current password is incorrect or the new password is invalid.\u0022);\r\n }\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.ModelState", | |
"label": "P:System.Web.Mvc.Controller.ModelState", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.modelstate", | |
"isCustom": false | |
} | |
], | |
"line": 151, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "6b82718d-976a-43ac-bba9-dc496aa03ca3", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (ModelState.IsValid)\r\n {\r\n // ChangePassword will throw an exception rather than return false in certain failure scenarios.\r\n bool changePasswordSucceeded;\r\n try\r\n {\r\n changePasswordSucceeded = WebSecurity.ChangePassword(User.Identity.Name, model.OldPassword, model.NewPassword);\r\n }\r\n catch (Exception)\r\n {\r\n changePasswordSucceeded = false;\r\n }\r\n\r\n if (changePasswordSucceeded)\r\n {\r\n return RedirectToAction(\u0022Manage\u0022, new { Message = ManageMessageId.ChangePasswordSuccess });\r\n }\r\n else\r\n {\r\n ModelState.AddModelError(\u0022\u0022, \u0022The current password is incorrect or the new password is invalid.\u0022);\r\n }\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.ModelStateDictionary.IsValid", | |
"label": "P:System.Web.Mvc.ModelStateDictionary.IsValid", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary.isvalid", | |
"isCustom": false | |
} | |
], | |
"line": 151, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "effdeaf8-a8e9-433e-a1b5-07fabe277375", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ReturnUrl = Url.Action(\u0022Manage\u0022);", | |
"protectedSnippet": "T:System.Web.Mvc.UrlHelper", | |
"label": "T:System.Web.Mvc.UrlHelper", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.urlhelper", | |
"isCustom": false | |
} | |
], | |
"line": 148, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "f2dc6f1d-42cc-4310-accb-7c9276c1f1b3", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ReturnUrl = Url.Action(\u0022Manage\u0022);", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.Url", | |
"label": "P:System.Web.Mvc.Controller.Url", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.url", | |
"isCustom": false | |
} | |
], | |
"line": 148, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "43662e59-1e67-4f8f-ab3a-52d34870a8aa", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ReturnUrl = Url.Action(\u0022Manage\u0022);", | |
"protectedSnippet": "M:System.Web.Mvc.UrlHelper.Action(System.String)", | |
"label": "M:System.Web.Mvc.UrlHelper.Action(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.urlhelper.action", | |
"isCustom": false | |
} | |
], | |
"line": 148, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "5d961952-3851-409f-94a6-d95185e1cb13", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ReturnUrl = Url.Action(\u0022Manage\u0022);", | |
"protectedSnippet": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"label": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controllerbase.viewbag", | |
"isCustom": false | |
} | |
], | |
"line": 148, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "cb1e4860-c797-489a-ad74-c1c9e0cf85ed", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.HasLocalPassword = hasLocalAccount;", | |
"protectedSnippet": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"label": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controllerbase.viewbag", | |
"isCustom": false | |
} | |
], | |
"line": 147, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "04dcf6fb-e227-4839-9fcf-9dba811b4746", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "bool hasLocalAccount = OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 146, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "8e5ed0d7-1b7e-4f96-8d1d-1df85759e20b", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "bool hasLocalAccount = OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "T:WebMatrix.WebData.WebSecurity", | |
"label": "T:WebMatrix.WebData.WebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/webmatrix.webdata.websecurity", | |
"isCustom": false | |
} | |
], | |
"line": 146, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "94f76f36-f191-4c45-a88d-9a91e2844aa6", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "bool hasLocalAccount = OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "M:WebMatrix.WebData.WebSecurity.GetUserId(System.String)", | |
"label": "M:WebMatrix.WebData.WebSecurity.GetUserId(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/webmatrix.webdata.websecurity.getuserid", | |
"isCustom": false | |
} | |
], | |
"line": 146, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "c7c3c5f3-4ba0-4254-a692-0990a31f7f27", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "bool hasLocalAccount = OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 146, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "d9717e7e-a618-474f-865f-f5ca11c2284d", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "bool hasLocalAccount = OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.HasLocalAccount(System.Int32)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.HasLocalAccount(System.Int32)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.haslocalaccount", | |
"isCustom": false | |
} | |
], | |
"line": 146, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "2f8eb7e2-12cc-41c3-94ce-7d6e27aba8f5", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "public ActionResult Manage(ManageMessageId? message)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 127, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "b278aa31-5a37-4208-a893-71ccdd4fac37", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return View();", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 136, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "c9f6672a-a2f4-44d4-8791-29f961f15d99", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return View();", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View", | |
"label": "M:System.Web.Mvc.Controller.View", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 136, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "9869a25e-15e5-4d11-adcb-ab28f2d6228e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ReturnUrl = Url.Action(\u0022Manage\u0022);", | |
"protectedSnippet": "T:System.Web.Mvc.UrlHelper", | |
"label": "T:System.Web.Mvc.UrlHelper", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.urlhelper", | |
"isCustom": false | |
} | |
], | |
"line": 135, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "7c42b486-aecd-4fee-9615-f2c1e50801cf", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ReturnUrl = Url.Action(\u0022Manage\u0022);", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.Url", | |
"label": "P:System.Web.Mvc.Controller.Url", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.url", | |
"isCustom": false | |
} | |
], | |
"line": 135, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "008fcac3-ced7-48b7-bdbd-c0d6e457b144", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ReturnUrl = Url.Action(\u0022Manage\u0022);", | |
"protectedSnippet": "M:System.Web.Mvc.UrlHelper.Action(System.String)", | |
"label": "M:System.Web.Mvc.UrlHelper.Action(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.urlhelper.action", | |
"isCustom": false | |
} | |
], | |
"line": 135, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "cf31f3f9-f5ea-4fff-b46e-0ec2efc3da50", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ReturnUrl = Url.Action(\u0022Manage\u0022);", | |
"protectedSnippet": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"label": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controllerbase.viewbag", | |
"isCustom": false | |
} | |
], | |
"line": 135, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "b1d595d3-70e2-4a21-8995-a913f7b39558", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.HasLocalPassword = OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 134, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "8c407306-fe62-4fd5-8e51-7a8921190d1b", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.HasLocalPassword = OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "T:WebMatrix.WebData.WebSecurity", | |
"label": "T:WebMatrix.WebData.WebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/webmatrix.webdata.websecurity", | |
"isCustom": false | |
} | |
], | |
"line": 134, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "46cf5a28-8757-4f9f-8bed-f31b3d80b73e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.HasLocalPassword = OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "M:WebMatrix.WebData.WebSecurity.GetUserId(System.String)", | |
"label": "M:WebMatrix.WebData.WebSecurity.GetUserId(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/webmatrix.webdata.websecurity.getuserid", | |
"isCustom": false | |
} | |
], | |
"line": 134, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "c677c95a-fe2d-4efa-9e19-0af88b558c49", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.HasLocalPassword = OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 134, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "a5188e74-9288-4c32-8018-052c6ed20c2c", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.HasLocalPassword = OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.HasLocalAccount(System.Int32)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.HasLocalAccount(System.Int32)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.haslocalaccount", | |
"isCustom": false | |
} | |
], | |
"line": 134, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "7c84a635-b6d1-496d-8c6d-d005b6694b78", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.HasLocalPassword = OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"label": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controllerbase.viewbag", | |
"isCustom": false | |
} | |
], | |
"line": 134, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "e34de4db-1143-4eb7-9580-d387a7cee46e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.StatusMessage =\r\n message == ManageMessageId.ChangePasswordSuccess ? \u0022Your password has been changed.\u0022\r\n : message == ManageMessageId.SetPasswordSuccess ? \u0022Your password has been set.\u0022\r\n : message == ManageMessageId.RemoveLoginSuccess ? \u0022The external login was removed.\u0022\r\n : \u0022\u0022;", | |
"protectedSnippet": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"label": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controllerbase.viewbag", | |
"isCustom": false | |
} | |
], | |
"line": 129, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "43e3c35f-f6f1-4f6d-8752-8e9ba40b5bf0", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "public ActionResult Disassociate(string provider, string providerUserId)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 98, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "8bc6fa72-4059-4aee-8414-69951b897776", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ValidateAntiForgeryToken", | |
"protectedSnippet": "M:System.Web.Mvc.ValidateAntiForgeryTokenAttribute.#ctor", | |
"label": "M:System.Web.Mvc.ValidateAntiForgeryTokenAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.validateantiforgerytokenattribute.validateantiforgerytokenattribute", | |
"isCustom": false | |
} | |
], | |
"line": 99, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "7314b625-fbe6-4da5-88ab-1bc96d4c2cd4", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ValidateAntiForgeryToken", | |
"protectedSnippet": "T:System.Web.Mvc.ValidateAntiForgeryTokenAttribute", | |
"label": "T:System.Web.Mvc.ValidateAntiForgeryTokenAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.validateantiforgerytokenattribute", | |
"isCustom": false | |
} | |
], | |
"line": 99, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "c234eef3-6b4f-40d5-9435-e920d1b61289", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"label": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 98, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "903d5cdc-2b60-416a-91e1-7e8fd44d3897", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.HttpPostAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.HttpPostAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "T:System.Web.Mvc.HttpPostAttribute", | |
"label": "T:System.Web.Mvc.HttpPostAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 98, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "d0285c5d-5ee6-49b7-acae-576bb86783c7", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return RedirectToAction(\u0022Manage\u0022, new { Message = message });", | |
"protectedSnippet": "T:System.Web.Mvc.RedirectToRouteResult", | |
"label": "T:System.Web.Mvc.RedirectToRouteResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.redirecttorouteresult", | |
"isCustom": false | |
} | |
], | |
"line": 121, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "2e5d7535-e7f9-46bb-8f05-738d3f13b52f", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return RedirectToAction(\u0022Manage\u0022, new { Message = message });", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.RedirectToAction(System.String,System.Object)", | |
"label": "M:System.Web.Mvc.Controller.RedirectToAction(System.String,System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.redirecttoaction", | |
"isCustom": false | |
} | |
], | |
"line": 121, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "0854fedf-8096-4d29-82f4-eea663747fe3", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "OAuthWebSecurity.DeleteAccount(provider, providerUserId);", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 114, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "209dc1e1-d57f-46f9-8bb2-b5fd0eab051c", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "OAuthWebSecurity.DeleteAccount(provider, providerUserId);", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.DeleteAccount(System.String,System.String)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.DeleteAccount(System.String,System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.deleteaccount", | |
"isCustom": false | |
} | |
], | |
"line": 114, | |
"column": 24 | |
} | |
}, | |
{ | |
"incidentId": "84f95f20-fd2e-406a-a9c3-007e6d102b31", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (hasLocalAccount || OAuthWebSecurity.GetAccountsFromUserName(User.Identity.Name).Count \u003E 1)\r\n {\r\n OAuthWebSecurity.DeleteAccount(provider, providerUserId);\r\n scope.Complete();\r\n message = ManageMessageId.RemoveLoginSuccess;\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 112, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "8a69a83a-2155-4546-b526-2311af90177c", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (hasLocalAccount || OAuthWebSecurity.GetAccountsFromUserName(User.Identity.Name).Count \u003E 1)\r\n {\r\n OAuthWebSecurity.DeleteAccount(provider, providerUserId);\r\n scope.Complete();\r\n message = ManageMessageId.RemoveLoginSuccess;\r\n }", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 112, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "ad671fe9-d380-48fd-bc6b-2e2a5368b3ba", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (hasLocalAccount || OAuthWebSecurity.GetAccountsFromUserName(User.Identity.Name).Count \u003E 1)\r\n {\r\n OAuthWebSecurity.DeleteAccount(provider, providerUserId);\r\n scope.Complete();\r\n message = ManageMessageId.RemoveLoginSuccess;\r\n }", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.GetAccountsFromUserName(System.String)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.GetAccountsFromUserName(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.getaccountsfromusername", | |
"isCustom": false | |
} | |
], | |
"line": 112, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "06575678-9a21-46a2-95f8-b97d294a6943", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "bool hasLocalAccount = OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 111, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "653dcb67-ad36-4be9-87cf-3828b64c94c0", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "bool hasLocalAccount = OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "T:WebMatrix.WebData.WebSecurity", | |
"label": "T:WebMatrix.WebData.WebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/webmatrix.webdata.websecurity", | |
"isCustom": false | |
} | |
], | |
"line": 111, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "253aff72-e667-41b8-b143-851188c19d7a", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "bool hasLocalAccount = OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "M:WebMatrix.WebData.WebSecurity.GetUserId(System.String)", | |
"label": "M:WebMatrix.WebData.WebSecurity.GetUserId(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/webmatrix.webdata.websecurity.getuserid", | |
"isCustom": false | |
} | |
], | |
"line": 111, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "fd8277a0-4bb4-4580-88db-a2aff6893874", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "bool hasLocalAccount = OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 111, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "1deb605e-e043-412c-a234-dafea73ef590", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "bool hasLocalAccount = OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.HasLocalAccount(System.Int32)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.HasLocalAccount(System.Int32)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.haslocalaccount", | |
"isCustom": false | |
} | |
], | |
"line": 111, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "ef4984b8-f3bd-47d2-b606-199a515e0f53", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (ownerAccount == User.Identity.Name)\r\n {\r\n // Use a transaction to prevent the user from deleting their last login credential\r\n using (var scope = new TransactionScope(TransactionScopeOption.Required, new TransactionOptions { IsolationLevel = IsolationLevel.Serializable }))\r\n {\r\n bool hasLocalAccount = OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));\r\n if (hasLocalAccount || OAuthWebSecurity.GetAccountsFromUserName(User.Identity.Name).Count \u003E 1)\r\n {\r\n OAuthWebSecurity.DeleteAccount(provider, providerUserId);\r\n scope.Complete();\r\n message = ManageMessageId.RemoveLoginSuccess;\r\n }\r\n }\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.User", | |
"label": "P:System.Web.Mvc.Controller.User", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.user", | |
"isCustom": false | |
} | |
], | |
"line": 106, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "ffda76ee-1a77-4f4b-982b-6c32e5c861fd", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "string ownerAccount = OAuthWebSecurity.GetUserName(provider, providerUserId);", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 102, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "69011e08-0ce1-4be4-a355-b4b61fce6fb0", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "string ownerAccount = OAuthWebSecurity.GetUserName(provider, providerUserId);", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.GetUserName(System.String,System.String)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.GetUserName(System.String,System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.getusername", | |
"isCustom": false | |
} | |
], | |
"line": 102, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "b1d6fed7-095b-467f-a073-3ddc5586baba", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "public ActionResult Register(RegisterModel model)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 71, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "a65224a6-8ee8-4188-b416-3c362d70acf8", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ValidateAntiForgeryToken", | |
"protectedSnippet": "M:System.Web.Mvc.ValidateAntiForgeryTokenAttribute.#ctor", | |
"label": "M:System.Web.Mvc.ValidateAntiForgeryTokenAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.validateantiforgerytokenattribute.validateantiforgerytokenattribute", | |
"isCustom": false | |
} | |
], | |
"line": 73, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "b59b6550-c494-44a2-9616-0909da09db26", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ValidateAntiForgeryToken", | |
"protectedSnippet": "T:System.Web.Mvc.ValidateAntiForgeryTokenAttribute", | |
"label": "T:System.Web.Mvc.ValidateAntiForgeryTokenAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.validateantiforgerytokenattribute", | |
"isCustom": false | |
} | |
], | |
"line": 73, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "84ce7757-8ba7-4c34-872e-3cb08cc56194", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AllowAnonymous", | |
"protectedSnippet": "M:System.Web.Mvc.AllowAnonymousAttribute.#ctor", | |
"label": "M:System.Web.Mvc.AllowAnonymousAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.allowanonymousattribute.allowanonymousattribute", | |
"isCustom": false | |
} | |
], | |
"line": 72, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "6fdd3b64-6fb1-4321-ac64-a89da02d4006", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.AllowAnonymousAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.AllowAnonymousAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AllowAnonymous", | |
"protectedSnippet": "T:System.Web.Mvc.AllowAnonymousAttribute", | |
"label": "T:System.Web.Mvc.AllowAnonymousAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.allowanonymousattribute", | |
"isCustom": false | |
} | |
], | |
"line": 72, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "c3d0b9df-197f-4992-9006-870e4e571132", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"label": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 71, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "4820e8a5-ea80-41a6-a707-c1365008eade", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.HttpPostAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.HttpPostAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "T:System.Web.Mvc.HttpPostAttribute", | |
"label": "T:System.Web.Mvc.HttpPostAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 71, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "76b0e7ab-835b-4a2b-a1b1-510b79126323", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return View(model);", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 92, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "28d12dec-8183-4431-bdba-9f4f3361d4b8", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return View(model);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"label": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 92, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "a949f851-7bb0-4290-a789-f544615ba1a9", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState.AddModelError(\u0022\u0022, ErrorCodeToString(e.StatusCode));", | |
"protectedSnippet": "T:System.Web.Security.MembershipCreateStatus", | |
"label": "T:System.Web.Security.MembershipCreateStatus", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.security.membershipcreatestatus", | |
"isCustom": false | |
} | |
], | |
"line": 87, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "a1bfdf0c-5594-4c1e-a3e1-2526454d24df", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState.AddModelError(\u0022\u0022, ErrorCodeToString(e.StatusCode));", | |
"protectedSnippet": "P:System.Web.Security.MembershipCreateUserException.StatusCode", | |
"label": "P:System.Web.Security.MembershipCreateUserException.StatusCode", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.security.membershipcreateuserexception.statuscode", | |
"isCustom": false | |
} | |
], | |
"line": 87, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "baa761b8-fb46-4a66-9ed2-10a2c4500175", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState.AddModelError(\u0022\u0022, ErrorCodeToString(e.StatusCode));", | |
"protectedSnippet": "T:System.Web.Mvc.ModelStateDictionary", | |
"label": "T:System.Web.Mvc.ModelStateDictionary", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary", | |
"isCustom": false | |
} | |
], | |
"line": 87, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "3c3baa05-5a5a-406d-9034-b0b524586c5e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState.AddModelError(\u0022\u0022, ErrorCodeToString(e.StatusCode));", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.ModelState", | |
"label": "P:System.Web.Mvc.Controller.ModelState", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.modelstate", | |
"isCustom": false | |
} | |
], | |
"line": 87, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "db54e787-43bb-406e-8a8c-f7e51b6259ee", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState.AddModelError(\u0022\u0022, ErrorCodeToString(e.StatusCode));", | |
"protectedSnippet": "M:System.Web.Mvc.ModelStateDictionary.AddModelError(System.String,System.String)", | |
"label": "M:System.Web.Mvc.ModelStateDictionary.AddModelError(System.String,System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary.addmodelerror", | |
"isCustom": false | |
} | |
], | |
"line": 87, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "dfd94677-b0a7-406c-b774-faee174b137e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return RedirectToAction(\u0022Index\u0022, \u0022Home\u0022);", | |
"protectedSnippet": "T:System.Web.Mvc.RedirectToRouteResult", | |
"label": "T:System.Web.Mvc.RedirectToRouteResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.redirecttorouteresult", | |
"isCustom": false | |
} | |
], | |
"line": 83, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "1b286a12-3e70-4ce7-92f9-e000e803891a", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return RedirectToAction(\u0022Index\u0022, \u0022Home\u0022);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.RedirectToAction(System.String,System.String)", | |
"label": "M:System.Web.Mvc.Controller.RedirectToAction(System.String,System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.redirecttoaction", | |
"isCustom": false | |
} | |
], | |
"line": 83, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "a9a638ee-dea9-422b-940a-b15242bfcd2b", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "WebSecurity.Login(model.UserName, model.Password);", | |
"protectedSnippet": "T:WebMatrix.WebData.WebSecurity", | |
"label": "T:WebMatrix.WebData.WebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/webmatrix.webdata.websecurity", | |
"isCustom": false | |
} | |
], | |
"line": 82, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "8312fb5a-4a54-4c5f-902b-ac8020f90c6e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "WebSecurity.Login(model.UserName, model.Password);", | |
"protectedSnippet": "M:WebMatrix.WebData.WebSecurity.Login(System.String,System.String,System.Boolean)", | |
"label": "M:WebMatrix.WebData.WebSecurity.Login(System.String,System.String,System.Boolean)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/webmatrix.webdata.websecurity.login", | |
"isCustom": false | |
} | |
], | |
"line": 82, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "e0fe54c1-d3ba-42cf-98ee-a00508951d65", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "WebSecurity.CreateUserAndAccount(model.UserName, model.Password);", | |
"protectedSnippet": "T:WebMatrix.WebData.WebSecurity", | |
"label": "T:WebMatrix.WebData.WebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/webmatrix.webdata.websecurity", | |
"isCustom": false | |
} | |
], | |
"line": 81, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "56051e8f-bc24-4bce-b945-41bb9d41df03", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "WebSecurity.CreateUserAndAccount(model.UserName, model.Password);", | |
"protectedSnippet": "M:WebMatrix.WebData.WebSecurity.CreateUserAndAccount(System.String,System.String,System.Object,System.Boolean)", | |
"label": "M:WebMatrix.WebData.WebSecurity.CreateUserAndAccount(System.String,System.String,System.Object,System.Boolean)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/webmatrix.webdata.websecurity.createuserandaccount", | |
"isCustom": false | |
} | |
], | |
"line": 81, | |
"column": 20 | |
} | |
}, | |
{ | |
"incidentId": "378b8e8f-bda5-4218-9e06-895133ad9bb0", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (ModelState.IsValid)\r\n {\r\n // Attempt to register the user\r\n try\r\n {\r\n WebSecurity.CreateUserAndAccount(model.UserName, model.Password);\r\n WebSecurity.Login(model.UserName, model.Password);\r\n return RedirectToAction(\u0022Index\u0022, \u0022Home\u0022);\r\n }\r\n catch (MembershipCreateUserException e)\r\n {\r\n ModelState.AddModelError(\u0022\u0022, ErrorCodeToString(e.StatusCode));\r\n }\r\n }", | |
"protectedSnippet": "T:System.Web.Mvc.ModelStateDictionary", | |
"label": "T:System.Web.Mvc.ModelStateDictionary", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary", | |
"isCustom": false | |
} | |
], | |
"line": 76, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "51f07f8d-ef3d-4223-ba02-2677bc7bd97f", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (ModelState.IsValid)\r\n {\r\n // Attempt to register the user\r\n try\r\n {\r\n WebSecurity.CreateUserAndAccount(model.UserName, model.Password);\r\n WebSecurity.Login(model.UserName, model.Password);\r\n return RedirectToAction(\u0022Index\u0022, \u0022Home\u0022);\r\n }\r\n catch (MembershipCreateUserException e)\r\n {\r\n ModelState.AddModelError(\u0022\u0022, ErrorCodeToString(e.StatusCode));\r\n }\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.ModelState", | |
"label": "P:System.Web.Mvc.Controller.ModelState", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.modelstate", | |
"isCustom": false | |
} | |
], | |
"line": 76, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "2784b531-7581-4146-a71d-eae5050a142d", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (ModelState.IsValid)\r\n {\r\n // Attempt to register the user\r\n try\r\n {\r\n WebSecurity.CreateUserAndAccount(model.UserName, model.Password);\r\n WebSecurity.Login(model.UserName, model.Password);\r\n return RedirectToAction(\u0022Index\u0022, \u0022Home\u0022);\r\n }\r\n catch (MembershipCreateUserException e)\r\n {\r\n ModelState.AddModelError(\u0022\u0022, ErrorCodeToString(e.StatusCode));\r\n }\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.ModelStateDictionary.IsValid", | |
"label": "P:System.Web.Mvc.ModelStateDictionary.IsValid", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary.isvalid", | |
"isCustom": false | |
} | |
], | |
"line": 76, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "b5ddafb2-8e10-4eee-9383-38dfd9eabf6d", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "public ActionResult Register()", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 62, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "1ef46675-7f8b-4c59-a91e-5f83258dca7a", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AllowAnonymous", | |
"protectedSnippet": "M:System.Web.Mvc.AllowAnonymousAttribute.#ctor", | |
"label": "M:System.Web.Mvc.AllowAnonymousAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.allowanonymousattribute.allowanonymousattribute", | |
"isCustom": false | |
} | |
], | |
"line": 62, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "6e22a869-db63-4b8a-bf15-4e98b0c02da8", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.AllowAnonymousAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.AllowAnonymousAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AllowAnonymous", | |
"protectedSnippet": "T:System.Web.Mvc.AllowAnonymousAttribute", | |
"label": "T:System.Web.Mvc.AllowAnonymousAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.allowanonymousattribute", | |
"isCustom": false | |
} | |
], | |
"line": 62, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "bd24b68c-dbfc-4c23-ac5c-b8cbfa1133dd", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return View();", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 65, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "3def0113-10cf-4fd5-96ff-0eb1fd2acc23", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return View();", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View", | |
"label": "M:System.Web.Mvc.Controller.View", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 65, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "915e2f97-de4e-4a5b-8826-a37f286b3bc4", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "public ActionResult LogOff()", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 50, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "ed80bac0-180d-484a-bf94-4e1d54898583", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ValidateAntiForgeryToken", | |
"protectedSnippet": "M:System.Web.Mvc.ValidateAntiForgeryTokenAttribute.#ctor", | |
"label": "M:System.Web.Mvc.ValidateAntiForgeryTokenAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.validateantiforgerytokenattribute.validateantiforgerytokenattribute", | |
"isCustom": false | |
} | |
], | |
"line": 51, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "2c2d17ec-1ec3-4214-a0ea-101cb4845c64", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ValidateAntiForgeryToken", | |
"protectedSnippet": "T:System.Web.Mvc.ValidateAntiForgeryTokenAttribute", | |
"label": "T:System.Web.Mvc.ValidateAntiForgeryTokenAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.validateantiforgerytokenattribute", | |
"isCustom": false | |
} | |
], | |
"line": 51, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "54ac667d-c8b9-41dd-9e7a-f9d77bd29c31", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"label": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 50, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "cd2504d8-b44d-4783-8d2d-f55b1670425a", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.HttpPostAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.HttpPostAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "T:System.Web.Mvc.HttpPostAttribute", | |
"label": "T:System.Web.Mvc.HttpPostAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 50, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "b62ff5eb-64fb-4bce-b0cb-4208a908044d", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return RedirectToAction(\u0022Index\u0022, \u0022Home\u0022);", | |
"protectedSnippet": "T:System.Web.Mvc.RedirectToRouteResult", | |
"label": "T:System.Web.Mvc.RedirectToRouteResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.redirecttorouteresult", | |
"isCustom": false | |
} | |
], | |
"line": 56, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "b7072573-ab9a-4f37-8259-10edb63a47b7", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return RedirectToAction(\u0022Index\u0022, \u0022Home\u0022);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.RedirectToAction(System.String,System.String)", | |
"label": "M:System.Web.Mvc.Controller.RedirectToAction(System.String,System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.redirecttoaction", | |
"isCustom": false | |
} | |
], | |
"line": 56, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "743a6476-5864-4391-9049-33c4e7eca97a", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "WebSecurity.Logout();", | |
"protectedSnippet": "T:WebMatrix.WebData.WebSecurity", | |
"label": "T:WebMatrix.WebData.WebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/webmatrix.webdata.websecurity", | |
"isCustom": false | |
} | |
], | |
"line": 54, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "566db8de-af49-43ae-aed8-5ca2a2d133e3", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "WebSecurity.Logout();", | |
"protectedSnippet": "M:WebMatrix.WebData.WebSecurity.Logout", | |
"label": "M:WebMatrix.WebData.WebSecurity.Logout", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/webmatrix.webdata.websecurity.logout", | |
"isCustom": false | |
} | |
], | |
"line": 54, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "98dffd64-89ca-46d1-88f6-615c8222fea0", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "public ActionResult Login(LoginModel model, string returnUrl)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 32, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "2ba1c19b-4997-4a7d-9da7-611bf63eb647", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ValidateAntiForgeryToken", | |
"protectedSnippet": "M:System.Web.Mvc.ValidateAntiForgeryTokenAttribute.#ctor", | |
"label": "M:System.Web.Mvc.ValidateAntiForgeryTokenAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.validateantiforgerytokenattribute.validateantiforgerytokenattribute", | |
"isCustom": false | |
} | |
], | |
"line": 34, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "32cf2f84-efaf-4357-8682-5458dc2ec1cd", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ValidateAntiForgeryToken", | |
"protectedSnippet": "T:System.Web.Mvc.ValidateAntiForgeryTokenAttribute", | |
"label": "T:System.Web.Mvc.ValidateAntiForgeryTokenAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.validateantiforgerytokenattribute", | |
"isCustom": false | |
} | |
], | |
"line": 34, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "d7a0520e-2480-4c51-a53c-301559361ce0", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AllowAnonymous", | |
"protectedSnippet": "M:System.Web.Mvc.AllowAnonymousAttribute.#ctor", | |
"label": "M:System.Web.Mvc.AllowAnonymousAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.allowanonymousattribute.allowanonymousattribute", | |
"isCustom": false | |
} | |
], | |
"line": 33, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "6b11cfb4-b127-4d5e-9c70-7f71ca47baf5", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.AllowAnonymousAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.AllowAnonymousAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AllowAnonymous", | |
"protectedSnippet": "T:System.Web.Mvc.AllowAnonymousAttribute", | |
"label": "T:System.Web.Mvc.AllowAnonymousAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.allowanonymousattribute", | |
"isCustom": false | |
} | |
], | |
"line": 33, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "5554e133-f81f-4a7f-977a-324ab157d4db", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"label": "M:System.Web.Mvc.HttpPostAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 32, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "b88892d2-d524-4968-99e6-6cd95c6ae498", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.HttpPostAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.HttpPostAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "HttpPost", | |
"protectedSnippet": "T:System.Web.Mvc.HttpPostAttribute", | |
"label": "T:System.Web.Mvc.HttpPostAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.httppostattribute", | |
"isCustom": false | |
} | |
], | |
"line": 32, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "02b42c5b-2feb-43e7-b085-c32b146681ec", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return View(model);", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 44, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "f723e093-2625-4c02-bd20-fc5693306c02", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return View(model);", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"label": "M:System.Web.Mvc.Controller.View(System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 44, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "6f54825d-7083-49a5-b374-2d62b12e3e41", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState.AddModelError(\u0022\u0022, \u0022The user name or password provided is incorrect.\u0022);", | |
"protectedSnippet": "T:System.Web.Mvc.ModelStateDictionary", | |
"label": "T:System.Web.Mvc.ModelStateDictionary", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary", | |
"isCustom": false | |
} | |
], | |
"line": 43, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "af2a8293-a1f7-46db-8817-d7319b9c784c", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState.AddModelError(\u0022\u0022, \u0022The user name or password provided is incorrect.\u0022);", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.ModelState", | |
"label": "P:System.Web.Mvc.Controller.ModelState", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.modelstate", | |
"isCustom": false | |
} | |
], | |
"line": 43, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "612eafb5-3678-4483-a44b-3fa3be9de8f8", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ModelState.AddModelError(\u0022\u0022, \u0022The user name or password provided is incorrect.\u0022);", | |
"protectedSnippet": "M:System.Web.Mvc.ModelStateDictionary.AddModelError(System.String,System.String)", | |
"label": "M:System.Web.Mvc.ModelStateDictionary.AddModelError(System.String,System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary.addmodelerror", | |
"isCustom": false | |
} | |
], | |
"line": 43, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "db904d3e-18fa-45c0-aed9-3bdcd02e2127", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return RedirectToLocal(returnUrl);", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 39, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "742da475-0708-41ab-9d8d-025b32b692ce", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (ModelState.IsValid \u0026\u0026 WebSecurity.Login(model.UserName, model.Password, persistCookie: model.RememberMe))\r\n {\r\n return RedirectToLocal(returnUrl);\r\n }", | |
"protectedSnippet": "T:WebMatrix.WebData.WebSecurity", | |
"label": "T:WebMatrix.WebData.WebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/webmatrix.webdata.websecurity", | |
"isCustom": false | |
} | |
], | |
"line": 37, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "f1ef92a9-35ee-4877-b7e7-e6394d6065a1", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (ModelState.IsValid \u0026\u0026 WebSecurity.Login(model.UserName, model.Password, persistCookie: model.RememberMe))\r\n {\r\n return RedirectToLocal(returnUrl);\r\n }", | |
"protectedSnippet": "M:WebMatrix.WebData.WebSecurity.Login(System.String,System.String,System.Boolean)", | |
"label": "M:WebMatrix.WebData.WebSecurity.Login(System.String,System.String,System.Boolean)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/webmatrix.webdata.websecurity.login", | |
"isCustom": false | |
} | |
], | |
"line": 37, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "ecd1b4e5-4994-434b-bd2b-517c4eb6878b", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (ModelState.IsValid \u0026\u0026 WebSecurity.Login(model.UserName, model.Password, persistCookie: model.RememberMe))\r\n {\r\n return RedirectToLocal(returnUrl);\r\n }", | |
"protectedSnippet": "T:System.Web.Mvc.ModelStateDictionary", | |
"label": "T:System.Web.Mvc.ModelStateDictionary", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary", | |
"isCustom": false | |
} | |
], | |
"line": 37, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "d553c249-6fbb-4b2f-be4b-06da7a8b6469", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (ModelState.IsValid \u0026\u0026 WebSecurity.Login(model.UserName, model.Password, persistCookie: model.RememberMe))\r\n {\r\n return RedirectToLocal(returnUrl);\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.Controller.ModelState", | |
"label": "P:System.Web.Mvc.Controller.ModelState", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.modelstate", | |
"isCustom": false | |
} | |
], | |
"line": 37, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "6968de8a-0f6d-4740-ab20-260d368c3a08", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "if (ModelState.IsValid \u0026\u0026 WebSecurity.Login(model.UserName, model.Password, persistCookie: model.RememberMe))\r\n {\r\n return RedirectToLocal(returnUrl);\r\n }", | |
"protectedSnippet": "P:System.Web.Mvc.ModelStateDictionary.IsValid", | |
"label": "P:System.Web.Mvc.ModelStateDictionary.IsValid", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelstatedictionary.isvalid", | |
"isCustom": false | |
} | |
], | |
"line": 37, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "9d516416-32f2-4147-8cd5-7f7cf3787f76", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ActionResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ActionResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "public ActionResult Login(string returnUrl)", | |
"protectedSnippet": "T:System.Web.Mvc.ActionResult", | |
"label": "T:System.Web.Mvc.ActionResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.actionresult", | |
"isCustom": false | |
} | |
], | |
"line": 22, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "ca941c8b-c9d4-44fd-8428-e08292468bb9", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AllowAnonymous", | |
"protectedSnippet": "M:System.Web.Mvc.AllowAnonymousAttribute.#ctor", | |
"label": "M:System.Web.Mvc.AllowAnonymousAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.allowanonymousattribute.allowanonymousattribute", | |
"isCustom": false | |
} | |
], | |
"line": 22, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "79a35842-9bff-4933-9106-f1799508eb98", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.AllowAnonymousAttribute is no longer supported. Use Microsoft.AspNetCore.Mvc.AllowAnonymousAttribute instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "AllowAnonymous", | |
"protectedSnippet": "T:System.Web.Mvc.AllowAnonymousAttribute", | |
"label": "T:System.Web.Mvc.AllowAnonymousAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.allowanonymousattribute", | |
"isCustom": false | |
} | |
], | |
"line": 22, | |
"column": 9 | |
} | |
}, | |
{ | |
"incidentId": "d420b260-eae8-4bc1-b9be-b4631dd67a4b", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.ViewResult is no longer supported. Use Microsoft.AspNetCore.Mvc.ViewResult instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return View();", | |
"protectedSnippet": "T:System.Web.Mvc.ViewResult", | |
"label": "T:System.Web.Mvc.ViewResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.viewresult", | |
"isCustom": false | |
} | |
], | |
"line": 26, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "53b1f1a0-d85f-43b8-aa60-0f0a07a3b4b4", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "return View();", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.View", | |
"label": "M:System.Web.Mvc.Controller.View", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.view", | |
"isCustom": false | |
} | |
], | |
"line": 26, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "8f8b9c20-0b3e-437f-bb03-9d99b3b48385", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "ViewBag.ReturnUrl = returnUrl;", | |
"protectedSnippet": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"label": "P:System.Web.Mvc.ControllerBase.ViewBag", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controllerbase.viewbag", | |
"isCustom": false | |
} | |
], | |
"line": 25, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "9a95aba1-d84d-44eb-b53a-2a56f580866f", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "Controller", | |
"protectedSnippet": "M:System.Web.Mvc.Controller.#ctor", | |
"label": "M:System.Web.Mvc.Controller.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller.controller", | |
"isCustom": false | |
} | |
], | |
"line": 17, | |
"column": 37 | |
} | |
}, | |
{ | |
"incidentId": "52970a09-f1ae-4be2-a6dd-e6a3314c6a13", | |
"ruleId": "Api.0001", | |
"description": "System.Web.Mvc.Controller is no longer supported. Use Microsoft.AspNetCore.Mvc.Controller instead.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Controllers\\AccountController.cs", | |
"snippet": "Controller", | |
"protectedSnippet": "T:System.Web.Mvc.Controller", | |
"label": "T:System.Web.Mvc.Controller", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controller", | |
"isCustom": false | |
} | |
], | |
"line": 17, | |
"column": 37 | |
} | |
}, | |
{ | |
"incidentId": "0d8b5205-bacb-4db6-8de0-c6c9fcd84555", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\ModelBinders\\DbGeographyModelBinder.cs", | |
"snippet": "public IModelBinder GetBinder(Type modelType)", | |
"protectedSnippet": "T:System.Web.Mvc.IModelBinder", | |
"label": "T:System.Web.Mvc.IModelBinder", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.imodelbinder", | |
"isCustom": false | |
} | |
], | |
"line": 28, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "d2c83093-3f41-4c2f-b7f7-a7e68a9741db", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\ModelBinders\\DbGeographyModelBinder.cs", | |
"snippet": "IModelBinderProvider", | |
"protectedSnippet": "T:System.Web.Mvc.IModelBinderProvider", | |
"label": "T:System.Web.Mvc.IModelBinderProvider", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.imodelbinderprovider", | |
"isCustom": false | |
} | |
], | |
"line": 26, | |
"column": 41 | |
} | |
}, | |
{ | |
"incidentId": "059fb712-e73d-43a8-bcf7-3d9c4f1ac29f", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\ModelBinders\\DbGeographyModelBinder.cs", | |
"snippet": "public override object BindModel(ControllerContext controllerContext, ModelBindingContext bindingContext)", | |
"protectedSnippet": "T:System.Web.Mvc.ModelBindingContext", | |
"label": "T:System.Web.Mvc.ModelBindingContext", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelbindingcontext", | |
"isCustom": false | |
} | |
], | |
"line": 11, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "bbd4c252-b2d8-436a-b786-0c2af0becb03", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\ModelBinders\\DbGeographyModelBinder.cs", | |
"snippet": "public override object BindModel(ControllerContext controllerContext, ModelBindingContext bindingContext)", | |
"protectedSnippet": "T:System.Web.Mvc.ControllerContext", | |
"label": "T:System.Web.Mvc.ControllerContext", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.controllercontext", | |
"isCustom": false | |
} | |
], | |
"line": 11, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "ad9f0b50-3690-4a61-82c7-0cdd1fe1ba22", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\ModelBinders\\DbGeographyModelBinder.cs", | |
"snippet": "DbGeography result = DbGeography.FromText(point, 4326);", | |
"protectedSnippet": "T:System.Data.Spatial.DbGeography", | |
"label": "T:System.Data.Spatial.DbGeography", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.spatial.dbgeography", | |
"isCustom": false | |
} | |
], | |
"line": 19, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "bdb784b1-cb0e-4b84-be23-c114765dd953", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\ModelBinders\\DbGeographyModelBinder.cs", | |
"snippet": "DbGeography result = DbGeography.FromText(point, 4326);", | |
"protectedSnippet": "M:System.Data.Spatial.DbGeography.FromText(System.String,System.Int32)", | |
"label": "M:System.Data.Spatial.DbGeography.FromText(System.String,System.Int32)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.data.spatial.dbgeography.fromtext", | |
"isCustom": false | |
} | |
], | |
"line": 19, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "b43336cb-ed3b-4518-a1d9-e8b1e14bff03", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\ModelBinders\\DbGeographyModelBinder.cs", | |
"snippet": "string[] latLongStr = valueProviderResult.AttemptedValue.Split(\u0027,\u0027);", | |
"protectedSnippet": "P:System.Web.Mvc.ValueProviderResult.AttemptedValue", | |
"label": "P:System.Web.Mvc.ValueProviderResult.AttemptedValue", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.valueproviderresult.attemptedvalue", | |
"isCustom": false | |
} | |
], | |
"line": 16, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "2fe895f1-fe8c-40e2-85e0-9fd7b8edd0a5", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\ModelBinders\\DbGeographyModelBinder.cs", | |
"snippet": "var valueProviderResult = bindingContext.ValueProvider.GetValue(bindingContext.ModelName);", | |
"protectedSnippet": "P:System.Web.Mvc.ModelBindingContext.ModelName", | |
"label": "P:System.Web.Mvc.ModelBindingContext.ModelName", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelbindingcontext.modelname", | |
"isCustom": false | |
} | |
], | |
"line": 13, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "6d0ce253-d7c0-4ece-85dd-174f807525b1", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\ModelBinders\\DbGeographyModelBinder.cs", | |
"snippet": "var valueProviderResult = bindingContext.ValueProvider.GetValue(bindingContext.ModelName);", | |
"protectedSnippet": "T:System.Web.Mvc.IValueProvider", | |
"label": "T:System.Web.Mvc.IValueProvider", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.ivalueprovider", | |
"isCustom": false | |
} | |
], | |
"line": 13, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "4d21502b-92ef-4151-84ab-2f39224d56a0", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\ModelBinders\\DbGeographyModelBinder.cs", | |
"snippet": "var valueProviderResult = bindingContext.ValueProvider.GetValue(bindingContext.ModelName);", | |
"protectedSnippet": "P:System.Web.Mvc.ModelBindingContext.ValueProvider", | |
"label": "P:System.Web.Mvc.ModelBindingContext.ValueProvider", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelbindingcontext.valueprovider", | |
"isCustom": false | |
} | |
], | |
"line": 13, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "5a7b7fa4-83e9-4b0b-a30f-a83150a2da62", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\ModelBinders\\DbGeographyModelBinder.cs", | |
"snippet": "var valueProviderResult = bindingContext.ValueProvider.GetValue(bindingContext.ModelName);", | |
"protectedSnippet": "T:System.Web.Mvc.ValueProviderResult", | |
"label": "T:System.Web.Mvc.ValueProviderResult", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.valueproviderresult", | |
"isCustom": false | |
} | |
], | |
"line": 13, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "c9d936e8-b8b4-44cb-a993-a60f6a5e8200", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\ModelBinders\\DbGeographyModelBinder.cs", | |
"snippet": "var valueProviderResult = bindingContext.ValueProvider.GetValue(bindingContext.ModelName);", | |
"protectedSnippet": "M:System.Web.Mvc.IValueProvider.GetValue(System.String)", | |
"label": "M:System.Web.Mvc.IValueProvider.GetValue(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.ivalueprovider.getvalue", | |
"isCustom": false | |
} | |
], | |
"line": 13, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "46a670ca-4b1e-4861-b341-737ab05a86b7", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\ModelBinders\\DbGeographyModelBinder.cs", | |
"snippet": "DefaultModelBinder", | |
"protectedSnippet": "M:System.Web.Mvc.DefaultModelBinder.#ctor", | |
"label": "M:System.Web.Mvc.DefaultModelBinder.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.defaultmodelbinder.defaultmodelbinder", | |
"isCustom": false | |
} | |
], | |
"line": 9, | |
"column": 42 | |
} | |
}, | |
{ | |
"incidentId": "a92af5a0-1863-45ef-8067-d0874a586bff", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\ModelBinders\\DbGeographyModelBinder.cs", | |
"snippet": "DefaultModelBinder", | |
"protectedSnippet": "T:System.Web.Mvc.DefaultModelBinder", | |
"label": "T:System.Web.Mvc.DefaultModelBinder", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.defaultmodelbinder", | |
"isCustom": false | |
} | |
], | |
"line": 9, | |
"column": 42 | |
} | |
}, | |
{ | |
"incidentId": "5ca217ef-154c-4bd6-b543-82fa9de6bd86", | |
"ruleId": "Api.0002", | |
"description": "API is available in package Microsoft.AspNetCore.SystemWebAdapters, 1.4.0.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "Application[\u0022Version\u0022] = string.Format(\u0022{0}.{1}\u0022, version.Major, version.Minor);", | |
"protectedSnippet": "T:System.Web.HttpApplicationState", | |
"label": "T:System.Web.HttpApplicationState", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.httpapplicationstate", | |
"isCustom": false | |
} | |
], | |
"line": 30, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "540f4021-a7a9-453b-9995-06b4c4fbbd04", | |
"ruleId": "Api.0002", | |
"description": "API is available in package Microsoft.AspNetCore.SystemWebAdapters, 1.4.0.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "Application[\u0022Version\u0022] = string.Format(\u0022{0}.{1}\u0022, version.Major, version.Minor);", | |
"protectedSnippet": "P:System.Web.HttpApplication.Application", | |
"label": "P:System.Web.HttpApplication.Application", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.httpapplication.application", | |
"isCustom": false | |
} | |
], | |
"line": 30, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "ef3c103b-8962-4a11-acf2-b898734e584e", | |
"ruleId": "Api.0002", | |
"description": "API is available in package Microsoft.AspNetCore.SystemWebAdapters, 1.4.0.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "Application[\u0022Version\u0022] = string.Format(\u0022{0}.{1}\u0022, version.Major, version.Minor);", | |
"protectedSnippet": "P:System.Web.HttpApplicationState.Item(System.String)", | |
"label": "P:System.Web.HttpApplicationState.Item(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.httpapplicationstate.this[string]", | |
"isCustom": false | |
} | |
], | |
"line": 30, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "49050479-f800-4d4a-9b4e-e9c89235a661", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "ModelBinderProviders.BinderProviders.Add(new EFModelBinderProvider());", | |
"protectedSnippet": "T:System.Web.Mvc.ModelBinderProviders", | |
"label": "T:System.Web.Mvc.ModelBinderProviders", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelbinderproviders", | |
"isCustom": false | |
} | |
], | |
"line": 27, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "7de254f2-ad5f-4b47-9dcd-d3ee1a48ba59", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "ModelBinderProviders.BinderProviders.Add(new EFModelBinderProvider());", | |
"protectedSnippet": "T:System.Web.Mvc.ModelBinderProviderCollection", | |
"label": "T:System.Web.Mvc.ModelBinderProviderCollection", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelbinderprovidercollection", | |
"isCustom": false | |
} | |
], | |
"line": 27, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "da3fbc84-6e3c-412b-a620-7576a84d0a76", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "ModelBinderProviders.BinderProviders.Add(new EFModelBinderProvider());", | |
"protectedSnippet": "P:System.Web.Mvc.ModelBinderProviders.BinderProviders", | |
"label": "P:System.Web.Mvc.ModelBinderProviders.BinderProviders", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.modelbinderproviders.binderproviders", | |
"isCustom": false | |
} | |
], | |
"line": 27, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "f41003e5-742a-4c57-b7e6-ac330aafecfd", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "BundleConfig.RegisterBundles(BundleTable.Bundles);", | |
"protectedSnippet": "T:System.Web.Optimization.BundleTable", | |
"label": "T:System.Web.Optimization.BundleTable", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundletable", | |
"isCustom": false | |
} | |
], | |
"line": 24, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "36b0bed7-8ad6-46c4-a9c1-dc952800246c", | |
"ruleId": "Api.0001", | |
"description": "Script and style bundling works differently in ASP.NET Core. BundleCollection should be replaced by alternative bundling technologies. For more details see https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "BundleConfig.RegisterBundles(BundleTable.Bundles);", | |
"protectedSnippet": "T:System.Web.Optimization.BundleCollection", | |
"label": "T:System.Web.Optimization.BundleCollection", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification", | |
"isCustom": false | |
} | |
], | |
"line": 24, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "33ace172-3a16-4412-ab32-94fee44a0f17", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "BundleConfig.RegisterBundles(BundleTable.Bundles);", | |
"protectedSnippet": "P:System.Web.Optimization.BundleTable.Bundles", | |
"label": "P:System.Web.Optimization.BundleTable.Bundles", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundletable.bundles", | |
"isCustom": false | |
} | |
], | |
"line": 24, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "5b7af5e7-36c9-4fdb-a4ca-b025251cb146", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "RouteConfig.RegisterRoutes(RouteTable.Routes);", | |
"protectedSnippet": "T:System.Web.Routing.RouteTable", | |
"label": "T:System.Web.Routing.RouteTable", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.routing.routetable", | |
"isCustom": false | |
} | |
], | |
"line": 23, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "8a61f10d-6b36-4532-9441-3d77a6098921", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "RouteConfig.RegisterRoutes(RouteTable.Routes);", | |
"protectedSnippet": "T:System.Web.Routing.RouteCollection", | |
"label": "T:System.Web.Routing.RouteCollection", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.routing.routecollection", | |
"isCustom": false | |
} | |
], | |
"line": 23, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "6cee4a81-3764-4d98-b7ff-a2fef346b038", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "RouteConfig.RegisterRoutes(RouteTable.Routes);", | |
"protectedSnippet": "P:System.Web.Routing.RouteTable.Routes", | |
"label": "P:System.Web.Routing.RouteTable.Routes", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.routing.routetable.routes", | |
"isCustom": false | |
} | |
], | |
"line": 23, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "4db896de-0065-493f-8b53-5c266db71d58", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);", | |
"protectedSnippet": "T:System.Web.Mvc.GlobalFilters", | |
"label": "T:System.Web.Mvc.GlobalFilters", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.globalfilters", | |
"isCustom": false | |
} | |
], | |
"line": 22, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "4518bca0-0dfa-4c5a-96f8-1beb0585717e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);", | |
"protectedSnippet": "T:System.Web.Mvc.GlobalFilterCollection", | |
"label": "T:System.Web.Mvc.GlobalFilterCollection", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.globalfiltercollection", | |
"isCustom": false | |
} | |
], | |
"line": 22, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "94fab2d1-0734-418b-89a0-9d4bc8b7e7e4", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);", | |
"protectedSnippet": "P:System.Web.Mvc.GlobalFilters.Filters", | |
"label": "P:System.Web.Mvc.GlobalFilters.Filters", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.globalfilters.filters", | |
"isCustom": false | |
} | |
], | |
"line": 22, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "93a5ca47-506d-4f1c-9778-b9062aa5f407", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "WebApiConfig.Register(GlobalConfiguration.Configuration);", | |
"protectedSnippet": "T:System.Web.Http.GlobalConfiguration", | |
"label": "T:System.Web.Http.GlobalConfiguration", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.http.globalconfiguration", | |
"isCustom": false | |
} | |
], | |
"line": 21, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "62e51b35-ef91-43ee-9842-6707605a728c", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "WebApiConfig.Register(GlobalConfiguration.Configuration);", | |
"protectedSnippet": "T:System.Web.Http.HttpConfiguration", | |
"label": "T:System.Web.Http.HttpConfiguration", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.http.httpconfiguration", | |
"isCustom": false | |
} | |
], | |
"line": 21, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "322d2a69-6ede-4ebc-9726-c51d6595a4ec", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "WebApiConfig.Register(GlobalConfiguration.Configuration);", | |
"protectedSnippet": "P:System.Web.Http.GlobalConfiguration.Configuration", | |
"label": "P:System.Web.Http.GlobalConfiguration.Configuration", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.http.globalconfiguration.configuration", | |
"isCustom": false | |
} | |
], | |
"line": 21, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "6972edd2-675f-4c7e-885e-38e6be6d2671", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "AreaRegistration.RegisterAllAreas();", | |
"protectedSnippet": "T:System.Web.Mvc.AreaRegistration", | |
"label": "T:System.Web.Mvc.AreaRegistration", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.arearegistration", | |
"isCustom": false | |
} | |
], | |
"line": 19, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "f7e4c6dc-e118-44d7-a79d-9069c8913cca", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "AreaRegistration.RegisterAllAreas();", | |
"protectedSnippet": "M:System.Web.Mvc.AreaRegistration.RegisterAllAreas", | |
"label": "M:System.Web.Mvc.AreaRegistration.RegisterAllAreas", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.arearegistration.registerallareas", | |
"isCustom": false | |
} | |
], | |
"line": 19, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "fcdcf590-8841-4687-a67d-6901592470d9", | |
"ruleId": "Api.0002", | |
"description": "API is available in package Microsoft.AspNetCore.SystemWebAdapters, 1.4.0.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "HttpApplication", | |
"protectedSnippet": "M:System.Web.HttpApplication.#ctor", | |
"label": "M:System.Web.HttpApplication.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.httpapplication.httpapplication", | |
"isCustom": false | |
} | |
], | |
"line": 15, | |
"column": 45 | |
} | |
}, | |
{ | |
"incidentId": "04348e05-d8d2-4a56-9f8f-1462c69ce778", | |
"ruleId": "Api.0002", | |
"description": "API is available in package Microsoft.AspNetCore.SystemWebAdapters, 1.4.0.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\Global.asax.cs", | |
"snippet": "HttpApplication", | |
"protectedSnippet": "T:System.Web.HttpApplication", | |
"label": "T:System.Web.HttpApplication", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.httpapplication", | |
"isCustom": false | |
} | |
], | |
"line": 15, | |
"column": 45 | |
} | |
}, | |
{ | |
"incidentId": "b2720343-be1d-4277-bf66-a57f1d578d2c", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\WebApiConfig.cs", | |
"snippet": "public static void Register(HttpConfiguration config)", | |
"protectedSnippet": "T:System.Web.Http.HttpConfiguration", | |
"label": "T:System.Web.Http.HttpConfiguration", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.http.httpconfiguration", | |
"isCustom": false | |
} | |
], | |
"line": 9, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "b50fcd7f-7c39-42cf-8bea-096812cc5965", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\WebApiConfig.cs", | |
"snippet": "config.Routes.MapHttpRoute(\r\n name: \u0022DefaultApi\u0022,\r\n routeTemplate: \u0022api/{controller}/{id}\u0022,\r\n defaults: new { id = RouteParameter.Optional }\r\n );", | |
"protectedSnippet": "T:System.Web.Http.RouteParameter", | |
"label": "T:System.Web.Http.RouteParameter", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.http.routeparameter", | |
"isCustom": false | |
} | |
], | |
"line": 11, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "f892ba8d-ad48-4c3d-9b5c-9c770a2f05b5", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\WebApiConfig.cs", | |
"snippet": "config.Routes.MapHttpRoute(\r\n name: \u0022DefaultApi\u0022,\r\n routeTemplate: \u0022api/{controller}/{id}\u0022,\r\n defaults: new { id = RouteParameter.Optional }\r\n );", | |
"protectedSnippet": "F:System.Web.Http.RouteParameter.Optional", | |
"label": "F:System.Web.Http.RouteParameter.Optional", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.http.routeparameter.optional", | |
"isCustom": false | |
} | |
], | |
"line": 11, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "b0e1a81e-07f3-4f7f-8f66-148eb4094d9e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\WebApiConfig.cs", | |
"snippet": "config.Routes.MapHttpRoute(\r\n name: \u0022DefaultApi\u0022,\r\n routeTemplate: \u0022api/{controller}/{id}\u0022,\r\n defaults: new { id = RouteParameter.Optional }\r\n );", | |
"protectedSnippet": "T:System.Web.Http.HttpRouteCollection", | |
"label": "T:System.Web.Http.HttpRouteCollection", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.http.httproutecollection", | |
"isCustom": false | |
} | |
], | |
"line": 11, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "f30c9f54-1909-454b-9306-2d12f07e57e2", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\WebApiConfig.cs", | |
"snippet": "config.Routes.MapHttpRoute(\r\n name: \u0022DefaultApi\u0022,\r\n routeTemplate: \u0022api/{controller}/{id}\u0022,\r\n defaults: new { id = RouteParameter.Optional }\r\n );", | |
"protectedSnippet": "P:System.Web.Http.HttpConfiguration.Routes", | |
"label": "P:System.Web.Http.HttpConfiguration.Routes", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.http.httpconfiguration.routes", | |
"isCustom": false | |
} | |
], | |
"line": 11, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "8aa316c0-202f-4603-acf4-a44b71f4d7e4", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\WebApiConfig.cs", | |
"snippet": "config.Routes.MapHttpRoute(\r\n name: \u0022DefaultApi\u0022,\r\n routeTemplate: \u0022api/{controller}/{id}\u0022,\r\n defaults: new { id = RouteParameter.Optional }\r\n );", | |
"protectedSnippet": "T:System.Web.Http.HttpRouteCollectionExtensions", | |
"label": "T:System.Web.Http.HttpRouteCollectionExtensions", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.http.httproutecollectionextensions", | |
"isCustom": false | |
} | |
], | |
"line": 11, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "6c69adf2-558a-499c-bce5-7ae3a4825d02", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\WebApiConfig.cs", | |
"snippet": "config.Routes.MapHttpRoute(\r\n name: \u0022DefaultApi\u0022,\r\n routeTemplate: \u0022api/{controller}/{id}\u0022,\r\n defaults: new { id = RouteParameter.Optional }\r\n );", | |
"protectedSnippet": "T:System.Web.Http.Routing.IHttpRoute", | |
"label": "T:System.Web.Http.Routing.IHttpRoute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.http.routing.ihttproute", | |
"isCustom": false | |
} | |
], | |
"line": 11, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "3932da99-bc3c-4a80-a7c9-0640ac628234", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\WebApiConfig.cs", | |
"snippet": "config.Routes.MapHttpRoute(\r\n name: \u0022DefaultApi\u0022,\r\n routeTemplate: \u0022api/{controller}/{id}\u0022,\r\n defaults: new { id = RouteParameter.Optional }\r\n );", | |
"protectedSnippet": "M:System.Web.Http.HttpRouteCollectionExtensions.MapHttpRoute(System.Web.Http.HttpRouteCollection,System.String,System.String,System.Object)", | |
"label": "M:System.Web.Http.HttpRouteCollectionExtensions.MapHttpRoute(System.Web.Http.HttpRouteCollection,System.String,System.String,System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.http.httproutecollectionextensions.maphttproute", | |
"isCustom": false | |
} | |
], | |
"line": 11, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "46752437-b7fa-44cf-878e-9b175b12c565", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\RouteConfig.cs", | |
"snippet": "public static void RegisterRoutes(RouteCollection routes)", | |
"protectedSnippet": "T:System.Web.Routing.RouteCollection", | |
"label": "T:System.Web.Routing.RouteCollection", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.routing.routecollection", | |
"isCustom": false | |
} | |
], | |
"line": 11, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "21683e27-2951-4955-af77-83ef4e6a2a11", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\RouteConfig.cs", | |
"snippet": "routes.MapRoute(\r\n name: \u0022Default\u0022,\r\n url: \u0022{controller}/{action}/{id}\u0022,\r\n defaults: new { controller = \u0022Home\u0022, action = \u0022Index\u0022, id = UrlParameter.Optional }\r\n );", | |
"protectedSnippet": "T:System.Web.Mvc.UrlParameter", | |
"label": "T:System.Web.Mvc.UrlParameter", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.urlparameter", | |
"isCustom": false | |
} | |
], | |
"line": 22, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "9b91da01-3464-4916-9341-02dcba277ec9", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\RouteConfig.cs", | |
"snippet": "routes.MapRoute(\r\n name: \u0022Default\u0022,\r\n url: \u0022{controller}/{action}/{id}\u0022,\r\n defaults: new { controller = \u0022Home\u0022, action = \u0022Index\u0022, id = UrlParameter.Optional }\r\n );", | |
"protectedSnippet": "F:System.Web.Mvc.UrlParameter.Optional", | |
"label": "F:System.Web.Mvc.UrlParameter.Optional", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.urlparameter.optional", | |
"isCustom": false | |
} | |
], | |
"line": 22, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "f7e54e37-6a6d-478b-bf45-e34c7b86ec3d", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\RouteConfig.cs", | |
"snippet": "routes.MapRoute(\r\n name: \u0022Default\u0022,\r\n url: \u0022{controller}/{action}/{id}\u0022,\r\n defaults: new { controller = \u0022Home\u0022, action = \u0022Index\u0022, id = UrlParameter.Optional }\r\n );", | |
"protectedSnippet": "T:System.Web.Mvc.RouteCollectionExtensions", | |
"label": "T:System.Web.Mvc.RouteCollectionExtensions", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.routecollectionextensions", | |
"isCustom": false | |
} | |
], | |
"line": 22, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "3ebd1b31-082f-4511-8e39-5e9afb8760aa", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\RouteConfig.cs", | |
"snippet": "routes.MapRoute(\r\n name: \u0022Default\u0022,\r\n url: \u0022{controller}/{action}/{id}\u0022,\r\n defaults: new { controller = \u0022Home\u0022, action = \u0022Index\u0022, id = UrlParameter.Optional }\r\n );", | |
"protectedSnippet": "T:System.Web.Routing.Route", | |
"label": "T:System.Web.Routing.Route", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.routing.route", | |
"isCustom": false | |
} | |
], | |
"line": 22, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "d6130623-7867-476a-b9c4-5e8f7dbfee5e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\RouteConfig.cs", | |
"snippet": "routes.MapRoute(\r\n name: \u0022Default\u0022,\r\n url: \u0022{controller}/{action}/{id}\u0022,\r\n defaults: new { controller = \u0022Home\u0022, action = \u0022Index\u0022, id = UrlParameter.Optional }\r\n );", | |
"protectedSnippet": "M:System.Web.Mvc.RouteCollectionExtensions.MapRoute(System.Web.Routing.RouteCollection,System.String,System.String,System.Object)", | |
"label": "M:System.Web.Mvc.RouteCollectionExtensions.MapRoute(System.Web.Routing.RouteCollection,System.String,System.String,System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.routecollectionextensions.maproute", | |
"isCustom": false | |
} | |
], | |
"line": 22, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "7a32ec11-c65c-4f50-b860-3cc2b0c48f66", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\RouteConfig.cs", | |
"snippet": "routes.MapRoute(\r\n \u0022PrettyDetails\u0022,\r\n \u0022{Id}\u0022,\r\n new { controller = \u0022Dinners\u0022, action = \u0022Details\u0022 },\r\n new { Id = @\u0022\\d\u002B\u0022 }\r\n );", | |
"protectedSnippet": "T:System.Web.Mvc.RouteCollectionExtensions", | |
"label": "T:System.Web.Mvc.RouteCollectionExtensions", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.routecollectionextensions", | |
"isCustom": false | |
} | |
], | |
"line": 15, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "076fad14-d6b1-4582-9b64-4b817ecb3a78", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\RouteConfig.cs", | |
"snippet": "routes.MapRoute(\r\n \u0022PrettyDetails\u0022,\r\n \u0022{Id}\u0022,\r\n new { controller = \u0022Dinners\u0022, action = \u0022Details\u0022 },\r\n new { Id = @\u0022\\d\u002B\u0022 }\r\n );", | |
"protectedSnippet": "T:System.Web.Routing.Route", | |
"label": "T:System.Web.Routing.Route", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.routing.route", | |
"isCustom": false | |
} | |
], | |
"line": 15, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "b84412e7-d077-42df-8ac1-5ad828d6158a", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\RouteConfig.cs", | |
"snippet": "routes.MapRoute(\r\n \u0022PrettyDetails\u0022,\r\n \u0022{Id}\u0022,\r\n new { controller = \u0022Dinners\u0022, action = \u0022Details\u0022 },\r\n new { Id = @\u0022\\d\u002B\u0022 }\r\n );", | |
"protectedSnippet": "M:System.Web.Mvc.RouteCollectionExtensions.MapRoute(System.Web.Routing.RouteCollection,System.String,System.String,System.Object,System.Object)", | |
"label": "M:System.Web.Mvc.RouteCollectionExtensions.MapRoute(System.Web.Routing.RouteCollection,System.String,System.String,System.Object,System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.routecollectionextensions.maproute", | |
"isCustom": false | |
} | |
], | |
"line": 15, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "c302d1bd-cd57-448b-9683-25640e1e34b2", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\RouteConfig.cs", | |
"snippet": "routes.IgnoreRoute(\u0022{resource}.axd/{*pathInfo}\u0022);", | |
"protectedSnippet": "T:System.Web.Mvc.RouteCollectionExtensions", | |
"label": "T:System.Web.Mvc.RouteCollectionExtensions", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.routecollectionextensions", | |
"isCustom": false | |
} | |
], | |
"line": 13, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "1915220a-2c4d-4859-a5da-ba150af7a524", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\RouteConfig.cs", | |
"snippet": "routes.IgnoreRoute(\u0022{resource}.axd/{*pathInfo}\u0022);", | |
"protectedSnippet": "M:System.Web.Mvc.RouteCollectionExtensions.IgnoreRoute(System.Web.Routing.RouteCollection,System.String)", | |
"label": "M:System.Web.Mvc.RouteCollectionExtensions.IgnoreRoute(System.Web.Routing.RouteCollection,System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.routecollectionextensions.ignoreroute", | |
"isCustom": false | |
} | |
], | |
"line": 13, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "a0a3b718-f3ef-462f-a397-416c8d274dad", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\FilterConfig.cs", | |
"snippet": "public static void RegisterGlobalFilters(GlobalFilterCollection filters)", | |
"protectedSnippet": "T:System.Web.Mvc.GlobalFilterCollection", | |
"label": "T:System.Web.Mvc.GlobalFilterCollection", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.globalfiltercollection", | |
"isCustom": false | |
} | |
], | |
"line": 7, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "249cf8a1-12a5-49fd-ad6b-4582cf02b1cf", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\FilterConfig.cs", | |
"snippet": "filters.Add(new HandleErrorAttribute());", | |
"protectedSnippet": "T:System.Web.Mvc.HandleErrorAttribute", | |
"label": "T:System.Web.Mvc.HandleErrorAttribute", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.handleerrorattribute", | |
"isCustom": false | |
} | |
], | |
"line": 9, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "d36c5066-67b0-4e18-9d31-88da90bdef62", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\FilterConfig.cs", | |
"snippet": "filters.Add(new HandleErrorAttribute());", | |
"protectedSnippet": "M:System.Web.Mvc.HandleErrorAttribute.#ctor", | |
"label": "M:System.Web.Mvc.HandleErrorAttribute.#ctor", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.handleerrorattribute.handleerrorattribute", | |
"isCustom": false | |
} | |
], | |
"line": 9, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "02cacec6-5394-4149-b02f-1032a5b249ef", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\FilterConfig.cs", | |
"snippet": "filters.Add(new HandleErrorAttribute());", | |
"protectedSnippet": "M:System.Web.Mvc.GlobalFilterCollection.Add(System.Object)", | |
"label": "M:System.Web.Mvc.GlobalFilterCollection.Add(System.Object)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.mvc.globalfiltercollection.add", | |
"isCustom": false | |
} | |
], | |
"line": 9, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "104f1de7-57f8-4d0f-b472-68c21c9d647e", | |
"ruleId": "Api.0001", | |
"description": "Script and style bundling works differently in ASP.NET Core. BundleCollection should be replaced by alternative bundling technologies. For more details see https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification.", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "public static void RegisterBundles(BundleCollection bundles)", | |
"protectedSnippet": "T:System.Web.Optimization.BundleCollection", | |
"label": "T:System.Web.Optimization.BundleCollection", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification", | |
"isCustom": false | |
} | |
], | |
"line": 8, | |
"column": 8 | |
} | |
}, | |
{ | |
"incidentId": "0522df81-c8c5-47c3-8a05-b8b14ca5fd18", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new StyleBundle(\u0022~/Content/jquerymobile\u0022).Include(\r\n \u0022~/Content/jquery.mobile-{version}.css\u0022,\r\n \u0022~/Content/jquery.mobile.structure-{version}.css\u0022,\r\n \u0022~/Content/jquery.mobile.theme-{version}.css\u0022));", | |
"protectedSnippet": "T:System.Web.Optimization.StyleBundle", | |
"label": "T:System.Web.Optimization.StyleBundle", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.stylebundle", | |
"isCustom": false | |
} | |
], | |
"line": 50, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "96a63aa8-2981-4699-9268-704fa5fbda33", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new StyleBundle(\u0022~/Content/jquerymobile\u0022).Include(\r\n \u0022~/Content/jquery.mobile-{version}.css\u0022,\r\n \u0022~/Content/jquery.mobile.structure-{version}.css\u0022,\r\n \u0022~/Content/jquery.mobile.theme-{version}.css\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.StyleBundle.#ctor(System.String)", | |
"label": "M:System.Web.Optimization.StyleBundle.#ctor(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.stylebundle.stylebundle", | |
"isCustom": false | |
} | |
], | |
"line": 50, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "631d5b72-722c-4a8f-a845-f4705664551e", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new StyleBundle(\u0022~/Content/jquerymobile\u0022).Include(\r\n \u0022~/Content/jquery.mobile-{version}.css\u0022,\r\n \u0022~/Content/jquery.mobile.structure-{version}.css\u0022,\r\n \u0022~/Content/jquery.mobile.theme-{version}.css\u0022));", | |
"protectedSnippet": "T:System.Web.Optimization.Bundle", | |
"label": "T:System.Web.Optimization.Bundle", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundle", | |
"isCustom": false | |
} | |
], | |
"line": 50, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "63aa11e5-b25b-406c-9107-faba430c3c47", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new StyleBundle(\u0022~/Content/jquerymobile\u0022).Include(\r\n \u0022~/Content/jquery.mobile-{version}.css\u0022,\r\n \u0022~/Content/jquery.mobile.structure-{version}.css\u0022,\r\n \u0022~/Content/jquery.mobile.theme-{version}.css\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.Bundle.Include(System.String[])", | |
"label": "M:System.Web.Optimization.Bundle.Include(System.String[])", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundle.include", | |
"isCustom": false | |
} | |
], | |
"line": 50, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "12a97fc8-7db0-4717-bbba-3468e9da56e7", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new StyleBundle(\u0022~/Content/jquerymobile\u0022).Include(\r\n \u0022~/Content/jquery.mobile-{version}.css\u0022,\r\n \u0022~/Content/jquery.mobile.structure-{version}.css\u0022,\r\n \u0022~/Content/jquery.mobile.theme-{version}.css\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle)", | |
"label": "M:System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundlecollection.add", | |
"isCustom": false | |
} | |
], | |
"line": 50, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "a1b64275-a539-4fa8-a367-5e13cc460866", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new StyleBundle(\u0022~/Content/themes/base/css\u0022).Include(\r\n \u0022~/Content/themes/base/jquery.ui.core.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.resizable.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.selectable.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.accordion.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.autocomplete.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.button.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.dialog.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.slider.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.tabs.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.datepicker.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.progressbar.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.theme.css\u0022));", | |
"protectedSnippet": "T:System.Web.Optimization.StyleBundle", | |
"label": "T:System.Web.Optimization.StyleBundle", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.stylebundle", | |
"isCustom": false | |
} | |
], | |
"line": 36, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "737a8240-dc03-4b20-8c02-953b0992cb32", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new StyleBundle(\u0022~/Content/themes/base/css\u0022).Include(\r\n \u0022~/Content/themes/base/jquery.ui.core.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.resizable.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.selectable.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.accordion.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.autocomplete.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.button.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.dialog.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.slider.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.tabs.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.datepicker.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.progressbar.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.theme.css\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.StyleBundle.#ctor(System.String)", | |
"label": "M:System.Web.Optimization.StyleBundle.#ctor(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.stylebundle.stylebundle", | |
"isCustom": false | |
} | |
], | |
"line": 36, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "5ca64d47-80c9-4fc6-9457-013458849284", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new StyleBundle(\u0022~/Content/themes/base/css\u0022).Include(\r\n \u0022~/Content/themes/base/jquery.ui.core.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.resizable.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.selectable.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.accordion.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.autocomplete.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.button.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.dialog.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.slider.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.tabs.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.datepicker.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.progressbar.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.theme.css\u0022));", | |
"protectedSnippet": "T:System.Web.Optimization.Bundle", | |
"label": "T:System.Web.Optimization.Bundle", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundle", | |
"isCustom": false | |
} | |
], | |
"line": 36, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "1879249b-6347-4b85-84e9-247ebe9fa8f7", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new StyleBundle(\u0022~/Content/themes/base/css\u0022).Include(\r\n \u0022~/Content/themes/base/jquery.ui.core.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.resizable.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.selectable.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.accordion.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.autocomplete.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.button.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.dialog.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.slider.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.tabs.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.datepicker.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.progressbar.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.theme.css\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.Bundle.Include(System.String[])", | |
"label": "M:System.Web.Optimization.Bundle.Include(System.String[])", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundle.include", | |
"isCustom": false | |
} | |
], | |
"line": 36, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "05800996-11b4-47e9-bfb5-e6003ec27cd8", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new StyleBundle(\u0022~/Content/themes/base/css\u0022).Include(\r\n \u0022~/Content/themes/base/jquery.ui.core.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.resizable.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.selectable.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.accordion.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.autocomplete.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.button.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.dialog.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.slider.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.tabs.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.datepicker.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.progressbar.css\u0022,\r\n \u0022~/Content/themes/base/jquery.ui.theme.css\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle)", | |
"label": "M:System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundlecollection.add", | |
"isCustom": false | |
} | |
], | |
"line": 36, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "ae6a3c53-9d99-441b-b2a7-10800d0848d8", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new StyleBundle(\u0022~/Content/css\u0022).Include(\u0022~/Content/site.css\u0022));", | |
"protectedSnippet": "T:System.Web.Optimization.StyleBundle", | |
"label": "T:System.Web.Optimization.StyleBundle", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.stylebundle", | |
"isCustom": false | |
} | |
], | |
"line": 34, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "fade33f6-fc91-416a-9680-ac07d6c34098", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new StyleBundle(\u0022~/Content/css\u0022).Include(\u0022~/Content/site.css\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.StyleBundle.#ctor(System.String)", | |
"label": "M:System.Web.Optimization.StyleBundle.#ctor(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.stylebundle.stylebundle", | |
"isCustom": false | |
} | |
], | |
"line": 34, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "a184a22c-6820-4756-81ad-cd13fc0e9ecd", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new StyleBundle(\u0022~/Content/css\u0022).Include(\u0022~/Content/site.css\u0022));", | |
"protectedSnippet": "T:System.Web.Optimization.Bundle", | |
"label": "T:System.Web.Optimization.Bundle", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundle", | |
"isCustom": false | |
} | |
], | |
"line": 34, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "dcba3567-9d93-4925-8ad9-1981473e91d5", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new StyleBundle(\u0022~/Content/css\u0022).Include(\u0022~/Content/site.css\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.Bundle.Include(System.String[])", | |
"label": "M:System.Web.Optimization.Bundle.Include(System.String[])", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundle.include", | |
"isCustom": false | |
} | |
], | |
"line": 34, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "f0a86558-8f74-46d6-aabd-a15a750b5d37", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new StyleBundle(\u0022~/Content/css\u0022).Include(\u0022~/Content/site.css\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle)", | |
"label": "M:System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundlecollection.add", | |
"isCustom": false | |
} | |
], | |
"line": 34, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "aa73af79-615e-4b6e-a4d5-2f33b09a47c0", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/yepnope\u0022).Include(\r\n \u0022~/Scripts/yepnope.{version}.js\u0022));", | |
"protectedSnippet": "T:System.Web.Optimization.ScriptBundle", | |
"label": "T:System.Web.Optimization.ScriptBundle", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.scriptbundle", | |
"isCustom": false | |
} | |
], | |
"line": 31, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "46fa5cfd-de59-4a54-8a45-f3af1bab42b8", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/yepnope\u0022).Include(\r\n \u0022~/Scripts/yepnope.{version}.js\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.ScriptBundle.#ctor(System.String)", | |
"label": "M:System.Web.Optimization.ScriptBundle.#ctor(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.scriptbundle.scriptbundle", | |
"isCustom": false | |
} | |
], | |
"line": 31, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "f82aa716-8720-48c7-ac51-0e7dacb27920", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/yepnope\u0022).Include(\r\n \u0022~/Scripts/yepnope.{version}.js\u0022));", | |
"protectedSnippet": "T:System.Web.Optimization.Bundle", | |
"label": "T:System.Web.Optimization.Bundle", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundle", | |
"isCustom": false | |
} | |
], | |
"line": 31, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "b09fa715-d657-4453-8833-24f0ced35e9c", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/yepnope\u0022).Include(\r\n \u0022~/Scripts/yepnope.{version}.js\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.Bundle.Include(System.String[])", | |
"label": "M:System.Web.Optimization.Bundle.Include(System.String[])", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundle.include", | |
"isCustom": false | |
} | |
], | |
"line": 31, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "f4b1d4d1-a9ed-4478-a2e5-bed8494ad1dc", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/yepnope\u0022).Include(\r\n \u0022~/Scripts/yepnope.{version}.js\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle)", | |
"label": "M:System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundlecollection.add", | |
"isCustom": false | |
} | |
], | |
"line": 31, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "320a85f2-b951-47e0-ba2a-8399c86e9874", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/knockout\u0022).Include(\r\n \u0022~/Scripts/knockout-*\u0022));", | |
"protectedSnippet": "T:System.Web.Optimization.ScriptBundle", | |
"label": "T:System.Web.Optimization.ScriptBundle", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.scriptbundle", | |
"isCustom": false | |
} | |
], | |
"line": 28, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "05743bab-c800-4b34-a499-2bf479c1b3eb", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/knockout\u0022).Include(\r\n \u0022~/Scripts/knockout-*\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.ScriptBundle.#ctor(System.String)", | |
"label": "M:System.Web.Optimization.ScriptBundle.#ctor(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.scriptbundle.scriptbundle", | |
"isCustom": false | |
} | |
], | |
"line": 28, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "4c37e87a-30af-46b2-9246-c1f2d7ee62e2", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/knockout\u0022).Include(\r\n \u0022~/Scripts/knockout-*\u0022));", | |
"protectedSnippet": "T:System.Web.Optimization.Bundle", | |
"label": "T:System.Web.Optimization.Bundle", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundle", | |
"isCustom": false | |
} | |
], | |
"line": 28, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "b259f4ee-da0f-4709-9934-1a77b0d058fa", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/knockout\u0022).Include(\r\n \u0022~/Scripts/knockout-*\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.Bundle.Include(System.String[])", | |
"label": "M:System.Web.Optimization.Bundle.Include(System.String[])", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundle.include", | |
"isCustom": false | |
} | |
], | |
"line": 28, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "fa841316-3e7a-4df4-9fe8-e9f88dbf68f7", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/knockout\u0022).Include(\r\n \u0022~/Scripts/knockout-*\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle)", | |
"label": "M:System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundlecollection.add", | |
"isCustom": false | |
} | |
], | |
"line": 28, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "cec599c5-63ad-43b6-9f44-d14de90e192a", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/modernizr\u0022).Include(\r\n \u0022~/Scripts/modernizr-*\u0022));", | |
"protectedSnippet": "T:System.Web.Optimization.ScriptBundle", | |
"label": "T:System.Web.Optimization.ScriptBundle", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.scriptbundle", | |
"isCustom": false | |
} | |
], | |
"line": 25, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "4d02b7f9-b76d-4e5b-afda-9adf04893304", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/modernizr\u0022).Include(\r\n \u0022~/Scripts/modernizr-*\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.ScriptBundle.#ctor(System.String)", | |
"label": "M:System.Web.Optimization.ScriptBundle.#ctor(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.scriptbundle.scriptbundle", | |
"isCustom": false | |
} | |
], | |
"line": 25, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "5cc3ccb0-ba9f-46ca-aaaa-cb53c076ed85", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/modernizr\u0022).Include(\r\n \u0022~/Scripts/modernizr-*\u0022));", | |
"protectedSnippet": "T:System.Web.Optimization.Bundle", | |
"label": "T:System.Web.Optimization.Bundle", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundle", | |
"isCustom": false | |
} | |
], | |
"line": 25, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "bc40b46e-fd5a-4c8b-a281-03bf3f3e6132", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/modernizr\u0022).Include(\r\n \u0022~/Scripts/modernizr-*\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.Bundle.Include(System.String[])", | |
"label": "M:System.Web.Optimization.Bundle.Include(System.String[])", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundle.include", | |
"isCustom": false | |
} | |
], | |
"line": 25, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "78b542cd-f67a-438b-933a-c04a03120802", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/modernizr\u0022).Include(\r\n \u0022~/Scripts/modernizr-*\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle)", | |
"label": "M:System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundlecollection.add", | |
"isCustom": false | |
} | |
], | |
"line": 25, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "8b1c3300-e62a-4eb6-8423-925a842f3db7", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/jquerymobile\u0022).Include(\r\n \u0022~/Scripts/jquery.mobile-{version}.js\u0022));", | |
"protectedSnippet": "T:System.Web.Optimization.ScriptBundle", | |
"label": "T:System.Web.Optimization.ScriptBundle", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.scriptbundle", | |
"isCustom": false | |
} | |
], | |
"line": 20, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "4e1ae67d-d2d5-45c5-a1c0-60098e64a457", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/jquerymobile\u0022).Include(\r\n \u0022~/Scripts/jquery.mobile-{version}.js\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.ScriptBundle.#ctor(System.String)", | |
"label": "M:System.Web.Optimization.ScriptBundle.#ctor(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.scriptbundle.scriptbundle", | |
"isCustom": false | |
} | |
], | |
"line": 20, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "9c95f1ef-c545-4a78-86c9-84570b402df7", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/jquerymobile\u0022).Include(\r\n \u0022~/Scripts/jquery.mobile-{version}.js\u0022));", | |
"protectedSnippet": "T:System.Web.Optimization.Bundle", | |
"label": "T:System.Web.Optimization.Bundle", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundle", | |
"isCustom": false | |
} | |
], | |
"line": 20, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "a6ead38b-f6b0-4b13-8e03-27695ced42b2", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/jquerymobile\u0022).Include(\r\n \u0022~/Scripts/jquery.mobile-{version}.js\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.Bundle.Include(System.String[])", | |
"label": "M:System.Web.Optimization.Bundle.Include(System.String[])", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundle.include", | |
"isCustom": false | |
} | |
], | |
"line": 20, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "cb60de3a-3edc-4b88-81c6-19d335b323f0", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/jquerymobile\u0022).Include(\r\n \u0022~/Scripts/jquery.mobile-{version}.js\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle)", | |
"label": "M:System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundlecollection.add", | |
"isCustom": false | |
} | |
], | |
"line": 20, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "19993c78-a077-414e-ad13-2b26626f2d3d", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/jqueryval\u0022).Include(\r\n \u0022~/Scripts/jquery.unobtrusive*\u0022,\r\n \u0022~/Scripts/jquery.validate*\u0022));", | |
"protectedSnippet": "T:System.Web.Optimization.ScriptBundle", | |
"label": "T:System.Web.Optimization.ScriptBundle", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.scriptbundle", | |
"isCustom": false | |
} | |
], | |
"line": 16, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "82a54962-cb80-47ab-ad29-089940fe7199", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/jqueryval\u0022).Include(\r\n \u0022~/Scripts/jquery.unobtrusive*\u0022,\r\n \u0022~/Scripts/jquery.validate*\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.ScriptBundle.#ctor(System.String)", | |
"label": "M:System.Web.Optimization.ScriptBundle.#ctor(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.scriptbundle.scriptbundle", | |
"isCustom": false | |
} | |
], | |
"line": 16, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "2289b9e7-0a99-4639-beb7-b4c506cb1846", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/jqueryval\u0022).Include(\r\n \u0022~/Scripts/jquery.unobtrusive*\u0022,\r\n \u0022~/Scripts/jquery.validate*\u0022));", | |
"protectedSnippet": "T:System.Web.Optimization.Bundle", | |
"label": "T:System.Web.Optimization.Bundle", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundle", | |
"isCustom": false | |
} | |
], | |
"line": 16, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "b9955512-056e-4724-8ff7-0ca188b3cb58", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/jqueryval\u0022).Include(\r\n \u0022~/Scripts/jquery.unobtrusive*\u0022,\r\n \u0022~/Scripts/jquery.validate*\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.Bundle.Include(System.String[])", | |
"label": "M:System.Web.Optimization.Bundle.Include(System.String[])", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundle.include", | |
"isCustom": false | |
} | |
], | |
"line": 16, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "d66b227a-87a5-4320-b415-cbce5eb4b708", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/jqueryval\u0022).Include(\r\n \u0022~/Scripts/jquery.unobtrusive*\u0022,\r\n \u0022~/Scripts/jquery.validate*\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle)", | |
"label": "M:System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundlecollection.add", | |
"isCustom": false | |
} | |
], | |
"line": 16, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "0396fa74-0fe3-4e72-8bd7-58934971657a", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/jqueryui\u0022).Include(\r\n \u0022~/Scripts/jquery-ui-{version}.js\u0022));", | |
"protectedSnippet": "T:System.Web.Optimization.ScriptBundle", | |
"label": "T:System.Web.Optimization.ScriptBundle", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.scriptbundle", | |
"isCustom": false | |
} | |
], | |
"line": 13, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "30063412-ff07-4e63-9d3d-9f5036252d82", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/jqueryui\u0022).Include(\r\n \u0022~/Scripts/jquery-ui-{version}.js\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.ScriptBundle.#ctor(System.String)", | |
"label": "M:System.Web.Optimization.ScriptBundle.#ctor(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.scriptbundle.scriptbundle", | |
"isCustom": false | |
} | |
], | |
"line": 13, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "85077e4b-c8e1-40b7-9d2c-91e6d1eecb14", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/jqueryui\u0022).Include(\r\n \u0022~/Scripts/jquery-ui-{version}.js\u0022));", | |
"protectedSnippet": "T:System.Web.Optimization.Bundle", | |
"label": "T:System.Web.Optimization.Bundle", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundle", | |
"isCustom": false | |
} | |
], | |
"line": 13, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "b865d146-3a78-4383-b4f1-9c9701a5518d", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/jqueryui\u0022).Include(\r\n \u0022~/Scripts/jquery-ui-{version}.js\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.Bundle.Include(System.String[])", | |
"label": "M:System.Web.Optimization.Bundle.Include(System.String[])", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundle.include", | |
"isCustom": false | |
} | |
], | |
"line": 13, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "b715e39b-7d58-419e-8584-15e81ada28c7", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/jqueryui\u0022).Include(\r\n \u0022~/Scripts/jquery-ui-{version}.js\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle)", | |
"label": "M:System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundlecollection.add", | |
"isCustom": false | |
} | |
], | |
"line": 13, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "0c4e2c4a-1ad2-4e6b-a6da-366aa0fc7e2c", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/jquery\u0022).Include(\r\n \u0022~/Scripts/jquery-{version}.js\u0022));", | |
"protectedSnippet": "T:System.Web.Optimization.ScriptBundle", | |
"label": "T:System.Web.Optimization.ScriptBundle", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.scriptbundle", | |
"isCustom": false | |
} | |
], | |
"line": 10, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "4982e911-10a9-4177-8dc8-1922610f41b8", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/jquery\u0022).Include(\r\n \u0022~/Scripts/jquery-{version}.js\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.ScriptBundle.#ctor(System.String)", | |
"label": "M:System.Web.Optimization.ScriptBundle.#ctor(System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.scriptbundle.scriptbundle", | |
"isCustom": false | |
} | |
], | |
"line": 10, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "dfad7613-8c59-41df-abb0-373c95026baf", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/jquery\u0022).Include(\r\n \u0022~/Scripts/jquery-{version}.js\u0022));", | |
"protectedSnippet": "T:System.Web.Optimization.Bundle", | |
"label": "T:System.Web.Optimization.Bundle", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundle", | |
"isCustom": false | |
} | |
], | |
"line": 10, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "162ae37e-3055-40ff-a57f-171b01b864d3", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/jquery\u0022).Include(\r\n \u0022~/Scripts/jquery-{version}.js\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.Bundle.Include(System.String[])", | |
"label": "M:System.Web.Optimization.Bundle.Include(System.String[])", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundle.include", | |
"isCustom": false | |
} | |
], | |
"line": 10, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "87a6ff63-bfe8-4308-8adb-c101e3de16d1", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\BundleConfig.cs", | |
"snippet": "bundles.Add(new ScriptBundle(\u0022~/bundles/jquery\u0022).Include(\r\n \u0022~/Scripts/jquery-{version}.js\u0022));", | |
"protectedSnippet": "M:System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle)", | |
"label": "M:System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.optimization.bundlecollection.add", | |
"isCustom": false | |
} | |
], | |
"line": 10, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "55c7e752-140c-4636-a8ce-bdeb1a45b8a6", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\AuthConfig.cs", | |
"snippet": "OAuthWebSecurity.RegisterGoogleClient();", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 44, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "decf0832-bb9c-4739-882c-ac47d17a04ad", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\AuthConfig.cs", | |
"snippet": "OAuthWebSecurity.RegisterGoogleClient();", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.RegisterGoogleClient", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.RegisterGoogleClient", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.registergoogleclient", | |
"isCustom": false | |
} | |
], | |
"line": 44, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "e7e4a288-585d-4be2-bcb0-19839429970f", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\AuthConfig.cs", | |
"snippet": "OAuthWebSecurity.RegisterFacebookClient(\r\n appId: facebookAppId,\r\n appSecret: facebookAppSecret);", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 39, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "3aafa70e-912a-4eb2-98f2-2cd9d98159d3", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\AuthConfig.cs", | |
"snippet": "OAuthWebSecurity.RegisterFacebookClient(\r\n appId: facebookAppId,\r\n appSecret: facebookAppSecret);", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.RegisterFacebookClient(System.String,System.String)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.RegisterFacebookClient(System.String,System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.registerfacebookclient", | |
"isCustom": false | |
} | |
], | |
"line": 39, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "47480434-321d-4900-b758-6ca109624334", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\AuthConfig.cs", | |
"snippet": "var facebookAppSecret = WebConfigurationManager.AppSettings[\u0022facebookAppSecret\u0022];", | |
"protectedSnippet": "T:System.Web.Configuration.WebConfigurationManager", | |
"label": "T:System.Web.Configuration.WebConfigurationManager", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.configuration.webconfigurationmanager", | |
"isCustom": false | |
} | |
], | |
"line": 36, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "2c1ea0d0-bda3-4ace-bbe7-fc35aee0ba57", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\AuthConfig.cs", | |
"snippet": "var facebookAppSecret = WebConfigurationManager.AppSettings[\u0022facebookAppSecret\u0022];", | |
"protectedSnippet": "P:System.Web.Configuration.WebConfigurationManager.AppSettings", | |
"label": "P:System.Web.Configuration.WebConfigurationManager.AppSettings", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.configuration.webconfigurationmanager.appsettings", | |
"isCustom": false | |
} | |
], | |
"line": 36, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "d62f8f62-d132-4035-a0c0-cd308d836275", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\AuthConfig.cs", | |
"snippet": "var facebookAppId = WebConfigurationManager.AppSettings[\u0022facebookAppId\u0022];", | |
"protectedSnippet": "T:System.Web.Configuration.WebConfigurationManager", | |
"label": "T:System.Web.Configuration.WebConfigurationManager", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.configuration.webconfigurationmanager", | |
"isCustom": false | |
} | |
], | |
"line": 35, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "0584e847-0c65-4c25-8730-33ba138aded6", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\AuthConfig.cs", | |
"snippet": "var facebookAppId = WebConfigurationManager.AppSettings[\u0022facebookAppId\u0022];", | |
"protectedSnippet": "P:System.Web.Configuration.WebConfigurationManager.AppSettings", | |
"label": "P:System.Web.Configuration.WebConfigurationManager.AppSettings", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.configuration.webconfigurationmanager.appsettings", | |
"isCustom": false | |
} | |
], | |
"line": 35, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "f9ef0d10-6d55-4199-9ebe-dc26f9846e26", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\AuthConfig.cs", | |
"snippet": "OAuthWebSecurity.RegisterTwitterClient(\r\n consumerKey: twitterConsumerKey,\r\n consumerSecret: twitterConsumerSecret);", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 30, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "9b66c740-f90b-466b-bf1a-16651ded93bb", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\AuthConfig.cs", | |
"snippet": "OAuthWebSecurity.RegisterTwitterClient(\r\n consumerKey: twitterConsumerKey,\r\n consumerSecret: twitterConsumerSecret);", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.RegisterTwitterClient(System.String,System.String)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.RegisterTwitterClient(System.String,System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.registertwitterclient", | |
"isCustom": false | |
} | |
], | |
"line": 30, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "00e5e083-2805-4985-9c17-c7c64a5e3061", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\AuthConfig.cs", | |
"snippet": "var twitterConsumerSecret = WebConfigurationManager.AppSettings[\u0022twitterConsumerSecret\u0022];", | |
"protectedSnippet": "T:System.Web.Configuration.WebConfigurationManager", | |
"label": "T:System.Web.Configuration.WebConfigurationManager", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.configuration.webconfigurationmanager", | |
"isCustom": false | |
} | |
], | |
"line": 27, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "d0074273-8f6d-4331-96a7-1d3d28fe5842", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\AuthConfig.cs", | |
"snippet": "var twitterConsumerSecret = WebConfigurationManager.AppSettings[\u0022twitterConsumerSecret\u0022];", | |
"protectedSnippet": "P:System.Web.Configuration.WebConfigurationManager.AppSettings", | |
"label": "P:System.Web.Configuration.WebConfigurationManager.AppSettings", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.configuration.webconfigurationmanager.appsettings", | |
"isCustom": false | |
} | |
], | |
"line": 27, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "61728bac-2918-4bf6-bb64-50d84b66fbdb", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\AuthConfig.cs", | |
"snippet": "var twitterConsumerKey = WebConfigurationManager.AppSettings[\u0022twitterConsumerKey\u0022];", | |
"protectedSnippet": "T:System.Web.Configuration.WebConfigurationManager", | |
"label": "T:System.Web.Configuration.WebConfigurationManager", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.configuration.webconfigurationmanager", | |
"isCustom": false | |
} | |
], | |
"line": 26, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "074d1655-97ca-4584-aada-a82c40eb75ac", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\AuthConfig.cs", | |
"snippet": "var twitterConsumerKey = WebConfigurationManager.AppSettings[\u0022twitterConsumerKey\u0022];", | |
"protectedSnippet": "P:System.Web.Configuration.WebConfigurationManager.AppSettings", | |
"label": "P:System.Web.Configuration.WebConfigurationManager.AppSettings", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.configuration.webconfigurationmanager.appsettings", | |
"isCustom": false | |
} | |
], | |
"line": 26, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "9ce687e7-3046-40b9-97a0-178e3dda2565", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\AuthConfig.cs", | |
"snippet": "OAuthWebSecurity.RegisterMicrosoftClient(\r\n clientId: microsoftClientId,\r\n clientSecret: microsoftClientSecret);", | |
"protectedSnippet": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"label": "T:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity", | |
"isCustom": false | |
} | |
], | |
"line": 21, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "4357ccf7-d90f-482f-8b7d-22459bb4764d", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\AuthConfig.cs", | |
"snippet": "OAuthWebSecurity.RegisterMicrosoftClient(\r\n clientId: microsoftClientId,\r\n clientSecret: microsoftClientSecret);", | |
"protectedSnippet": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.RegisterMicrosoftClient(System.String,System.String)", | |
"label": "M:Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.RegisterMicrosoftClient(System.String,System.String)", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/microsoft.web.webpages.oauth.oauthwebsecurity.registermicrosoftclient", | |
"isCustom": false | |
} | |
], | |
"line": 21, | |
"column": 16 | |
} | |
}, | |
{ | |
"incidentId": "d42637c3-ea6b-4927-80a3-868f2339a8ad", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\AuthConfig.cs", | |
"snippet": "var microsoftClientSecret = WebConfigurationManager.AppSettings[\u0022microsoftClientSecret\u0022];", | |
"protectedSnippet": "T:System.Web.Configuration.WebConfigurationManager", | |
"label": "T:System.Web.Configuration.WebConfigurationManager", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.configuration.webconfigurationmanager", | |
"isCustom": false | |
} | |
], | |
"line": 18, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "6fc34b6d-d9c8-4972-99c2-cd639edc446b", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\AuthConfig.cs", | |
"snippet": "var microsoftClientSecret = WebConfigurationManager.AppSettings[\u0022microsoftClientSecret\u0022];", | |
"protectedSnippet": "P:System.Web.Configuration.WebConfigurationManager.AppSettings", | |
"label": "P:System.Web.Configuration.WebConfigurationManager.AppSettings", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.configuration.webconfigurationmanager.appsettings", | |
"isCustom": false | |
} | |
], | |
"line": 18, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "316aff49-e15e-4865-b397-0d240f0e3a19", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\AuthConfig.cs", | |
"snippet": "var microsoftClientId = WebConfigurationManager.AppSettings[\u0022microsoftClientId\u0022];", | |
"protectedSnippet": "T:System.Web.Configuration.WebConfigurationManager", | |
"label": "T:System.Web.Configuration.WebConfigurationManager", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.configuration.webconfigurationmanager", | |
"isCustom": false | |
} | |
], | |
"line": 17, | |
"column": 12 | |
} | |
}, | |
{ | |
"incidentId": "e98b8986-5624-478b-a5a8-3f88e230e535", | |
"ruleId": "Api.0001", | |
"projectPath": "NerdDinner\\NerdDinner.csproj", | |
"state": "Active", | |
"location": { | |
"kind": "File", | |
"path": "NerdDinner\\App_Start\\AuthConfig.cs", | |
"snippet": "var microsoftClientId = WebConfigurationManager.AppSettings[\u0022microsoftClientId\u0022];", | |
"protectedSnippet": "P:System.Web.Configuration.WebConfigurationManager.AppSettings", | |
"label": "P:System.Web.Configuration.WebConfigurationManager.AppSettings", | |
"links": [ | |
{ | |
"title": "API documentation", | |
"url": "https://learn.microsoft.com/dotnet/api/system.web.configuration.webconfigurationmanager.appsettings", | |
"isCustom": false | |
} | |
], | |
"line": 17, | |
"column": 12 | |
} | |
} | |
] | |
} | |
], | |
"rules": { | |
"NuGet.0001": { | |
"id": "NuGet.0001", | |
"description": "NuGet package is incompatible with selected target framework.\n\nPackage needs to be upgraded to a version supporting selected project target framework. If there no new package versions supporting new target framework, different package needs to be used and all code needs to be upgraded to new API.", | |
"label": "NuGet package is incompatible", | |
"severity": "Mandatory", | |
"effort": 1, | |
"links": [ | |
{ | |
"url": "https://go.microsoft.com/fwlink/?linkid=2262529", | |
"isCustom": false | |
} | |
] | |
}, | |
"NuGet.0002": { | |
"id": "NuGet.0002", | |
"description": "NuGet package upgrade is recommended for selected target framework.\n\nStandard .NET packages are recommended to have versions matching version of .NET that project targets.\n\nSome other packages also are known to work better for selected target frameworks.", | |
"label": "NuGet package upgrade is recommended", | |
"severity": "Potential", | |
"effort": 1, | |
"links": [ | |
{ | |
"url": "https://go.microsoft.com/fwlink/?linkid=2262530", | |
"isCustom": false | |
} | |
] | |
}, | |
"NuGet.0003": { | |
"id": "NuGet.0003", | |
"description": "NuGet package functionality is included with framework refrence.\n\nPackage needs to be removed.", | |
"label": "NuGet package functionality is included with framework refrence", | |
"severity": "Mandatory", | |
"effort": 1, | |
"links": [ | |
{ | |
"url": "https://go.microsoft.com/fwlink/?linkid=2262609", | |
"isCustom": false | |
} | |
] | |
}, | |
"NuGet.0004": { | |
"id": "NuGet.0004", | |
"description": "NuGet package contains security vulnerabilities.\n\nPackage needs to be upgraded to a newer version that addresses known security vulnerabilities.", | |
"label": "NuGet package contains security vulnerability", | |
"severity": "Optional", | |
"effort": 1 | |
}, | |
"NuGet.0005": { | |
"id": "NuGet.0005", | |
"description": "NuGet package is deprecated.\n\nGo to its documentation and if there is a guidance for replacement of functionality provided by this package.", | |
"label": "NuGet package is deprecated", | |
"severity": "Optional", | |
"effort": 1, | |
"links": [ | |
{ | |
"url": "https://go.microsoft.com/fwlink/?linkid=2262531", | |
"isCustom": false | |
} | |
] | |
}, | |
"Project.0001": { | |
"id": "Project.0001", | |
"description": "Project file needs to be converted to SDK style. Modern .NET framework projects require a change in the project file format and use SDK corresponding to project flavor and functionality.", | |
"label": "Project file needs to be converted to SDK style", | |
"severity": "Mandatory", | |
"effort": 1, | |
"links": [ | |
{ | |
"title": "Overview of porting from .NET Framework to .NET", | |
"url": "https://go.microsoft.com/fwlink/?linkid=2265227", | |
"isCustom": false | |
}, | |
{ | |
"title": ".NET project SDKs", | |
"url": "https://go.microsoft.com/fwlink/?linkid=2265226", | |
"isCustom": false | |
} | |
] | |
}, | |
"Project.0002": { | |
"id": "Project.0002", | |
"description": "Project\u0027s target framework(s) needs to be changed to the new target framework that you selected for this upgrade.\n\nDuring upgrade target framework will be adjusted to correspinding platform when applicable. In some cases project would result in multiple target frameworks after the upgrade if it was using features that now have their own platforms in moderrn .NET frameworks (windows, iOS, Android etc).", | |
"label": "Project\u0027s target framework(s) needs to be changed", | |
"severity": "Mandatory", | |
"effort": 1, | |
"links": [ | |
{ | |
"title": "Overview of porting from .NET Framework to .NET", | |
"url": "https://go.microsoft.com/fwlink/?linkid=2265227", | |
"isCustom": false | |
}, | |
{ | |
"title": ".NET project SDKs", | |
"url": "https://go.microsoft.com/fwlink/?linkid=2265226", | |
"isCustom": false | |
} | |
] | |
}, | |
"Api.0002": { | |
"id": "Api.0002", | |
"description": "Some API that lived in older versions of .NET frameworks were moved to standalone NuGet packages that could be added to projects explicitly.", | |
"label": "API available in NuGet package", | |
"severity": "Potential", | |
"effort": 1, | |
"links": [ | |
{ | |
"title": "Breaking changes in .NET", | |
"url": "https://go.microsoft.com/fwlink/?linkid=2262679", | |
"isCustom": false | |
} | |
] | |
}, | |
"Api.0001": { | |
"id": "Api.0001", | |
"description": "API does not exist in the selected version of .NET. See breaking changes documentation for alternative or replacement functionality.", | |
"label": "API does not exist", | |
"severity": "Mandatory", | |
"effort": 1, | |
"links": [ | |
{ | |
"title": "Breaking changes in .NET", | |
"url": "https://go.microsoft.com/fwlink/?linkid=2262679", | |
"isCustom": false | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment