Solved

HTML OR RAZOR?

Posted on 2014-09-30
1
96 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 74

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now