Posts

Showing posts with the label Facts

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...

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...

Is Architecture = Design of the application

Image
Today morning, I’ve attended an interview with one of the prestigious companies of the world. It doesn’t matter what company is that, but all that matters is the significant means of the questions and the replies by me. I can’t post the entire dialogue questions here, but what I can point here is the gist of the interview. The position is for an architect, who would be working extensively for various stages of the project and should also play the managerial role. Isn’t it asking too much for a given role? Well, in Indian companies, there is no real means of Architect. He is just like any other Manager, but doing the technology stuff as well. Anyhow, that’s a different thread of discussion all together, but for the current purpose, let me concentrate on an idle situation, where an Architect is an Architect and manager is manager. The interviewer concentrating on the design guidelines and seeking answers for standard questions. Sometime back I’ve written about the common mistakes that ...

WCF Adapters & BizTalk

While reading about WCF, I’ve encountered Richard’s blog. In one of his blog, he wrote about the adapters. He claims that BizTalk WCF Adapter is better than SOAP Adapter. He gave a clear example as how it is better and why. But isn’t it surprising that there is a better solution than SOAP. Surprisingly, this post is written 3 years back but it is really sad that I’ve encountered during Sep 2011. But am not sure that the same statement holds good till this day. Am sure that WCF in framework 4.0 would be much better. Have you ever explored?

Microsoft Certification & Different Certifications

Image
Today, our HR asked me about the Microsoft certification and the respective levels. I’ve tried to explain her, but as an old saying states, “a picture is worth of thousand words” (or) “Pictures speak louder than words”, it really worked well when I’ve given her the below picture. There is a short and sweet writeup from Microsoft site from this link , but she is more confused when I gave this link to her. In other words, if anyone writes a Microsoft exam would be awarded with MCP, ie., Microsoft Certified Professional. Then if the person writes any other exam that is related to the previous one, then they would be certified as MCTS, ie., Microsoft Certified Technology Specialist of respective combination of the papers.

Differed Execution (vs) Immediate execution in LINQ

Recently while understanding LINQ, many things unfurled from MSDN. The main theme of .NET is lazy binding (or) lazy loading. And it is evolving in all the ways within the .net Framework. I recollect in one of my previous posts about the mainly concentrated theme for every version that is released. I could be wrong from the insider perspective, but what I’ve observed is what I’ve written. Anyhow, coming back to the main purpose of this post, which is all about the lazy loading and the point behind various execution mechanisms that are available within LINQ. Before I proceed further, one point is very certain that, choosing LINQ is costlier from the point of “Response Time” from DB to any connected system. This statement is true when compared the LINQ with any traditional mechanism of database connectivity. Traditionally, every developer writes code with Connection object for connecting to the Data Store and then disposes the connection. This method can be by various objects that are ...

Why exceptions are expensive

  Many a times, i get to read from lots of places as, “.. don’t use generic exceptions, as they are very expensive .. instead use specific exceptions like devidebyzero .. blah .. blah ..” According to the MSDN Article from this link , it clearly states to use specific exception, but doesn’t give you as why to use specific exception. You can read my comment beneath the article . If you don’t see that, here it is. When you use the catch and cast that as generic exception, it then compares with the following set of exceptions. Which is definitely an unwanted comparison or type conversion with the exact exception that is caught and caused by the code.. Microsoft.Build.BuildEngine..::.InternalLoggerException Microsoft.Build.BuildEngine..::.InvalidProjectFileException Microsoft.Build.BuildEngine..::.InvalidToolsetDefinitionException Microsoft.Build.BuildEngine..::.RemoteErrorException Microsoft.Build.Framework..::.LoggerException Microsoft.JScript..::.CmdLineException Microsoft.JScri...

EntLib 5.0 & Unity 2.0 Release Dates

Image
Am a big favorite of EntLib. I started using this from v1.1 during June 2005. The good thing from the latest version is that they are not adding any more blocks, on top of it they are removing some unwanted code. They are targeting to release this by 14th of April after 2days of VS2010.

Bing vs Yahoo

Image
If the current statistics continue till the end of this year, Microsoft would have a good news, ie., Bing overtakes yahoo search by the early next year.