ASP.NET core without IIS
Is it possible now with v3 of your ASP.NET control to build a solution that doesn't require IIS?
Would this article apply to a solution built with your control for ASP.NET core for use with an Apache server?
I tried debugging your AspNetCoreSamples.sln from the v3 trial setup, but get this error:
An error occurred while starting the application.
Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass4_0.<UseMiddleware>b__0(RequestDelegate next)
-
InvalidOperationException: No public 'Invoke' or 'InvokeAsync' method found.
-
Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass4_0.<UseMiddleware>b__0(RequestDelegate next)
-
Microsoft.AspNetCore.Builder.Internal.ApplicationBuilder.Build()
-
Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
-
-
System.InvalidOperationException: No public 'Invoke' or 'InvokeAsync' method found. at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass4_0.<UseMiddleware>b__0(RequestDelegate next) at Microsoft.AspNetCore.Builder.Internal.ApplicationBuilder.Build() at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
Hello, Marc.
We need more information to understand the reason for this problem.
1. Do you use ASP.NET Core over classic .NET Framework or pure ASP.NET Core? The current version of AQB can work only over the classic .NET Framework. We are planning to add support for pure Core next month.
2. Does the provided sample work under the Visual Studio with and without IIS on your side? We have tested it in both configurations and it works just fine on our side.
3. Please try to remove the AQB middleware ("app.UseActiveQueryBuilder();" in the Startup.cs file) from your project and check that this problem has gone. This way we will check that this problem relates to Active Query Builder.