I am looking at the beta version of running .net core api in Google Cloud Functions.
https://cloud.google.com/functions/docs/quickstart-dotnet
I have a rest api running in AWS lambda and i am planning to to migrate to Google Cloud Functions.
I want to understand if we can run a full fledged api with multiple endpoints like api/method1 , api/method2 etc like lambda or is it not possible right now in google cloud function. Examples showed in the page just listens to a single url.
I also tried adding the
[FunctionsStartup(typeof(Startup))]
And in the startup, I added the controllers like below, but routing to the controller is not happening
public override void ConfigureServices(WebHostBuilderContext context, IServiceCollection services)
{
services.AddControllers();
Can someone please clarify?