Technical News about Microsoft and tips from My learning
Wednesday, June 03, 2009
  Multiple Validation Groups limitation

Within the single form it is evident that you can have multiple validation groups. To explain more, it is good to throw some light on such requirement. In our current project we have the following requirement.

image

If you observe this screenshot, the “Request a Quote” box is repeated. And on click of “Add More” button, one more “Request a Quote” would be added to the screen. Every time such a box is added, they are generated along with RequiredFieldValidator and adding the ValidationGroup property with the respective item index. In the above case, we have 2 validation groups. Now the problem is about validating the required fields on “Submit” button.

If there is only one validation group, you can directly associate the validation group to button with the “ValidationGroup” property. But in this case, we don’t a direct association of single validation group with single button. Hence we need to associate the multiple groups with the submit button, as mentioned below

<asp:Button ID="btnSave3" runat="server" ValidationGroup="3" Text="Submit" OnClick="btnSave3_Click" />

The latest .NET Framework v3.5 doesn’t support the multiple ValidationGroups association before submitting the page to server. Here is the information about such feature unavailability. As it is a limitation with .net framework, started exploring the alternatives.


Got many articles, to resolve this situation. Javi on his one of the old posts, mentioned a JQuery mechanism along with a custom button control. Brain Main’s blog has similar post. Many more if you bing.. What every they are, they all look at the simple Validate() method of Page class. Instead of investing my time again & again and reinventing the same wheel, i decided to go as simple as possible of using Page.Validate and verify that the Page.IsValid property to decide to proceed with the consecutive commends execution. Code looks like the below

Page.Validate();
if (Page.IsValid)
if (ValidateItemOptions(3))
{
// Means there is no Error with the data as well as Required fields
string strIPData = CollectPreviousItem();
// Invoke the Bussiness Method
}

Do you have any other possibility??


(ofcourse, you would not.. but just checking if some thing unearthed would see light)

Labels: , , , , , , , ,

 
Thursday, May 21, 2009
  4 Checkboxes – Some tricky issue

Today, almost more than 4 hrs I'd spent on this issue. Do you want to know what is that? Here is that. I have 4 checkbox elements and I have to do the following conditions

Condition 1) Any one check box has to selected

Condition 2) If any of the first 2 check boxes are selected, my code should throw an exception when the 3rd check box is selected

Condition 3) vice versa for Condition 2

A picture is worth of 1000 words. Here is the actual requirement.issue

Hope you got the actual picture. Now here comes the actual twist. You can do that with simple if conditions, but i thought of implementing this using territory operators using a single if condition. And the condition goes like this..

if(((cbRepair1.Checked || cbCalibration1.Checked ) ? 
(cbBoth1.Checked) ? false : true :
(cbBoth1.Checked || cbOnLine1.Checked) ? true : false)==false){
throw new Exception("Duplicate selection ..");
}

It took me almost more than 4 hrs. Isn’t it funny!!

Labels: , , , , , ,

 
Wednesday, May 20, 2009
  CheckBoxList validation

Within our current project, we faced a requirement such that there are multiple checkboxes and the user is required to select any one of them (at least one of them). So as there are multiple checkboxes, decided to go with CheckBoxList control. Now the problem is that, we need to show a error message if the user is not selected any one of them. The problem also extends not just there, but the display text should be culture specific.

So the story started long after I've written this post. But editing this entire post due to a simple non supportive feature by IE. I’ll come to that point little later, let me first detail the requirement and solution. There is one more solution for this unsupported error. Please read thru the post.

For all the client side validations, it is widely known that validation controls supported by ASP.NET framework are popularly used. But these controls can’t handle the CheckBoxList. Hence the following solution.

Step 1: Place your CheckBoxList control in a separate div as shown below. Observe that the text for these controls are populated from database depending upon the user culture

<div id="cblItems1">
<asp:CheckBoxList ID="cblOptions" runat="server">
<
asp:ListItem Text="<%$Resources:CommonFormFields, Repair%>"></asp:ListItem>
<
asp:ListItem Text="<%$Resources:CommonFormFields, Calibration%>"></asp:ListItem>
<
asp:ListItem Text="<%$Resources:CommonFormFields, RepairCalibration%>"></asp:ListItem>
<
asp:ListItem Text="<%$Resources:CommonFormFields, OnlineService%>"></asp:ListItem>
</
asp:CheckBoxList>
</
div>

Step 2: Use ASP:Lable and get the error message while loading and place in a separate div and hide this div by default as mentioned below. Please note the div ID as cblError1 and the style is set to hidden by default

<div id="cblError1" style="visibility: hidden">
<
asp:Label ID="lblReq1" runat="server" Text="<%$Resources:CommonFormFields, SelectAny%>"></asp:Label>
</
div>

Step 3: Write a JScript function that reads all the client side rendered elements as input objects and checks whether any of them are checked or not. Code explains more in detail

function CheckListValidation(cblItm, errDiv)
{
var tDiv = document.getElementById(cblItm);
var chkitems = tDiv.childNodes[1];
var chkitm = chkitems.getElementsByTagName("input");
for (var i = 0; i < chkitm.length; i++)
{
if (chkitm[i].checked)
{
return true;
}
}
document.getElementById(errDiv).style.visibility = 'visible';
return false;
}


Step 4: Now it is the turn of invoking this function from the button click. Every button is having a method called as “OnClientClick” along with Click. Invoke this function from that method as mentioned below

<asp:Button ID="btnAddMore" runat="server" Text="Add More" 
OnClientClick="return CheckListValidation('cbOptions','cblError1');"
OnClick="btnAddMore_Click" />

Step 5: All setup and the code is running fine. But there is a problem with this code while running in IE. IE 6 and above doesn’t support the getElementsByTag

var vTe = document.getElementsByTagName(..);
There is a long story for this. Let me post one more post for the better mechanism of CheckBoxList Validation. Until then, what are your comments??

Labels: , , , ,

 
Thursday, April 30, 2009
  Common Myths by Developers

1) Which programming language is faster ? VB or C# ?

This is regular and majorly mistaken by the VB developers and mistakenly highlighted by C# developers. According to the .NET architecture every language code is converted into MSIL, hence every language code is common on the first compilation. Then this MSIL is converted onto the native code. The entire purpose of converting the ELL into MSIL is to obtain the Interoperability between Commonly used languages. Hence this is absolutely false, and all we need to remember is that better code generates better performance results and vice versa

 

2) CodeBehind is better than InLine

It doesn’t really matter whether you implement the code in a separate file or with in the same, the reason behind this is .. anyhow, the IIS is going to compile for the first time and going to cache the page DLL. And once this is done, it doesn’t really mean any thing for the IIS towards processing and generating the output HTML from our ASPX page. Hence, it is totally untrue in-terms of separation of your code to single code behind or multiple code behind pages

 

3) Use WebServices as much as possible

LOL.. this is my first response for all those who say this. Right .. webservices are the break through in the industry, it doesn’t mean that use it all places. It is also myth to use webservices with in a big application having multiple project within same solution. My recommendation towards using the WebService depends on the type of the system. Use webservices only in case of different systems not within the similar systems

 

What do you say??

Labels: , , , , , , ,

 
Friday, April 24, 2009
  Blogger Connect Brief

On 22nd of this month, i got a mail from Abhisheik about this event. This is the first of it’s kind by Microsoft to connect all bloggers.  Points that rolled during this meeting are

0) Freebees at TechEd towards. MCP Exam tokens to attend any one exam for free

1) Naked Browser Challenge from http://merawindows.com

2) Silverlight 3 features

a) Smooth Streaming

b) APIs are open to Plugins new features by community to integrate with Silverlight

Give a look at SmoothHD.com for some demos on smooth streaming

3) Release of Expression Blend 3

4) Pandu spoke about Sketch Flow in Expression Blend3

5) Nano Car experience and IPLT20 are developed using .NET technology – a feel good factor. Hope Silverlight streaming would be next generation of media transmission

6) IE 8 and WebSlices and Accelerators are going to be the part of IE8 highlights and key elements of success

7) Interoperability Lab from Microsoft is being setup at Bangalore and this is open for all public with out any fee

During this meeting, Abhisheik mentioned about a trick while presenting the Naked Browser Competition, that is run the command “explore –extoff” to open up the IE8 with lightening fast. This command opens IE with out enabling any Add-ons, which is a plain old fashioned and classical browser of IE4 or IE5 like. Anyhow, it is good that we can use the latest component in classical old style.

June 25th is the next time we can connect as the 2nd event of this kind. Did you attend this? Did i miss any point?

Labels: , , ,

 
Thursday, March 19, 2009
  Common mistakes by Interviewer

Now-a-days am conducting few interviews for our organization. While sitting in the other side of the table, I've visualized why most of the interviews fail with me. But when conducting these interviews, most of the candidates are attending with self confidence that they are suitable for the mentioned role and attend without preparation.

When people do some real preparation, they tend to fail due to lack of awareness at the interviewer towards interviewing techniques. Having failed in many interviews, I've learned that the interviews fail because of the following...

  • Reflection (or) Mirroring: The interviewer tends to see self within the candidate. The interviewer starts to compare self with the candidate and evaluate. This evaluation is totally personal. The yard stick for measuring the candidature is not generalized, but influenced.


     

  • Template (or) Checklist: The interviewer has a template of a questionnaire. The interviewer measures the candidate with respect to the list of standard questions that are available within the checklist. Of course, this checklist would vary from different roles, but majorly depend on the predefined set. There the outcome is majorly with standard FAQs. The yard stick here helps to some extent but not in all means.


     

  • Unprepared: This type of the interview always starts with, "Tell me about you". If this is the first question, I would ask them as, "What is the fun in submitting the profile before the interview". The only reason is that they are lazy to understand the candidate, and tend to ask questions as the interview progresses. These kinds of interviews are not in the control of interviewers but in the control of the candidates. If the candidate is smart enough to understand this situation, they will make use of this situation and sell themselves.


     

By any chance if I miss any, please let me know.

 
Saturday, March 07, 2009
  Security & Silverlight

Yes, am mentioning about Security at Silverlight applications. Well, most of the developers think that Security is not the feature of the application. and they claim that it is the responsibility of the framework on which they are developing, be it as .net or java or any other. Thus, they don’t even worry about why security should be the core of any application and it should be given prime attention.

Microsoft has an initiative towards security with in any software development life cycle. This initiative is known as SDL, Security Development Lifecycle. Their definition of SDL is neatly designed as displayed.

And also they have released a security guidance document for writing and deploying Silverlight Application. The document can be downloaded from this link. The TOC is some thing like this

Threat Modeling and the Security Development Lifecycle

Background of Web Security

Same-Origin Policy

Cross-Site Scripting Attacks

Cross-Site Request Forgeries (CSRF)

A CSRF Mitigation: Nonces

Silverlight and Web Security

Changes from version 1.0 to version 2.0

How Silverlight Works

XAML

XAPs.

The Silverlight Sandbox

EnableHtmlAccess

ExternalCallersFromCrossDomain

Silverlight Networking

Cross-Domain Policy Files

How to Maximize Safety of Cross-Domain Access

Trusting Third-Party Domains

LANs and Security Zones

Internet Explorer and the XDomainRequest Object

Sockets

FAQ

How can I safely display a Silverlight ad on my Web site?

Is it safe to load arbitrary XAML in my Web page?

Is it safe to load arbitrary XAML from managed code?

Is it safe to display arbitrary media in XAML?

Is it safe to allow users to upload arbitrary XAPs to my Web site?

How can I tell if a file is a Silverlight application?

Is it safe to render XAML or run XAPs on my server?

How can I make sure my XAP is loaded only from a specific domain?

Is it safe to hide secrets in my XAP?

Does the PasswordBox control protect the password in memory?

Where can I find documentation for these features and APIs?

Labels: , , , , ,

 
Wednesday, February 11, 2009
  email Regular Expression

From long time, I've been looking out for a better regular expression for my web application. Every time, I adjust with some freely available expressions and complete the work. But this time, I've decided as not to compromise with what I get for free. And started writing my own expression.

My email validator should justify all the following conditions..

1) it should restrict the user name length between 4 to 50 characters length - {3,50}

2) it should allow dots, underscore, hyphen. But not as starting point - [-.\w]

3) it should allow numerical as well as alphabetic characters of both cases - [0-9a-zA-Z]

4) it should contain one dot after one @

5) all the chars after @ should be at least 2 characters length and may be up to 20 characters consisting of alphanumeric with both cases

After doing all kinds of R&D, concluded as below. Correct me if am mistaken. And extend if you have any further to add

---------------------------------------------

^(([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z]){3,50})*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$

-----------------------------------------------

Labels: , , ,

 
Monday, November 17, 2008
  .NET 4.0 & VS 2010 CTP is Ready

Ofcourse, i might sound late in this announcement, but better late than never. On 31st October 2008, Microsoft has announced the CTP version of Visual Studio 2010 and Framework version 4.0. And their statement goes like this.

Visual Studio 2010 and the .NET Framework 4.0 mark the next generation of developer tools from Microsoft. Designed to address the latest needs of developers, Visual Studio delivers key innovations in the following pillars:
Democratizing Application Lifecycle Management
Application Lifecycle Management (ALM) crosses many roles within an organization and traditionally not every one of the roles has been an equal player in the process. Visual Studio Team System 2010 continues to build the platform for functional equality and shared commitment across an organization’s ALM process.
Enabling emerging trends
Every year the industry develops new technologies and new trends. With Visual Studio 2010 and .NET Framework 4.0, Microsoft delivers tooling and framework support for the latest innovations in application architecture, development and deployment.
Inspiring developer delight
Ever since the first release of Visual Studio, Microsoft has set the bar for developer productivity and flexibility. Visual Studio 2010 continues to deliver on the core developer experience by significantly improving upon it for roles involved with the software development process. .NET Framework 4.0 contains numerous improvements that make it easier to develop powerful and compelling applications.
Riding the next generation platform wave
Microsoft continues to invest in the market leading operating system, productivity application and server platforms to deliver increased customer value in these offerings. With Visual Studio 2010 and .NET Framework 4.0 customers will have the tooling support and the platform support needed to create amazing solutions around these technologies.

