March 2005 Entries

The Planet (Server Matrix) Outage Reason

 

As you might have noticed, enterprise data center, The Planet, was down durin 4:15AM CST till 6:45AM CST today and many many web sites were unreachable. The reason which has been posted on out support ticket panel is as follow:
"At approximately 4:15AM CST, a pair of redundant Powerware 500KVA UPS units failed creating a power failure in section B of our DLLSTX2 datacenter. Emergency teams were deployed within minutes and power was restored within minutes but intermmittment power outages did occur until 6:45AM CST. Powerware, JT Packard, and electricians are currently onsite with over 100 Planet technicians working to resolve the issue. We do not anticipate any further outages . A formal RFO will be released once the team debriefs. We apologize for all issues that has caused."

ASP.NET Secrets

 

Nice series of articles: ASP.NET Secrets, Part1 | Part 2 | Part 3 | Part 4 | Part 5

SmartNavigation

 

SmartNavigation allows Web Forms to maintain focus between post back and suppress the flicker on loading the new page. To implement this, just set the SmartNavigation property of your ASPX page to True.

Hashemian fires Iran past Japan

 

TEHRAN - Bayern Munich striker Vahid Hashemian grabbed both goals as Iran beat Asian Cup winners Japan 2-1 on Friday to boost their chances of qualifying for the 2006 World Cup. The victory put Iran level at the top of Group B on four points with Bahrain who beat DPR Korea by the same scoreline earlier on Friday in Pyongyang. Japan are a point behind the new pacesetters. Read More . . .

Yahoo! Mail Upto 1GB

 

Robert says, Yahoo! going to upgrade the limit of it's mail service to 1GB!

Iran Blog Map

 

You can submit your blogs so that you will be added to the map. Iran's Blog Map can be viewed here.

Generating Documentation for Your VB.NET Applications

 

Learn how to use a freely available PowerToy to add XML documentation support to your Visual Basic .NET application and create documentation as you write your code.

Project Estimation!

 

Programmers always facing an issue in the very beginning of a project: how much does it cost and how long does it take! You might take a look see what others say here, but the one I liked most out of them was this one:
"figure out what you think it will take and multiply by three".

Howto Remote Desktop Connection Console in Windows XP/2003

 

Have you ever liked connecting to a Windows XP / Windows Server 2003 current session and take control of the console? There are some 3rd party softwares doing that like UltraVNC but none are satisfactory even in LAN let alone using them on the 'net.
With Windows Server 2003 you can simply do that adding a /console to your remote machine name in Remote Desktop Connection and there you go! In Windows XP, you will have to go to Command Prompt and try WINDOWS Folder\System32\mstsc /console for getting the same result, else you will face an error.

Using Code Access Security with ASP .NET

 

With the .NET Framework version 1.1 you can configure an ASP.NET Web application or Web service to run with partial trust to improve security by constraining its ability to access system level resources and resources owned by other applications. This chapter shows you how ASP.NET code access security policy works, how to configure it and how to develop Web applications for partial trust environments. The chapter explains how to sandbox resource access, for example code that accesses databases, the event log and Web services so that it can successfully run at reduced trust levels.

Happy New Persian Year!

 

Happy New Persian Year... Enjoy Holidays!

Yahoo! Announces Blogging and Social Networking Betas

 

Yahoo! planning for blog & social networking utilities. Find out more . . .

code.google.com !

 

Now, Google's place for open source softwares. Ahmad notified me of that!

Update Registry Silently

 

As Scott has mentioned, you can use regedit /s myreg.reg to silently update your registry with the info in myreg.reg.

Bandwidth Controller

 

Heavy downloading can take its toll on network performance. Congestion and lack of responsiveness are often the result of large amounts of traffic being used by a small number of users. Sometimes even a single user can bring an entire network to a crawl as the internet gateway gets flooded with network traffic. However, it's not always because of a malicious user trying to bring the network down. It can happen just because the user and network administrator have no way of controlling the bandwidth used. Bandwidth Controller solves this problem by giving you full bandwidth management capability and control over your network. Simply allocate the desired bandwidth for a user and the software takes care of the rest.

Getting Back!

 

Well, I was reinstalling all my machines for the past few years to keep them up to date. The only thing I forgot backing up was my Opml list and now, I have to recreate it. Sorry for absence.

Building an Asynchronous FTP Client Class in C#

 

While a relatively old technology, the File Transfer Protocol (FTP) is still a viable and useful communication method. This download explains how an FTP server can be implemented using the Microsoft .NET Framework and the C# programming language.

Create Print-Friendly Pages with Ease!

 

Assume you got a web site with lots of report pages, like what I am working on right now. You need to add print function to your pages so that the pages will be looking friendly when they are printed.
The way that myself used, was to make a print edition just by setting width of everything as 100% and making the colors black & white and pointing the original page to the print edition page when it was requested.
With CSS you can do that without keeping another edition of your original pages! Just use and that works! Set all unnecessary divisions of your print-page as hidden and make the colors and font look well in print.css and there you go!

Calling PostBacks

 

Roy Tore uses window.opener.execScript for calling a postback of the parent form on a child window. Also Andrew Scott sugests using windows.opener__doPostBack instead. What I wanted doing once was just running postback of a page for bringing the edit section of a grid. I simply inserted the doPostBack function in body onLoad and it worked as expected.

How to Setup a .NET Development Tree

 

Nice guide on to to setup a .NET development tree.

Helpful Windows Keys

 

Here you can find a list of helpful windows keys. I always use Windows + E!