Skip to main content

Posts

Showing posts from March, 2014

Dot Net Basic Question

What is globalization? Globalization is the process of customizing applications that support multiple cultures and regions. What is localization? Localization is the process of customizing applications that support a given culture and regions. What is a digital signature? A digital signature is an electronic signature used to verify/gurantee the identit What is a third-party control ? A third-party control is one that is not created by the owners of a project. They are usually used to save time and resources and reuse the functionality developed by others (third-party). What is a binary formatter? Binary formatter is used to serialize and deserialize an object in binary format.y of the individual who is sending the message. What is a Runtime Callable Wrapper (RCW)? RCW is a wrapper created by the common language runtime(CLR) to enable .NET components to call COM components. What is a COM Callable Wrapper (CCW)? CCW is a wrapper created by the

ASP.NET AJAX Interview Questions

What is Ajax? The term Ajax was coined by Jesse James Garrett and is a short form for "Asynchronous Javascript and XML". Ajax represents a set of commonly used techniques, like HTML/XHTML, CSS, Document Object Model(DOM), XML/XSLT, Javascript and the XMLHttpRequest object, to create RIA's (Rich Internet Applications). What role does the ScriptManager play? The ScriptManager manages all ASP.NET AJAX resources on a page and renders the links for the ASP.NET AJAX client libraries, which lets you use AJAX functionality like PageMethods, UpdatePanels etc. It creates the PageRequestManager and Application objects, which are prominent in raising events during the client life cycle of an ASP.NET AJAX Web page. It also helps you create proxies to call web services asynchronously. Can we use multiple ScriptManager on a page? No. You can use only one ScriptManager on a page. What is the role of a ScriptManagerProxy? A page can contain only one ScriptManager control.

LINQ vs foreach - Round 1

So I was reading Peter Kellner's blog  entry  on Resharper 5.0 and its LINQ refactoring and thought that was very cool.  But that raised a point I had always been curious about in my head -- which is a better choice: manual foreach loops or LINQ? The answer is not really clear-cut.  There are two sides to any code cost arguments: performance and maintainability.  The first of these is obvious and quantifiable.  Given any two pieces of code that perform the same function, you can run them side-by-side and see which piece of code performs better. Unfortunately, this is not always a good measure.  Well written assembly language outperforms well written C++ code, but you lose a lot in maintainability which creates a big techncial debt load that is hard to offset as the application ages.  In contrast, higher level constructs make the code more brief and easier to understand, hence reducing technical cost. Now, obviously in this case we're not talking two separate languages, we'