Find the same and download from this link

 
Monday, November 03, 2008
  Who is an Architect? - Part 1

Now-a-days am attending interviews for my next job. Most of the calls are for the Architect position. While preparing for these, realized few responsibilities and activities that were part of my previous roles. And they are the main theme of this post.

As mentioned in the post title, questions that comes to every developer's mind is..

Having mentioned all such questions, , would like to make things clear, out of my experience. Readers has every right to deny or challenge my understanding.

First of all, an Architect is like soul in the human body which you can never see but always experience the existence. This definition is totally true in small sized organizations. Because an Architect plays every role that is part of any implementation with in small scale industries. Architects are expected to be technically sound and functionally expert. The expertise comes with the knowledge and experience they gain from their previous jobs or personal observations from different implementations.

I remember reading from one of the articles by Mr. Joseph Hofstader, 'On software projects, the title Architect is often ambiguously defined and the value provided by architects is not easily quantifiable..'. That's true. In most of the situations the role is not predefined by either management or any other. But in all cases, the person who is acting as an Architect, will give life to the situation and serve the purpose that is being sought for. Did anyone ever thought that how this has become possible from nowhere to everywhere.

 

The only reason for the success of any Architect is the following..

In any case, if any of one is failing, the consequent steps will yield unexpected results. For all the success of any and every Architect, the fundamental points are..

  1. understanding the business and
  2. correlating their past experiences or success stories of great applications implemented across the industry

Having mentioned that, the designation of an Architect wary from Technology vertical to Enterprise level. Depending on the role and responsibilities the designations can be attached to them. For about 3 yrs in my career I've freelanced working with different industry giants on short term as life saving or rescue missions for different domains. The  designation with in the teams that I worked, depends on what am I asked resolve.

As it is very short period of time with every client, it is next to impossible to understand the business and the architecture of the application that is being built over 2 yrs and resolve the bottlenecks of the application. But one thing that I kept on my mind towards understanding the bottlenecks of any application is the .NET framework fundamentals and their flaws.

Coming back to the definitions and flavors of an Architect, there are different varieties of designations that are widely popular in the market.

Technical Architect, is some one who is extremely knowledgeable on specific technology. This person purely concentrates the latest updates of the technology

Solution Architect, is some on who is deeply aware of the business and the functionality of every interacting pieces of the business. This person is not necessarily technology agonistic

Enterprise Architect, is some one who takes care of the business and concentrates on how to make different functional units to work aligned to mission and vision of the Enterprise

Infrastructure Architect, is some one who takes care the smooth execution of the release management of the application from development phase to production environment. This role is the key for the application execution bed.

 

Apart of the above mentioned roles, there are plenty of fancy designations that would sound like, Software Architect, Business Architect, blah .. blah..  In this post, i've mentioned about different designations and roles that an Architect would be playing. Will try to post some other interesting facts about an Architect in the next post. Till such time, happy reading and blogging.

Labels: , , , , ,

 
Wednesday, August 27, 2008
  What's new in .NET v3.5 sp1

Microsoft has released .NET Framework 3.5 Service Pack 1 on 11th August 2008. Do you believe if I mention here that when compared to the .NET v3.5 with .NET v3.5 SP1, there are

Don't get surprised.. these are not my inventions. NDepend is a tool that will help you to understand any given assembly. Patrick Smacchia, an MVP for C# has a detailed note on his blog about the version differences. I recommend every one to give a look at his post, " .NET 3.5 SP1: Changes Overview "

Labels: , , ,

 
Wednesday, July 09, 2008
  Maximum Transfer Rate in my life
Today while am downloading the interview of Biff Gut from ARCast.Tv, i've reached the maximum download that i ever encountered in my life. Secondly, this download is from WiFi network.

I've never attained such a large transfer rate even with the wire connected network.


On top of this, this network doesn't belong to our company, but to the company situated at 2 stairs above our office. isn't is strange.

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels: ,

 
Thursday, April 10, 2008
  Creating Your Own Search engine

Creating your own search engine is not a big issue with the availability of the current technology. Apart from that, if you want to get results thrice that of a single search engine.. here is a mechanism for you to search with Live, Google as well as Yahoo at the same time.

First: Goto this link exposed by Microsoft

Second: Beneath the Create Your Own, at the 3rd step, type http://mysearchoff.com/?q=TEST

image

The reason being that, http://mysearchoff.com is the place where you can perform a search with the above (Three) search engines. The trick is this, we are going to use this facility for our IE.

Final Step: Name the search as Sweet as you like and Press Install button.

By pressing the Install button the JScript of the webpage will install the search component on your IE. And you can see that on the top right corner of your IE with the name that you have given at the 3rd step.

Note: This works only with IE7 or IE 8. You can see that the search on my IE looks as seen below ..

image

Labels: ,

 
Tuesday, April 08, 2008
  Runtime in LocalLanguage

image

Though the runtime that is released on 28th March 2008 is not related to .NET, but I see a huge breakthrough from Microsoft towards the runtime engine growth as well as the next generation runtime engines. Infact, if they could do it with MS-Access, it is not a big deal for Microsoft to introduce such similar runtime for .NET CLR as well.

Hopefully, in the near future we would see the same kind of runtime for .NET as well, leveraging the .NET languages to the next level of localisation. Honestly many a kind of the following questions are cooking in my mind... help me if you have any clue for any of the following

Rather confirmed, am now more confused... who will help me..

Labels: , ,

 
Thursday, March 06, 2008
  IE 8 Beta1 and SL2.0 - Today

image

Today, I've downloaded IE8 beta 1 as well as Silverlight 2.0 installed on my laptop. This day have seen many products released at Mix 08 by great personalities like Scott GuthrieBob Familiar, Guy Burstein, IEBlog, etc. According to Jane Kim at an interview for Mix08, Activities and WebSlices are two of the most exciting new features in IE8.

image

Apart of IE8.0 and SL2.0, there are other products such as

I've downloaded all these .. and am trying out one by one .. what about you??

Labels: , , , , , ,

 
Wednesday, March 05, 2008
  Unity and EntLib 4.0

Unity Application Block, code named as UNITY, is out with latest release:11319 on March 4th 2008. The main purpose of this Application block, is to make the developers to concentrate on the dependency of the objects they instantiate correctly.

The Unity Application Block (Unity) is a lightweight extensible dependency injection container with support for constructor, property, and method call injection.

Unity addresses the issues faced by developers engaged in component-based software engineering. Modern business applications consist of custom business objects and components that that perform specific or generic tasks within the application, in addition to components that individually address cross cutting concerns such as logging, authentication, authorization, caching, and exception handling.

Here is the road map for Enterprise Library version 4.0 and Unity

Unity-EntLib-Roadmap

Labels: , , , ,

 
Monday, March 03, 2008
  Douglas Crockford talk about WEB

This is a nice talk about how the web evolved and where it should have been as of this day. According to Douglas Crocford, instead of progressing into new technology, we are degrading our technology into where it all started.

Shocking !!! isn't it !!! .. listen to him from his own voice. His discussion has roots back from Herman Hollerith and the 1890 census. In the begin of this episode, I couldn't imagine how this gentleman brought the relation from the good olden days to now-a-days AJAX and JSON. Am convinced with his idea, and certain facts that he is mentioning about are REAL. According to him, we are doing research on the great thoughts that are published way back in the history by many great scholars. Outstanding ..

During the discussion, he mentioned the failures of Java. Another interesting point is that he tells where and how Microsoft could be successful in the key failures of Java. All these days I've seen the failures vs success points of these both technologies from the point of a Developer, but after this Webcast, I realised the areas as visualised by the real researcher. Yes, he has a vary valid points to give attention towards introducing the new bugs to the application at every new release. One more point that he highlighted about the "Open Source" vs "Proprietary Source" as, at the open source there is no single responsibility towards the bugs introduced / induced onto the source. Where as the proprietary source takes the responsibility and fixes them as a patch to the application. Yes!! that too convincing to me.

This is the first time am giving attention to such talks. Probably because of this, I felt that this talk has many points to give attention. Anyhow, overall this is a great talk and every mind that want to contribute to the progress of our technology, should listen to him and put some thought process towards these points.

Did you listen to this ??

Labels: , , , , , ,

 
Tuesday, February 19, 2008
  Increase Web Pages Response time - tip

For the ASP.NET pages that has no user input it is a best practice to have the page register with EnableViewState=“false”. This will increase the response time to 200% of the default.

Along with that, you can also do the one more important is that, anyhow these pages have no user input. Secondly, these will have data that is read-only from database. Thus, you are sure that there is no activity from the user that could be saved onto disk. Perhaps the user might work with the data that is available on the page.

Hence, keeping all the above point in mind, by setting the session’s state to read-only makes the WebPages more effective and the response time increases drastically to about another 200%. Think this and change your web page attributes from the next time onwards

del.icio.us Tags: , , ,

Technorati Tags: , ,

Labels: , , ,

 
Tuesday, February 12, 2008
  What's behind name, "Microsoft"

Did you ever thought that Bill Gates named their company as "Microsoft"?.. it was a billion dollar question to me all these days. At the early days when Bill is forming his company along with his friends, sought recommendations for a good and fancy name. Every one gave their won stylish and trendy names. They are not ready till their first cheque is due to them. While Steve Balmer is talking about a product that is the brain child of Bill, mentioned as ".. it is a SOFTware for MICROprocessors .. ", these words lead the idea to name their company as Microsoft. And the rest is history and preset.

Does any has proof to violate this information??

Labels: ,

 
Friday, January 18, 2008
  Charles In Space - a space tourist

CharlsTimeLineThis blog is from a space tourist.

Labels:

 
Tuesday, January 08, 2008
  Standards @ Microsoft

With the new year roll out, Microsoft has initiated a new website with the caption as mentioned at the subject of this post. Yes, they are starting a new initiative with all the Standards that are in place with the industry giants and the best out of Individuals, Corporations, Academics, who not ... every one ..

http://www.microsoft.com/standards/ is the link for all such standards. The initial thought for this resulted from the Interop team. They have a separate home for them as http://www.microsoft.com/interop. The history has 2 yrs old story to come out with such standards towards Interoperability. And finally they are with the standards that are in best practice with industry.

I just started going through one by one.. did you ??

Labels: , , , , ,

 
Monday, December 17, 2007
  VS 2008 and .NET 3.5 Training Kit

The Visual Studio 2008 and .NET Framework 3.5 Training Kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize the Visual Studio 2008 features and a variety of framework technologies including: LINQ, C# 3.0, Visual Basic 9, WCF, WF, WPF, ASP.NET AJAX, VSTO, CardSpace, SilverLight, Mobile and Application Lifecycle Management.

I've downloaded this, if any one require this, you can drop me a mail or can collect from me.

Labels: , , , , , , , , ,

 
  Microsoft Products at No Cost - Free

Who says that Microsoft manufactures products only to sell ?? Microsoft has many products that are free to download. As am into .NET and specially with Visual Studio, am aware that Visual Studio is free to download from Microsoft's website. Yes, that's true.. Microsoft give Visual studio 2008 Express Editions, MSDN Library for Visual Studio 2008 as well as the Runtime for the latest .NET framework 3.5.

Here is the link to learn more towards free products as well as priced products. To know more about the product information about Visual Studio 2008, click here.

Labels: , , ,

 
Tuesday, December 11, 2007
  Laptop under $100

That's true, you read the title correct. BBC recently wrote about this on 6th Dec 08. Microsoft is working out towards the XP operating system to be a reality on the co called $100 laptop or XO. If things go as scheduled, $100 Laptop or XO will be a reality by the mid 2008.

James Utzschneider, GM for Marketing and Communications from Microsoft, wrote about this at his blog. According to him, about 40 engineers are working towards mid 2008 to come out with a production-quality release. The XO laptop works with 1GB Flash memory, when compared with traditional Hard Disk Drive.

OLPC, One Laptop Per Child, organisation is having a great idea towards making this product into a reality. During June 2008, Intel announced a laptop under $220 with a title as "Classmate PC". This is similar to that of XO laptop, but some of the basic difference is kind of 2GB Flash memory in ClassmatePC, where as 1GB in XO laptop.

These kind of laptops are really good towards educating the next generation kids towards the technology. Isn't a great work..

Labels: , , , , , ,

 
  Servers at Home

Servers belong to Office. All these days, wife's worry that their husband not only work wholly with LapTop, on top of this, Micorosoft is coming out with one more product titling as "Stay at Home Servers". Don't you believe this .. pay a visit to their product page. Microsoft addresses this as "WindowsHomeServer". The advantages explained in nice video. This video has all the possible places that every home can have and what every one can do from every location of common home.

Where are we going .. and where is the infrastructure is moving to ?? anyhow, when will India have all such infrastructure inbuilt apartments or homes built with such facilities.

Labels: , , , , , ,

 
Monday, December 10, 2007
  ASP.NET 3.5 Extensions Preview

The ASP.NET 3.5 Extensions Preview provides a glimpse of new, powerful functionality being added to ASP.NET 3.5 and ADO.NET next year. This release delivers features that enable high-productivity data scenarios and creates the best server for rich clients. The release includes an ASP.NET model-view-controller (MVC) framework, ASP.NET Dynamic Data, Silverlight controls for ASP.NET, ADO.NET Data Services, an Entity Framework runtime, new features for ASP.NET AJAX and a wide variety of API References as hosted at ASP.NET Official site.

You can download the ASP.NET 3.5 Preview, which contain all the Siliverlight controls, ADO.NET Data Services and many more. There is a forum specially dedicated to ASP.NET 3.5 Preview at ASP.NET Forums.

Labels: , , , , , , , , , , , , ,

 
  New Font for Visual Studio


