Just another awesome server – Team Foundation Server 2010

Hi Everyone,

I recently attended a seminar on topic “Visual Studio 2010 features and Team Foundation Server 2010”. It was taken by Mr. Sinjinth HR from Microsoft. He works in the Visual Studio Team. I really enjoyed the seminar and the contents of the seminar were also very useful specially the demos.

Have anybody previously used the Performance wizard in Visual Studio 2010? If you didn’t, then please go through it. It is really awesome to get the statistics of your code and it also tells you about the time complexity and other performance based attributes.

Some of the features of the TFS 2010 explained in webinar were:

1) Work Item Tracking

2) Version Control

3) Build Automation

4) Reporting ( Different charts )

5) Project Management

The concepts regarding the Shelving and Branching are really good. He explained it very briefly. If you don’t know about the features of Team Foundation Server 2010, then you can see video attached below. This video explains concept in a better way rather than me writing all the learnt stuff here. 😛

Enjoy 🙂

Hi Everyone,

Today, I am coming up with the topic of “serialization in .net framework” .  There are three types of serialization techniques present in the .net framework. They are briefly explained as follows:

1) Binary Serialization
2) XML serialization
3) Soap Serialization

In this article, I will not focus on the theoreotical part rather will focus on how you can implement these concepts in the simple application.

Let us consider a sample application of Notepad Font. As we know, when we open a notepad application, we see the font of the text which we have set earlier at the last execution of notepad.

( Please note: This is not relevant to a particular file. Every file is opened in the same font which is set earlier in notepad )

Following is the code for binary serialization in the .cs file:

MainFont obj = new MainFont();
obj.Fnt =  RTBArea.Font;

FileStream fs;

fs = new FileStream(@”font.dat”, FileMode.Create, FileAccess.Write,  FileShare.Read);

BinaryFormatter binF = new BinaryFormatter();

binF.Serialize(fs, obj);

fs.Close();

In the above code, MainFont is the class whose namespace is as follows:

namespace Notepad
{
    [Serializable]
    public class MainFont
    {
              private Font fnt;
              public Font Fnt
             {
                      get { return fnt; }
                      set { fnt = value; }
             }
     }
}

Using the above code, you will be able to serialize the font set by the user in your notepad ( i.e. Rich Text Box )

Now, we have to deserialize the object which we have saved earlier.

To deserialize the object, write the following code in the load event of the application:

FileStream fsw;
            MainFont mf = new MainFont();

             fsw = new FileStream(@”font.dat”, FileMode.Open, FileAccess.Read,FileShare.Read);

             BinaryFormatter binF1 = new BinaryFormatter();
             mf = (MainFont)binF1.Deserialize(fsw);

            RTBArea.Font = mf.Fnt;

By using the above code, it will deserialize the font object present in the font.dat file and the font is assigned to the RTBArea font.

I have provided with the code for the Binary serialization in this article. If you want to implement soap and xml serialization, then you just have to use the XMLSerializer class and use references “System.Runtime.Serialization.Formatters.Soap” and “System.Runtime.Serialization.Formatters.xml”.

Note: For using the XMLSerializer, the members of the class should be public.

Enjoy 🙂

Hi Everyone,

I just completed my 1 year 8 months as an intern at ZSoftware Inc  and it was one of the awesome and memorable experience in my life. I worked on several other projects before joining ZSoftware during my engineering, but the quality and user interoperability of the software, I learnt at ZSoftware. 🙂

[Snapshot: { Names from left: Myself, Akshay Zadgaonkar, Sarang Mude }]

I worked on a project which analyzes and maintains complete records related to cricket tournaments, series, matches and other club events and provides the feature of giving an input ball by ball in the live cricket match.

Some of the features of Cricket Software:

  •  Simplified addition of new players and teams.
  •  Automatic sequence maintaining in Team, Players.
  •  Console for Real Time Data input using Hot-Keys.
  •  Maintaining match history.
  •  Projectable Score Board.
