Implementing a normal website inside ASP.NET MVC 2

Posted by cc0 on Stack Overflow See other posts from Stack Overflow or by cc0
Published on 2010-03-27T14:17:23Z Indexed on 2010/03/27 14:23 UTC
Read the original article Hit count: 316

Filed under:
|
|
|

I have a website consisting of an index.html, a number of style sheet files as well as some javascript files. Then I needed a way for this site to communicate efficiently with a Microsoft SQL Server, so I was recommended to use the MVC framework to facilitate that kind of communication. I created the C#.net controller code needed to output the necessary information from the database using URL parameters, so now I am trying to put the whole web-site together inside the MVC framework.

I started an empty project-template in MVC 2 framework.

I'm sure there must be a good way to implement the current code into this framework, but I am very uncertain as to what the best approach to this would be. Could anyone point me in the right direction here? I'm not sure whether I need to change any of the current HTML, or exactly what to add to it. I'd love to see some kind of guide or tutorial, or just any advice I can get as I try to learn this.

Any help is very much appreciated!

© Stack Overflow or respective owner

Related posts about asp.net-mvc2

Related posts about asp.net-mvc