I would like to prepare my existing asp.net web forms application for a smooth conversion to asp.net mvc. I have architected my app as follows
- POCO entity layer is used to pass through all tiers
- Data layer
- Business layer
- UI layer - no view state; no post back; only two things are in code behind, a) populating form, list view, dropdown etc. in page load; b) web methods to support jQuery client side ajax. Web methods are very light, mainly passthrough to business layer and return either JSON or html back to client.
Is there anything else that I could do to ensure a smooth conversion to asp.net mvc?
I am thinking my conversion tasks will be
- Port the UI markup to a view
- Port the page load code in to a controller action, and render the view
- Port the web methods to a controller action, and return JSON
Did I miss any thing? Any gotcha/surprise that I should anticipate?
Thanks so much.