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

  • Home
  • SEARCH
  • 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 8921829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:39:37+00:00 2026-06-15T06:39:37+00:00

Including Pre-Compiled Views in an ASP.NET MVC Web Application Reference please see above blog.

  • 0

Including Pre-Compiled Views in an ASP.NET MVC Web Application

Reference

please see above blog. am trying to create class library of user control in MVC 3.
with reference to above blog i have created class library write view in it.
but problem is how to register that view in my consumer application as partial view.
PrecompiledMvcEngine is not found in nuget. which will register precompiled view in asp.net MVC application.

Give me an example how to do it?

  • 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-06-15T06:39:38+00:00Added an answer on June 15, 2026 at 6:39 am

    Basically you need to register a virtual path provider

    1. You must register a VirtualPathProvider in the Global.asax Application_Start handler.
    2. You must call the view in your DLL using the special path like so:
      return View("~/foldernameofdlllocation/nameofdll.dll/nameofview.cshtml");

    To help track down the location of your view within the dll use something like reflector or telerik’s JustDecopile (Free).

    This blog post may be useful for you:

    http://www.wynia.org/wordpress/2008/12/aspnet-mvc-plugins/

    This Question may also be of use:

    Using VirtualPathProvider to load ASP.NET MVC views from DLLs

    Code Sample from blog post:

    http://www.wynia.org/download/aspnetmvc-plugin-poc/POC.MVCPluginDemo.zip

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

Sidebar

Related Questions

We are getting the error above on some pages of an ASP.NET MVC application
I see so much code including stdafx.h. Say, I do not want pre-compiled headers.
I'm using the <pre> tag to display preformatted text (including line breaks, spaces and
Is including a application package prefix while defining a custom action string is convention
I compiled my application, and it used to work fine. When I build normally
I wonder if exist a pre-made objective-c library to work with paypal, including with
I am trying to build a project with the allegro-msvc80-4.2.2 pre-built package. I'm using
I have moved what was a C# ASP Web Site over to be a
I have an MVC 3 application that works fine when running locally from visual
I need to know this since this is a pre-req for .NET 3.5 and

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.