Adding Default Assemblies, Namespaces and Control Prefixes in Web.Config

Posted by: Rick Strahls WebLog, on 05 May 2009 | View original | Bookmarked: 0 time(s)

The fact that you can assign namespace and assemblies in your web.config file is one of the most underused features of ASP.NET I think. I was working with a customer today and when I demonstrated an example he noted that I got my custom controls to show up in page markup without having an explicit @Register tag in the page. Usually when you embed a custom control into a page you need to add a @Register tag like so: <%@ Page language="c#" Inherits="Westwind.WebToolkit.MessageDisplay"...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 959 | Hits: 75

Similar Posts

  • Clean Web.Config Files (VS 2010 and .NET 4.0 Series) more
  • SQL 2008 CLR Triggers, use a .NET class library in SQL using WPF more
  • Changing Configuration Settings in a Desktop Client Application more
  • ASP.NET MVC 2.0 and VS 2010 plan now public more
  • CodeDigest.Com Article,Codes,FAQs - April,2009 more
  • Technology Related Links for May 5th, 2009 more
  • ASP.NET AJAX Release History : Q1 2009 SP1 (version 2009.1.402) more
  • ASP.NET Control Panel more
  • How to use Ninject with ASP.NET MVC more
  • Handling Formats Based On Url Extension more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD