working with an .aspx page with in asp.net mvc 2 -
i'm new asp.net mvc.
i created default asp.net mvc project in vs , can see when make call controller's action this: "http://localhost:2528/home/about" home controller has action method "about" returning about.aspx view. seeing not seeing .aspx extension in browser's url. , when try browse "http://localhost:2528/home/about.aspx" 404 error.
i have requirement need create .aspx page passed arguement via url this: "http://... /myaspxpagehere.aspx?argname=myarg"
i'm not sure how asp.net mvc. and/or code examples appreciated.
thanks
asp.net mvc not use .aspx
extension in client-facing urls.
if want accept arguments querystring, should add parameters action methods.
Comments
Post a Comment