Mahesh's profile▒▒╰☆╮Mahesh kumar R {Yes...PhotosBlogLists Tools Help

▒▒╰☆╮Mahesh kumar R {Yes2Dotnet} ╰☆╮▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒

╰☆╮ÇÿbérìäFréåK ╰☆╮╰☆╮☆MS Blogstar of the year 2006 ☆☆☆☆☆

Why I should not use DataTable.Select() for larger set of records

Reason : Performance degrade
How      : Select() takes arbitary criteria, returns an array of DataRows (Row Collection).  It has to walk thru the entire table and compare every record to the criteria that you passed in. It is
considered worst method to use for large set of records.

So here is the alternative,
1) DataTable.Rows.Find if you look for single row...
2) Indexing the DataTable..but need to build Index in .NET Code as well.
3) LINQ - recommended
4) Morphing the DataTable into a generic collection like Dictionary(Of String, String) to hold the same data as the DataTable.

Src : Scaling ADO.NET DataTables and Best Practices for Using ADO.NET

Cannot load file..another DLL Hell

I got Visual Web Dev Express 2008 for my day job ( Angry because it is free know ), when I tried to create a connection through SQL Datasource or Entity Model or LINQ or any means through editor, I get the below error saying, but no clue..but luckily google saved my time.

"Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified."

The quick fix is, download the below 3 setup and install to get rid of this error.

            Microsoft SQL Server System CLR Types
            Microsoft SQL Server 2008 Management Objects
            Microsoft SQL Server 2008 Native Client

Download -http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&displaylang=en#filelist

Microsoft TechEd 2009 Detail


Type of event : Paid event, 7125.00 Rs.
More detail @ www.msteched.in/

Architect contest @ http://www.virtualtechdays.com/toparchitect/

Updated : Steve Ballmer coming to the event and also Jam with Indian rock band Agnee..
Looking for Bdotnet member discount..any one from group lead listening..pls grant me discount if applicable as a member.. Nerd

Problem Statement for MS Architect Contest.

India Election Pedia – A DIGITAL MESH
Functions and Features of the system shall include the following:
 
  1. All authenticated users should be able to participate as Voters;
  2. All authenticated users should be able to mark themselves as candidates for a fee and market themselves as Candidates by uploading content onto the system. The content should be in various formats.
  3. All authenticated users should be able to sponsor someone else as Candidates.
  4. All authenticated users should be able to view Candidates’ information.
  5. All authenticated users should be able to view Reviews/Ratings of Candidates.
  6. All authenticated users should be able to start and fill Surveys.
  7. All authenticated users should be able to view Survey Results.
  8. All authenticated users should be able to compare and contrast Candidates based on all relevant information on the Candidate available on the system.
  9. All authenticated users should be able to interact with others as Candidates or Voters.
  10. All authenticated users should be able to view interactions between all.
  11. All authenticated users should be able to submit Candidate Ratings.
  12. All authenticated users should be able to submit comments for Candidates.
  13. All authenticated users should be able to search for anything and everything on the system.
  14. The system should provide a mechanism for other systems to access functionality and data of this system in an open fashion for a fee.
  15. The system should be accessible in a secure fashion by as many people as technically possible irrespective of location, language, ethnic background and technology.
  16. The system should be scalable, reliable, available, responsive, cost-effective as much as possible.
  17. The system should provide best possible User Experience across various devices.
  18. The system should be Microsoft Technology-based leveraging as many existing/upcoming (in the next year or so) Microsoft Technology assets as possible.
Src : http://www.virtualtechdays.com/toparchitect/problem_statement.aspx

Achieved MCTS in Web !!

Yes, this monday I've cleared 70-528 following 70-536 to get MCTS in Web Applications. I was planning this exam for the past 2 years, but every time i get some excuse. But this time I've decided to achieve it without delay. I manage to get decent score around 820 and 875 ( 700 is the pass mark, max 1000). I gave my exam in NIIT Prometric center, Residency road branch. { Note : NIIT dont have parking, Carry 2 original ID proof along with xerox copy }


