Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a requirement. We already have a web application developed in asp.net using 3 tier architecture. Now we need to change the application and use HTML5 for desiging new layouts. This application should support Responsive design. But this application as of now need not be using MVC as this would need a change in the architecture level. I need guidance and suggestion from you experienced guys on how to proceed.

Thanks in Advance
Posted
Updated 8-Apr-14 4:42am
v2

1 solution

1.The ASP.NET web forms use basically server side controls that generates the javascript code needed to postback the data to the server, mantain the state of the controls between postbacks, and so on. So these those ASP.NET controls generate too much code and a excessive number of roundtrips to the server, so it is not very recommended to use webforms.

2.HTML5 is mainly client side, so it has very little to do with the webforms server controls. It's a different approach than the old ASP.NET webforms. Because of this, ASP.NET is including on its newer versions the MVC framework, the razor engine, JQuery and another javascriprt libraries. MVC includes some helper classes and templates that helps you generating the client code, and many other features to support HTML5 enabled webs.

3.Because now your code behind for managing user actions from the web pages are very linked to ASP.NET events model and with ASP.NET controls, the best solution that I recommend is to use ASP.NET MVC, and the changes will be mainly at the UI level, and the new controller classes will implement the user actions that in your case should be reimplemented even if you don’t use MVC.

4.So I don’t see any major architectural change in using ASP.NET MVC! You have just to replace the old "ASP.NET Web Forms" project with a new ASP.NET MVC project, then in your controller to use your existing Business Logic Layer.
 
Share this answer
 
v2
Comments
Dinesh.V.Kumar 8-Apr-14 13:03pm    
Thanks for you suggestion Raul!!This gives me some thing to work on...

Regards
Dinesh Kumar.V.
Raul Iloc 9-Apr-14 1:27am    
Welcome! I am glad that I could help you.
Dinesh.V.Kumar 9-Apr-14 8:44am    
Thanks once again Raul!!!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900