Month: September 2006

Patterns & Practices Explorer Tool

Very useful tool out there called Patterns & Practices Guidance Explorer, it contains hundreds lists of security & performance best practices and patterns. The usage scenarios are: 1. Improve the security and performance of your application with guidelines and checklists that match your application exactly. 2. You can build custom sets of guidance and share with your team as recommended practice. 3. You can add new guidance to the library to share with your team, your company or the larger development...

Read More

What is the VIEWSTATE?

ViewState is one of the state managements in the ASP.NET, as such here are a few items for better understanding of the VIEWSTATE:  Understanding ASP.NET ViewState [MSDN] TRULY Understanding ViewState [InfiniteLoop’s Blog] Understanding View State in ASP.NET [aspAlliance] ViewState: All You Wanted to Know The ASP.NET ViewState [MSDN...

Read More

SharePoint 2007–Business Data Catalogue

The new Business Data Catalogue (BDC) is an interesting interface into the Line of Business (LOB) databases out there than can be accessed by the ADO.NET providers (SQL, Oracle, ODBC, OLEDB) or web services.  SharePoint 2007 comes with some great OOB web parts that allow you to quickly design dashboards based on the LOB data. BDC List: This web part will simply display your data in a list form with all of the filtering and sorting capabilities that you’d expect in a list view webpart. It even has a built-in search interface which allows users to perform mini searches on the contents of the list. BDC List Item: When connected to the BDC List, it will display further details for the item that is selected. The idea is that you click a list item on the BDC List of resellers and the BDC List Item webpart displays additional information stored in that List row. BDC Search: BDC applications can be ‘indexed’ by the standard MOSS index service. This means that users can search across the business systems amongst all of the other data in the MOSS index. Results are presented in the same way as other documents and when the users click on a result, them get sent to an out-of-the-box ASPX page that shows all of the data that is available for that item. The BDC applications are...

Read More

Internet Explorer 7.0 and the Native XMLHTTPRequest Object

If clients turn off ActiveX support on their browser, bad things can happen if you don’t program for it. The following code: var xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); would break.  There is now a native XMLHTTPRequest object, similar to what the non-IE browsers do. var xmlHttp = new XMLHttpRequest(); No ActiveX object is needed. Here is the code that needs to be added to check the support of the native XMLHTTPRequest object if (window.XMLHttpRequest) { var xmlHttp = new XMLHttpRequest(); } else { if (window.ActiveXObject) { var xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); }...

Read More