Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ViewData["SOME VALUE"] も返されますか? そうでない場合、なぜですか?
デフォルトの json actionresult は、モデルをシリアル化するだけです。しかし、viewdata をシリアル化する独自の実装を作成しても問題ありません。コードプレックスからソースをダウンロードし、デフォルトの実装を見て、それを書き直すことができます。