Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

HTML OR RAZOR?

Posted on 2014-09-30
1
Medium Priority
?
134 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 2000 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

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

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

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 article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Suggested Courses
Course of the Month14 days, 18 hours left to enroll

577 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