Monday, December 22, 2008

MicroSoft in OpenSource : PHP

As the technologies grow, Microsoft is also lightning it.
Open-source initiatives at Microsoft are important to the open-source community because they give developers greater exposure for their products through access to a broadly adopted platform….The (open-source development and interoperability) initiatives are important because they break down barriers between proprietary and open-source developers allowing them to benefit from each other’s work.

Take a round to an interview with the PHP Classes blog.

Microsoft engineers and contractors have made contributions to the PHP run-time engine and to PHP application projects. And communication between Microsoft; commercial open-source-based companies including Zend, OmniTI, and iBuildings; and open-source developers has broadened significantly.

In other words, both the PHP community and Microsoft benefit from this interoperability development.
For more info:

Open-Source Blog : Launched by MicroSoft

MicroSoft launched an Open-Source blogging platform
However, the software maker was quick to underline that the product is aimed at developers and not intended to directly compete with popular blogging software such as WordPress or Movable Type.
The same has been available at : oxite
One need MicroSoft Public licence from Open-Source License.
Read about first public release at :
Oxite is a standards-compliant, extensible content-management system designed to support either blogs or larger Web sites, Microsoft said. The platform includes support for features such as pingbacks, trackbacks, anonymous or authenticated commenting, gravatars (globally recognized avatars), and RSS feeds at any page level, the company said.
For more details:

Sunday, December 14, 2008

Redirect to Error Page Using JavaScript

My readers enquired that how to rehuffle the yellow page on web.
The Yellow page appears when Web-Site got any runtime error.

I always suggested to supercede the Yellow-Page. Try the following code :

namespace AStepAhead.redirectErrorPage
public class redirectErrorPage
public redirectErrorPage()
String strDomainName = “”;
//Write you coding here
catch (Exception ex)
SystemFramework.ApplicationLog.WriteError(”Error : ” + ex.ToString());
//Redircet you main page to error page


Now, in error page, read ErrorString and show to the users.

Step(s): Followings are the steps to perform above:

1. Create an Error Page and named it as errorpage.aspx.
2. Read Error string at Page_load
3. Write above code in your Web Page.

After above, whenever any runtime exception occured, your user will see a maintained / designed error page.