Posts

Requirements of COM Architecture

This post might seems funny, writing about COM in the time of Cloud. Yet, this is a long time pending notes that I’ve prepared and are not documented. This is the time that I felt to document, of course, there are much information that is available on web. This would be an extra page that define the COM Architecture. I see the need of this architecture in 4 directions. # INTEROPERABILITY Components must be compatible with the 1) application’s environment where they are used 2) and also with the components developed by the 3rd party vendors # VERSIONING Components must NOT require upgrades, if applications containing them are upgraded # TOOL INDEPENDENCE Components must PERMIT development tool interoperability, while create any development tool (or) language during design time # DISTRIBUTED FUNCTIONALITY Components must have an ABILITY to generate components that support not only function in process but also across process and networks ie., DOM   Final NOTE: COM is not ...

What type of Project is needed by your client?

Most of these days, everyone are moving to cloud apps. More or less, they are deciding to have their applications be available on web. Is it a trend or all requirements are demanding to become web apps? Before we proceed further, from my understanding is that the need of the application decides the nature of the application, neither the investor nor any other party that is involved in the application life cycle. NOT EVEN THE END USER. But how do we understand the nature of the application? The below questionnaire helps in understanding the current requirement. Sl Question Yes/NO/NA 1 Are your users comfortable using a Web browser?   2 Are your users located in remote sites?   3 Do your users in remote sites have access to the Internet?   4 Are you creating a Business to Business (B2B) application?   5 Are you creating a Business to Consumer (B2C) application?   6 Is the amount of data entered minimal?   7 Is the amoun...

Best practices for exception handling within .NET

Image
While understanding the best practices for exception handling / tracking / etc., in the .NET, I’ve ended up with the below information Best practices in Exception handling within .NET Before identifying the best practices, it is mandatory to identify the exception generation situations and handle them to the best need of the situation. The below is the best scenario for the exception handling.   Fig 1: Exception Workflow [ Source : Internet, I forgot the source link, but I’ve copied this above diagram. As soon I find the source, would mention here. In case if the reader came across of the previous article, please let me know The above diagram is copied from Christian Thilmany ’s blog post from this link . ] There are two ways of handling these exceptions ·          Catch them & Act Immediately o    Early o    Late ·          Catch them to Record (or) log & Act aft...

Browser control in .NET

Yesterday, I had to give some recommendations of using the browser control in windows application. The following text is submitted to the client and I’ve learned the deep hidden facts of the browser control. Below are the points of my discovery and they were extremely interesting if we dwell deep into it. Browser control in .NET There are 2 mechanisms that are supported by .NET to make the web URLs get data into windows applications. These mechanisms use components from ·          shdocvw.dll (the default WebBrowser Control which supports IE 4.0+ ) supported by ieframe.dll (the Core engine for IE 7+) ·          A COM component by Microsoft as “Microsoft HTML Object Library” in the form of mshtml.dll . These both mechanisms have their purpose defined for specific need. These two flavors are available from .NET framework, thus, they work independently from the IE installation on the application runtim...

Windows Azure online event details by MEET

Image
MEET is Microsoft Extended Experts Team. I have read from this blog post that the Windows Azure latest details are unveiled on 7th of June 2012. The registration to this event can be submitted from this link . The red TEE fellow, Scott Guthrie is delivering the key note there. I just signed up to Meet #WindowsAzure on June 7th. Don't miss out! #MeetAzure http://bit.ly/meetazure The above is the tweet that is generated after the registration from the above form. Kris van der Mast , nick named as KVDM or Kris recently moved to a new host. Unfortunately, all his links from the widgets are not working, hope that he would repair the blog soon. I’ve copied following links from his blog MEET Windows Azure Blog Relay: Roger Jennings ( @rogerjenn ): Social meet up on Twitter for Meet Windows Azure on June 7th Anton Staykov ( @astaykov ): MEET Windows Azure on June the 7th Patriek van Dorp ( @pvandorp ): Social Meet Up for ‘MEET Windows Azure’ on June 7th Marcel Meijer ( @Marce...

MS Code Conversion Tools

Now-a-days, I’ve been exploring much thru VB.NET programming. As being a programmer for more than 3 years, I’ve found difficulties in VB.NET programming towards writing the right syntax. But all these days, I used to think that there are online code conversion tools available to make my life easy. But I were found mistaken with the widely available code conversion tools. There are 2 tools that are widely used by the industry. One is from Telerik and the other is from Developer fusion . These both do the work till the maximum extent, but couldn’t handle the situation of event delegates and lambda expressions. The main problem is this with many of the free tools, they would not be having that intelligence provided for free. Surprisingly,  Developer fusion doesn’t provide any paid services. Telerik didn’t indicate that there is a paid version for the same. Hence, my work become more troublesome. While planning to post a query at the MSDN Forums for VB.NET lambda expressions as well...