Thanks to kalyan  for his blog on 10% gift voucher. Follow here to get one - http://kaliyans.spaces.live.com/blog/cns!96AD32C97E4483A0!712.entry
On total I saved 10$ (5$ for each exam). Really matters during this testing time...Smile Looking forward to solve the ongoing contest from MS and also TechEd 2009.

Not able to install Windows XP in Vista's Pre-loaded machine !!

Friend of mine bought a new laptop with Vista Ultimate by default(OEM Version). He had a problem in activation and not able to log inBaring teeth. He was neither able to format nor install XP Angry. I too tried couple of times with bootup CD, the installation crashed with blue screen. On closer lookup, I came to know that there was problem with BIOS Settings . It was intially set to "AHCI", I've changed to "IDE" to support Windows XP, then it started installing well and good.

Read more from Wikipedia source and MS error report

Microsoft Expression Web SuperPreview - for IE Web Test

This is for Web developers (ASP.NET) who work for cross browser supportBaring teeth. Currently I'm into web development for a client and breaking my head to fix this cross browser issue. In another project, the client is asking for beta browser like IE 8 and Chrome support. In ASP.NET, menus are tougher to fix. Apart from this, if you have coded any DOM manipulation in Java script code, it is not easy to get/set values to tree/list controls/grid.

An easy solution for this is to identify browser type then bunch of code for each browser compatible DOM manipulation(Javascript). Its really time consuming and takes time to test it. This kind of approach boggles me and am not confident at all. But I highly recommend to take care of cross browser support from the prototype development stage itself.

Here is the news from MS regarding Web SuperPreview for IE  (its a visual debugging tool that makes it easier to migrate our Web sites from IE 6 to IE 7 or 8 ), but it would be better if they extend this support to test other browsers also..Currently few of my applications are working smoothly in IE 6 and above..but not sure about IE 8. I'll post about the pros and cons after checking this too...

jQuery to my project !!

Currently i'm involved in designing a complete web application all alone and learning a lot these days. Doing a lot of POC and observing the best available things to the current Project. In this, jQuery is my latest crush,i knew JQuery for the past one year after Scott announcement but i never had a change to work for client project. Here is my first POC for no bie's.. jQuery is a fast, lightweight JS library that is CSS3 compliant and supports many browsers. The jQuery framework is extensible and very nicely handles DOM manipulations, CSS, AJAX, Events and Animations. Complete list of download available here.JQuery is not a JS replacement, but its a library written using JavaScript.
1) Download from here
2) Add as reference.


 In aspx file.. 

$(document).ready(function() {
    // Add the page method call as an onclick handler for the div.
    $("#buttonn").click(function() {
        $.ajax({
            type: "POST",
            url: "MyJQuery.aspx/Samplemethod",
            data: "{}",
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: function(msg) {
                $("#Mydiv").text(msg.d);
            }
        });
    });
});

<body>
    <form id="form1" runat="server">
    <div id="Mydiv">
    </div>
    <input id="Text1" type="text" />
    <input id="buttonn" type="button" value="button" />
    </form>
</body>
</html>
 In Code behind..
[System.Web.Services.WebMethod]
        public static string Samplemethod()
        {
            return DateTime.Now.ToString();
        }
You could see, the page gets the latest date and time easily...

Composite Application Guidance for WPF and Silverlight - Feb 2009

  Composite Application Guidance for WPF & Silverlight is designed to build enterprise-level WPF and Silverlight client applications. It will help you design and build enterprise-level composite WPF client applications—composite applications use loosely coupled, independently evolvable pieces that work together in the overall application.
The guidance includes a reference implementation, reusable library code (named the Composite Application Library), documentation, QuickStart tutorials, and hands-on labs. This version of the Composite Application Guidance is designed to help you build WPF and Silverlight applications that have a single code base. You can download PRISM v2.0 here.
 
View Mahesh Kumar R's profile on LinkedIn

Mahesh Kumar.R

Occupation
Location
Interests
trying to belong...
Photo 1 of 3