PS:  All features are *not* mentioned here as the software is still in testing phase at ZSoftware Inc.
It is the Quality that matters not the Quantity. This proverb is best suited for Zadgaonkar’s Software Private Limited.

   [Snapshot: { Sarang Mude, Myself, Akshay Zadgaonkar }]

Learnt a lot, Its OK! But mostly importantly, I enjoyed a lot at ZSoftware Inc. We used to have some awesome( weird also 😛 ) conversations during the office timings, not like the other companies.  It was Fun 😀

Principle was like : “Party hard, work harder”. 😀

I wont forget all the jokes we played on each other. Akshay sir and Sarang sir’s eagerness about knowing whose my girlfriend and all..lol! and I used to convince them with my convincing power 😉 Had awesome fun indeed 😀

Now that, I signed off from ZSoftware Inc, I am gonna join Persistent Systems Ltd in Nagpur only from 15th September as a Software Engineer in the Development track. So, yes! Kinda excited but professional experience is in my pocket 😉

I think Persistent System Ltd will be a little strict… 😛 So, don’t expect blogposts in the small intervals. But surely will update blog when I get time.

So, @MsWizKid signing off, Cheers!

[ Snapshot taken at ZSoftware Office ]

Enjoy 🙂

Scaling application controls size according to surrounding container

Hi Friends,

While developing the application in Windows Presentation Foundation, you might face with issue of scaling the application. If you want to run your application into different display of different resolutions then you might need to scale up/down your application to regain the application controls at the right position as they were present before.

  • For the resolution Independence of application, you should place your into the ViewBox which defines a content decorator that can stretch and scale a single child to fill the available space.
  • In this way, whenever you will re-size the window, your application controls will also re-size with the same aspect ratio and automatically will get stretched and scaled properly.
  • If you are using Expression Blends, then a snapshot of Objects and Timeline is added for your referral as how to add the controls in viewbox.

  • In the figure above, Grid contains all the controls which are used inside the application and the same grid is placed inside the viewbox control which is included in the main window.

Enjoy 🙂

Hi Friends,

I am currently working on a project using a Windows Presentation Foundation in Visual Studio 2010 Ultimate. In one module, I decided to provide some reports to the client. The few problems I came across in the generation of reports are as follows:

  • The Report viewer native control is not directly available in WPF. So, we can’t directly place and use the control for report generation.
  • Binding of the data source to the report viewer in Visual Studio 2010 Ultimate as it requires a different approach than Visual Studio 2008 Express Edition.
  • Passing the parameters to the report viewer.

Continue reading “Using a Report Viewer Control in Windows Presentation Foundation ( WPF )”

Hi Everyone,

I got a letter and certificate from Microsoft India Team about completion of my graduation in the Microsoft Student Partners program.  The snapshot of the certificate is attached and you can see below:

            It was really an awesome journey as a Microsoft Student Partner. I learnt a lot from this program. It really helped me to explore my skills and apply the knowledge to the good effect i.e. Implement.

I have taken lectures in the different colleges, not only my college but various colleges in the Nagpur and also reviews of the students about the latest technology.  The best part was “DreamSpark Yatra” . A Life changing moment, Really! 🙂

Made a lot many friends during the program and interacted with many professionals and got to learn different things which I would have just dreamed of. Enjoyed a lot 🙂

Continue reading “MSP Graduation Completed Successfully!”

Windows Phone 7 Mango Features Update Details !

Hi Everyone,

In this post, I am gonna share with you all about the exciting updates of Windows Phone 7 Mango. 🙂

Microsoft has integrated  Twitter, Facebook Chat, Windows Live Messenger and other popular social networking sites into the OS itself.

The feature in which it will bring in all your messages from IMs, Facebook, SMS’s right in one Inbox is called Thread Feature . Microsoft has also introduced Unified Inbox, which will allow users to read emails from multiple Email ids from one place only. It looks interesting 😀

Continue reading “Windows Phone 7 Mango Features Update Details !”