Solved

HTML OR RAZOR?

Posted on 2014-09-30
1
103 Views
Last Modified: 2014-12-23
I am getting stuck into MVC after many years of web forms and classic asp.

When reviewing some of the videos on pluralsight etc, some instructors seem to use html and some use the razor engine. I am very much in favour of speed in my apps and am also very keen on using angularjs.

I am just wondering if the majority of developers are using html rendered with jquery or angular etc or are they sticking with the razor engine?

Thanks
0
Comment
Question by:Soluga
1 Comment
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
ID: 40351906
Razor supplements HTML, it does not replace it. Razor is for including your server-side logic into a view. You will always be sending HTML to the client. There is no reason that you can't use Razor and angular.js together:  I've done so myself.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
There is a huge demand for CodeIgniter among the PHP web developers due to its dynamic features and benefits these days. It is one of most popular and agile open source PHP framework for creating robust web applications in PHP web development field.…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…

823 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question