November 2009 Entries
The first Windows Phone Camp 2009 in Tampa is around the corner. I wouldn’t miss it if I were you. The idea is to be similar to a Code Camp, but for Windows Mobile development. You get 8 sessions one after the other from getting started, to using the GPS, to building games. There will be free lunch and lots of prizes. The date is December 5th, mark your calendars… Happy WM Programming!
The following Powershell script compresses all the .BAK files using winrar. 1: cd D:\MSSQL\MSSQL.1\MSSQL\Backup
2: $dirs = get-childitem|where{$_.PSIsContainer}
3: foreach ($dir in $dirs) {
4: cd $dir
5: $files = get-childitem *.bak
6: foreach ($file in $files) {
7: ...
When using ASP.NET you can choose 4 different ways of storing session: In Process, State Server, SQL Server, or Custom. When using In Process the session is stored on the ASP.NET thread of the web server, but when using the State Server or SQL Server the sessions are stored outside the ASP.NET thread. When would you use Out of Process session state? Mostly when you have a web farm and you need to share the same session across all web servers. You might choose to use it even if you have one web server for the simple reason of saving...
The other day I was having a problem with JavaScript functions not being found. The simplified setup was similar to this: - UpdatePanel - UserControl (Visible = true) - UserControl (Visible = false) - Embedded JavaScript and Controls There was some controls on the page that triggered an asynchronous postback which changed the visibility of the UserControls and when the Embedded JavaScript was called I was getting JS errors. Here’s the question I asked on the forums: http://forums.asp.net/t/1484503.aspx. According to InfinitiesLoop: The...