.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 年前264 查看次数
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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则