Monday, July 2, 2012

Uploading files to Web server

Using ASP.NET MVC
* (Only available from .NET 4.0) http://haacked.com/archive/2010/07/16/uploading-files-with-aspnetmvc.aspx
http://stackoverflow.com/questions/569565/uploading-files-in-asp-net-without-using-the-fileupload-server-control

Localization/Globalization

How to make ASP.NET to follow client's language:

http://www.hanselman.com/blog/GlobalizationInternationalizationAndLocalizationInASPNETMVC3JavaScriptAndJQueryPart1.aspx

Wednesday, June 20, 2012

ASP.NET background thread

http://haacked.com/archive/2011/10/16/the-dangers-of-implementing-recurring-background-tasks-in-asp-net.aspx

http://blogs.msdn.com/b/tmarq/archive/2010/04/14/performing-asynchronous-work-or-tasks-in-asp-net-applications.aspx

In v4.0 ASP.NET, we won’t unload the AppDomain until all requests have completed. In v2.0/3.5 ASP.NET in IIS 7 integrated mode, we also won’t unload the AppDomain until all the requests have completed.  In v2.0/3.5 classic mode, we will only wait until httpRuntime/shutdownTimeout has been exceeded before unloading the AppDomain, so long running async requests are vulnerable to being rudely aborted.  To work around this, you’d want the shutdownTimeout to be sufficiently long.

Wednesday, April 25, 2012

How to remove incomplete uninstalled package

Use msizap.exe T ___.msi See http://www.advancedinstaller.com/user-guide/qa-forced-uninstall.html