c# - How do I get request parameters in ASP.NET MVC -


How can I create an object object in ASP and get and receive post parameters in .NET MVC.

I can not define them in the verb constructor, I want to draw information directly from the request.

You can do this:

  string strparam = HttpContext.Current .equest ["someParameter"];  

Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -