Seminar on Microsoft Certifications

I recently gave a session on ‘Microsoft Certifications’ at DeXpert, KalSoft. This talk was arranged under ‘Emerging .NET Devs’ a chartered group under INETA. The targeted audience were developers.  The seminar was open and free registration was required to attend the show 🙂 For details, please visit “Emerging .NET Devs” user group blog here. The next event will be announced on yahoo group. Thanks, Adil Mughal

Binding Enum to ComboBox

Hi, Whether it’s Windows Forms or Windows Presentation Foundation While working with ComboBox, we usually want to bind any list as ComboBox Items. For example, //In windows forms string[] names = { “Microsoft”, “IBM”, “Apple” }; cmbNames.DataSource = names;  //cmbNames is comboBox ID or //In windows presentation foundation string[] names = { “Microsoft”, “IBM”, “Apple”}; cmbNames.ItemsSource = names;  //cmbNames is comboBox ID That’s simple! But today I wanted to convert enum constants into an array of string and I wanted to make it ItemsSource of combo. So I created an enum type “Names” and tried that public enum Names {     Read more…

INETA User Group

Greetings! Few weeks earlier I talked to Microsoft MVP Mr. Wajahat Abbas for I wanted to contribute to community in the form of seminars and workshop specially for the student developers. So INETA User group provides a way for that and he told me that he can arrange my sessions at Microsoft Innovation Center at Karachi. Thanks for your kind advice Wajahat 🙂 After that I communicate within my friends circle and they also appreciated it. So I registered an INETA User Group “Emerging .NET Devs”. For details please visit http://edotnetdevs.wordpress.com/ and to collaborate further join our yahoo group http://groups.yahoo.com/group/edotnevdevs. Read more…

Generic Methods in C#

Hi, One of the great features of C# is Generic Method. Back in sometime I wrote a Generic Method which serializes or de-serializes an object. The Generic methods are declared with type parameters. So here is the code snippet I wrote some time earlier: public static void DoSerialization(Stream stream, SerializationType sType, ref T objToUse){ try { if (objToUse == null) throw new Exception(“Missing object to serialize/De-serialize”); XmlSerializer serializer = new XmlSerializer(typeof(T)); if (sType == SerializationType.Serialization) serializer.Serialize(stream, objToUse); else if (sType == SerializationType.DeSerialization) objToUse = (T)serializer.Deserialize(stream); } catch (Exception ex) { //catching of exceptions }} Let me explain this code. The Read more…

Guideline to Prepare for Microsoft Certifications

Hi, Couple of days ago my friend ask me about preparation of MCTS 70-536 and its material. As promised in earlier post “Getting Started with Microsoft Certifications Part II” , I’m just going to share my personal experience and perception. So lets discuss some key points in preparation for certifications Make up track in your mind First of all, you must have a proper track to follow. When I say track I mean which area your interested in and also in which you are most interested as well Start with the program in which you are most interested, For this Read more…

Getting Started with Microsoft Certification Part II

Greetings!, Back in some time, I wrote a blog on Getting Started with Microsoft Certification but as time changes, things changes. So I want to modify information regarding Microsoft certification program and want to add further emphasis on Visual Studio 2008 Track. First the overall program showed in earlier post requires a little amendment, Now Microsoft has included Master series in the overall certification track            We will now talk about MCTS for Visual Studio 2008. For overall glossary of Microsoft Certifications please visit http://www.microsoft.com/learning/mcp/certifications.mspx Microsoft Certified Technology Specialist (MCTS): MCTS basically highlights your area of expertise so that you Read more…

Getting Started with Microsoft Certification:

Microsoft certifications are the way to prove your skills on Microsoft platform. It helps you get recognized in the crowd. You can found Microsoft Certifications Overview here. Start as a technology specialist which enables mastering over particular technology. For example, MCTS : Biztalk Server 2006 or .NET framework Windows Application etc. You can find complete list of available exams here. In order to begin, you have to select a track to get certified on particular technology which can be determined by answering few questions to yourself like 1) In which technology you are working? 2) Which Technology you want to Read more…

C# ? According to Microsoft

“C# is a simple, type-safe, object oriented, general-purpose programming language. Visual C# provides code-focused developers with powerful tools and language support to build rich, connected web and client applications on the .NET Framework.” -MSDN

Automatic properties in C# 2008 (Language Feature)

The C# 2008 supports number of new constructs such as lambda expression, automatic properties, implicitly typed local variables, partial methods etc. Let’s examine automatic properties. Up till now we have been encapsulating our private fields as class TestClass{ private string name; public string Name { get { return name; } set { name = value; } }} This approach is good enough but let say if we require 20 fields as public interface then it requires a little effort of creating private field first and then encapsulating it as a public property. As the word “automatic” refers, you can now Read more…

String vs. StringBuilder

Well some juniors told me that they have started C# so they want me to start some beginner level discussion on C# .NET The first thing that came in my mind for novice was comparison between string and string builder class. I don’t know whether you have noticed it or not. In C# .NET strings are immutable and hence it also do not allow us to change it. By immutable i mean, whenever we change the string it will create a new instance of it in memory rather than changing value on same memory location. Let me clear this with Read more…