What happens when you add a reference to a COM object from with in a dot net application?
Managed Code and Unmanaged Code related ASP.NET - What happens when you add a reference to a COM object from with in a dot net application? When you add a reference to a COM object, Visual Studio automatically generates an interop assembly for the object and places it in the projects /bin folder. T... 2009-04-08, 4733👍, 0💬
.NET Remoting versus Distributed COM ?
.NET Remoting versus Distributed COM ? In the past interprocess communication between applications was handled through Distributed COM, or DCOM. DCOM works well and the performance is adequate when applications exist on computers of similar type on the same network. However, DCOM has its drawbacks i... 2009-03-19, 4167👍, 0💬
How do we create DCOM object in VB6
How do we create DCOM object in VB6 Using the CreateObject method you can create a DCOM object. You have to put the server name in the registry. 2009-03-06, 4268👍, 0💬
What is cross cutting in AOP
What is cross cutting in AOP ? When one or many concerns span across module it is called as cross cutting. Example in our audit trail example we will probably need to audit trail for customer as well as supplier. So Audit trail can span across other objects also that is termed as cross cutting. Belo... 2007-10-24, 4839👍, 0💬
What is Concern in AOP
What is Concern in AOP? gA concern is a particular goal, concept, or area of interesth There are mainly two types of concern from an object perspective:- ã Core / Main concerns which it should satisfy and is his work. ã System concerns which are not related to business functionalities but software r... 2007-10-24, 6593👍, 0💬
What is aspect oriented programming
What is aspect oriented programming? Aspect-oriented software development is a new technology for separation of concerns (SOC) in software development. The techniques of AOSD make it possible to modularize crosscutting aspects of a system. Ok that statement can save you for the first stage let us ge... 2007-10-24, 4663👍, 0💬
What is Windows DNA architecture
What is Windows DNA architecture? Note :- If you have worked with classic ASP this question can come to you. The Windows Distributed interNet Applications Architecture (DNA) is a Microsoft blueprint for robust, scalable, distributed business software. Windows DNA has evolved over time and was not pr... 2007-10-24, 7144👍, 0💬
What are different ways you can pass data between tiers
What are different ways you can pass data between tiers? There are many ways you can pass data between tiers :- ? Dataset the most preferred one as they maintain data in XML format. ? Datareader ? Custom classes. ? XML 2007-10-24, 4933👍, 0💬
What is Service Oriented architecture
What is Service Oriented architecture? Services are components which expose well defined interfaces and these interfaces communicate through XML messages. Using SOA you can build workflow, which uses interfaces of these components. SOA is typically useful when you are crossing heterogeneous techni... 2007-10-24, 5792👍, 0💬
Have you ever worked with Microsoft Application Blocks, if yes then which
Have you ever worked with Microsoft Application Blocks, if yes then which? Application Blocks are C# and VB.NET classes distributed as Visual Studio projects that can be downloaded from Microsoft's Web site and used in any .NET application, including ASP.NET Web applications. They are useful and pow... 2007-10-24, 6696👍, 0💬
What is three tier architecture
What is three tier architecture? The three tier software architecture emerged in the 1990s to overcome the limitations of the two tier architecture. There are three layers when we talk about three tier architecture:- User Interface (Client) :- This is mostly the windows user interface or the Web int... 2007-10-24, 4479👍, 0💬
How can we implement observer pattern in .NET
How can we implement observer pattern in .NET? Observer patterns can be implemented using Delegates and Events. I leave this to the readers to implement one sample code for observer patterns. 2007-10-24, 4505👍, 0💬
Can you give a practical implementation of FAÇADE patterns
Can you give a practical implementation of FAÇADE patterns? Façade pattern sits on the top of lot of subsystems and makes access easy to interfaces of these subsystems. Basic purpose of Façade is to make interfacing between many modules and classes manageable. Above is a simple live application of a Faca... 2007-10-24, 4530👍, 0💬
What are the situations you will use a Web Service and Remoting in projects
What are the situations you will use a Web Service and Remoting in projects? Well Web services uses remoting concepts internally. But the major difference between web service and remoting is that web service can be consumed by clients who are not .NET platform. While remoting you need ... 2007-10-24, 4286👍, 0💬
How to implement cloning in .NET ? What is shallow copy and deep copy
How do you implement prototype pattern in .NET? Cloning is achieved by using ICloneable of the System namespace. It has a Clone method which actually returns the reference of the same copy. Clone method allows a Shallow copy and not a deep copy. In Shallow copy if you make changes to the cloned ob... 2007-10-24, 4811👍, 0💬
How can we implement singleton pattern in .NET
How can we implement singleton pattern in .NET? Singleton pattern mainly focuses on having one and only one instance of the object running. Example a windows directory service which has multiple entries but you can only have single instance of it through out the network. Note:- May of developers wou... 2007-10-24, 6403👍, 0💬
What is MVC pattern
How can you implement MVC pattern in ASP.NET? The main purpose using MVC pattern is to decouple the GUI from the Data. It also gives the ability to provide multiple views for the same Data. MVC pattern separates objects in to three important sections:- ã Model: - This section is specially for maintai... 2007-10-24, 10458👍, 0💬
What is the difference between Factory and Abstract Factory Patterns
What is the difference between Factory and Abstract Factory Patterns? Note: - This is quiet a confusing architect question especially in design pattern section. Interviewer can take you for a nice ride. So get the difference in your heart. First read the definition provided in the first question abo... 2007-10-24, 4917👍, 0💬
What are design patterns
What are design patterns ? Design patterns are recurring solution to recurring problems in software architecture. (A) Can you list down all patterns and their classification ? Note :- This is advanced question because anyone who asks to list down all patterns can only be crazy for what he is asking.... 2007-10-24, 5053👍, 0💬
What is the output of printf("%d")? 1. When we write printf("%d",x); this means compiler will print ...
Does there exist any other function which can be used to convert an integer or a float to a string? ...
When should the register modifier be used? Does it really help? The register modifier hints to the c...
If we inherit a class do the private variables also get inherited ? Yes, the variables are inherited...
Managed Code and Unmanaged Code related ASP.NET - How do you hide Public .NET Classes and other publ...