Microsoft Visual Studio Team has announced the new font for the Visual Studio Editor. The old font in the Visual Studio editor will look like the below one. You might wonder what is the difference between the old code font as well as the new Microsoft Consolas Font Family. The main difference in the words of microsoft is.. "All characters have the same width, like old typewriters, making it a good choice for personal and business correspondence". You can download the latest font from Download Section.




Where as the new font will have the look as displayed below


I've updated my Visual Studio with the latest font. Did you?

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels: , , ,

 
Friday, December 07, 2007
  YouHaventHeard.NET



Yes, that's true. You haven't heard about this website. oops.. Mistaken, it is not YOU Haven't.. but I Haven't heard of this till this day. This


website has 4 major sections as displayed in the image.
1) MSDN Admin KIT
2) MSDN DDIK - Developer Desktop Inventory KIT
3) MSDN BluePrint - Helps towards your role at your organisation
4) SDLC-in-a-Box, with lots of testimonials

Every one should give attention to this site. This site has some thing or other for every technology person. This site can be mentioned as a gold mine. Did you come acorss of this?? What are your comments on this??

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels: , , , ,

 
Thursday, December 06, 2007
  Calling .NET Component from a classic ASP page

After a long time, today, got a requirement from ASP page. Our current client has a major application written in classic ASP 2.0, and we have given him an extension functionality written in .NET with VB as programming language.

Now, we have 2 different applications running at the same box with 2 different technologies, ie., an ASP application and an ASP.NET application. For both of the applications, there is a common functionality talking to the database via a webservice written in Java. The current situation demand a common library that will be reused at both ASP.NET pages as well as ASP pages. Apart of the requirement, the one point that led me to post here is "How to call a .NET Assembly in a Classic page"

Creating .NET Assembly

Imports System
Imports System.Runtime.InteropServices
Public Class MyLibClass
Public Function MyLibFunction() As String
Return " Invoked the method from COM successfully .."
End Function
End
Class

With the above code, you can generate a .NET DLL after compiling with either Visual Basic Command Line Utility, VBC.EXE or from the Visual Studio Environment. While compiling this code, give extra attention at the assembly attribute to make the DLL Visible to COM as mentioned below.

<Assembly: ComVisible(True)> 

If you are using the Visual Studio Environment, go to the Project Properties, at the Compile section don't forget to check the "Register COM interop" check box. This check box will be by default unchecked, indicating that the DLL will not be exposed to COM.


Now the assembly is ready to reuse. But before we start the actual implementation, if you want the Assembly should be register with the GAC, you have to take the assistance from StrongNameKey file. You can create a Strongname Key file with the command utility SN.EXE or from the Visual Studio as well. The command to create the Strongname Key file is as mentioned below



> sn -k strongnamekeyfile.snk


Once you are done with the strong name key file generation, you can attach the key file either with the /keyfile:strongnamekeyfile.snk option or with the assembly attribute as <Assembly: AssemblyKeyFile("strongnamekeyfile.snk")>


Now it is the final time to compile your code and do the calling stuff from ASP page. Once you compile the code from Visual Studio, you will have 3 files, .PDB / .TLB / .DLL. The .DLL is the actual file. You have to do 2 things to share this DLL.


Register as COM as well as with GAC


Now that the DLL is ready, we will take the assistance of REGASM command line utility to register as public assembly.



> regasm /codebase /tlb:a.tlb OurAssemblyFile.dll


With this command, the DLL will be registering at the registry. Please don't forget to use the /codebase option. To register the same with GAC use the following command



> gacutil /if OutAssemblyFile.dll


This command will register with the GAC and is available as reference within the .NET Framework. With the first command, the object is ready to invoke from ASP code. You can use the COM component with Server.CreateObject("OurAssemblyFile.ClassName") command from ASP page. The actual implementation at any ASP page will look like as mentioned below

 dim objCom 
set objCom = Server.CreateObject("libraryNameSpace.libraryClass")
objCom.DoSomeWork() ' this method doesn't return any value
Finally, if this page throw any kind of error as Unindentified Class name, then the only solution is to reset the IIS.

Labels: , , , ,

 
Wednesday, December 05, 2007
  Mix: UK 07 Vedios

For all those who didn't attend the Mix at UK during Sep 07, here is a good news. The good news is not only for those who didn't attend the MIX, but for all the technology lovers as well as persons who are passionate about latest technology happenings.

The two day event is now available for offline viewing at their website. Here is the link that give you the download of all the videos of all the sessions that happened. Isn't nice for all of us, who missed the event and who couldn't afford to attend the event.

It's time to download and view them offline. Am going to download all the events, if any of you doesn't have the i-net connectivity or by any issue, could not download these videos, drop me a mail at DSKCHECK at MSN dot COM

Catch you later..

Labels: , , , , , , , , , ,

 
Tuesday, December 04, 2007
  Live goes deep while searching

Most of the industry say that, Google is the top search engine and will give you lot of results when you search. But the missing point is that, Live Search gives you deeper search when compared to Google.

Surprising !!!! i just did a small search for my name, Chakravarthy, at both the search engines. To make the figures matter, i go upto 100 pages in Live Search results. Where as, Google takes me only upto 84 pages. To my surprise, when i go back to the 83 page, then i see the search pages count is increased from 84 to 87. is isn't it weird ..

And adding to my surprise, i read a statement at the bottom of the last search page as

"In order to show you the most relevant results, we have omitted some entries very similar to the 870 pages already displayed"

 

Don't believe !!!! Try out your self..

Labels: , ,

 
Friday, October 12, 2007
  Power of Sliverlight
Siderys webpage is designed using Sliverlight. An awesome work. This work simply demonstrates the power of using Sliverlight. I can use this as starting point to present the Silverlight technology to my customers.

Did you see this ??? Pl visit that page and post back your comments on the same.

Blogged with Flock

Labels:

 
Saturday, September 15, 2007
  The importance of JavaScript 'return'

Recently, while coding for a Text Field value padded with left zeros, realised the importance of the RETURN key word for the FUNCTION written in JavaScript. Before i mention the actual importance, let me describe you the situation.

Scenario: A Text box need to be padded with zeros and should have the length of 7 digits, even the data entered is less than 7.

Ex: When the key board input being 88, the text box should show 0000088. Note the ZEROs padded on left.

So, started with a JavaScript function as mentioned below

function PadZeros(x)
{
var v = x.value;
while(v.length<7)
{
v = '0' + v;
}
var ss = document.getElementById(x.id);
ss.value = v;
}

After this, the text box is padding with ZEROs and the code is perfectly running. To allow this to code execute for any given text box, all you have to do is, add the ATTRIBUTE to that text box. And while adding keep one thing in mind that, we would be calling this function on BLUR, ie., LOST FOCUS of the text box. The code is as mentioned below.

            this.txtPCode.Attributes.Add("onblur", "PadZeros(this);");

Please note the 'this' keyword. The usage of 'this' keyword has many possibilities. Let me see that, one day will post where the 'this' keyword is used and their context. And also note that, neither the function is returning any value nor the text box is added with the code that handles the output of the function. Will come to that in short.


 


Every thing is working perfectly well and going on smooth. But suddenly, i realised that the text box is just padding ZEROs when there is no Input. I see all ZEROs in the text box as 0000000. Then came the real trick to the function.


function PadZeros(x)
{
var v = x.value;
if(v.length == 0)
{
var vTe = document.getElementById(x.id);
vTe.focus();
alert('Please enter Provider Code .. ');
}
while(v.length<7)
{
v = '0' + v;
}
var ss = document.getElementById(x.id);
ss.value = v;
}

What do you see here is the mechanism to set the focus back to the text box. Great... but that even is not solving my purpose of leaving the text box blank when there is no input. This function is still adding ZEROs to no input and showing all ZEROs. Then came the purpose of the 'return' keyword. The entire requirement is simply solved by this keyword. All i've done is.. changed the code as mentioned below.


function PadZeros(x)
{
var v = x.value;
if(v.length == 0)
{
var vTe = document.getElementById(x.id);
vTe.focus();
alert('Please enter Provider Code .. ');
return false;
}
while(v.length<7)
{
v = '0' + v;
}
var ss = document.getElementById(x.id);
ss.value = v;
return true;
}

At the code behind added 'return' as shown here

            this.txtPCode.Attributes.Add("onblur", "return PadZeros(this);");

That's all.. hoollaa... What do you say ?


Technorati Tags: , ,

Labels: , ,

 
Friday, August 24, 2007
  C# 3.0 - What's New : {Implicit}-Part1

Recent development in my technical life is that, started working out with Orcas Beta 2. So, thought to blog about the latest happenings with C# language. The idea emerged to start a series of posts related to C# new features. This is the first of ever such kind of blogging specific to a topic.

C# 3.0 has many-a-new features. To start with, let me take a concept of Implicitly Typed Variables.

Implicitly Typed Variables

In the good old days, the developer has to worry about the type of the variable. Say for instance, whether to use long or double for a counter. Here all that we observe is that the language that is built upon is the type specific. Hence forth the developer is not required to define the type of the variable at the time of declaration, but it is the task of the compiler to decide what type of the object the variable is. All that the developer has to do is that, use the var keyword while declaring the variable, similar to that of JScript or Visual Basic style. Hey!!! Stop!!!!! don't get confuse with the type of VAR variables declared at JScript or Visual basic.

Let's first discuss the difference between VAR variables at JScript and VAR variables of C#

VAR JScript VAR C#
This is of no type The type of the variable is defined by the value declared and decided at the compile time
Technically have no type. Can consider of limited types, namely, string literal, numeric, boolean Type agnostic, have specific predefined formats
Type conversion is coercion Type casting is simple and handled by CLR
No mechanism for parsing explicit functions for parsing to specific type

Now, let us see the difference between the language specific VAR of VisualBasic 6.0 and C# 3.0

VAR in VB (but not .NET) VAR in C# 3.0
By definition, these are Variant Type of the variable is defined at the compile time
Could be any allowed type from with in the known types of the language Type is decided by the value associated with the variable
Largest among all the known data types Size depends on the type of the value initialised

To summarize, the variables declared in C# 3.0 are type specific, thou used the key word VAR, during the declaration. Thus, we can conclude that the compiler is the responsible point to decide the type of the variable. Hence we can say with comfort that, the variables from C# 3.0 are Implicitly Typed variables.

Some examples as mentioned below.

            var vIntVal = 10; // This will be the System.Int32 type
var vLongVal = 10000000000; // This will be the System.Int64 type
var vDoubleVal = 10.0; // This will be the System.Double type
var vFloatVal = 10.0f; // This will be the System.Single type
float vFlVal = 10.0f; // Thou defined using float key word, but inherits from Struct System.Single
var vStrVal = "String Value "; // This will be the System.String type

So, from the above declarations, it is pretty clear that the variable is defined by the value associated during the declaration. The type is not just limited to the kind of data types as explained above, but you can extend this to any type of the variable that you use while writing code for iterations, similar such as foreach. Below is the example for other known types.

            foreach (var vTable in ds.Tables) // Implicitly declared a variable of Data Table Type
{
foreach (var vRow in ((DataTable) vTable).Rows) // Implicit declaration of DataRow variable
{

}
}

By using such, one can extend any extent. The limit is the imagination of the developer. What do you say?


Source:


1) http://cobdev.cob.isu.edu/psb/jscript/306.htm for JScript
2) http://www.1sayfa.com/1024/diger/vb/ch07.htm for Visual Basic 6.0 Datatypes


del.icio.us Tags: , , , ,

Labels: , , , , , ,

 
Saturday, August 04, 2007
  Intro 2 LINQ - Blog

With, Introducing Microsoft LINQ, as title, Marco Russo & Paolo Pialorsi, authors of the book (title same as the head line) initiated a website, keeping the concept LINQ as the center of the gravity.


The concept seems great and as on this date there is less activity from the creators of the website. Anyhow, hope that this website will become active and vibrant in short time.


del.icio.us Tags: , ,

Labels: ,

 
Thursday, July 26, 2007
  PaaS or SaaS

There is a big debate going on with these two buzz words. Before we get to the point of this post, let's first examine what they are... and what they mean by to the development force.

SaaS : By definition it goes like this, Software As A Service. In the good olden days, we are used to think the application as whole system and all the modules have to function only with in. But as the technology evolved and the new horizons are leading the development process to newer levels, we got a new dimension as "Web Service". This concept then further raise the functionality of the individual modules belonging to the big application turn into smaller parts of reusable components by other applications as well. Resulting the module as a service altogether for any and every consumer application.

This left the architects to view their application in smaller, exportable as well as consumable by different vendors or applications. This led to the concept of designing every application to foresee the reusability and come up with a kind of an architecture, so that every module inside the application is targeted as service. Hence the concept of "Software as a Service"

PaaS : By definition it goes like this, Platform As A Service. In the recent days, the paradigm of application switched over from an individual point of a specialized vertical to the combination with the external functionality as well. As mentioned above, the applications started consuming the Services from external world and expanding their domain functionality. The industry is not just satisfied there with.

Some thing more wanted and flexibility with in the application brought the idea of "Platform neutral" into limelight. Resulting that the application concept attain the new veneer. The architects started visualizing the need for the application platform, as a whole, to be flexible enough to work as a service. Leading to the new scope of web availability to every anonymous user.

-------------------------------------------

This is my first post that ever made me to think very deeply and came out of my own words... How is this ? 

del.icio.us Tags: ,

Technorati Tags: ,

Labels: , , , ,

 
Wednesday, July 25, 2007
  What is LINQ & Lambda Expressions

LINQ

By definition Linq is Language Integrated Query. That's not the concept of this post. From my understanding and experience with LINQ as well as SQL programming, i would like to make a point. Most of the ideas that are in air about LINQ is an extension to the Structured Query Language, ie., SQL. In other words it is spelled as a kind of influence by Microsoft to the SQL.

Having mentioned the misconception from the people, let me correct with my understanding of LINQ is all about Reflection. So it is not about any kind of Database related query language.

Lambda Expressions

