Click here to Skip to main content
13,090,299 members (76,650 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » General » Downloads

Stats

106.3K views
11K downloads
144 bookmarked
Posted 1 Apr 2012

.NET 4.0 ASP.NET MVC 3 plug-in architecture with embedded views

, 8 Jul 2013
MVC 3 plugin architecture with embedded razor views: steb-by-step description and demo application.
MvcPlugin
Binaries
BoC.Web.Mvc.PrecompiledViews.dll
Commons.Web.Mvc.PrecompiledViews.dll
System.Web.Helpers.dll
System.Web.Mvc.dll
System.Web.Razor.dll
System.Web.WebPages.dll
System.Web.WebPages.Razor.dll
PluginBin
Debug
PluginTest.Infrastructure
bin
Debug
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
Properties
PluginTest.PluginManager
bin
Debug
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
Properties
PluginTest.Plugins.Calendar
bin
Debug
Controllers
Models
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
Views.Calendar.Index.cs.dll
Views.CalendarItem.Index.cs.dll
Views.Index.cs.dll
Properties
Views
Calendar
CalendarItem
PluginTest.Plugins.News
bin
Controllers
Models
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
Views.News.Index.cs.dll
Properties
Views
News
PluginTest.Plugins.TestPlugin
bin
Debug
Controllers
Models
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
Views.TestPlugin.Index.cs.dll
Properties
Views
TestPlugin
PluginTest.suo
PluginTest.Web
App_Data
bin
Content
themes
ui-darkness
images
ui-bg_flat_30_cccccc_40x100.png
ui-bg_flat_50_5c5c5c_40x100.png
ui-bg_glass_20_555555_1x400.png
ui-bg_glass_40_0078a3_1x400.png
ui-bg_glass_40_ffc73d_1x400.png
ui-bg_gloss-wave_25_333333_500x100.png
ui-bg_highlight-soft_80_eeeeee_1x100.png
ui-bg_inset-soft_25_000000_1x100.png
ui-bg_inset-soft_30_f58400_1x100.png
ui-icons_222222_256x240.png
ui-icons_4b8e0b_256x240.png
ui-icons_a83300_256x240.png
ui-icons_cccccc_256x240.png
ui-icons_ffffff_256x240.png
Controllers
Global.asax
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
plugins
PluginTest.Web.csproj.user
Properties
Scripts
jqPlugins
pluginTest
Utils
Constants
Views
Home
Shared
PluginText.Plugins.Agenda
bin
Controllers
Models
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
Views.Agenda.Index.cs.dll
Views.Agenda.TextFile1.cs.dll
Properties
Views
Agenda
RazorSingleFileGenerator.vsix
<?xml version="1.0"?>

<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->

<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  <!--
    In the example below, the "SetAttributes" transform will change the value of 
    "connectionString" to use "ReleaseSQLServer" only when the "Match" locator 
    finds an atrribute "name" that has a value of "MyDB".
    
    <connectionStrings>
      <add name="MyDB" 
        connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" 
        xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
    </connectionStrings>
  -->
  <system.web>
    <!--
      In the example below, the "Replace" transform will replace the entire 
      <customErrors> section of your web.config file.
      Note that because there is only one customErrors section under the 
      <system.web> node, there is no need to use the "xdt:Locator" attribute.
      
      <customErrors defaultRedirect="GenericError.htm"
        mode="RemoteOnly" xdt:Transform="Replace">
        <error statusCode="500" redirect="InternalError.htm"/>
      </customErrors>
    -->
  </system.web>
</configuration>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Liviu Ignat
Software Developer (Senior)
Germany Germany
.NET & JavaScript Senior Software Lead Developer & Architect.
Since 2005 worked with most of .NET technologies (Windows Forms, ASP.NET, WCF, WPF, XNA) and for some years passionate about JavaScript and client JavaScript Architecture.

You may also be interested in...

Pro
Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.170813.1 | Last Updated 8 Jul 2013
Article Copyright 2012 by Liviu Ignat
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid