I am new to MVC and was wondering what is the easiest way to design page layouts? I am used to using web forms and dragging and dropping controls in design mode but seems like we don’t have that luxury in MVC.
My second question is what is Razor?
Sorry if my questions are simple…
what is the easiest way to design page layouts?
Learn HTML and CSS and find some ready made templates. You can also use a UI framework like
Bootstrap to get you started, but you still need to learn HTML and CSS.
what is Razor?
templating syntax. It enables you to mix C# (or VB) server code with HTML in View files to generate HTML dynamically.