Posts

Showing posts from May, 2012

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 afterwards Catch & Act This mechanism is generally implemented in all the coding practices. This appr

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 runtime machines. Hence, it doesn’t matter whether the runtime machines / client mach

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 as

SharePoint Activities in my career

  Recently, it is so happened that I had to face an interview that is into SharePoint technologies. The interview didn’t go well, that’s a different story. But there is no much story that I can recollect towards the activities and the points that were highlighted in my career with SharePoint. Thus, decided to through some highlight on what I have worked. This might give the readers to face the SharePoint interviews. I’ve worked in SharePoint as both Administrator and Developer. It doesn’t matter what have you done, but all it matters is the depth of the knowledge that you have acquired. How much knowledge I’ve acquired is a different topic. The point of this post is all about the bullet points to give attention while preparing for the SharePoint As Developer I’ve worked on creating WebParts, Master Pages, etc., WebParts - Gadgets Customization of Master Pages Feature Creation -Activation -Roles -Content List Data -- Authorization -- Approval Levels of Workflow 3Levels of Workf