title: Failed to find method - AWS .NET Core 3.1 Mock Lambda Test Tool
body: <p>I am trying use/setup the AWS .NET Core 3.1 Mock Lambda Test Tool. </p>
  
  <p>Currently I am going to launch the application via the tool, however, once I try and send a request I receive the error "Failed to find method Init".</p>
  
  <p>Inside the <code>aws-lambda-tools-defaults.json</code> I setting the <code>function-handler</code> to the following:</p>
  
  <pre class="lang-js prettyprint-override"><code>"function-handler": "Some.Example.Assembly::Some.Example.Namespace.LambdaProgram::Init"
  </code></pre>
  
  <p>The LambdaProgram.cs file looks like the following:</p>
  
  <pre class="lang-cs prettyprint-override"><code>using Amazon.Lambda.AspNetCoreServer;
  using Microsoft.AspNetCore.Hosting;
  
  namespace Some.Example.Namespace
  {
      public class LambdaProgram : APIGatewayHttpApiV2ProxyFunction
      {
          protected override void Init(IWebHostBuilder builder)
          {
              builder.UseStartup&lt;Startup&gt;();
          }
      }
  }
  
  </code></pre>
  
  <p>The format seems correct to me unless I am misreading the documentation?</p>
  
  <p>Inside the <code>bin/</code> directory the dll and exe have the matching names, i.e. "Some.Example.Assembly.exe" &amp; "Some.Example.Assembly.dll".</p>
  
  <p>If I change the <code>function-handler</code> path then I can make it throw an error for the type. But I do not understand why it cannot find the function Init? The application builds and the <code>LambdaProgram</code> is implementing the AWS interface as required.</p>
  
  <p>Any help would be amazing, I really want to be able to test/debug locally before deploying (This is an existing application in production - this is just a case of lamabda migration)</p>