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: 2781 | Hits: 342

Similar Posts

  • Easy way to create a web-based AJAX SFTP Client application more
  • Announcing the Microsoft AJAX CDN more
  • Injecting Custom Logic in ADO.NET Data Services more
  • CodeDigest.Com Article,Codes,FAQs - April,2009 more
  • ASP.NET MVC 2.0 and VS 2010 plan now public more
  • Using SSL in your application more
  • Clean Web.Config Files (VS 2010 and .NET 4.0 Series) more
  • Intersoft Solutions Announces WebUI Studio 2009 Service Pack 1 more
  • Changing Configuration Settings in a Desktop Client Application more
  • Technology Related Links for May 5th, 2009 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