Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6880575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:59:29+00:00 2026-05-27T04:59:29+00:00

I started learning ASP.NET MVC3. So, while reading tutorials online and in books, I

  • 0

I started learning ASP.NET MVC3.

So, while reading tutorials online and in books, I came across this term “view engine” quite frequently. I don’t know what it is.

What does it actually do?

Why should it matter to me at all?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T04:59:30+00:00Added an answer on May 27, 2026 at 4:59 am

    The view engine is responsible for creating HTML from your views. Views are usually some kind of mixup of HTML and a programming language. The pattern behind most of these is called two-step view.

    For example, ASP.NET comes with its own view engine out of the box. That is the one where views have lots of tags like <% %> and <%: %>. It uses the .aspx file extension.

    With ASP.NET MVC3, another out-of-the-box view engine was added, Razor, which has a more appealing syntax, e.g. <div>@Model.UserName</div>.

    The choice of view engine is important, because the feature sets of view engines are quite different. Some support rendering to PDF files, for instance; some can’t be used outside a web context (this is true for the old ASP.NET view engine), while others can (e.g. Razor). ‘Offline’ rendering of views comes in handy when you want to create HTML emails the same way you build your views and those emails should be sent from a background worker rather than a web application.

    There’s a nice comparison of asp.net view engines here on SO.

    The good news is that you can use multiple view engines in parallel in ASP.NET MVC, though I wouldn’t recommend it unless necessary.

    There are some very nice extension points in the Razor engine already. For example, you can provide a custom view base class, a powerful concept that makes it easy to add a lot of functionality in the right place without having to mess with all the gritty details that you’d have to cope with otherwise.

    I’d currently go for Razor.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So today I started learning ASP.NET. Unfortunately I haven't found any good tutorials online,
1) A while ago I’ve started learning Asp.Net, but then I’ve heard that Ajax
I am learning ASP.NET MVC. I started reading MVC in Action and Pro ASP.NET
I've just started learning ASP.net and I can't seem to get the GridView to
I haven’t yet started learning Asp.Net 4.0, but I did read a bit on
To learn ASP.net I started building a todo web app(web forms not MVC), this
I recently started learning about ASP.Net MVC and its various features MVC_3_MUSIC_STORE + CODE
I started learning asp.net recently and when I try to add a script manager
I just started learning about ASP.NET, and I have a couple of questions. Am
I have just started to work on web applications, and learning to use ASP.Net.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.