By definition from MSDN, they are the extension for the Anonymous methods from C# 2.0. In reality they can be interpreted as anonymous functions, such as from C# 3.0 feature some thing similar to FUNC<>. In other words, lambda expressions are nothing but the inline expressions. And the function body of the FUNC goes on the right hand side of <>

Labels: , , , ,

 
Thursday, July 19, 2007
  Microsoft Test Automation User Group - MTAUG.net

A new user group that is taking into shape, specially for the teams that involve software testing. You can get to know more about this user group from http://mtaug.net or get onto http://groups.msn.com/mtaug

This group is going to be functioning in parallel with "Hyderabad .NET User Group", http://muag.net or http://groups.msn.com/dotNETUserGroupHyd

Tomorrow, 20th July 2007, is going to be the launch of the group. Am going to be there as a speaker for C# 3.0 fundamentals.. are you ?

Labels: , , , ,

 
Friday, July 13, 2007
  Blidget Promo Badge 2
 
Wednesday, July 04, 2007
  C# Nullable Types
Acccording to MSDN, there were about 24 types of nullable in C# 3.0, but only 3 types are drafted. They are

Using Nullable Types (C# Programming Guide)
Boxing Nullable Types (C# Programming Guide)
?? Operator (C# Reference)
Let me draft about the point that lead me to post this information.

With in our application, we want to validate a variable towards null. we started validating the variable with the ".HasValue" property. During some progress, suddenly some thing flashed in my mind about my experience of working with the teritory operator (of C or perhaps VB). The syntax could be some thing below

variableX = (condition) ? truevalue : falsevalue

similar such, is there in C#, not similar thou, but approxmately, ?? operator returns the left-hand operand if it is not null or it returns the right operand. You can observe from the below codesnippet



int? p = null;

int? y = 7;

if (p.HasValue)

y = 9;

int c = p ?? y; // this will return 7 as the value in p is null

Console.WriteLine(" \n The value of c is {0} ", c);

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels: , ,

 
Monday, June 25, 2007
  Indian companies at WPC -Worldwide Partner conference
Thousands of partners registered with Microsoft competing for the WPC Awards. The finalists ready and their details are out from Microsoft, you can see their details at this link. Out of 42 categories 125 partners reached the finals. 3 companies with Indian origin also found their way to the final and competing with giants. They are





    1. Satyam Computer Services Ltd.,


    2. Quadrasystems.net - finalist in 2 categories


    3. TECHGYAN



The final show is scheduled to July 11, 2007. Let's see whether these companies will win and give a tough competition with the peers in the industry.

Labels:

 
Wednesday, June 13, 2007
  Webcast on XMLDom with Microsoft
Today accidentally, found my webcast on XMLDom functionality at ondemand Microsoft, India webcast site. Please go through the "VSTS" section, at the last you will see my name and the link. You can download the webcast from this link or search for the event id as 1032301833. And if you require the demo application and the presentation, write to me.

From this link you can learn more about my career as a speaker for Microsoft. And these details as on the date of May 2005. The details mentioned at their Speakers profile section are updated while am working with XYKA.

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels: , ,

 
Wednesday, June 06, 2007
  Interesting Typing Test
This link is really cool for people who want to test their typing skills and specially i found this useful for one important reasons is, spelling.. you will type fast if you know the spelling, else you have to read than type. This way you improve your spelling skills also.

Did you try, on my first attemt got around 365,xxx ... am not sure.. but is a good score for me.
-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels:

 
Wednesday, May 30, 2007
  Runtime Polymorphism

One of the frequently seen situations from a technical standpoint in a large scale of Business Layer objects is, invoking methods from different objects when they contain same method name. Today, am going to make it simple to give an example for Runtime Polymorphism. Leave your comments if am mistaken

At this stage, I don’t think to mention about "Polymorphism", as hope that you are aware of how polymorphic behavior can be fused using C#. If you want a start up, in simple words, implementation of one Method with many definitions, as mentioned below.

class Employee
{
/// <summary>
/// Invoked for the Regular salaried employes
/// </summary>
/// <param name="intEmpId">Employee ID</param>
/// <param name="intAbscentDays">Number of days</param>
/// <returns></returns>

public long CalculateSal(int intEmpId, int intAbscentDays)
{
return (GetEmpSal(intEmpId) * (GetWorkingDays(DateTime.Now.Month) - intAbscentDays));
}

/// <summary>

/// Invoked for the employees, who work as Daily wage
/// </summary>
/// <param name="lSalPerDay">Salary per day</param>
/// <param name="intDays">For number of days</param>
/// <returns></returns>
public long CalculateSal(long lSalPerDay, int intDays)
{
return lSalPerDay * intDays;
}
}

A simple way of invoking is as mentioned below.

Employee eTe = new Employee();

long lSal = eTe.CalculateSal(124, 2);
long lSal = eTe.CalculateSal(678.35, 18);

So, by now, you are clear how to write polymorphic method and as well as how to use. Let’s jump to how you can make the Runtime Polymorphism.

To continue the discussion, first we need to know that there are 2 basic types of polymorphism. They are, Overloading, referred as Compile time polymorphism, and Overriding also called as Run-Time polymorphism. What you have seen above is the first kind of polymorphism. The second type is referred as late binding. In other words, the selection of the method for execution at runtime depends on the reference of the actual object that is triggering the invoking of the method. Now let's explore that with some example.

Let us take a small class, as mentioned below with few properties. This class acts as a base class for us.

    public class EmpNames
    {
        public string FirstName { get; set; }
        public string MiddleName { get; set; }
        public string LastName { get; set; }
    }

We will now inherit this into the following classes. Observe that the both classes doesn't have any direct relation with each other and can be instantiated as is.

    /// <summary>
/// This class calculate the wages for given number of days
/// </summary>
public class Wages : EmpNames
{
/// <summary>
/// This will calculate the wages for the employees
/// </summary>
/// <param name="Params">Wage per Day, Number of Working days in a month</param>
/// <returns> WagePerDay * WorkingDays </returns>
public double CalculateSalary(ArrayList Params)
{
return double.Parse(Params[0].ToString()) * int.Parse(Params[1].ToString());
}
}


/// <summary>
/// This class will calculate the salary
/// </summary>
public class Salried : EmpNames
{
/// <summary>
/// This will calculate the salary for the employees
/// </summary>
/// <param name="Params">Working days Per Month, Leaves, Salary Per Month</param>
/// <returns> Full Salary in case no value for Leaves. Other case, (SalaryPerMonth/WorkingDays) * (WorkingDays - Leaves) </returns>
public double CalculateSalary(ArrayList Params)
{
double dSal=double.Parse(Params[2].ToString());
int intLeaves = int.Parse(Params[1].ToString());
if (!intLeaves.Equals(0))
{
int intWrkDays = int.Parse(Params[0].ToString());
dSal = (dSal / intWrkDays) * (intWrkDays - intLeaves);
}
return dSal;
}
}

Now that we have these two classes, We can write our code to instantiate them as individual. But the point of this post is to describe the "RunTime Polymorphism". Before we go further, note that, each class has the method "CalculateSalary" and as they are not directly related, you can instantiate them with out any hassle.

            EmpNames empObj;
            ArrayList alValues = new ArrayList();
alValues.Add(30); //Just add all the fields as this
            bool bSalaried = true; //am using this variable for validation of emp

if (bSalaried) //Validating whether Salaried or Wages
empObj = new Salried();
else
empObj = new Wages();
After executing the above lines of code, you are sure about the type of the variable empObj. This is Runtime initiating the object. But this is not the purpose of our current topic.
            double dVal;

//The below line will throw compile time error
//dVal = empObj.CalculateSalary(alValues);
dVal = ((Wages) empObj).CalculateSalary(alValues);

What do you see from the last line of the above code? Did you find that the method invoked is from a class type. Now, think that, what if the class is being instantiated as Salaried and the last line is being invoked?


This is called as RunTime Polymorphism.


del.icio.us Tags: , ,


-----------------------
 Declaimer: What ever you read here is out of my own experience. No one shall be made responsible for the contents and issues that are mentioned here. If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels: , ,

 
  Asynchronous Method Calling

During my last interview, got a question about the mentioned subject. Have decided to learn and post some code.

Definition of the Asynchronous Calling:

Executing the method Asynchronously, inother words, executing like the concept of Thread. The bottom line is inheriting the method by System.IAsyncResult and using BeginInvoke and EndInvoke to track the status of the method. Between these methods, one can check the status by IsCompleted status.

This is acomplished by Deligate keyword. Will edit this post during the time with all the example code.

Labels: , ,

 
Tuesday, May 29, 2007
  Must read for VSTS
While reading some news about VSTS, got to know that, Vertigo did some samples that Microsoft is using. Surprisingly true .. anyhow, thought to blog so that it can be useful for me in future learning towards VSTS.

They also have a blogs section with lots of content on VSTS, did you visited that?

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels: ,

 
Friday, May 18, 2007
  Switch to next Error
Use F8 to switch to next error in your code. It could be either HTML Error or CodeBehind.

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels: ,

 
Wednesday, May 16, 2007
  Hexadecimal Values Display at VS
While working with Debugging our current application, surprised to note that all the variables are showing their value in Hexadecimal format at Immediate Window. After doing some R&D got to know that some of team member set at to display in Hexadecimal value.

To revoke that format, all you have to do is, goto Watch Window and right click on any row and you will observe that "Hexadecimal Display" is enabled. Select or Deselect depending on your requirement. Dont go to Tools => Options => Debugging => ...

The tools option may not be available with some VS flavors like Professional or Architect. But for every edition, the Watch Window works.

What do you say?
-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels:

 
Friday, May 11, 2007
  Convert Text to Sentence - C#
To convert any given sentence into Title Case, use the following code.

public static string PropCase(string strText)
{
return new
CultureInfo("en").TextInfo.ToTitleCase(strText.ToLower());
}

Ofcourse, you have to use the Globalization class to get the CultureInfo method be available for conversion.
-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels:

 
Thursday, May 10, 2007
  One more Blog towards VS
While searching for some tips on Visual Studio environment, came across the blog from Helixoft. Seems interesting, blogging here so that will find some time to read through all his posts when time permits. Meanwhile if you got some time, go through this blog.

Forgot to mention that, the tag line is damn cool,

"Documentation has never been so easy .."

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels:

 
Friday, May 04, 2007
  First post from Windows Live Writer

After trying out many client tools to post from my desktop, am now decided to use Microsoft's Live Writer.

Seems simple, let me try out this. How do you see this post on the web now?

Isn't it cool ???

 
  .NET 3.5 is Ready

The Microsoft .NET Framework 3.5 Beta 1 is a preview release of the latest version of the .NET Framework. Many ISV’s, enterprises and Microsoft product teams are successfully building on the new features Windows Workflow Foundation (WF), Windows Communication Foundation (WCF), Windows Presentation Foundation (WPF) and Windows CardSpace in the .NET Framework 3.0. Microsoft plans to continue to invest in the .NET Framework developer platform and in support of existing users the .NET Framework 3.5 has a minimal number of breaking changes. So that existing applications built for .NET Framework 2.0 or .NET Framework 3.0 should continue to run without requiring changes. The .NET Framework 3.5 adds new features in several major technology areas; including:

.NET Framework 3.5 is planned to release at the end of 2007 and will ship with Visual Studio code name ”Orcas” and will also continue to be available for separate download from MSDN. For more detail about the features being introduced in .NET Framework 3.5 and Visual Studio code name “Orcas”, click here http://msdn2.microsoft.com/en-us/vstudio/aa700830.aspx

And you can dowload the latest version from this link. Did you?

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels: , ,

 
Thursday, April 26, 2007
  Our Team



This is the team am currently working with. Left to me is Prashanth, Steve, our onsite PM is sitting oppsite to me. The only girl is Abhaya.

We went out to have lunch

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels:

 
Sunday, April 22, 2007
  Never USE Finalizer in .NET
Aren't you shocked to read the Title, but me ... when i first read this post from Joe Duffy. Read through the lines to learn why he insists on that.

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels: , ,

 
Friday, April 20, 2007
  No Documentation and Time
Today, during the discussion with our fellow developer from offshore noticed the following statement about documentation and time. Thought that it is time to share my feelings with world on this kind of statement(s). Most of us come across such statement from some one or the other, or most of us use these statements in some time or other



.. my feelings is that you guys are used to work with the well defined structure, document and think like that, we lack of that here, we just don't have time to do much of that. I use to work with <<xx>> tool, we used to make a lot of UML design doc, UseCases every thing, but here we don't .. no time for documentation ..


The above statement has 2 controversial concepts.

  1. Follow the Standards
  2. Have NoTime

My understanding towards this goes as mentioned below,


First - NO STANDARDS : Who creates these Standards .. aren't these created by individuals like us??? why people are used to relate them with companies ??? and blame on organisations ??? if there is a practice that is resulting and implemented in an organisation, the employees who is currently working with that company ignore them when they join new organisation and start blame the new organisation. Would like conclude on this topic is, STANDARDS doesn't belong to organisations, but to INDIVIDUALs


Second - HAVE NOTIME : A big laugh, recollect from some old book that, "TIME IS THERE WITH THOSE WHO PLAN". To justify the statement, Prime Minister / Chief Minister / You and ME / Every one 's time is totally planned in-advance with regular stuff like sleep / wakeup / bath / travel / eat / blah .. blah .., isn't it. But what happens if there a sudden requirement for these guys to attend. In case of CMs / PMs they will plan again to reschedule all their plans. Isn't it. But what about those who say,

To me, "HAVE NO TIME" is really a statement with no meaning... GUYS !!!! Wakeup and start planning, then you have lot's of time


Anyhow, pl comment

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.




Technorati :
Del.icio.us :
Ice Rocket :

Labels:

 
Wednesday, April 18, 2007
  Mobile Phone Tracking
There is a hoax to paly prank with user by the mentioned title at this link. Fell in trap by Sudhakar at his blog and thought that is a kind of reality.

This is some kind of cool trick during this april month, a nice trap to fool your friends. Did you try this out..

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels:

 
Wednesday, April 04, 2007
  Intro to XAML
While searching for some server side control and accessing the htmlhidden values through the codebehind of ASP.NET pages, came across the article "Getting Started with XAML". This article is so simple and easy to digest.

All those who are new to .NET, pl start learning the V3.0 directly, dont start from both v1.1 or 2.0.

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels: , ,

 
Wednesday, March 28, 2007
  HP Trashes Warrenty for Linux
On March 23, Slashdot published an article about HP scrapping the warrenty given along with the hardware, if Linux is loaded. How surprising is this ??? I can't believe this, but some how read from Slashdot website.

Did you read this article narrating in detail and this is from Linux community

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels:

 
Tuesday, March 27, 2007
  Downloading Webcasts
Now-a-days, am trying to download the webcasts from microsoft ondemand site. Unfortunately, i get "Connection to server was reset" error after downloading about 8MB of file, is really irritating and disappointing.. any of you have clue about how can i download these webcasts with out getting these error?

If any of you got tools that will help us to download these webcasts, pl drop me a line at the below mentioned mail id.

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels:

 
Saturday, March 24, 2007
  IE 7 Shortcut keys
While am updating my IE to Version 7, got this link from Microsoft's IE weblog. This link has all (major) shortcut keys and some interesting ways to explore your regular "ToDo's"

Try and experience them..

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels: ,

 
Wednesday, March 21, 2007
  Work load Quiz
There is a small quiz from Microsoft to promote 2003 Cluster Server... did you participate ? If not, quickly participate and win prizes.

I got 5 out of 5... how about you???

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels:

 
Monday, March 19, 2007
  5 Things many of you unknown about me

Let me post about the truths that many of you unaware

First ) Am a Diploma holder for Bharatha Natyam


Second ) While persuing Education, dance tutions are my main trade towards financial support for my education


Third ) Started my technical career as DataEntry operator with HPCL at Kondapally @ 70/- perday for entering about 3000 records. This is during my 3rd year of Graduation. During the entire year, very few days visited the college.


