asp .net mvc を使用して、post と get を使用してフォームを送信します。私のコントローラーでは、ポスト引数にのみアクセスできますが、GET 引数にはアクセスできません。
ここに私のHTMLフォームがあります:
<form name="input" action="/account/Login/?test=123" method="post">
   Username: <input type="text" name="username">
   Lastname: <input type="text" name="lastname">
   Password: <input type="text" name="password">
<input type="submit" value="Submit">
</form>
私のコントローラー:
[AcceptVerbs(HttpVerbs.Get | HttpVerbs.Post)]
public ActionResult Login(User model)
{
   string test = Request.QueryString["test"]; // this is null
}
コントローラーでもこれを試しましたが、役に立ちませんでした...
[AcceptVerbs(HttpVerbs.Get | HttpVerbs.Post)]
    public ActionResult Login(User model, string test)
    {
        // but "test" is also  null
    }