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
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: 2899 | Hits: 353

Similar Posts

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