Forth ) Soon after the college exam on April 2nd 1996, started my professional career as Faculty Member at Prime Computers, Gudiwada on April 4th 1996.


Fifth ) Recently finished the 6th Sem Exams of MCA from Sikkim Manipal University. Yet there are 4 & 5 th semisters are pending due to my visit to Dubai.

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels: ,

 
Friday, March 16, 2007
  ASP.NET Debug Article
Time and again, have been visiting this page for many a times. Hence felt that it is time to store at some place about the error that every web developer will come across during the debugging.

Great resource to learn more about
Using the Visual Studio .NET 2003 Debugger with ASP.NET Applications
Did you come across of such articles any other place ... pl post back here to know more.
-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels:

 
Tuesday, March 13, 2007
  Another MVP Blog
Jon Skeet an MVP and having a strong software development experience. I first got through his blog at his home page, later redirected to MVMPS weblog.

Interesting to read about the articles that are available at his MVMPS Weblog, where as good amount of learning stuff from his Yoda homepage.

Did you come across of any other such people...

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels:

 
Saturday, March 10, 2007
  Ajax v1.0 is ready
AJAX v1.0 is ready to download from http://ajax.asp.net. Did you download ????

There are many-a-videos available to view, have learned many things from the vedio presentations. This is a good place to learn AJAX

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels:

 
Thursday, March 01, 2007
  Download Error

Error while downloading the webcasts from Microsoft Event home. Has any one know about how can we deal with these kinds of errors? Or Any clue about where the partially downloaded files would have been saved... checked "%temp%" foder, InternetFiles folder and ApplicationData folder... but invain.



-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Labels:

 
Sunday, February 11, 2007
  First Post from home
First post from home... let's see how this will uplift my blogging skills

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.
 
Friday, February 02, 2007
  Pre CLR Team
Before the CLR actually came into lime light, it was with a team called CROEDT stands for Comman Runtime Odds and Ends Development Team. And this team is the first team in achiving the round-tripping with the coding.

Round-Tripping means, take any managed code like IL, disassemble it, add or change some ILs and reassemble it back into modified Executable


-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.
 
Wednesday, January 17, 2007
  Is Google hacker free ?
What do you say, if i tell you that, Google is recently hacked ...

"Naaaaaaaaaaaa .... no way ..."

Are the answers from you... then tell me what do you see when you click on this link.

Good that you got some results from their database. But apart of the results, do you understand any hyperlink that is displayed at this link?

Fine, let me go to the root cause of the problem. What do you see when you click on this link?

Hey.. do you understand any hyperlink at this link ? What do you say after looking at these links...

Common... comment..

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.
 
Tuesday, December 26, 2006
  Enterprise Library 3.0 is out and ready for download
OOOOOps... it is quite long time that i posted in this month... The silence is due to lack of access to the system and time. Been on vacation and most of the time working due to preparation towards vacation. Finally here i'm..

During the last weekend, Microsoft officially launched the EntLib Ver 3.0 from Codeplex. Did you download and tried that out ?

They have placed a section exclusively for EntLib, all the latest patterns & practices are found here. Do you know this ?

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.
 
Tuesday, November 28, 2006
  BizTalk Training - This week
This week, am undergoing BizTalk Server 2006 training, let's see what i gain from there and will post all the data that i learn there.
-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.
 
Tuesday, November 21, 2006
  XML - A Decade
Do you believe that XML took 10 years to penetrate into the industry and become a backbone for the datatransfer mechanism?

IBM published a white paper on this with the title as "Celebrating 10Yrs of XML", an interesting article.

Worth reading, suggested to read and have a copy in your personal library.

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.
 
Wednesday, November 15, 2006
  Notes on 3rd Day Training
Christopher Richard - Is the faculty for this training

MDX - Multi Dimension eXpression

MDX is a Key to all advanced functionality in Analysis Server

JimRoy Number -- ?

Books To Read to get to know more in detail about OLAPDM -

1) Datawarehouse Toolkit, A complete guide for DM - Ralf Kimble,
Willy Pubs

2) MDX - MDX Solutions for SQL2005 and HyperonSpace - George Spafford,
Willy pubs

Difinitions in OLAP

Slice - Members of one dimension
Dice - Members of more than one dimension display

A Cube can have upto 128 DimensionsMDX can have upto 64 Axes

While fetching the Level name can't preccede the member name

MDX Query
Example
1) select {[Measures].[Order Quantity], [Measures].[Sales Revenue]} on
columns, {[product].[categories].[bikes]} on rows from [quick start
sales view]

Result:
OrderQuantity Sales Revenue
Bikes 90268 94651172.7047148

2) select {[Measures].[Order Quantity], [Measures].[Sales Revenue]} on
columns,
{([product].[categories].[bikes]),([product].[categories].[clothing])}
on rows from [quick start sales view]

Result:
OrderQuantity Sales Revenue
Bikes 90268 94651172.7047148
Clothing 73670 2120542.524801

Note: When you are using more than one member one has to use "()" to
put each member and seperate them by ","

3) select {[Measures].[Order Quantity], [Measures].[Sales Revenue]} on
columns, {[product].[categories].[product category].members} on rows
from [quick start sales view]

Result:
OrderQuantity Sales Revenue
Bikes 90268 94651172.7047148
Components 4904 11802593.2864
Clothing 73670 2120542.524801
Accessories 8654 21586524.484
Unknonw null null

4) select {[Measures].[Order Quantity], [Measures].[Sales Revenue]} on
columns, {[product].[categories].[product category].members} on rows
from [quick start sales view] where [time
dimension].[calendar].[calendar 2001]

Result:
OrderQuantity Sales Revenue
Bikes 20268 4651172.7047148
Components 1904 1802593.2864
Clothing 11670 120542.524801
Accessories 4654 1586524.484
Unknonw null null

Note: this data is for a single calendar year by using the WHERE Clause

KPI - KeyPerformanceIndicator - Why they are at backend, they are
supposed to be at frontface as they are similar to Dashboard.

Note: These exists from quite a long time in the industry, but are new
from Microsoft's pespective and for the first time they have included
them in their product

MicroSoft Dashboard Manager or KPI Manager

Scorecard - is the information that is WRT other information
DrillThrough - Is another feature that every OLAP tool should support.

MLOP - Is the +vesFastest storage ModeRetrival is Fast-ve is Latency

RLOP - will only create the Cube and the data is still there in RDBMS

HOLAP - Details data is still there in RDBMS, where as Aggrigates are
stored at Dimensional Model, inotherwords, in Cubes

Problem:
Your client has a cube that is set to process for every 2 hrs
Solution:
?????


-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.
 
Tuesday, November 14, 2006
  Training Notes on 2nd Day of SQL Analysis Sever
Realtime Warehouse - Do we really have such thing ?You can't analyse the data when it is not consistent for some time

Find the difference between - ER Model Vs Dimensional Model

Dimensional Model rules
1) Almost Dimensions Tables are mostly refered 1 to many to Fact Table
2) Summerizable numerical values are Measures
3) Dimension is an indipendent entity of a specific concept. For example Jan, Feb, Mar, etc are Time dimension and India, USA, Russia, etc are location dimension blah blah
4) Every thing that you see in world are grouped
5) From one Dimension one or more hierarchy is created
6) Think for only ANALYSIS, but not for information that is hidden and unwanted. The prime target of this tool is only to understand the progress and analyse the business but not for getting the details of the transacion
7) Remember that, how better you can give the user the Drill down capability

Customers - Dimension

ID CustName City State Country MaritalStatus Gender Tel eMail

How many hirarchies you can create out of the above individual labels?

H1) GenderwiseMaritalstatusTelnumber - Wrong Hierarchy
H2) H1+eMail - Wrong Hierarchy
H3) StateWiseGenderMaritalStatus

Note: Hierarchies are created only the grouping possible labels, where as Tel and eMail can't be grouped, using them in hierarchy is a bad design

Types of Hierachies
1) Balanced - All leafs will have equal number of Members / LevelsRule 1 - All leave memebers should be at the same levelRule 2 - The parent member don't have the values, they are procured from the childs

2) UnBalanced - Not necessarily you will have the equal number of levels or members

3) Ragged - Ragged are more similar like Balanced but just missing some parents
Never Make the OLTP Primary keys same PKs of Application System
Dimension tables are almost smallFact Tables are generally huuuuuuuuuuuuge

Schemas
1) Snow-Flake - Bad Design
2) Star

Thing to remember: If report is taking long time to conceptualise, it is inotherwords conveying that the database design is bad. So, if the report is taking less time to conceptualise on the DB what you have, is a good design as, visualised the report while designing
"Change the granularity is beyond the scope"

Dimension are not required to create repeatedlyRole Playing Dimension - Similar to the Table Alias

Measures are of 3 types
1) Additives
2) Semi Additive
3) Non Additive

Slowly Changing Dimension

-----------------------
If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.
 
Thursday, November 09, 2006
  Interesting Tips from AcitveWin
ActiveWin is a forum that is similar other forums by microsoft towards the knowledge share. They have a section called Tips under the name of TechTips, with general and regular tips contributed by users from across the globe. Though it is lastly updated on 24th June 2004, has some useful tips.

Try some from there.
 
  Understanding Security - MSDN
With the mentioned title, you have a special section for Security at MSDN. This section has many details explaind in simple. You have Webcasts, Trainings and Events listed there.

Did you see that?
 
  Windows Vista Team Blog for public
Windows Vista Team from Microsoft had initiated a blog and opened for external people to post their views and reviews. It is an initiative of first kind from Microsoft opening such a public forum even before the actual product comes into market.

This forum started way back duing Apr 2006. Many of the Vista Team members are contributing their knowledge in terms of articles / news about the new releases / examples / blah.. blah..

Did you read any article from www.windowsvistablog.com ?
 
Wednesday, November 08, 2006
  CLR Inside out - MSDN Magazine
Nov 2006 issue from MSDN Magazine has an interesting article about CLR. I've read for about thrice, still wanted to read for one more time. I read this article not just i don't understand, but every time i read the article it teaches me some new thing.

And it leaves me with such a strange feeling that i know less in .net. It talks about many-a-things like GC Performance, Diff counters that can be given attention while dealing with CLR, blah.. blah..

Did you read this article?
 
Tuesday, November 07, 2006
  MSN Messanger 8.1 - Ready
MSN Messanger v8.1 is ready to download. Did you try this?

And some of the cool features of this messanger as a startup for a new revolution, 2 VOIP calls free, in other words, PC-to-phone calling with 2 free calls to virtually any phone in the world.

For the first time, i could see our project name and company's name at the Microsoft website. Read the last lines as mentioned bellow

*With XXXXXXX Web Calling, you can make two free three-minute phone calls to virtually any landline or cell phone worldwide. Offer applies to new Verizon Web Calling customers only.

Labels:

 
  AppVerifier - Tool for Unmanaged code
AppVerifier is simply explained at this tutorial. And i suggest every .NET developer should read this, as this gives you an extra notch to understand how the code is managed and the developer should be aware of ..

This article also explains in step-by-step with images for each step.

What do you say?
 
  Must read articles
1) Michael Sutton, recently posted an article titled, "Top 10 signs you have an insecure Web App". Great study, i thought of posting some thing similar such from long sime time.

2) Cross-Site Scripting: Attacker's New favorite flaw
 
  Vista Reviews
DarkReading, is popular for critising. Y'day, they have published an article, "Microsoft beckons early adopters", talking about Vista. Interesting topic to read the views of an end user of a product from Microsoft.

This article is really impartial and talks about more indetails from the purspective of a realy USER.

What your comments on this?
 
Wednesday, November 01, 2006
  Coding4Fun Blog
This blog from Microsoft, is really cool and has many interesting projects coded and explained in simple words.

There are projects like Screen Savers, Photo Booths, Disco Floor, Skype Home, X10, CD Tray, blah.. blah.. wow..

Out of all my pick of the day is X10. Read about this with out fail.

What do you say ?
 
  Security in ASP.NET
While going through MSDN articles, came across an article about the mentioned subject. This article is really cool and explains from the basics of the Security to high level.

