Thursday, November 29, 2012

Tuesday, November 20, 2012

C#er : IMage: Model-View-ViewModel (MVVM) Explained

C#er : IMage: Model-View-ViewModel (MVVM) Explained: The purpose of this post is to provide an introduction to the Model-View-ViewModel (MVVM) pattern. While I've participated in lots of discus...




Sunday, November 11, 2012

One thing which initiated my interest in Computer Programming is Mathematics.



One thing which initiated my interest in Computer Programming is Mathematics.
I still remember my schooling days when I was in 8th standard and was not so good at Maths subject. One of my friend (Ajaz - plz don't read it as Ajax - hehe) from our locality, insisted me to join a private Maths tutor classes to improve my Maths skills. In the very second month learning I started grasping the subject in a very good pace and as well as my interest towards it increased a lot. Finally in less than a year I became fond of Maths and it showed the result in my Score Report cards. I was scoring around 80%.
Now I started practising a lot to score 100% when I was in 10th standard but managed to get only 94%. My interest and practice increased even more and finally it paid me and God helped me to score 100% in 10+2 Maths subject.
Once I finished my Intermediate (10+2) I started correlating my skills with the fields to choose from, for my Graduation and it was Mathematics magic that realized me that I'm meant for Computer Programming world.
And those days (year 2001) BCA was one of the booming Graduation choice for Computers. Hence I decided to join BCA and I had to write an BCA Entrance exam (I scored 522 rank). Finally joined OUPG College for BCA (It was top college in a list of 3 given to me in Counselling).

Saturday, October 13, 2012

Steps: Check-in/Check-Out Mechanism for TFS - To avoid Build errors and improve Productivity



You all may be already aware of TFS and its usage to effectively work as a Team on a Team Project but I thought to reassemble some of the important points/steps to ensure good Productivity (by avoiding Build errors as much as possible).

So please read the below points and also add your feedback by adding your comments to make this more informative (This would really help especially if 'Multiple Checkout' option is Enabled):

1.      Always make it a practice to Get the latest version of the Project daily morning before you start your work.
2.      Build/Rebuild your Solution to ensure that there are no build errors.
                  -->If you get any build errors, check what are those. Suppose if they are simple to resolve like 'Broken Reference' errors or any other                              simple errors please take initiative and resolve them. If you notice that they belong to some other Team member's task please                                  intimate him/her so that they could fix it.
3.      Check out the file(s), which are relevant to your task and start working. Once you are done with your work, verify it by building the project. And          if you don't find any build errors; run the project and test your page whether it is working fine. If its fine, check in your files. If you find any build          errors or runtime issues then resolve them and then check in.
                  --> It's always a good Practice to divide a big Task in smaller tasks and on each sub task's success you can check in your work. For example UI design, populating dropdowns, placing validations, saving form data, displaying grid data, etc can all be treated as individual sub tasks for a particular page functionality. This will ensure that you will not have any pending check ins at the end of the day and also it keeps things easy. If a sub task is taking a longer time and if you want to continue it the next day, you can comment your partial written code and check in the file. The next time you start work you can checkout, uncomment your code and start working. This practice will minimize the usual conflicts we get when we are working under 'Multiple checkout' option enabled and also it will not have any impact if TFS connectivity issue occurs.
4.      Sometimes when we take latest version from TFS we get some conflicts in some files, check these conflicts carefully and if the files don't belong to you, you can straightaway choose the option 'Resolve Conflicts'. Then VS/TFS takes care to automatically resolve conflicts for you. And if a file belongs to you on which you recently worked on then most of the times you have to choose 'Auto Merge' option so that your changes and the last guy who has checked in recently, his changes, would be automatically merged and saved to TFS. And still if you feel you have to cross verify the changes, you can trace them in 'Merge Tool' option and then merge it.
5.      Till now the check in and check out process what we discuss is for the existing files in our project but there is a slight difference in case of adding a new file, renaming a file, deleting a file. As TFS and your project are already have metadata reference/info of your existing files, hence it only checkouts the file when you start making any changes or if you explicitly check out it but it will not checkout your project. 
But in case of adding a new file, renaming a file, or deleting a file the TFS and project will not have this reference in .csproj file and source control .vss file or it might need to update the metadata info of that file; hence it checks out the Project as well whenever this kind of operation happens on a particular file. If you are familiar with File system and file handlers it would be much easy to understand this TFS behavior. Now you need as usual build and run your project, verify and then check in the pending items (file plus project).
This practice as well minimizes the possibility of getting conflicts and therefore makes things much simpler and in our control.


Finally our objective should be to simplify our work and avoid confusions and also make sure to avoid error-prone check ins. (Note that a small mistake from an incorrect check in could create lot of build errors for other team members hence affecting their productivity).


Your inputs, clarifications, and feedback in this regard would be highly appreciable.

Thanks.

Tuesday, September 18, 2012

Pics from Microsoft VS 2012 Launch event - Hyderabad

Microsoft's AppFest

Travelling Bangalore tomorrow 4 Microsoft's AppFest...

Attended Microsoft Visual Studio 2012 Launch event in Hyderabad


Attended Microsoft Visual Studio 2012 Launch event in Hyderabad. It was perfect and informative.

Microsoft Visual Studio 2012 Launch Event


Will attend Microsoft Visual Studio 2012 launch event in Hyderabad Sep 17, 2012...

MCSD: Windows Store Apps...

Visual Studio 2012 and .NET 4.5 Launch





Visual Studio 2012 and .NET 4.5 Launch - Somasegar's blog - Site Home - MSDN Blogs blogs.msdn.com/b/somasegar/ar

Visual Studio 2012 and .NET 4.5 Launch


Visual Studio 2012 and .NET 4.5 Launch - Somasegar's blog - Site Home - MSDN Blogs blogs.msdn.com/b/somasegar/ar

Microsoft AppFest in Bangalore


Hurray!!! My App Idea has been selected for the Microsoft's AppFest event in Bengaluru on Sep 21, 2012. Thanks Microsoft.

Design pattern in simple examples


It's perfect and easy to understand..Design pattern in simple examples: via

Tuesday, July 3, 2012

Naming Files, Paths, and Namespaces in Windows

All file systems supported by Windows use the concept of files and directories to access data stored on a disk or device. Windows developers working with the Windows APIs for file and device I/O should understand the various rules, conventions, and limitations of names for files and directories.
Data can be accessed from disks, devices, and network shares using file I/O APIs. Files and directories, along with namespaces, are part of the concept of a path, which is a string representation of where to get the data regardless if it's from a disk or a device or a network connection for a specific operation.

Sunday, July 1, 2012

How Do I Use jQuery Selectors?

The basic concept of jQuery is to “select some elements and do something with them”. Selecting can arguably be considered the power behind the jQuery Library. Without the ability to easily select elements from the DOM I don’t think jQuery would be the powerful tool for the DOM as it is today.

What makes jQuery so easy to select elements is its selector engine, Sizzle, and it’s easy syntax, which is based on the same syntax you would use to select elements in CSS by borrowing from CSS 1-3. jQuery also adds additional pseudo selectors to enable you to narrow your selection further. You can find out more about selectors by reviewing the complete reference Selector category on jQuery API site.


Tuesday, April 10, 2012

XHTML™ 1.0 The Extensible HyperText Markup Language

XHTML™ 1.0 The Extensible HyperText Markup Language (Second Edition) http://www.w3.org/TR/xhtml1/

Thursday, April 5, 2012

Quirks mode and strict mode in browsers

Quirks mode and strict mode

Further information can be found atJukka K. Korpela’s Quirks Mode features page.
Browser comparison: which doctype triggers which mode?
IE 5 Windows and Netscape 4: Doctype switching not possible; permanently locked in quirks mode.
IE 5 Mac: No official support page, but Eric Meyer has summarized the differences.
Mozilla: DOCTYPEs and list of quirks.
Safari: No official support page, but it largely follows Mozilla.
Quirks mode and strict mode are the two ’modes’ modern browsers can use to interpret your CSS. This page gives a short overview of the reasons for and the differences between these two modes.

Monday, April 2, 2012

the type or namespace name could not be found

The type or namespace name 'PrjTest' could not be found (are you missing a using directive or an assembly reference?)


Can be a .Net Framework 4 Client Profile issue