Hosam Kamel's Blog
-
.NET 2.0 Configuration
-
Wrapping System.Configuration.ConfigurationManager.AppSettings[KeyName] call
if you currently using
-
Maintain scroll position after postbacks in ASP.NET 2.0
To maintain the scroll position for the large web page you can use on of these methods :
-
Simulate a Windows Service using ASP.NET to run scheduled jobs
a nice article by Omar Al Zabir about how to run scheduled jobs 24x7 using ASP.NET without requiring a Windows Service.
read it here http://www.codeproject.com/aspnet/ASPNETService.asp
-
Resolve System.Configuration.ConfigurationSettings warning
If you have been migrated from ASP.NET 1.1 to ASP.NET 2.0 and still using the System.Configuration.ConfigurationSettings.AppSettings to get the application stored configurations ,you may face this warning
System.Configuration.ConfigurationSettings.AppSettings' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'
-
Quickly sign your assembly with strong name using VS 2005
when using Visual studio 2003 to sign an assembly you used to generate the key using the snk command utility and override the Assembly.info file manually to set the signing information .
-
Generating unique temp file name
I'm used to generate a GUID for temp files names when dealing with temp files to avoid file name duplications until I got a nice tip from http://dotnettipoftheday.org/tips/PathGetRandomFileName.aspx about using System.IO.Path.GetTempFileName() and System.IO.Path.GetRandomFileName()
-
Switch web application project to run on IIS web server as Virtual directory
To Switch web application project to run on IIS web server as Virtual directory instead of running in the Visual Studio Development Serer you can easily follow these steps :
-
Thanks to ASP.NET website Team Members (Specially Joe)
I would like to publish my first post to thank ASP.NET website Team Members specially Mr. Joe for taking their time to setup this blog for me. I promise to put a valuable stuff here and will start migrating my old post soon.