I've never come across of such detailed, fully explained version on this topic. I'll try to take a printout of this.

What do you say?
 
  MAX from Microsoft
Max from Microsoft is ready roll out with full features. Y'day they have announced the closing of the survey or feedback from the external world.

The code name Max seems to be more or a tool that has many a features from Riya, RSS Reader, blah.. blah..

Did you try this?
 
Monday, October 30, 2006
  Century
Hey, with the last post i've completed 100 postings... what a great slow start.. let's see where will i go with what accelaration... it's party time ...
 
  .NET Framework 3.0 Website
Microsoft recently started a website for .NET Framework 3.0 and the RC1 is ready for download from there.

This site seems to be really interesting and could find lots of lots of lots of lots of information, did you visited that ?
 
Friday, October 27, 2006
  MSDN New look
At the welcome page of MSDN Library, there is a new link redirecting to the new look and feel for the MSDN Libraray.

Anyhow, as New always interesting, this new look is also eye-catchy. Did you see that ?
 
  Orcus Forums
Recently a new forum is being initiated at Microsoft MSND Forums with the title being, "Visual Studio Orcus"

Did you try this?
 
  Bolgs at MSDN by Tags
Do you know that you can reach people who blog on a specific topic at MSDNBlogs? There is a way, go to http://blogs.msdn.com/tags/

Here you see different topics and click on them to see, who blogs on that topic. Generally i have a feed to common blogs.msdn.com and from there read all posts that interest me.

Did you try this ?
 
Tuesday, October 24, 2006
  USING - C# Key word
I've been asking a question about this key word on every interview. Most of them think that this is used only to reference the base class, apart of that, there is also a great usage with this key word. This key word, USING, can be used to destroy the objects (automatically) when they are no longer required in the memory.

At times, the developer will forget to write the code to destroy the created objects. These objects pile up on system memory and wait for the GC to collect and clean them. How it would be if they are cleanned as soon they finish their requirement? That would be great coding and you are reducing the work for GC during the collection process.

Here is how to accomplish the same. First, implement the IDisposable interface on the object that you are planning to implement automatic collection and allow CLR to release the allocated memory as soon this object is no longer required.

class SmpCls: IDisposable
{
void IDisposable.Dispose()
{
Console.WriteLine("Disposing the object and cleaning");
}
public string RetHelo()
{
return "Hello World!! Happy coding ..";
}
}

While creating the object out of this class do the following way. Implement the object in the following code.

using (SmpCls obj as new SmpCls())
{
.....
.....
}

One advantage by doing this is you never required to worry about GC active, clean and clear the heap .. blah, blah ..

What are your comments
 
Monday, October 23, 2006
  Encyclopedia for C#
Recently Micorsoft lanuched a single place for all C# related. It is called C# online.net, a portal similar like Wikipedia. A great initiative.

What do you say ?
 
Monday, October 09, 2006
  Phoenix & Microsoft
This year Microsoft celebrating its 15th Anniversary of it's Research wing. One among the next 15 yrs goal is Phoenix.

The description about the new product from Microsoft goes like this,

Phoenix is the code name for a software optimization and analysis framework that is the basis for all future Microsoft compiler technologies



Isn't it curious to read about the information about the same?
 
Monday, September 25, 2006
  Loadtesting Web Application
This is the post that i've been trying to do / trying to search for... From starting developing web applications on .NET, wondering about the testing the same.

In the early days of, i used to depend on Application Center Test. Some how i'm happy with that but curious to know a better tool.

BTW what kind of tool that you used ? or what kind of tool that you suggest...

PS: I've also used Ants profiler and one more.. i don't remember the same, but keep suggesting me apart of these
 
  Memory Leaking - Full Story by an (MS) internal Debugger
While reading some information about windbg, came across of a blog by Tess, an internal debugger of Microsoft.

Well, i've not see all her posts, but this post explins the memory leakage in .NET and cool article. A must read for every developer to get the internals of GC and other activities in .NET Framework.
 
Tuesday, September 05, 2006
  Transaction Properties : ACID
I've been trying to chakout the ACID, from quite a long time.. and postponing the same, every time i think of it... today, i decided to draft what i mean for ACID

As every one know, ACID means

This is common from high level understanding, what about in detail? In this post, i'm trying to post all my understanding about these 4 buzz words, correct me if i'm mistaken (or) miss spelled


Atomicity: this is in general talks about the changes or activities that are supposed to be happen in the given transaction. Inother words, all the changes that influence on the resource must happen on a single process or thread or operation, means on any kind of exception, the enitre thread has to be aborted. I recollect some statement from some of MSDN Magazine, "Every thing in the universe stops, the changes are made, and then every thing resumes"

Consistent: means the transaction should be on a crystal clear state of Yes or No, intoher words, Completed or Failed.. Hence the transaction will result in logical state instead of abiguity

Isolated: explains that, none other than the owner is allowed to peek into the process, while executing. Inother words, no other entity is able to see the intermediate state of the resource during the transaction

Durability: tells that, the result of any process should remain constant with the time, inother words, the results of a sucessful transaction are to be persisted


What do you say?
 
Monday, September 04, 2006
  Top 10 Interview Mistakes
eWeek, published the to 10 mistakes that can happen during any interview and how to understand them. This is really nice and meaningful.

As a participant, the things that every one need to understand these.

Did you go through these ?
 
Wednesday, August 09, 2006
  Characteristics of Class to become an Object
We all know that an object is the instatnce of any given class, are we really sure that every class code can be instantiated as Object ?!#$%^*

Is there any thing that is hidden behind the screen of "CLASS". Is any piece of code that is embedded with in "{" and "}" can be considered as "Class"?

During my study with W3C.com, i come to a conclusion that, the following features are must for any piece of code to be instantiate as an object.

0) Type
1) Only one Distructor allowed per class
2) Indexer facility should be provided
3) Default Constructor
4) Parameterised Constructor

5) Constant
6) Fields
7) Properties
8) Methods
9) Events

If any given code / class that supports all these features, that can be considered for instantiating as an Object.

What do you say ?
 
Wednesday, August 02, 2006
  July Release Software Factory
During this month, July 2006, Microsoft released 2 new articles at "Patterns & Practices" namely
  1. Mobile Client Software Factory
  2. Webservice Software Factory

I've tried the Webserice Factory, and yet to try out the Mobile. Did you any?

 
Monday, July 31, 2006
  VISTA by a Linux guy
While reading some of the blogs, i come across this blog. This blogs seems to belong to a Linux guy. At this post he defines VISTA in a -ve way.

Common Tux, better be positive. Entire world talkes better about the technology, and you are expressing your narrow thoughts, is not good for your health and status. Better change.
 
Tuesday, May 23, 2006
  Good resource for SQL Server Commands
Dyess Consulting maintains a Whole site dedicated for SQL Server commands. It explains most of the commands that will be in general required by any Database Programmer / DBA.

I've learned a lot from this page, this can be used as a quick reference for SQL Server related issues.
 
  Good Resource for offline Learning
Today while going through Microsoft technet, I found a good resource for the webcasts and multimedia. This link is truly a good resource for offline understanding of few good topics like Threat Modelling, AD Infrastructure, SQL Server 2005 at Microsoft, bla.. bla..

Did you read and downloaded these ?
 
Saturday, May 20, 2006
  I'm now a Database Programmer
Now-a-days i'm writing SQL Server Triggers and StoredProcedures while working with the current project.

During the process of recollecting my database knowledge, it took me a little time but finally with much difficulty completed the first task. My past experience handling Database is with Oracle 7x/8.1.5 and 8.1.6, while developing the triggers / cursors / stored procedures / for that matter on every moment i recollect the Oracle Syntax and get confuse with the SQL Server Syntax. Just as an example, Oracle Supports SEQUENCE where as SQL SERVER supports the same facility as IDENTITY column as auto number.

Similar such, many-a-things, but thank god for giving me a great ability to learn technology with a great pace. During this process i visited

sqlteam.com
sqlknowledge.com
devarticles.com/c/b/sql-server/
extremeexperts.com
sqlteam.com
sqlservercentral.com

Did you visit these?
 
  New Blog at MSMVPS.ORG
Y'day i've recieved a mail from Susan, giving me an oppertunity to blog at MSMVPS.ORG. Though not excited, but really felt happy to have my blog name next to such big guns having a huuuuuuuuuuuuuuuge knowledge treasure. Click here to read my Bolg at MSMVPS.COM

As my professional career is oscillating at extremes, couldn't decide which topic to blog on. Anyhow, as i'm currently doing here, let me share what all i learn during my experience.
 
Wednesday, May 17, 2006
  Blogging using w.blogger
w.blogger textw.blogger has a client side tool that will allow you to post at your blog. I'm trying for the first time, i thought it posts and publishes automatically...

Unfortunately, i've to login to my Blogger Account and publish it, as this post is saved as Draft. Is there any tool that allows me to post directly from my desktop? I'm connected 24X7.

Any clue?
 
Monday, May 15, 2006
  CodePlex - To Share among the fellow developers
A place where developers across the globe can share their projects and a best example for Visual Studio Team Foundation Server.

Today i've registered when there were only 14 Projects are in place to start with, soon this will be a great community for the Open Source (Share) developers.

Are you there?
 
Sunday, May 14, 2006
  WiMo - An Initiative from MS

What's WiMo ... ?!@#$%^&*

WiMo is the the Windows Mobile Robot. The name comes from the "Wi" from "Windows" and "Mo" from "Mobile" and is pronounced "Weemo" (think of it like a Spanish pronounciation). These words i copied from Windows Mobile Team Blog. On 13th May, 2006, Brain posted the details of WiMo.

This is surely a piece of example what a windows Mobile 5.0 is and it's new APIs can deliver...

There is a small presentation on Channel 9 on WiMo in Action.. though the download is not working, it is playing online... i would suggest you to increase your buffer time in your Windows Media Player and them start the presention...

What do you say?
 
Friday, May 12, 2006
  Recent Milestone by XYKA
This is the first time in my life, i'm reading about my employer in public. ClickHere to read the article from PRWeb.

I'm proud that i'm also involved in that project, though a little component that transfers data from the wine collectors to the warehouse.

What do you say?
 
  My work at XYKA
It is really quite long time to post the new happenings in my life and learning ... As the title says, I’m currently working with XYKA as Project Lead. The interesting part working here is the current project. Xyka owns a travel product and is now integrating with different partners across the globe towards reservation related issues. My interest is not to disclose the internals of the product, but to throw light on what I’m working.

The UI of this product is common for different partners that are integrated with this product. As the UI is in-place working fine and with out errors, now it is the time to develop an interface to integrate the same UI with one of their other partner. The partner results data in XML Format and this product expects data in a Class objects. Now it is my turn to work on XML DataIlands to convert these pieces of data from the partner WebXMLInterface to the product’s class objects.

A picture is worth of 1000 words, here comes the picture..

The partner system exposed as XMLWebInterface, which accepts XML Data as POST and returns XML as GET. I’m using HttpWebReqeust from System.Net classes to post and get responses from the exposed interface. One of the interesting tasks that I’ve ever done in my life.

What do you say?

-----------------------Desclimer: What ever you read here is out of my own experience. Some of my leanings or understandings could be false or fake, it is the time that decides that. No one can be held responsible for the contents and issue(s) that are mentioned here.
 
Friday, April 21, 2006
  WinFX .. What is it?
How many people know about WinFX (though not in detail but on a overview)? I was not clear till i read Ian Moulster's blog.

Moulster, discuss and explins indetail at this thread about WinFX. His tag line (Translating Microsoft Technology into plain English) suits best.

Did you read this?
 
Tuesday, April 18, 2006
  New Blogs - Statistics
I can’t believe these statistics …

There were about 75,000 new blogs per day, 1.2 Million new blog posts each which means a new blog created on ever second of the day and 50,000 posts an hour… !@#$

Source: Sifry
 
  CASE Usage in SQL
Problem: Write a query using the following table. The requirement is, result all the details " less than 20000" in ascending order and salary "greater than 20000" in descending order
NameSalary
Karthik25000
Samuel32000
John17000
Murali28000
Syam15000

Output should be

NameSalary
Syam15000
John17000
Samuel32000
Murali28000
Karthik25000


Query is:

Select * From Order by (Case When Salary <= 20000 Then -Salary Else null end) DESC,(Case When Salary > 20000 Then -Salary Else null end)

 
Wednesday, April 12, 2006
  Daily Scrum Rules

Today, while reading about the patches for Teamsystem, came across of Rules to follow while conducting Scrum. This data found from Scrumforteamsuit product website. As the website says, this product is developed by Conchango in collaboration with Ken Schwaber and Microsoft. At this point of time, I need to mention about Ken Schwaber, Ken Schwaber co-developed the Scrum Process with Jeff Sutherland in the early 1990s. Visit Ken’s website to learn more on Scrum.

Here are the guidelines or thumb rules during the scrum participation. Let me see, how this will work out for me.

  • Hold the Daily Scrum in the same place at the same time every work day. The best time for the meeting is first thing in the day so that Team members think about what they did the day before and what they plan to do today.
  • All Team members are required to attend. If for some reason a Team member can't attend in person, the absent member must either attend by telephone or by having another Team member report on their status.
  • Team members must be prompt. The Scrum Master starts the meeting at the appointed time, regardless of who is present. Any members who are late pay a fine that is donated to a worthy charity!
  • The Scrum Master begins the meeting by starting with the person immediately to his or her left and proceeding counter clockwise around the room until everyone has spoken.
  • Each Team member should respond to the following questions:
    • What have you done since the last Daily Scrum regarding this project?
    • What will you do between now and the next Daily Scrum meeting regarding this project?
    • What impedes you from performing your work as effectively as possible?
  • Team members should not digress beyond answering these three questions into issues, designs, discussions of problems, or gossip. The Scrum Master is responsible for moving the meeting along briskly from person to person.
  • Team members should address the Team. This is not a "Reporting to the Scrum Master" meeting.
  • During the meeting only one person talks at a time. Everyone else listens without any side conversations.
  • When a Team member reports something that is of interest to other Team members or needs assistance from other Team members, any Team member can immediately arrange for all interested parties to get together after the Daily Scrum Meeting.
  • Chickens (non Team members) are welcome to attend the Daily Scrum Meetings but they are not allowed to talk, make observations, make faces or otherwise make their presence in the meeting obtrusive.
  • Chickens stand on the periphery of the Team so as not to interfere with the meeting.
  • If too many chickens attend the meeting, the Scrum Master can limit attendance so that the meeting can remain orderly and focused.
  • Pigs or chickens who cannot or will not conform to the above rules can be excluded from the meeting (chickens) or removed from the Team (pigs).

