我有一个页面,用户可以在其中单击"Add Step“按钮,一些javascript会在表单中添加来自<template>标记的附加输入的行。从控制器进行调试时,这些值为空。我看了以下帖子,但两个答案在这里似乎都没有帮助(不确定是不是因为我在使用.Net核心--可能不是): Get post data with unknown number of variables inASP MVC Passing data from Form with variable number of inputs - <em