Adding default Namespaces and Control libraries in ASP.NET 2.0 with web.config

Posted by: Rick Strahls WebLog, on 04 Jun 2005 | View original | Bookmarked: 0 time(s)

Here’s a very useful new feature in ASP.NET 2.0 which allows you to specify the default namespaces that ASP.NET looks for in ASPX pages. In ASP.NET 1.x you either had to use an intrusive @Import directive:   <%@ import namespace="Westwind.Tools" %>   In ASP.NET 2.0 you can now add default namespaces into your web.Config files like this:   <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">       <system.web>            ...

Advertisement
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1910 | Hits: 277

Similar Posts

  • ASP.NET MVC: DevExpress Mail Demo more
  • Export Word documents to XPS - Open XML Paper Specification format more
  • Announcing Microsoft Ajax Library (Preview 6) and the Microsoft Ajax Minifier more
  • Announcing the Microsoft AJAX CDN more
  • ASP.NET Performance Improvements in DevExpress 2009 volume 2 more
  • Announcing the WebsiteSpark Program more
  • Create or Manage XPDL 1.0 & 2.1 packages using Aspose.Workflow more
  • Application Identifiers (AI) for EAN-128 barcode generation more
  • Clean Web.Config Files (VS 2010 and .NET 4.0 Series) more
  • Intersoft Solutions Announces WebUI Studio 2009 Service Pack 1 more

News Categories

.NET | ADO.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Community Server | dasBlog | 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