Source: http://www.scrumforteamsystem.com/ProcessGuidance/Process/DailyScrumMeeting/DailyScrumMeetingRules.htm

Did you try out this?

 
Wednesday, April 05, 2006
  Security Related Docs

Today, while searching for information related to Phishing attacks, I came across of a white paper published by “NGS (Next Generation Software)”. The whitepapers link has great information related to Security threats and the prevention mechanisms. Great research information at single location.

Must have a copy in your library. I had one, did you?

 
Tuesday, April 04, 2006
  Security Shoot Out Contest


Are you ready to secure your code? Well i'm ready and prepared to shoot out the threats to my code.

Microsoft is conducting a contest for all the developers to prove their skills on securing code. I've registered to this contest, did you?

Wish me all the best for the first round..

 
Monday, April 03, 2006
  Building Secure ASP.NET Applications
Today, i come across of an article Microsoft Patterns & Practices about the mentioned title.

This article explains in details about developing webapps using ASP.NET in most secured way.

Along with this, i also have come across of Installing SSL Certificate with IIS on Web Servers. Great Articles.

Did you read them?
 
  IT Capabilities Assessment Tool
Do you want to check your IT Capabilities... Try this tool. The concept of this tool is from Keystone Strategy, but developed by Microsoft under the direction of a professor of Harvard Business School... All the big names came out with a small tool to help you to assess yourself before others do.

Why are you waiting ... try out this and learn about your self.
 
Monday, March 20, 2006
  RACI Chart

 RACI stands for

  • Responsible (the role responsible for performing the task)
  • Accountable (the role with overall responsibility for the task)
  • Consulted (people who provide input to help perform the task)
  • Keep Informed (people with a vested interest who should be kept informed)

Tasks

Architect

Administrator

Developer

Tester

Performance Goals

A

R

C

I

Performance Modeling

A

I

I

I

Performance Design Principles

A

I

I

 

Performance Architecture

A

C

I

 

Architecture and Design Review

R

I

I

 

Code Development

 

A

 

 

Technology-Specific Performance Issues

 

A

 

 

Code Review

 

R

I

 

Performance Testing

C

C

I

A

Tuning

C

R

 

 

Troubleshooting

C

A

I

 

Deployment Review

C

R

I

I

 
Use a RACI chart at the beginning of the project to identify the key performance-related tasks together with the roles that should perform each task. What do you say?
 
  RPC and Services
The main difference while using RPC and Services is the application boundary.
 
RPCs are best suitable if your application is with in the known boundaries, where as Services are the ultimate if requests are across the application. Services are best option for the Web Applications, where as RPC are for Remoting purpose.
 
What do you say?
 
 
  SOA vs Objects
Some of the differences between the SOA and OOPs are as mentioned below. These are out of my observations and personal experience only. Please refer your knowledge and information available for you.
 

SOA

OOPs

These are Schemas

These are Types

These are isolated

Linked

Contains separate deployment

Synchronized Deployment

Interoperable based on standards

Transparent use of functions remotely

 
Comments please..
 
Tuesday, March 14, 2006
  .NET Apps Performance
Today I come across of an article from Patterns & Practices, about measuring the .NET application's performance. This article throws light on all the ways that you can check for the performance for the application designed using .NET.
 
Most of them, though exists prior to .NET, but I guess people are not given importance to them. To name a few tools like NETSTAT, which gives you the information about the number of TCP connections are used.. honestly, I have never come to know about this prior coming to .NET
 
Click here to read and learn about all the possible ways to investigate and measure the performance of your application and other related issues.
 
What do you say?
 
 
Monday, March 13, 2006
  JavaScript Trim Function
You have a Trim functionality on the server side, but what about at client side? Do we have some thing like Trim mechanism for client side scripts?
 
I guess, there is nothing like that... but I found a way to trim the given string.
 
// Replaces the trailing and leading spaces of a given string
function trim(str)
{
    return str.replace(/^\s*|\s*$/g,"");
}
 
The above function returns the string after trimming. I'm posting this here, so that I can recollect as and when I want, instead of googling..
 
What do you say?
 
 
Saturday, March 11, 2006
  Finally ... Origami is UMPC
All the secrets are unveiled for the Origami Project.. It is all about a new mobile with a small computer. In other words they call it as Ultra Mobile PC
 
Check the latest from Microsoft related to this at http://www.microsoft.com/umpc
 
I'm eager to see how it looks like and other financial related issues... so that I can target to buy one..
 
Till yesterday I'm in a thought of buying a tablet pc, now after seeing this in demo state, hope I can buy this during May or June..
 
Any clues about the financial issues?
 
 
  Unloading Assembly
Do you know that, there is no possibility to unload the assembly from the run time. The only possibility to unload the assembly is to unload the AppDomain as the CLR that binds them to respective process.
 
You might be wondering about, why one should unload the assembly at run time?
 
Though I sound strange, I feel that there could be at least 2 reasons that enforce me as a developer to unload the assembly from run time.
 
Point A) When my server is running out of space -- rarely this happens
Point B) when my application compiles a newer version of the assembly to replace the existing one.. Yes this happens often, specially with web apps. As and when you compile your project and deploy to the new location either you have to stop your iis or you have to restart your app from the iis.
 
Instead of all these manual process, I think that, developing application with the AppDomain concept and cache all the assemblies before the system resource lock my assemblies. so that you can easily deploy your web apps when any of your component is modified.
 
What do you say?
 
Monday, March 06, 2006
  Directly storing values in the TD tags
I recollect some mechanism, via which you can directly store the values between the TD tags, ie HTML table data tags.
 
By this method you can avoid the HTML controls like Textbox, TextArea bla.. bla..
 
First design your table properly and give id name to the respective TD tags. For example
 
<table id="mainTable" width = 100%>
    <tr>
        <td id="fstVal"> First Value </td>
        <td id="sndVal"> Second Value </td>
    </tr>
</table>
 
Now all you have to do is in your jscript by using the document.getElementById('fstVal').lastChild.data = 'Third Value';
 
What do you say.. did that work for you? But me..
 
 
Sunday, March 05, 2006
  Night & Day Programmers
All these days we heard about day dreamers and night dreamers.. But have you ever come across of Day Programmers and Night Programmers?
 
Mitch Denny, at his blog, explains the characters to define the category. Interestingly, I fall in Night Programmers. And also incidentally, I work better in the late hours of the day, rather in the early hrs. Our current office starts at 7 am, you can imagine how sleepy I'm. Most of my productivity is from the evening hrs.. surprisingly, our office closes by 3:30.. that's the time I get fully charged with the mood to work.
 
BTW Which category you belong to?
 
If my project controller reads this .. he he he.. if he doesn't read this, don't tell him..
 
Palani: Don't think I'm wasting my morning hrs..
 
 
Saturday, March 04, 2006
  Chips in Human Body
I started my career as Faculty for Computer Subjects. During those days, I used to tell the students about the HW Generations.. To my study and observations, we are currently in 5th Generation which is called as AI - Artificial Intelligence.
 
Though, you are aware of all the 4 other ... just to throw light on them a little...
 
1st Generation used Vacuum tubes to build the Computers. The dates could be between Mid 40s to mid 50s of 19th century
2nd Generation used transistors and resistors replacing the Vacuum tubes. The dates could be between mid 50s to late 60s
3rd Generation can be divided into 2 parts. First part is the advance of Integrated Chips, the transistors were miniatured resulting the semi conductors. Second part is the revolution brought by LSI (Large Scale Integration) and VLSI (Very LSI). Dates for these can be considered as entire 70s and early 80s..
4th Generation can be called as Microprocessors. The VLSI with the help of nano technology, the size of the machine reduced and the functionality increased to the power of 10. The time line for this period can be considered as early 80s to mid 90s
 
As mentioned above, the 5th Generation is all about Artificial Intelligence. We are already in the way of AI. There are devices that respond intelligently for the human actions. Though not fully considered as we are in 5th Generation, but in most of our walks of life, we can find the Artificial intelligence working around. Hence can be said that, 5th Generation is half way through. The time line can be considered as from late 90s to 2015 (approx)
 
The 6th Generation, Robotics, is at R&D state. And often we read articles from Hundai, Toshiba, Sony etc., like industries claiming to develop a human sized robots that can perform all kinds of activities that a human can perform. The time line is expected to existence from any time between 2015 and 2040
 
The 7th Generation, Humanoids, a fictitious name for the future world of machines. These are machines made out of human flesh, but implanted with Chips in place of human body. During the period of 2040 to 2055, there will be a huge scarcity for the dead bodies towards the R&D to implant these so called sophisticated chips into the dead to check their functionality.
 
The main reason for this post is the subject. I just read an article at "The Seattle Times News Paper" about the subject, "RFID Chips implant in Human Body". Click here to read the full story. After reading this news, the entire time line which I thought about the Humanoids is not very far as what I expected. If they could able to implant the chips in human body in few parts, hope with the advent of technology and rapid growth in the industry, the day for the first Humanoid is not far at our reach.
 
What do you say?
 
  KPL - Another Programming Language
KPL - Another programming language for Kids. Though not an initiative from Microsoft, but supported and officially promoted via Channel 9. Currently KPL IDE supports nearly 15 languages across the globe.
 
Can you believe if I mention here that, KPL code can directly translate into C# like language?
 
Checkout your self from the site..

Regards,

DSK Chakravarthy
Sr. Software Engineer
Mercator Member of the Emirates Group
Area 2, 7th Floor, Al Fattan Plaza,
Post Box 686, Dubai, UAE
Desk +971 (0)4 213 3115
Fax +971 (0)4 213 3998
Mobile +971 (50) 281 9972      

 
 
Thursday, March 02, 2006
  Date Validation on Text Field
Here comes the code that checks for the date entry. This event can be called on either KEY DOWN or ONBLUR event of the text box

function ChkDtG(item)
{
var vDd2Digs;
var vMn2Digs;
var vYr4Digs;
var vChkDt = item.value;
vDd2Digs = vChkDt.substr(0,2);
vMn2Digs = vChkDt.substr(3,2);
vYr4Digs = vChkDt.substr(6,4);
var vTf = true;
if(vDd2Digs == '00' vMn2Digs == '00' vYr4Digs == '0000' vMn2Digs > 12 vDd2Digs > 31 vYr4Digs < vtf =" false;}" vmn2digs ="="" vmn2digs ="="" vmn2digs ="="" vmn2digs ="="" vmn2digs ="="" vmn2digs ="="" vmn2digs ="="">31){vTf=false;}if(vMn2Digs == 2 vMn2Digs == 4 vMn2Digs == 6 vMn2Digs == 9 vMn2Digs == 11)
{if(vDd2Digs>30){vTf=false;}}}
if(vMn2Digs == 2)
{var vMdRe = (vYr4Digs % 4);if(vMdRe == 0){if(vDd2Digs > 29){vTf = false;}}else{if(vDd2Digs > 28){vTf = false}}}
if(vTf == false){alert(item.value + ' is invalid date ');item.value = "";item.focus();return false;}
}
 
  Earth is round
As the old saying says, life is a learning cycle.. day after night and night after day...

Now-a-days, i started learning all the fundamentals of web computing. The current project is an intranet application. I started developing using Ajax. And all the controls are HTML instead of web controls.

During this period, i'm breshing up all my ASP 2.0 days coding. Hence forth i'll be posting all the JavaScript coding that i learnt. These are out of my search or research..

Comments please..
 
Saturday, February 18, 2006
  Tracing Keycode with JScript
Tracing KeyCode using JScript for the client side validation is as mentioned in the below example.

function TraceKeyCodeValu(e)
{
if(((e.which) ? e.which : event.keyCode) == 120)
{
alert('F9 Encountered..');
}
}

This function is called on the KEYDOWN event of the text box as

INPUT id="txtUsrIp" type="text" onkeydown="TraceKeyCodeValu(event);
 
Wednesday, January 11, 2006
  Sailesh
How is this picture? This is with our colleague Mr. Sailesh
 
Tuesday, January 03, 2006
  IIS Server Blog
Today i came across of a blog from some one who is working on IIS from long time. His blog is cool with lots of stuff.

Did you read that?
 
Friday, December 30, 2005
  Windows Communication Foundation Architecture Overview
Here is a document published by Yasser, who works for MS. This document is more similar to the session by Gaurav.

By any chance, some one stole others information ... or it could be MS trained these two guys at the same time...
 
  ISV Related
Today i found a blog from some one who is working with Microsoft from long time and specially working in the ISV Department.

Here he blogs about the ISV related issues and latest developments
 
Thursday, November 24, 2005
  Human Area Network ... ?

I heard of LANs (Local Area Network), WAN (Wide Area Networks), blah.. blah.. Surprised to read about HANs (Human Area Network). Here is the clear details about HAN
 
  Post from inside Microsoft Office in India


This post is from Microsoft office located at Kasturiba Road. I'm posting this message at the speed of 500bytes per second. The above picture tells you the download rate
 
Wednesday, November 23, 2005
  Aggrigates are not available in SQL 2005
What you see here is the Management Studio Console of SQL Server 2005. Note that Aggrigates are not available in SQL Server 2005 at the Database level.
 
Tuesday, November 22, 2005
  India Launch Program
Click here to register for the event
 
  Launch Tour 2005

