.Net 6.0 Filters issue with AWS Lambda

0

I am developing AWS serverless application in .net 6.0. I have implemented 2 filters, IAuthorizationFilter and IActionFilter in my application. Both work fine on my local machine. But When I deploy my application on AWS lambda, Action filter is not working properly. I get response from both Action filter and controller. It is expected that I should get result only from action filter, which works fine on local environment. Please suggest solution for this issue

  • What errors are you getting? Can you please post the actual error ?

已提問 2 年前檢視次數 265 次
1 個回答
0

Hello,

Thanks for reaching out!

I was looking over your question and discussing this with a few of my colleagues and the best place to get some assistance would be our aws-lambda-dotnet GitHub repository: https://github.com/aws/aws-lambda-dotnet

If you can share your code sample there the developers can take a better peek and make some recommendations.

AWS
支援工程師
Tim_P
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南