26.02.2015 Views

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

web service. Both these services are provided by different company. Now we want to<br />

build a functionality which needs to validate a credit card and also check that addresses<br />

are proper. In short we will need functionalities of both the “CreditCard” and<br />

“AddressCheck” service. Also note the “CreditCard” service has its own business layer<br />

and DAL components, which can be in a proprietary language. It’s very much possible<br />

that the whole Credit card service is made in .<strong>NET</strong> and the Address check is SAP<br />

implementation or JAVA implementation. But because both the systems provide there<br />

functionality using Web services which is nothing but basically XML message<br />

communication. So we have made new service which sits like a FAÇADE on top of both<br />

the web service and performs both functionalities in one common service. You will see I<br />

have made a third service which sits on top of both the webservice and consumes them.<br />

Also you can see that the UI part of the systems have access to Buisness layer and Web<br />

service of there system. But the service which does both these check has only access to<br />

the Web service.<br />

Note:- It’s beyond the scope of this book to discuss about SOA. But just to keep you safe<br />

during interview this book has tried to clear some basics of SOA.<br />

(I)What are different ways you can pass data between tiers?<br />

There are many ways you can pass data between tiers :-<br />

√<br />

√<br />

√<br />

√<br />

Dataset the most preferred one as they maintain data in XML format.<br />

Datareader<br />

Custom classes.<br />

XML<br />

(A)What is Windows DNA architecture?<br />

Note :- If you have worked with classic ASP this question can come to you.<br />

The Windows Distributed interNet Applications Architecture (DNA) is a Microsoft<br />

blueprint for robust, scalable, distributed business software. Windows DNA has evolved<br />

over time and was not preplanned. It gives all combined advantages of Centralized<br />

mainframe, application servers, internet technologies and Personal computers. Windows<br />

DNA is a evolution which started from mainframes (Where all logic was centralized) ,<br />

Fox pro ages ( Where we talked in terms of two tier systems) , VB6 / SQL SERVER<br />

(Three tier where we talked in terms of having one more tier which was mainly COM<br />

161

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!