The launch tour of the 3 major products from Microsoft will kick start from Bangalore. Did you register for that?

I did, here is my confirmation .
 
Monday, November 21, 2005
  MSDN User Forums
Here is the link for user forums maintained by MSDN.
 
Thursday, October 27, 2005
  Aamir Khan Blog
Aamir Khan !!!! Blogging !!! strange… I can never imagine that Aamir Khan will blog… Here you can find him blogging about Mangal Pandey. I’m not sure about, how true is this… but seems intresting…
 
  Tips to get most of your IT Guy
Do you ever wonder how to handle your IT colleague? Here are the tips on ‘To get most of your IT Guy” This article looks decently good, and to some extent, I think that it really works out.
 
  Uninstallation - Required?
How many times we do think of uninstalling any software? If we require to format our system, do we unistall the software?

I never thought that uninstallation of softwares is required if I’m formatting the hard disk drive. Think in this way, if a software like Photoshop which gets activation key from i-Net is not uninstalled, the next time you activate again, don’t you think that you are increasing your licence number by one? Where as you have formatted the system and the same is installed and used by one person only?

So, finally, my advice to you all as to uninstall the sw before you format the hard disk drive…
 
  Story about Jeeves - ASK Jeeves
How many of us knon about Jeeves? Many of us know Jeeves only as ‘askjeeves’, some where in Shakespeare’s novel I read about a character called, ‘Jeeves’, since then I’m confused. Whether the same is the root for now-a-days ‘Jeeves’ fictionous character? Incidentally, the answer is ‘YES’. Read here about the full story about ‘Jeeves’. Wikipedia has full explanation about the same and gives you full story line about this gentleman’s personal gentleman
 
  Drag-Once Databinding in ADO.NET & VS 2005
The Data Sources in VS 2005 has got many a features, one among them is “Drag-Once Databinding”. This feature is all about draggin columns of their typed datasets directly to the form. Here is a cool article by Steve Lasker. A must read for every developer who works with ADO.NET
 
Wednesday, October 26, 2005
  Plastics waste as a resource for fuel
“Fuel from Plastic”, I’m really surprised. But infact it is a reality. Read here that Prof. Dr. Alka Umesh Zadgaonkar, has invented a process to produce fuel from the plasic waste. And the statistics are, a two wheeler which run for 44 KMs with a Ltr petrol has run for more 6 KMs (ie, 44 + 6 = 50 ) with the plastic fuel. Really amazing!!! Hope one day we will get outlets for plastic fuel.

Bytheway, the statistics that show currently are, a ltr petrol costs us at the rate of Rs. 50.66/- but surprisingly, the plasic petrol will cost us only Rs. 30/- per ltr. How great it is?
 
  South Asia MVP Meet 2005 - My Experience
That’s a great work, in other words a great effort to bring the MVPs to get to know and build a network, indeed it was awesome.

Though it is my first appearence at such meet, it helped me to get to know many great professionals and got a chance to build a network with them. I recollect from Subhashini’s words, “this is one place to build the bridge between the other fellow MVPs”.

I have a potpurri memories registered. Personalities like, Cally Ko, Venkat etc., created a long lasting image in my life, though they spent short time with me. I couldn’t really digest the fact that Celly is 40+ and still she is such a dynamic lady. In many occassions, she took the responsibility to kindle the community, not only that but by character too she is really down-to-earth. Infact, I hesitated a lot, to dance and mingle with many of you in the begin, but the way Cally Ko mingled with us and left me with no choice other than to go around with you all. Ravi Venkatesan, is one other gentle man I can ever forget. I heard a lot about him from insiders of Microsoft. When I met him, I was really speech less. I’m speech less not just because I met him for the first time, but for his smile and gentle gesture.

The speakers training session, I don’t know howmany are benifitted out of that, but for sure I’m benifitted out of it. Though it was little too long, but nurtured me with the code of coduct that one should maintain as a speeker, the body language, bla… bla.. bla..

Though I had few troubles like, a passenger train (oooooh did I mention that? It supposed to be a passenger flight), suitcase broken during the flight, veg food is not at all good, bla.. bla.. yet all these are vanished in air when you look at the events happened there. Apart of all, I lost my mobile in the room and my cam charger in ballroom next to Xbox. Hopefully I have a vague faith that I’ll get my cam charger.

 
Thursday, October 20, 2005
  Near Field Communication (NFC)
Near Field Communication (NFC) is the mechanism to communicate to the immidiate environment and will enable easy communication between electronic devices… There is a forum for this initiative, the meber ship costs vary from USD $ 1,000 to USD $ 50,000.

If you are intrested, apply here. Hope this will become the next generation technology.
 
Tuesday, October 18, 2005
  Microsoft's WSYP (We Share Your Pain)
Microsoft TechNet UK team has made a video I saw this with 10kbps from our my work place, reasonably amusing: Microsoft's WSYP (We Share Your Pain) - Passport required to view this presentation, though you can download the ppt of this show, but the entire show is not ready for download. It will be good if the entire show is ready for offline viewing.
 
  Provider Model for ASP.NET 2.0 Beta 2
Provider Model Tool Kit and white papers are finally out and are available from MSDN. Click here to get the tool kit and other documentation.
 
Tuesday, October 11, 2005
  New MVPs
I never realised that i would be awarded with MVP. I'm surprised to see my name at HERE

The last week has got many unexpected things in my life...
 
Wednesday, October 05, 2005
  Instrument and Monitor Your ASP.NET Apps Using WMI and MOM 2005
Are you desinging apps that work closly with MOM 2005? Here is a good article that helps you to understand the WMI Architecture and also tells you, how to create MOM management pack that monitors instrumented ASP.NET applications.

I found this article absolutely intresting and taken a hard copy for me. Did you?
 
  Windows CE 5.0 Webcasts
Click here to find lots of web casts for Windows CE 5.0. I never realised that Microsoft will publish such kind of good and self explorative webcasts. Had these been available for me when I’m doing R&D on windows CE, for developing apps using SQL CE database, would be a great resource to learn quickly.

Any how, better late than never, if you want to learn about Windows CE 5.0, this is the best resource for you. I bet this link will not dissppoint you.

Enjoy the shows…
 
  Introduction to Windows Vista
What is windows Vista?

Do you want to know more about that? Click here to learn  more about Windows Vista. This site is aboslutely a great location to get to know about Vista from the end user point as well professional
 
Monday, September 26, 2005
  Visual Studio Uninstallation tool
The VS Beta and CTP uninstall tool has been updated and is now available at:

http://go.microsoft.com/fwlink/?LinkID=47598

Please make sure you run this before installing any future version of Visual Studio 2005 (including the released version). Hopefully this works with only 2005 Previous versions.
 
Friday, September 23, 2005
  First Post from Mail
Hope this works...
 
Did it?
 
  Adding Leading zeros - TSQL
The way to add 0 (zeros) to the left hand side of your number in T-SQL by

replace(space(2-len(co_num))+rtrim(convert(char(2), co_num)),' ','0') ,

where co_num is numeric data type
 
  An evening with Andrew Lees
It is really a great evening with Andrew Lees. The fun part of this evening is, I never realized that I don’t have an invitation for this session till I reached the registration desk. Registration desk validated my credentials and confirmed me that I don’t have an invitation, but they let me in after taking my credentials.

By the time I went in Lee just started his session. I found my self in a place comfortably and started understanding what Lee is presenting. The entire presentation is about Microsoft products and the road map for the next 2 years.

It is good know a little deeper about that from the people who make decisions.Few highlights from the presentation are…

1) Security Vulnerabilities in Database as well as WebServer when compared to others

The table for the database vulnerabilities are ...

For Windows Server 2003 and SQL Server
High - 27
Other - 36

For RedHat and MySql are
High - 41
Other - 75

For RedHat and Oracle are
High - 73 (Unbreakable ?)
Other - 134

If these details are for database, it is interesting to note that the server system has much more facts to astonish …

The table for the Web Server Role vulnerabilities are ...

For Windows Server 2003
High - 33
Other - 19

For RedHat - Minimum
High - 48
Other - 84

For RedHat - Default
High - 77
Other - 97

Apart of these, “Windows costs 13-14% less to patch”… is the comment by lead companies in the industry. That doesn’t sound great?

 
Thursday, September 22, 2005
  3 More New divisions
3 More (New) divisions in Microsoft

According to Steve Ballmer, on 20th Sep 2005, Microsoft introduced 3 new Business groups are introduced for the better performance and speed of execution. The three new business units are titled as…

1) Microsoft Platform Products & Services Division
2) Microsoft Business Division
3) Microsoft Entertainment & Devices Division

To read more about what these divisions do, click here

Anyhow, that’s a good sign to learn that Microsoft is growing.
 
Tuesday, September 20, 2005
  Posting from Word
This is the post from MS Word. How simple is this… did you ever tried this?

I did for the first time, how is this?
 
Friday, September 09, 2005
  Tweak Vista website
The titles is weird for me... but this site is really cool for the tips on Windows Vista.

Read couple of tips, seems there is a loop whole in Microsoft.

What do you say?
 
  ASP.NET Architecture
Hi,

I found a good article on ASP.NET Architecture. Click here to open that article.

The way the article goes, is really damn intresting.

Thanks to Rick Strahl, it is a good work
 
  Microsoft Baseline Security Analyzer
Today, accedentally got to know about this tool... damn cool tool to scan your system towards all kinds of security. I liked the way of presenting the results for the security misconfigurations.

This report not only tells me about what is not configured properly, and also about "how to correct" and "where to find the respective downloads".

You don't believe if i mention that, i spent hrs to find some download on download.microsoft.com. This tool is cool for me to scan all the computers in our office, simply sitting from a single location.

Did you try this? Click here to download and try on your location.

I suggest you try this...
 
Monday, September 05, 2005
  Malicious Software Removal Tool from Microsoft
Did you tried this tool? This tool as the name says, removes any kind of Malicious softwares from your PC. I couldn't trusted that in the begin, then when i run that tool online, then i got to know how many programs are running on my PC with out my notice.

I recomend every one to use this. You can download this from Mircrosoft website.

Do it now...
 
  4th UG Meet
It's great to conduct the 4th UG Meet with out any hurdle(s). An apprication from the group moderator is posted at the group.

BTW did you see that? Click here to read that.

And here to visit the group
 
Friday, September 02, 2005
  Focus IT Therapy for Best Effects
Before i read this article, i'm confused with the title.

But after reading, i felt that the title for the article makes sense.

BTW did you read that?
 
  Microsoft ISV Community Days - Visual Studio 2005, SQL Server 2005
Today, i got a mail on the Microsoft ISV Community Days - Visual Studio 2005, SQL Server 2005.

There is going to be an event at Le Meridien, 28 Sankey Road, on 20th Sep 2005. If you want to be there, register yourself by calling 2521 9852 / 53 or writing a mail to isvms@erfolgcs.com

I'll be there... are you?
 
Thursday, September 01, 2005
  Windows Server System Reference Architecture (WSSRA)
Though this article is published on March 31, 2005, is a good article that every IT Professional should read and have a back. A short description about this is quoted as...

"Windows Server System™ Reference Architecture (WSSRA) is a documentation set that helps organizations design and deploy Microsoft® technologies to create the most integrated, standardized, and optimized Windows Server System platform..."

So, it is a must read for every ITPro

Did you read this?
 
  Home Computer 2004
Do you belive that this image could be of a Home computer?

This is an image taken 50yrs ago

How is this?
 
  Windows Server 2003 R2
The test version of Windows Server 2003 R2, supports both 64-bit and x86 systems. This also bundles with the improved interoperability with Unix

To learn more about that, click here
 
Thursday, August 25, 2005
  ACL Replication Problem
We never knew that this simple problem will eat up our whole 2 day's work.

Do you face the Replication while synchronizing your directory with has ACL, read this KB Article 304286 from Microsoft

We can take a full week end rest...

Thank god and MS for documenting such issues..
 
  .NET Vs Java
Have you ever noticed that .NET is stronger than Java ?

Here is a small piece of study from University of Virginia Computer Science Department.

Why don't you have a copy for your self. I had one, if by any chance this link is not availble, pl mail me. I can give you that.

Anyhow, i loved to read such news and articles.
 
Monday, August 15, 2005
  SQL Server 2005 Cost Chopper Competition


I never thought this kind of competition can be found. Recently we have migrated one of our major database from Oracle to SQL Server 2005.

I think the learning during that phase will help me to send my participation. My migration story is a lengthy one, let's see...

By the way did you register ?

All the best
 
Saturday, July 30, 2005
  Microsoft Technology Adopter Challenge
Today, I have finished my second round of the Microsoft Technology Adopter Challenge

Feel like great...

Did you try?
 
Friday, July 29, 2005
  Connected Systems Competition
Do you Dare?

The tag line is really cool... Do you Dare to face the challenge? This is the best place to express your knowledge.

Register, and explore to the world
 
  Microsoft Vs Hackers
Did you ever happen to meet your destroyer? Microsoft did... Yes, it did. Recently, Microsoft has conducted a conference. No official information from Microsoft as such about this till date.

Microsoft called this conference as, “Blue Hat” – a reference to widely known “Black Hat” security conference

To find more details, read the news from CNET

Hope that makes Microsoft more secured
 
Thursday, July 28, 2005
  WinFX - Programming Interface for Longhorn
Did you ever got to know about WinFX ?

Click Here to know about a detailed description byJohn Montgomery, Director, Developer Division Microsoft.

Here is the full information with Documentation and Samples

Here is the link to Windows Vista Developer Center

Finally, here are the Resources for IT Professionals

Do you any other links... ?
 
Wednesday, July 27, 2005
  Native Code Vs MSIL Code
I recently discovered that the code genereated by the .NET compiler, the so called MSIL is very much smaller when compared to that of the runtime code, Native Code. In other words, with reference to the size point of view, the Native code is approx thrice the size of the MSIL code.

Any observation as such by you? Pl update me if i'm mistaken or wrong ..

Try your self..