-
Search
-
Archives
- May 2025
- May 2022
- July 2020
- June 2020
- May 2020
- March 2020
- August 2019
- May 2019
- February 2019
- January 2019
- October 2018
- May 2018
- April 2018
- January 2018
- December 2017
- June 2017
- May 2017
- August 2016
- December 2015
- May 2015
- November 2014
- July 2014
- June 2014
- March 2013
- December 2012
- September 2012
- January 2012
- October 2011
- March 2011
- November 2010
- October 2010
- August 2010
- May 2010
- March 2010
- January 2010
- October 2009
- May 2009
- April 2009
- March 2009
- January 2009
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- June 2007
- May 2007
- February 2007
- November 2006
- October 2006
- September 2006
- July 2006
- May 2006
- April 2006
- March 2006
- October 2005
-
Meta
Category Archives: asp.net
Configuration file attributes
The configSource attribute in .config files can be used in a section to source other configuration files. This was introduced in ASP.Net 2.0 and also handy in WCF configuration.<configuration> <system.serviceModel> <services configSource=MySvc.config > </services></configuration>
ELMAH
ELMAH ( “Error Logging Modules and Handlers” ) is a useful error logging pluggable tool for ASP.NET web applications. It can be configured to log nearly all unhandled exceptions and the log can be even remotely viewed.
Mix 09 – Day 1
Mix09, day1 keynote speaker was Bill Buxton. In his talk, he drew a distinction between Experience Design vs. Interface Design by tracing the history of design over the years. How developers tend to focus on Interface Design when they should begin with Experience Design. He was followed by Scot Guthrie (VP .NET Division) who demonstrated […]
<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> asp.net, Tech Events
Comments Off on Mix 09 – Day 1
Asp.net applications – data access in a database agnostic data way
string databaseConnectionString =ConfigurationManager.ConnectionStrings [“DatabaseConnectionString”].connectionString; string databaseProviderName = ConfigurationManager.ConnectionStrings [“DatabaseConnectionString”].ProviderName; DbProviderFactory databaseProvider = DbProviderFactories.GetFactory(databaseProviderName); using (DbConnection dbConn = provider.CreateConnection()){ dbConn.ConnectionString = connectionString using (DbCommand command = dbConn.CreateCommand()) { dbConn.Open(); using (DbDataReader dr = command.ExecuteReader()) { // Do Something… } }}
<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> asp.net
Comments Off on Asp.net applications – data access in a database agnostic data way
Beginning AJAX with ASP.NET – book review
Recently, had a chance to review a book on AJAX called ‘Beginning AJAX with ASP.NET’ by Wally McClure, Scott Cate, Paul Glavich and Craig ShoeMaker. Wally was kind enough to send me the book. The entire review is posted on the local user group web site, however here’s an excerpt. This is a good book […]
<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> .NET, AJAX, asp.net, Book Review
Comments Off on Beginning AJAX with ASP.NET – book review
Content based on browser agent strings
If you are using the “user-agent” header to detect version of the mobile browser, then the IE Mobile team is announcing some upcoming changes to the header. Now to detect the new browsers just look for the string “IEMobile” as a part of the ‘user-agent’ header.
ASP.NET 2.0 navigation controls
The ASP.NET 2.0 navigation controls are neat and easy to use. The controls ‘SiteMapPath’, ‘TreeView’ and ‘Menu’ all use the same asp.net navigation API and can be tied to an XML datasource. The entire web site hierarchy(sitemap) can be placed in an XML file called web.sitemap in the application’s root directory. There is a single […]
asp.net 2.0
If you cannot browse to an .aspx page under IIS 6.0 be sure to – check in IIS if “Web Service Extensions” is allowed and not prohibited – run aspnet_regiis -i IIS 6.0 disable ASP.net support by default.