<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7992145449048671820</id><updated>2011-11-27T15:15:47.136-08:00</updated><category term='.net'/><category term='net'/><title type='text'>.Net Interview Questions and Answers - An Interviewhelper.org Blog</title><subtitle type='html'>This blog contains lot of interview questions from .net technologies like .net framework, ASP.net, C#, VB.net, remoting, webservices etc..&lt;br&gt;&lt;br&gt;
Visit &lt;a href="http://interviewhelper.org"&gt;Interview Helper&lt;/a&gt; for more .net Interview questions</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default?start-index=101&amp;max-results=100'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>202</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-2616729456405081857</id><published>2009-01-29T23:10:00.000-08:00</published><updated>2009-01-29T23:11:48.181-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>IIS Isolation Levels</title><content type='html'>&lt;strong&gt;Question :IIS Isolation Levels?&lt;/strong&gt;&lt;br /&gt;Answer :Internet Information Server introduced the notion "Isolation Level", which is also present in IIS4 under a different name. IIS5 supports three isolation levels, that you can set from the Home Directory tab of the site's Properties dialog: • Low (IIS Process): ASP pages run in INetInfo.Exe, the main IIS process, therefore they are executed in-process. This is the fastest setting, and is the default under IIS4. The problem is that if ASP crashes, IIS crashes as well and must be restarted (IIS5 has a reliable restart feature that automatically restarts a server when a fatal error occurs). • Medium (Pooled): In this case ASP runs in a different process, which makes this setting more reliable: if ASP crashes IIS won't. All the ASP &lt;a href="http://interviewhelper.org/demo/Art/321/11/ASP-NET-Interview-Questions-Part-19-IIS.html" target="_top"&gt;applications&lt;/a&gt; at the Medium isolation level share the same process, so you can have a web site running with just two processes (IIS and ASP process). IIS5 is the first Internet Information Server version that supports this setting, which is also the default setting when you create an IIS5 application. Note that an ASP application that runs at this level is run under COM+, so it's hosted in DLLHOST.EXE (and you can see this executable in the Task Manager). • High (Isolated): Each ASP application runs out-process in its own process space, therefore if an ASP application crashes, neither IIS nor any other ASP application will be affected. The downside is that you consume more memory and resources if the server hosts many ASP applications. Both IIS4 and IIS5 supports this setting: under IIS4 this process runs inside MTS.EXE, while under IIS5 it runs inside DLLHOST.EXE. When selecting an isolation level for your ASP application, keep in mind that out-process settings - that is, Medium and High - are less efficient than in-process (Low). However, out-process communication has been vastly improved under IIS5, and in fact IIS5's Medium isolation level often deliver better results than IIS4's Low isolation. In practice, you shouldn't set the Low isolation level for an IIS5 application unless you really need to serve hundreds pages per second.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-2616729456405081857?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/2616729456405081857/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/iis-isolation-levels_29.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2616729456405081857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2616729456405081857'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/iis-isolation-levels_29.html' title='IIS Isolation Levels'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-7374598287720392013</id><published>2009-01-29T23:09:00.000-08:00</published><updated>2009-01-29T23:10:33.082-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Advantages in IIS 6.0</title><content type='html'>&lt;strong&gt;Question :Advantages in IIS 6.0?&lt;/strong&gt;&lt;br /&gt;Answer :http://www.microsoft.com/windowsserver2003/iis/evaluation/features/default.mspx http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/windowsserver2003/proddocs/datacenter/gs_whatschanged.asp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-7374598287720392013?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/7374598287720392013/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/advantages-in-iis-60_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/7374598287720392013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/7374598287720392013'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/advantages-in-iis-60_29.html' title='Advantages in IIS 6.0'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-758652363836006636</id><published>2009-01-29T23:06:00.000-08:00</published><updated>2009-01-29T23:09:05.866-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What are the different IIS authentication modes in IIS 5.0 and Explain  Difference between basic and digest authentication modes</title><content type='html'>&lt;strong&gt;Question :What are the different IIS authentication modes in IIS 5.0 and Explain? Difference between basic and digest authentication modes?&lt;/strong&gt;&lt;br /&gt;Answer :IIS provides a variety of authentication schemes: • Anonymous (enabled by default) • Basic • Digest • Integrated Windows authentication (enabled by default) • Client Certificate Mapping Anonymous Anonymous authentication gives users access to the public areas of your Web site without prompting them for a user name or password. Although listed as an authentication scheme, it is not technically performing any client authentication because the client is not required to supply any credentials. Instead, IIS provides stored credentials to Windows using a special user account, IUSR_machinename. By default, IIS controls the password for this account. Whether or not IIS controls the password affects the permissions the anonymous user has. When IIS controls the password, a sub authentication DLL (iissuba.dll) authenticates the user using a network logon. The function of this DLL is to validate the password supplied by IIS and to inform Windows that the password is valid, thereby authenticating the client. However, it does not actually provide a password to Windows. When IIS does not control the password, IIS calls the LogonUser() API in Windows and provides the account name, password and domain name to log on the user using a local logon. After the logon, IIS caches the security token and impersonates the account. A local logon makes it possible for the anonymous user to access network resources, whereas a network logon does not. Basic Authentication IIS Basic authentication as an implementation of the basic authentication scheme found in section 11 of the HTTP 1.0 specification. As the specification makes clear, this method is, in and of itself, non-secure. The reason is that Basic authentication assumes a trusted connection between client and server. Thus, the username and password are transmitted in clear text. More specifically, they are transmitted using Base64 encoding, which is trivially easy to decode. This makes Basic authentication the wrong choice to use over a public network on its own. Basic Authentication is a long-standing standard supported by nearly all browsers. It also imposes no special requirements on the server side -- users can authenticate against any NT domain, or even against accounts on the local machine. With SSL to shelter the &lt;a href="http://interviewhelper.org/demo/Art/321/11/ASP-NET-Interview-Questions-Part-19-IIS.html" target="_top"&gt;security&lt;/a&gt; credentials while they are in transmission, you have an authentication solution that is both highly secure and quite flexible. Digest Authentication The Digest authentication option was added in Windows 2000 and IIS 5.0. Like Basic authentication, this is an implementation of a technique suggested by Web standards, namely RFC 2069 (superceded by RFC 2617). Digest authentication also uses a challenge/response model, but it is much more secure than Basic authentication (when used without SSL). It achieves this greater security not by encrypting the secret (the password) before sending it, but rather by following a different &lt;a href="http://interviewhelper.org/demo/Art/321/11/ASP-NET-Interview-Questions-Part-19-IIS.html" target="_top"&gt;design pattern&lt;/a&gt; -- one that does not require the client to transmit the password over the wire at all. Instead of sending the password itself, the client transmits a one-way message digest (a checksum) of the user's password, using (by default) the MD5 algorithm. The server then fetches the password for that user from a Windows 2000 Domain Controller, reruns the checksum algorithm on it, and compares the two digests. If they match, the server knows that the client knows the correct password, even though the password itself was never sent. (If you have ever wondered what the default ISAPI filter "md5filt" that is installed with IIS 5.0 is used for, now you know. Integrated Windows Authentication Integrated Windows authentication (formerly known as NTLM authentication and Windows NT Challenge/Response authentication) can use either NTLM or Kerberos V5 authentication and only works with Internet Explorer 2.0 and later. When Internet Explorer attempts to access a protected resource, IIS sends two WWW-Authenticate headers, Negotiate and NTLM. • If Internet Explorer recognizes the Negotiate header, it will choose it because it is listed first. When using Negotiate, the browser will return information for both NTLM and Kerberos. At the server, IIS will use Kerberos if both the client (Internet Explorer 5.0 and later) and server (IIS 5.0 and later) are running Windows 2000 and later, and both are members of the same domain or trusted domains. Otherwise, the server will default to using NTLM. • If Internet Explorer does not understand Negotiate, it will use NTLM. So, which mechanism is used depends upon a negotiation between Internet Explorer and IIS. When used in conjunction with Kerberos v5 authentication, IIS can delegate security credentials among computers running Windows 2000 and later that are trusted and configured for delegation. Delegation enables remote access of resources on behalf of the delegated user. Integrated Windows authentication is the best authentication scheme in an intranet environment where users have Windows domain accounts, especially when using Kerberos. Integrated Windows authentication, like digest authentication, does not pass the user's password across the network. Instead, a hashed value is exchanged. Client Certificate Mapping A certificate is a digitally signed statement that contains information about an entity and the entity's public key, thus binding these two pieces of information together. A trusted organization (or entity) called a Certification Authority (CA) issues a certificate after the CA verifies that the entity is who it says it is. Certificates can contain different types of data. For example, an X.509 certificate includes the format of the certificate, the serial number of the certificate, the algorithm used to sign the certificate, the name of the CA that issued the certificate, the name and public key of the entity requesting the certificate, and the CA's signature. X.509 client certificates simplify authentication for larger user bases because they do not rely on a centralized account &lt;a href="http://interviewhelper.org/demo/Art/321/11/ASP-NET-Interview-Questions-Part-19-IIS.html" target="_top"&gt;database&lt;/a&gt;. You can verify a certificate simply by examining the certificate. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsent7/html/vxconIISAuthentication.asp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-758652363836006636?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/758652363836006636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-are-different-iis-authentication_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/758652363836006636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/758652363836006636'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-are-different-iis-authentication_29.html' title='What are the different IIS authentication modes in IIS 5.0 and Explain  Difference between basic and digest authentication modes'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-4569198953707664561</id><published>2009-01-29T23:04:00.000-08:00</published><updated>2009-01-29T23:06:05.411-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Where are the IIS log files stored</title><content type='html'>&lt;strong&gt;Question :Where are the IIS log files stored?&lt;/strong&gt;&lt;br /&gt;Answer :C:\WINDOWS\system32\Logfiles\W3SVC1 OR c:\winnt\system32\LogFiles\W3SVC1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-4569198953707664561?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/4569198953707664561/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/where-are-iis-log-files-stored_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4569198953707664561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4569198953707664561'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/where-are-iis-log-files-stored_29.html' title='Where are the IIS log files stored'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-5274684241553092842</id><published>2009-01-29T23:03:00.000-08:00</published><updated>2009-01-29T23:04:45.572-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Can .NET Framework components use the features of Component Services</title><content type='html'>&lt;strong&gt;Question :Can .NET Framework components use the features of Component Services?&lt;/strong&gt;&lt;br /&gt;Answer :. In which process does IIS runs (was asking about the EXE file) inetinfo.exe is the Microsoft IIS &lt;a href="http://interviewhelper.org/demo/Art/321/11/ASP-NET-Interview-Questions-Part-19-IIS.html" target="_top"&gt;server&lt;/a&gt; running, handling ASP.NET requests among other things. When an ASP.NET request is received (usually a file with .aspx extension), the ISAPI filter aspnet_isapi.dll takes care of it by passing the request to the actual worker process aspnet_wp.exe.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-5274684241553092842?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/5274684241553092842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/can-net-framework-components-use.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5274684241553092842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5274684241553092842'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/can-net-framework-components-use.html' title='Can .NET Framework components use the features of Component Services'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-3682280103484257426</id><published>2009-01-29T23:01:00.000-08:00</published><updated>2009-01-29T23:02:59.828-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Is it true that COM objects no longer need to be registered on the server</title><content type='html'>&lt;strong&gt;Question :Is it true that COM objects no longer need to be registered on the server?&lt;/strong&gt;&lt;br /&gt;Answer :Yes and No. Legacy COM objects still need to be registered on the server before they can be used. COM developed using the new .NET Framework will not need to be registered. &lt;a href="http://interviewhelper.org/demo/Art/320/11/ASP-NET-Interview-Questions-Part-18-COM-DCOM.html" target="_top"&gt;Developers&lt;/a&gt; will be able to auto-register these objects just by placing them in the 'bin' folder of the application.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-3682280103484257426?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/3682280103484257426/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/is-it-true-that-com-objects-no-longer_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3682280103484257426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3682280103484257426'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/is-it-true-that-com-objects-no-longer_29.html' title='Is it true that COM objects no longer need to be registered on the server'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-2353659161367444858</id><published>2009-01-29T22:54:00.000-08:00</published><updated>2009-01-29T22:55:29.765-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is Pinvoke</title><content type='html'>&lt;strong&gt;Question :What is Pinvoke?&lt;/strong&gt;&lt;br /&gt;Answer :Platform invoke is a service that enables managed code to call unmanaged functions implemented in dynamic-link libraries (DLLs), such as those in the Win32 API. It locates and invokes an exported function and marshals its arguments (integers, strings, arrays, structures, and so on) across the interoperation boundary as needed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-2353659161367444858?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/2353659161367444858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-pinvoke_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2353659161367444858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2353659161367444858'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-pinvoke_29.html' title='What is Pinvoke'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-2533744593335101517</id><published>2009-01-29T22:53:00.000-08:00</published><updated>2009-01-29T22:54:13.740-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Can we copy a COM dll to GAC folder</title><content type='html'>&lt;strong&gt;Question :Can we copy a COM dll to GAC folder?&lt;/strong&gt;&lt;br /&gt;Answer :**&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-2533744593335101517?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/2533744593335101517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/can-we-copy-com-dll-to-gac-folder.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2533744593335101517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2533744593335101517'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/can-we-copy-com-dll-to-gac-folder.html' title='Can we copy a COM dll to GAC folder'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-5256163136994572828</id><published>2009-01-29T22:51:00.000-08:00</published><updated>2009-01-29T22:53:02.951-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Is the COM architecture same as .Net architecture  What is the difference between them</title><content type='html'>&lt;strong&gt;Question :Is the COM architecture same as .Net architecture? What is the difference between them?&lt;br /&gt;&lt;/strong&gt;Answer :**&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-5256163136994572828?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/5256163136994572828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/is-com-architecture-same-as-net.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5256163136994572828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5256163136994572828'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/is-com-architecture-same-as-net.html' title='Is the COM architecture same as .Net architecture  What is the difference between them'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-6491201381775218225</id><published>2009-01-29T22:50:00.000-08:00</published><updated>2009-01-29T22:51:29.275-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is the new three features of COM+ services, which are not there in COM (MTS)</title><content type='html'>&lt;strong&gt;Question :What is the new three features of COM+ services, which are not there in COM (MTS)?&lt;/strong&gt;&lt;br /&gt;Answer :**&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-6491201381775218225?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/6491201381775218225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-new-three-features-of-com.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/6491201381775218225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/6491201381775218225'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-new-three-features-of-com.html' title='What is the new three features of COM+ services, which are not there in COM (MTS)'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-2371090907785701715</id><published>2009-01-29T22:49:00.000-08:00</published><updated>2009-01-29T22:50:12.545-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is use of ContextUtil class</title><content type='html'>&lt;strong&gt;Question :What is use of ContextUtil class?&lt;/strong&gt;&lt;br /&gt;Answer :ContextUtil is the preferred class to use for obtaining COM+ context information.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-2371090907785701715?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/2371090907785701715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-use-of-contextutil-class_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2371090907785701715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2371090907785701715'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-use-of-contextutil-class_29.html' title='What is use of ContextUtil class'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-6310122388204506939</id><published>2009-01-29T22:48:00.000-08:00</published><updated>2009-01-29T22:49:16.698-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>How will you register com+ services</title><content type='html'>&lt;strong&gt;Question :How will you register com+ services?&lt;br /&gt;&lt;/strong&gt;Answer :The .NET Framework SDK provides the .NET Framework Services Installation Tool (Regsvcs.exe - a command-line tool) to manually register an assembly containing serviced components. You can also access these registration features programmatically with the System.EnterpriseServicesRegistrationHelper class by creating an instance of class RegistrationHelper and using the method InstallAssembly&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-6310122388204506939?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/6310122388204506939/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-will-you-register-com-services_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/6310122388204506939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/6310122388204506939'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-will-you-register-com-services_29.html' title='How will you register com+ services'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-7840540069245805218</id><published>2009-01-29T22:46:00.000-08:00</published><updated>2009-01-29T22:48:07.632-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>How CCW and RCW is working</title><content type='html'>&lt;strong&gt;Question :How CCW and RCW is working?&lt;/strong&gt;&lt;br /&gt;Answer :**&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-7840540069245805218?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/7840540069245805218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-ccw-and-rcw-is-working.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/7840540069245805218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/7840540069245805218'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-ccw-and-rcw-is-working.html' title='How CCW and RCW is working'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-6339875184214582361</id><published>2009-01-29T22:45:00.000-08:00</published><updated>2009-01-29T22:46:41.475-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is CCW (COM Callable Wrapper)</title><content type='html'>&lt;strong&gt;Question : What is CCW (COM Callable Wrapper) ?&lt;/strong&gt;&lt;br /&gt;Answer :A proxy object generated by the common language runtime so that existing COM &lt;a href="http://interviewhelper.org/demo/Art/320/11/ASP-NET-Interview-Questions-Part-18-COM-DCOM.html" target="_top"&gt;applications&lt;/a&gt; can use managed classes, including .NET Framework classes, transparently.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-6339875184214582361?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/6339875184214582361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-ccw-com-callable-wrapper_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/6339875184214582361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/6339875184214582361'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-ccw-com-callable-wrapper_29.html' title='What is CCW (COM Callable Wrapper)'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-5425446847239792563</id><published>2009-01-29T22:43:00.000-08:00</published><updated>2009-01-29T22:45:26.173-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is RCW (Runtime Callable Wrappers)</title><content type='html'>&lt;strong&gt;Question :What is RCW (Runtime Callable Wrappers)?&lt;/strong&gt;&lt;br /&gt;Answer :The common language runtime exposes COM objects through a proxy called the runtime callable wrapper (RCW). Although the RCW appears to be an ordinary object to .NET clients, its primary function is to marshal calls between a .NET client and a COM object.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-5425446847239792563?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/5425446847239792563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-rcw-runtime-callable-wrappers_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5425446847239792563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5425446847239792563'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-rcw-runtime-callable-wrappers_29.html' title='What is RCW (Runtime Callable Wrappers)'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-254956427127727962</id><published>2009-01-29T22:40:00.000-08:00</published><updated>2009-01-29T22:43:52.049-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Interop Services</title><content type='html'>&lt;strong&gt;Question :Interop Services?&lt;/strong&gt;&lt;br /&gt;Answer :The common language runtime provides two mechanisms for interoperating with unmanaged code: • Platform invoke, which enables managed code to call functions exported from an unmanaged library. • COM interop, which enables managed code to interact with COM objects through interfaces. Both platform invoke and COM interop use interop marshaling to accurately move method arguments between caller and callee and back, if required.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-254956427127727962?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/254956427127727962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/interop-services_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/254956427127727962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/254956427127727962'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/interop-services_29.html' title='Interop Services'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-6242321318624791810</id><published>2009-01-29T22:39:00.000-08:00</published><updated>2009-01-29T22:40:47.966-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is the use of trace utility</title><content type='html'>&lt;strong&gt;Question :What is the use of trace utility?&lt;/strong&gt;&lt;br /&gt;Answer :Using the SOAP Trace Utility The Microsoft® Simple Object Access Protocol (SOAP) Toolkit 2.0 includes a TCP/IP trace utility, MSSOAPT.EXE. You use this trace utility to view the SOAP messages sent by HTTP between a SOAP client and a service on the server. Using the Trace Utility on the Server To see all of a service's messages received from and sent to all clients, perform the following steps on the server. 0. On the server, open the Web Services Description Language (WSDL) file. 1. In the WSDL file, locate the element that corresponds to the service and change the location attribute for this element to port 8080. For example, if the location attribute specifies change this attribute to . 2. Run MSSOAPT.exe. 3. On the File menu, point to New, and either click Formatted Trace (if you don't want to see HTTP headers) or click Unformatted Trace (if you do want to see HTTP headers). 4. In the Trace Setup dialog box, click OK to accept the default values. Using the Trace Utility on the Client To see all messages sent to and received from a service, do the following steps on the client. 5. Copy the WSDL file from the server to the client. 6. Modify location attribute of the element in the local copy of the WSDL document to direct the client to localhost:8080 and make a note of the current host and port. For example, if the WSDL contains , change it to and make note of "MyServer". 7. On the client, run MSSOPT.exe. 8. On the File menu, point to New, and either click Formatted Trace (if you don't want to see HTTP headers) or click Unformatted Trace (if you do want to see HTTP headers). 9. In the Destination host box, enter the host specified in Step 2. 10. In the Destination port box, enter the port specified in Step 2. 11. Click OK.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-6242321318624791810?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/6242321318624791810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-use-of-trace-utility_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/6242321318624791810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/6242321318624791810'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-use-of-trace-utility_29.html' title='What is the use of trace utility'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-4526651428743623161</id><published>2009-01-29T22:38:00.000-08:00</published><updated>2009-01-29T22:39:12.845-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>CAO and SAO</title><content type='html'>&lt;strong&gt;Question :CAO and SAO?&lt;/strong&gt;&lt;br /&gt;Answer :Client Activated objects are those remote objects whose Lifetime is directly Controlled by the client. This is in direct contrast to SAO. Where the server, not the client has complete control over the lifetime of the objects. Client activated objects are instantiated on the server as soon as the client request the object to be created. Unlike as SAO a CAO doesn’t delay the object creation until the first method is called on the object. (In SAO the object is instantiated when the client calls the method on the object) 22. singleton and singlecall. Singleton types never have more than one instance at any one time. If an instance exists, all client requests are serviced by that instance. Single Call types always have one instance per client request. The next method invocation will be serviced by a different server instance, even if the previous instance has not yet been recycled by the system.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-4526651428743623161?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/4526651428743623161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/cao-and-sao_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4526651428743623161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4526651428743623161'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/cao-and-sao_29.html' title='CAO and SAO'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-4733293157954779778</id><published>2009-01-29T22:35:00.000-08:00</published><updated>2009-01-29T22:37:30.760-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Though both the .NET Remoting infrastructure and ASP.NET Web services can enable cross-process communication, each is designed to benefit a different</title><content type='html'>&lt;strong&gt;Question :Though both the .NET Remoting infrastructure and ASP.NET Web services can enable cross-process communication, each is designed to benefit a different target audience. ASP.NET Web services provide a simple programming model and a wide reach. .NET Remoting provides a more complex programming model and has a much narrower reach?&lt;/strong&gt;&lt;br /&gt;Answer :As explained before, the clear performance advantage provided by TCPChannel-remoting should make you think about using this channel whenever you can afford to do so. If you can create direct TCP connections from your clients to your &lt;a href="http://interviewhelper.org/demo/Art/319/11/ASP-NET-Interview-Questions-Part-17-Webservices-Remoting.html" target="_top"&gt;server&lt;/a&gt; and if you need to support only the .NET platform, you should go for this channel. If you are going to go cross-platform or you have the requirement of supporting SOAP via HTTP, you should definitely go for ASP.NET Web services. Both the .NET remoting and ASP.NET Web services are powerful technologies that provide a suitable framework for developing distributed applications. It is important to understand how both technologies work and then choose the one that is right for your application. For applications that require interoperability and must function over public networks, Web services are probably the best bet. For those that require communications with other .NET components and where performance is a key priority, .NET Remoting is the best choice. In short, use Web services when you need to send and receive data from different computing platforms, use .NET Remoting when sending and receiving data between .NET applications. In some architectural scenarios, you might also be able to use.NET Remoting in conjunction with ASP.NET Web services and take advantage of the best of both worlds. The Key difference between ASP.NET webservices and .NET Remoting is how they serialize data into messages and the format they choose for metadata. ASP.NET uses XML serializer for serializing or Marshalling. And XSD is used for Metadata. .NET Remoting relies on System.Runtime.Serialization.Formatter.Binary and System.Runtime.Serialization.SOAPFormatter and relies on .NET CLR Runtime assemblies for metadata.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-4733293157954779778?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/4733293157954779778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/though-both-net-remoting-infrastructure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4733293157954779778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4733293157954779778'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/though-both-net-remoting-infrastructure.html' title='Though both the .NET Remoting infrastructure and ASP.NET Web services can enable cross-process communication, each is designed to benefit a different'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-5108327843253925398</id><published>2009-01-29T22:34:00.000-08:00</published><updated>2009-01-29T22:35:48.568-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Difference between web services &amp; remoting</title><content type='html'>&lt;strong&gt;Question :Difference between web services &amp;amp; remoting?&lt;/strong&gt;&lt;br /&gt;Answer :ASP.NET Web Services .NET Remoting Protocol Can be accessed only over HTTP Can be accessed over any protocol (including TCP, HTTP, SMTP and so on) State Management Web services work in a stateless environment Provide support for both stateful and stateless environments through Singleton and SingleCall objects Type System Web services support only the datatypes defined in the XSD type system, limiting the number of objects that can be serialized. Using binary communication, .NET Remoting can provide support for rich type system Interoperability Web services support interoperability across platforms, and are ideal for heterogeneous environments. .NET remoting requires the client be built using .NET, enforcing homogenous environment. Reliability Highly reliable due to the fact that Web services are always hosted in IIS Can also take advantage of IIS for fault isolation. If IIS is not used, application needs to provide plumbing for ensuring the reliability of the application. Extensibility Provides extensibility by allowing us to intercept the SOAP messages during the serialization and deserialization stages. Very extensible by allowing us to customize the different components of the .NET remoting framework. Ease-of-Programming Easy-to-create and deploy. Complex to program.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-5108327843253925398?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/5108327843253925398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/difference-between-web-services_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5108327843253925398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5108327843253925398'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/difference-between-web-services_29.html' title='Difference between web services &amp; remoting'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-3368087866245668718</id><published>2009-01-29T22:33:00.000-08:00</published><updated>2009-01-29T22:34:22.115-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is Remoting</title><content type='html'>&lt;strong&gt;Question :What is Remoting?&lt;/strong&gt;&lt;br /&gt;Answer :The process of communication between different operating system processes, regardless of whether they are on the same computer. The .NET remoting system is an architecture designed to simplify communication between objects living in different application domains, whether on the same computer or not, and between different contexts, whether in the same application domain or not.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-3368087866245668718?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/3368087866245668718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-remoting_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3368087866245668718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3368087866245668718'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-remoting_29.html' title='What is Remoting'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-4699378766866509608</id><published>2009-01-29T22:32:00.000-08:00</published><updated>2009-01-29T22:33:14.642-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What’s the attribute for webservice method  What is the namespace for creating webservice</title><content type='html'>&lt;strong&gt;Question :What’s the attribute for webservice method? What is the namespace for creating webservice?&lt;/strong&gt;&lt;br /&gt;Answer :[WebMethod] using System.Web; using System.Web.Services;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-4699378766866509608?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/4699378766866509608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/whats-attribute-for-webservice-method_3158.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4699378766866509608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4699378766866509608'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/whats-attribute-for-webservice-method_3158.html' title='What’s the attribute for webservice method  What is the namespace for creating webservice'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-3218300045215482137</id><published>2009-01-29T22:28:00.000-08:00</published><updated>2009-01-29T22:30:02.857-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>How you will protect / secure a web service</title><content type='html'>&lt;strong&gt;Question :How you will protect / secure a web service?&lt;/strong&gt;&lt;br /&gt;Answer :For the most part, things that you do to secure a Web site can be used to secure a Web Service. If you need to encrypt the data exchange, you use Secure Sockets Layer (SSL) or a Virtual Private Network to keep the bits secure. For authentication, use HTTP Basic or Digest authentication with Microsoft® Windows® integration to figure out who the caller is.These items cannot: * Parse a SOAP request for valid values * Authenticate access at the Web Method level (they can authenticate at the Web Service level) * Stop reading a request as soon as it is recognized as invalid http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpcontransactionsupportinaspnetwebservices.asp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-3218300045215482137?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/3218300045215482137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-you-will-protect-secure-web-service_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3218300045215482137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3218300045215482137'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-you-will-protect-secure-web-service_29.html' title='How you will protect / secure a web service'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-4153636711837858926</id><published>2009-01-29T22:18:00.000-08:00</published><updated>2009-01-29T22:28:52.294-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>How to generate proxy class other than .net app and wsdl tool</title><content type='html'>&lt;strong&gt;Question :How to generate proxy class other than .net app and wsdl tool?&lt;/strong&gt;&lt;br /&gt;Answer :To access an XML Web service from a client application, you first add a Web reference, which is a reference to an XML Web service. When you create a Web reference, Visual Studio creates an XML Web service proxy class automatically and adds it to your project. This proxy class exposes the methods of the XML Web service and handles the marshalling of appropriate arguments back and forth between the XML Web service and your application. Visual Studio uses the Web Services Description Language (WSDL) to create the proxy. To generate an XML Web service proxy class: * From a command prompt, use Wsdl.exe to create a proxy class, specifying (at a minimum) the URL to an XML Web service or a service description, or the path to a saved service description. Wsdl /language:language /protocol:protocol /namespace:myNameSpace /out:filename /username:username /password:password /&lt;a href="http://interviewhelper.org/demo/Art/319/11/ASP-NET-Interview-Questions-Part-17-Webservices-Remoting.html" target="_top"&gt;domain&lt;/a&gt;:domain&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-4153636711837858926?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/4153636711837858926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-to-generate-proxy-class-other-than_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4153636711837858926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4153636711837858926'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-to-generate-proxy-class-other-than_29.html' title='How to generate proxy class other than .net app and wsdl tool'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-5141136589561885389</id><published>2009-01-29T22:17:00.000-08:00</published><updated>2009-01-29T22:18:53.546-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>How to generate WebService proxy? What is SOAP, WSDL, UDDI and the concept behind Web Services? What are various components of WSDL? What is the use o</title><content type='html'>&lt;strong&gt;Question :How to generate WebService proxy? What is SOAP, WSDL, UDDI and the concept behind Web Services? What are various components of WSDL? What is the use of WSDL.exe utility?&lt;/strong&gt;&lt;br /&gt;Answer :SOAP is an XML-based messaging framework specifically designed for exchanging formatted data across the Internet, for example using request and reply messages or sending entire documents. SOAP is simple, easy to use, and completely neutral with respect to operating system, &lt;a href="http://interviewhelper.org/demo/Art/319/11/ASP-NET-Interview-Questions-Part-17-Webservices-Remoting.html" target="_top"&gt;programming language&lt;/a&gt;, or distributed computing platform. After SOAP became available as a mechanism for exchanging XML messages among enterprises (or among disparate applications within the same enterprise), a better way was needed to describe the messages and how they are exchanged. The Web Services Description Language (WSDL) is a particular form of an XML Schema, developed by Microsoft and IBM for the purpose of defining the XML message, operation, and protocol mapping of a web service accessed using SOAP or other XML protocol. WSDL defines web services in terms of "endpoints" that operate on XML messages. The WSDL syntax allows both the messages and the operations on the messages to be defined abstractly, so they can be mapped to multiple physical implementations. The current WSDL spec describes how to map messages and operations to SOAP 1.1, HTTP GET/POST, and MIME. WSDL creates web service definitions by mapping a group of endpoints into a logical sequence of operations on XML messages. The same XML message can be mapped to multiple operations (or services) and bound to one or more communications protocols (using "ports"). The Universal Description, Discovery, and Integration (UDDI) framework defines a data model (in XML) and SOAP APIs for registration and searches on business information, including the web services a business exposes to the Internet. UDDI is an independent consortium of vendors, founded by Microsoft, IBM, and Ariba, for the purpose of developing an Internet standard for web service description registration and discovery. Microsoft, IBM, and Ariba also are hosting the initial deployment of a UDDI service, which is conceptually patterned after DNS (the &lt;a href="http://interviewhelper.org/demo/Art/319/11/ASP-NET-Interview-Questions-Part-17-Webservices-Remoting.html" target="_top"&gt;Internet service&lt;/a&gt; that translates URLs into TCP addresses). UDDI uses a private agreement profile of SOAP (i.e. UDDI doesn't use the SOAP serialization format because it's not well suited to passing complete XML documents (it's aimed at RPC style interactions). The main idea is that businesses use the SOAP APIs to register themselves with UDDI, and other businesses search UDDI when they want to discover a trading partner, for example someone from whom they wish to procure sheet metal, bolts, or transistors. The information in UDDI is categorized according to industry type and geographical location, allowing UDDI consumers to search through lists of potentially matching businesses to find the specific one they want to contact. Once a specific business is chosen, another call to UDDI is made to obtain the specific contact information for that business. The contact information includes a pointer to the target business's&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-5141136589561885389?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/5141136589561885389/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-to-generate-webservice-proxy-what_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5141136589561885389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5141136589561885389'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-to-generate-webservice-proxy-what_29.html' title='How to generate WebService proxy? What is SOAP, WSDL, UDDI and the concept behind Web Services? What are various components of WSDL? What is the use o'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-4880747620540677357</id><published>2009-01-29T22:16:00.000-08:00</published><updated>2009-01-29T22:17:49.063-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>In a Webservice, need to display 10 rows from a table. So DataReader or DataSet is best choice</title><content type='html'>&lt;strong&gt;Question :In a Webservice, need to display 10 rows from a table. So DataReader or DataSet is best choice?&lt;/strong&gt;&lt;br /&gt;Answer :WebService will support only DataSet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-4880747620540677357?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/4880747620540677357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/in-webservice-need-to-display-10-rows_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4880747620540677357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4880747620540677357'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/in-webservice-need-to-display-10-rows_29.html' title='In a Webservice, need to display 10 rows from a table. So DataReader or DataSet is best choice'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-3440301262957262987</id><published>2009-01-29T22:15:00.000-08:00</published><updated>2009-01-29T22:16:24.480-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Are Web Services a replacement for other distributed computing platforms</title><content type='html'>&lt;strong&gt;Question :Are Web Services a replacement for other distributed computing platforms?&lt;/strong&gt;&lt;br /&gt;Answer :No. Web Services is just a new way of looking at existing implementation platforms.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-3440301262957262987?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/3440301262957262987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/are-web-services-replacement-for-other_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3440301262957262987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3440301262957262987'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/are-web-services-replacement-for-other_29.html' title='Are Web Services a replacement for other distributed computing platforms'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-3854852060120704574</id><published>2009-01-29T22:13:00.000-08:00</published><updated>2009-01-29T22:14:08.103-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is a WebService and what is the underlying protocol used in it?Why Web Services</title><content type='html'>&lt;strong&gt;Question :What is a WebService and what is the underlying protocol used in it?Why Web Services?&lt;/strong&gt;&lt;br /&gt;Answer :Web Services are &lt;a href="http://interviewhelper.org/demo/Art/319/11/ASP-NET-Interview-Questions-Part-17-Webservices-Remoting.html" target="_top"&gt;applications&lt;/a&gt; delivered as a service on the Web. Web services allow for programmatic access of business logic over the Web. Web services typically rely on XML-based protocols, messages, and interface descriptions for communication and access. Web services are designed to be used by other programs or applications rather than directly by end user. Programs invoking a Web service are called clients. SOAP over HTTP is the most commonly used protocol for invoking Web services. There are three main uses of Web services. 1. Application integration Web services within an intranet are commonly used to integrate business applications running on disparate platforms. For example, a .NET client running on Windows 2000 can easily invoke a Java Web service running on a mainframe or Unix machine to retrieve data from a legacy application. 2. Business integration Web services allow trading partners to engage in e-business leveraging the existing Internet infrastructure. Organizations can send electronic purchase orders to suppliers and receive electronic invoices. Doing e-business with Web services means a low barrier to entry because Web services can be added to existing applications running on any platform without changing legacy code. 3. Commercial Web services focus on selling content and business services to clients over the &lt;a href="http://interviewhelper.org/demo/Art/319/11/ASP-NET-Interview-Questions-Part-17-Webservices-Remoting.html" target="_top"&gt;Internet&lt;/a&gt; similar to familiar Web pages. Unlike &lt;a href="http://interviewhelper.org/demo/Art/319/11/ASP-NET-Interview-Questions-Part-17-Webservices-Remoting.html" target="_top"&gt;Web pages&lt;/a&gt;, commercial Web services target applications not humans as their direct users. Continental Airlines exposes flight schedules and status Web services for travel Web sites and agencies to use in their applications. Like Web pages, commercial Web services are valuable only if they expose a valuable service or content. It would be very difficult to get customers to pay you for using a Web service that creates business charts with the customers? data. Customers would rather buy a charting component (e.g. COM or .NET component) and install it on the same machine as their application. On the other hand, it makes sense to sell real-time weather information or stock quotes as a Web service. Technology can help you add value to your services and explore new markets, but ultimately customers pay for contents and/or business services, not for technology&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-3854852060120704574?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/3854852060120704574/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-webservice-and-what-is_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3854852060120704574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3854852060120704574'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-webservice-and-what-is_29.html' title='What is a WebService and what is the underlying protocol used in it?Why Web Services'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-5950197382170349510</id><published>2009-01-29T22:05:00.000-08:00</published><updated>2009-01-29T22:06:49.681-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What’s different about switch statements in C#</title><content type='html'>&lt;strong&gt;Question :What’s different about switch statements in C#?&lt;br /&gt;&lt;/strong&gt;Answer :No fall-throughs allowed. Unlike the C++ switch statement, C# does not support an explicit fall through from one case label to another. If you want, you can use goto a switch-case, or goto default. case 1: cost += 25; break; case 2: cost += 25; goto case 1;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-5950197382170349510?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/5950197382170349510/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/whats-different-about-switch-statements_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5950197382170349510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5950197382170349510'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/whats-different-about-switch-statements_29.html' title='What’s different about switch statements in C#'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-6483803583265213701</id><published>2009-01-29T22:04:00.000-08:00</published><updated>2009-01-29T22:05:46.366-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Is goto statement supported in C#  How about Java</title><content type='html'>&lt;strong&gt;Question :Is goto statement supported in C#? How about Java?&lt;br /&gt;&lt;/strong&gt;Answer :Gotos are supported in C#to the fullest. In Java goto is a reserved keyword that provides absolutely no functionality.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-6483803583265213701?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/6483803583265213701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/is-goto-statement-supported-in-c-how_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/6483803583265213701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/6483803583265213701'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/is-goto-statement-supported-in-c-how_29.html' title='Is goto statement supported in C#  How about Java'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-2201568090413991059</id><published>2009-01-29T22:03:00.000-08:00</published><updated>2009-01-29T22:04:46.090-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Will it go to finally block if there is no exception happened</title><content type='html'>&lt;strong&gt;Question :Will it go to finally block if there is no exception happened?&lt;/strong&gt;&lt;br /&gt;Answer :Yes. The finally block is useful for cleaning up any resources allocated in the try block. Control is always passed to the finally block regardless of how the try block exits.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-2201568090413991059?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/2201568090413991059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/will-it-go-to-finally-block-if-there-is_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2201568090413991059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2201568090413991059'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/will-it-go-to-finally-block-if-there-is_29.html' title='Will it go to finally block if there is no exception happened'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-4332436302201779044</id><published>2009-01-29T22:02:00.000-08:00</published><updated>2009-01-29T22:03:35.931-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is close method  How its different from Finalize &amp; Dispose</title><content type='html'>&lt;strong&gt;Question :What is close method? How its different from Finalize &amp;amp; Dispose?&lt;/strong&gt;&lt;br /&gt;Answer :**&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-4332436302201779044?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/4332436302201779044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-close-method-how-its-different.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4332436302201779044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4332436302201779044'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-close-method-how-its-different.html' title='What is close method  How its different from Finalize &amp; Dispose'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-285905616853543173</id><published>2009-01-29T22:00:00.000-08:00</published><updated>2009-01-29T22:02:21.253-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is the difference between Finalize and Dispose (Garbage collection)</title><content type='html'>&lt;strong&gt;Question :What is the difference between Finalize and Dispose (Garbage collection)?&lt;/strong&gt;&lt;br /&gt;Answer :Class instances often encapsulate control over resources that are not managed by the runtime, such as window handles (HWND), &lt;a href="http://interviewhelper.org/demo/Art/318/11/ASP-NET-Interview-Questions-Part-16-Constructors.html" target="_top"&gt;database&lt;/a&gt; connections, and so on. Therefore, you should provide both an explicit and an implicit way to free those resources. Provide implicit control by implementing the protected Finalize Method on an object (destructor syntax in C# and the Managed Extensions for C++). The garbage collector calls this method at some point after there are no longer any valid references to the object. In some cases, you might want to provide &lt;a href="http://interviewhelper.org/demo/Art/318/11/ASP-NET-Interview-Questions-Part-16-Constructors.html" target="_top"&gt;programmers&lt;/a&gt; using an object with the ability to explicitly release these external resources before the garbage collector frees the object. If an external resource is scarce or expensive, better performance can be achieved if the programmer explicitly releases resources when they are no longer being used. To provide explicit control, implement the Dispose method provided by the IDisposable Interface. The consumer of the object should call this method when it is done using the object. Dispose can be called even if other references to the object are alive. Note that even when you provide explicit control by way of Dispose, you should provide implicit cleanup using the Finalize method. Finalize provides a backup to prevent resources from permanently leaking if the programmer fails to call Dispose.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-285905616853543173?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/285905616853543173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-difference-between-finalize-and_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/285905616853543173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/285905616853543173'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-difference-between-finalize-and_29.html' title='What is the difference between Finalize and Dispose (Garbage collection)'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-1477287365416543702</id><published>2009-01-29T21:43:00.000-08:00</published><updated>2009-01-29T21:44:43.292-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Destructor and finalize</title><content type='html'>&lt;strong&gt;Question :Destructor and finalize ?&lt;/strong&gt;&lt;br /&gt;Answer :Generally in C++ the destructor is called when objects gets destroyed. And one can explicitly call the destructors in C++. And also the objects are destroyed in reverse order that they are created in. So in C++ you have control over the destructors. In C# you can never call them, the reason is one cannot destroy an object. So who has the control over the destructor (in C#)? it's the .Net frameworks Garbage Collector (GC). GC destroys the objects only when necessary. Some situations of necessity are memory is exhausted or user explicitly calls System.GC.Collect() method. Points to remember: 1. Destructors are invoked automatically, and cannot be invoked explicitly. 2. Destructors cannot be overloaded. Thus, a class can have, at most, one destructor. 3. Destructors are not inherited. Thus, a class has no destructors other than the one, which may be declared in it. 4. Destructors cannot be used with structs. They are only used with classes. 5. An instance becomes eligible for destruction when it is no longer possible for any code to use the instance. 6. Execution of the destructor for the instance may occur at any time after the instance becomes eligible for destruction. 7. When an instance is destructed, the destructors in its inheritance chain are called, in order, from most derived to least derived. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconfinalizemethodscdestructors.asp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-1477287365416543702?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/1477287365416543702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/destructor-and-finalize_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/1477287365416543702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/1477287365416543702'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/destructor-and-finalize_29.html' title='Destructor and finalize'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-6551211035640259331</id><published>2009-01-29T21:42:00.000-08:00</published><updated>2009-01-29T21:43:26.385-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Overloaded constructor will call default constructor internally</title><content type='html'>&lt;strong&gt;Question :Overloaded constructor will call default constructor internally?&lt;/strong&gt;&lt;br /&gt;Answer :(no)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-6551211035640259331?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/6551211035640259331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/overloaded-constructor-will-call.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/6551211035640259331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/6551211035640259331'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/overloaded-constructor-will-call.html' title='Overloaded constructor will call default constructor internally'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-3515699183572209611</id><published>2009-01-29T21:41:00.000-08:00</published><updated>2009-01-29T21:42:23.162-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>I have 3 overloaded constructors in my class. In order to avoid making instance of the class do I need to make all constructors to private</title><content type='html'>&lt;strong&gt;Question :I have 3 overloaded constructors in my class. In order to avoid making instance of the class do I need to make all constructors to private?&lt;/strong&gt;&lt;br /&gt;Answer :(Yes)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-3515699183572209611?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/3515699183572209611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/i-have-3-overloaded-constructors-in-my_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3515699183572209611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3515699183572209611'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/i-have-3-overloaded-constructors-in-my_29.html' title='I have 3 overloaded constructors in my class. In order to avoid making instance of the class do I need to make all constructors to private'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-5352245291877200046</id><published>2009-01-29T21:39:00.000-08:00</published><updated>2009-01-29T21:40:59.638-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is Private Constructor  and it’s use  Can you create instance of a class which has Private Constructor</title><content type='html'>&lt;strong&gt;Question :What is Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?&lt;/strong&gt;&lt;br /&gt;Answer :When a class declares only private instance constructors, it is not possible for classes outside the program to derive from the class or to directly create instances of it. (Except Nested classes) Make a constructor private if: - You want it to be available only to the class itself. For example, you might have a special constructor used only in the implementation of your class' Clone method. - You do not want instances of your component to be created. For example, you may have a class containing nothing but Shared utility functions, and no instance data. Creating instances of the class would waste memory.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-5352245291877200046?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/5352245291877200046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-private-constructor-and-its-use_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5352245291877200046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5352245291877200046'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-private-constructor-and-its-use_29.html' title='What is Private Constructor  and it’s use  Can you create instance of a class which has Private Constructor'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-8991196583510119494</id><published>2009-01-29T21:33:00.000-08:00</published><updated>2009-01-29T21:39:55.785-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Difference between type constructor and instance constructor  What is static constructor, when it will be fired  And what is its use</title><content type='html'>&lt;strong&gt;Question :Difference between type constructor and instance constructor? What is static constructor, when it will be fired? And what is its use?&lt;/strong&gt;&lt;br /&gt;Answer :(Class constructor method is also known as type constructor or type initializer) Instance constructor is executed when a new instance of type is created and the class constructor is executed after the type is loaded and before any one of the type members is accessed. (It will get executed only 1st time, when we call any static methods/fields in the same class.) Class constructors are used for static field initialization. Only one class constructor per type is permitted, and it cannot use the vararg (variable argument) calling convention. A static constructor is used to initialize a class. It is called automatically to initialize the class before the first instance is created or any static members are referenced.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-8991196583510119494?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/8991196583510119494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/difference-between-type-constructor-and_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/8991196583510119494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/8991196583510119494'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/difference-between-type-constructor-and_29.html' title='Difference between type constructor and instance constructor  What is static constructor, when it will be fired  And what is its use'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-3958699351573339943</id><published>2009-01-29T04:48:00.000-08:00</published><updated>2009-01-29T04:49:35.747-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is the difference between a private assembly and a shared assembly</title><content type='html'>&lt;strong&gt;Question :What is the difference between a private assembly and a shared assembly?&lt;/strong&gt;&lt;br /&gt;Answer :Location and visibility: A private assembly is normally used by a single application, and is stored in the application's directory, or a sub-directory beneath. A shared assembly is normally stored in the global assembly cache, which is a repository of assemblies maintained by the .NET runtime. Shared assemblies are usually libraries of code which many applications will find useful, e.g. the .NET framework classes. Versioning: The runtime enforces versioning constraints only on shared assemblies, not on private assemblies.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-3958699351573339943?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/3958699351573339943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-difference-between-private_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3958699351573339943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3958699351573339943'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-difference-between-private_29.html' title='What is the difference between a private assembly and a shared assembly'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-1024407849827815963</id><published>2009-01-29T04:47:00.000-08:00</published><updated>2009-01-29T04:48:34.281-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is an assembly</title><content type='html'>&lt;strong&gt;Question :What is an assembly?&lt;/strong&gt;&lt;br /&gt;Answer :An assembly is sometimes described as a logical .EXE or .DLL, and can be an application (with a main entry point) or a library. An assembly consists of one or more files (dlls, exes, html files etc), and represents a group of resources, type definitions, and implementations of those types. An assembly may also contain references to other assemblies. These resources, types and references are described in a block of data called a manifest. The manifest is part of the assembly, thus making the assembly self-describing. An important aspect of assemblies is that they are part of the identity of a type. The identity of a type is the assembly that houses it combined with the type name. This means, for example, that if assembly A exports a type called T, and assembly B exports a type called T, the .NET runtime sees these as two completely different types. Furthermore, don't get confused between assemblies and namespaces - namespaces are merely a hierarchical way of organising type names. To the runtime, type names are type names, regardless of whether namespaces are used to organise the names. It's the assembly plus the typename (regardless of whether the type name belongs to a namespace) that uniquely indentifies a type to the runtime. Assemblies are also important in .NET with respect to security - many of the security restrictions are enforced at the assembly boundary. Finally, assemblies are the unit of versioning in .NET - more on this below.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-1024407849827815963?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/1024407849827815963/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-assembly_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/1024407849827815963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/1024407849827815963'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-assembly_29.html' title='What is an assembly'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-4256977244252854272</id><published>2009-01-29T04:46:00.000-08:00</published><updated>2009-01-29T04:47:34.625-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is reflection</title><content type='html'>&lt;strong&gt;Question :What is reflection?&lt;/strong&gt;&lt;br /&gt;Answer :All .NET compilers produce metadata about the types defined in the modules they produce. This metadata is packaged along with the module (modules in turn are packaged together in assemblies), and can be accessed by a mechanism called reflection. The System.Reflection namespace contains classes that can be used to interrogate the types for a module/assembly.Using reflection to access .NET metadata is very similar to using ITypeLib/ITypeInfo to access type library data in COM, and it is used for similar purposes - e.g. determining data type sizes for marshaling data across context/process/machine boundaries.Reflection can also be used to dynamically invoke methods (see System.Type.InvokeMember), or even create types dynamically at run-time (see System.Reflection.Emit.TypeBuilder). Assemblies&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-4256977244252854272?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/4256977244252854272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-reflection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4256977244252854272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4256977244252854272'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-reflection.html' title='What is reflection'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-6276176451257739481</id><published>2009-01-29T04:45:00.000-08:00</published><updated>2009-01-29T04:46:39.484-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What does 'managed' mean in the .NET context</title><content type='html'>&lt;strong&gt;Question :What does 'managed' mean in the .NET context?&lt;/strong&gt;&lt;br /&gt;Answer :The term 'managed' is the cause of much confusion. It is used in various places within .NET, meaning slightly different things. Managed code: The .NET framework provides several core run-time services to the programs that run within it - for example exception handling and security. For these services to work, the code must provide a minimum level of information to the runtime. Such code is called managed code. All C# and Visual Basic.NET code is managed by default. VS7 C++ code is not managed by default, but the compiler can produce managed code by specifying a command-line switch (/com+). Managed data: This is data that is allocated and de-allocated by the .NET runtime's garbage collector. C# and VB.NET data is always managed. VS7 C++ data is unmanaged by default, even when using the /com+ switch, but it can be marked as managed using the __gc keyword. Managed classes: This is usually referred to in the context of Managed Extensions (ME) for C++. When using ME C++, a class can be marked with the __gc keyword. As the name suggests, this means that the memory for instances of the class is managed by the garbage collector, but it also means more than that. The class becomes a fully paid-up member of the .NET community with the benefits and restrictions that brings. An example of a benefit is proper interop with classes written in other languages - for example, a managed C++ class can inherit from a VB class. An example of a restriction is that a managed class can only inherit from one base class.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-6276176451257739481?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/6276176451257739481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-does-managed-mean-in-net-context.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/6276176451257739481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/6276176451257739481'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-does-managed-mean-in-net-context.html' title='What does &apos;managed&apos; mean in the .NET context'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-4695078856770535142</id><published>2009-01-29T04:44:00.000-08:00</published><updated>2009-01-29T04:45:38.436-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is C#</title><content type='html'>&lt;strong&gt;Question :What is C#?&lt;/strong&gt;&lt;br /&gt;Answer :C# is a new language designed by Microsoft to work with the .NET framework. In their "Introduction to C#" whitepaper, Microsoft describe C# as follows: "C# is a simple, modern, object oriented, and type-safe programming language derived from C and C++. C# (pronounced C sharp) is firmly planted in the C and C++ family tree of languages, and will immediately be familiar to C and C++ programmers. C# aims to combine the high productivity of Visual Basic and the raw power of C++." Substitute 'Java' for 'C#' in the quote above, and you'll see that the statement still works pretty well :-).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-4695078856770535142?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/4695078856770535142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4695078856770535142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4695078856770535142'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-c.html' title='What is C#'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-3284632703294077435</id><published>2009-01-29T04:43:00.000-08:00</published><updated>2009-01-29T04:44:40.019-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is IL</title><content type='html'>&lt;strong&gt;Question :What is IL?&lt;/strong&gt;&lt;br /&gt;Answer :IL = Intermediate Language. Also known as MSIL (Microsoft Intermediate Language) or CIL (Common Intermediate Language). All .NET source code (of any language) is compiled to IL. The IL is then converted to machine code at the point where the software is installed, or at run-time by a Just-In-Time (JIT) compiler.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-3284632703294077435?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/3284632703294077435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-il.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3284632703294077435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3284632703294077435'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-il.html' title='What is IL'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-2789329882825384451</id><published>2009-01-29T04:41:00.000-08:00</published><updated>2009-01-29T04:43:52.140-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is the CLR</title><content type='html'>&lt;strong&gt;Question :What is the CLR?&lt;/strong&gt;&lt;br /&gt;Answer :CLR = Common Language Runtime. The CLR is a set of standard resources that (in theory) any .NET program can take advantage of, regardless of programming language. Robert Schmidt (Microsoft) lists the following CLR resources in his MSDN PDC# article:Object-oriented programming model (inheritance, polymorphism, exception handling, garbage collection)&lt;a href="http://interviewhelper.org/demo/Art/316/11/ASP-NET-Interview-Questions-14.html" target="_top"&gt;Security&lt;/a&gt; model, Type system , All .NET base classes, Many .NET framework classes, Development, debugging, and profiling tools, Execution and code management IL-to-native translators and optimizers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-2789329882825384451?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/2789329882825384451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-clr.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2789329882825384451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2789329882825384451'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-clr.html' title='What is the CLR'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-1012601432331439282</id><published>2009-01-29T04:20:00.000-08:00</published><updated>2009-01-29T04:21:42.401-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Will the .NET Framework go through a standardisation process</title><content type='html'>&lt;strong&gt;Question :Will the .NET Framework go through a standardisation process?&lt;/strong&gt;&lt;br /&gt;Answer :From http://msdn.microsoft.com/net/ecma/: "On December 13, 2001, the ECMA General Assembly ratified the C# and common language infrastructure (CLI) specifications into international standards. The ECMA standards will be known as ECMA-334 (C#) and ECMA-335 (the CLI)." Basic terminology&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-1012601432331439282?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/1012601432331439282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/will-net-framework-go-through.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/1012601432331439282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/1012601432331439282'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/will-net-framework-go-through.html' title='Will the .NET Framework go through a standardisation process'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-2625118468624523538</id><published>2009-01-29T04:19:00.000-08:00</published><updated>2009-01-29T04:20:40.882-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What languages does the .NET Framework support</title><content type='html'>&lt;strong&gt;Question :What languages does the .NET Framework support?&lt;/strong&gt;&lt;br /&gt;Answer :MS provides &lt;a href="http://interviewhelper.org/demo/Art/316/11/ASP-NET-Interview-Questions-14.html" target="_top"&gt;compilers&lt;/a&gt; for C#, C++, VB and JScript. Other vendors have announced that they intend to develop .NET compilers for languages such as COBOL, Eiffel, Perl, Smalltalk and Python.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-2625118468624523538?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/2625118468624523538/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-languages-does-net-framework.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2625118468624523538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2625118468624523538'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-languages-does-net-framework.html' title='What languages does the .NET Framework support'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-7479542161991673949</id><published>2009-01-29T04:18:00.000-08:00</published><updated>2009-01-29T04:19:40.901-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What platforms does the .NET Framework run on</title><content type='html'>&lt;strong&gt;Question :What platforms does the .NET Framework run on?&lt;br /&gt;&lt;/strong&gt;Answer :The runtime supports Windows XP, &lt;a href="http://interviewhelper.org/demo/Art/316/11/ASP-NET-Interview-Questions-14.html" target="_top"&gt;Windows 2000&lt;/a&gt;, NT4 SP6a and Windows ME/98. Windows 95 is not supported. Some parts of the framework do not work on all platforms - for example, ASP.NET is only supported on Windows XP and Windows 2000. Windows 98/ME cannot be used for development. IIS is not supported on Windows XP Home Edition, and so cannot be used to host ASP.NET. However, the ASP.NET Web Matrix web server does run on XP Home. The Mono project is attempting to implement the .NET framework on &lt;a href="http://interviewhelper.org/demo/Art/316/11/ASP-NET-Interview-Questions-14.html" target="_top"&gt;Linux&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-7479542161991673949?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/7479542161991673949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-platforms-does-net-framework-run.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/7479542161991673949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/7479542161991673949'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-platforms-does-net-framework-run.html' title='What platforms does the .NET Framework run on'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-5630401968901178310</id><published>2009-01-29T04:17:00.001-08:00</published><updated>2009-01-29T04:17:53.192-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>When was the first version of .NET released</title><content type='html'>&lt;strong&gt;Question :When was the first version of .NET released?&lt;/strong&gt;&lt;br /&gt;Answer :The final version of the 1.0 SDK and runtime was made publicly available around 6pm PST on 15-Jan-2002. At the same time, the final version of Visual Studio.NET was made available to MSDN subscribers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-5630401968901178310?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/5630401968901178310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/when-was-first-version-of-net-released.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5630401968901178310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5630401968901178310'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/when-was-first-version-of-net-released.html' title='When was the first version of .NET released'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-9107706490061868819</id><published>2009-01-29T04:16:00.000-08:00</published><updated>2009-01-29T04:17:12.406-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>When was .NET announced</title><content type='html'>&lt;strong&gt;Question :When was .NET announced?&lt;br /&gt;&lt;/strong&gt;Answer :Bill Gates delivered a keynote at Forum 2000, held June 22, 2000, outlining the .NET 'vision'. The July 2000 PDC had a number of sessions on .NET technology, and delegates were given CDs containing a pre-release version of the .NET framework/SDK and Visual Studio.NET.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-9107706490061868819?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/9107706490061868819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/when-was-net-announced.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/9107706490061868819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/9107706490061868819'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/when-was-net-announced.html' title='When was .NET announced'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-1046674310927062294</id><published>2009-01-29T04:13:00.000-08:00</published><updated>2009-01-29T04:14:39.601-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Does .NET only apply to people building web-sites</title><content type='html'>&lt;strong&gt;Question :Does .NET only apply to people building web-sites?&lt;/strong&gt;&lt;br /&gt;Answer :No. If you write any Windows software (using ATL/COM, MFC, VB, or even raw Win32), .NET may offer a viable alternative (or addition) to the way you do things currently. Of course, if you do develop web sites, then .NET has lots to interest you - not least &lt;a href="http://interviewhelper.org/demo/Art/316/11/ASP-NET-Interview-Questions-14.html" target="_top"&gt;ASP&lt;/a&gt;.NET.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-1046674310927062294?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/1046674310927062294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/does-net-only-apply-to-people-building.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/1046674310927062294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/1046674310927062294'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/does-net-only-apply-to-people-building.html' title='Does .NET only apply to people building web-sites'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-7953293709418438878</id><published>2009-01-29T03:37:00.000-08:00</published><updated>2009-01-29T03:38:39.702-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>CAO and SAO</title><content type='html'>&lt;strong&gt;Question :CAO and SAO?&lt;/strong&gt;&lt;br /&gt;Answer :Client Activated objects are those remote objects whose Lifetime is directly Controlled by the client. This is in direct contrast to SAO. Where the server, not the client has complete control over the lifetime of the objects. Client activated objects are instantiated on the server as soon as the client request the object to be created. Unlike as SAO a CAO doesn’t delay the object creation until the first method is called on the object. (In SAO the object is instantiated when the client calls the method on the object)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-7953293709418438878?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/7953293709418438878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/cao-and-sao.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/7953293709418438878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/7953293709418438878'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/cao-and-sao.html' title='CAO and SAO'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-3351961167770206507</id><published>2009-01-29T03:36:00.000-08:00</published><updated>2009-01-29T03:37:38.626-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Difference between web services &amp; remoting</title><content type='html'>&lt;strong&gt;Question :Difference between web services &amp;amp; remoting?&lt;/strong&gt;&lt;br /&gt;Answer :&lt;a href="http://interviewhelper.org/demo/Art/313/11/ASP-NET-Interview-Questions-Part-11.html" target="_top"&gt;ASP&lt;/a&gt;.NET Web Services .NET Remoting Protocol Can be accessed only over HTTP Can be accessed over any protocol (including TCP, HTTP, SMTP and so on) State Management Web services work in a stateless environment Provide support for both stateful and stateless environments through Singleton and SingleCall objects Type System Web services support only the datatypes defined in the XSD type system, limiting the number of objects that can be serialized. Using binary communication, .NET Remoting can provide support for rich type system Interoperability Web services support interoperability across platforms, and are ideal for heterogeneous environments. .NET remoting requires the client be built using .NET, enforcing homogenous environment. Reliability Highly reliable due to the fact that Web services are always hosted in IIS Can also take advantage of IIS for fault isolation. If IIS is not used, application needs to provide plumbing for ensuring the reliability of the application. Extensibility Provides extensibility by allowing us to intercept the SOAP messages during the serialization and deserialization stages. Very extensible by allowing us to customize the different components of the .NET remoting framework. Ease-of-Programming Easy-to-create and deploy. Complex to program. Though both the .NET Remoting infrastructure and ASP.NET Web services can enable cross-process communication, each is designed to benefit a different target audience. ASP.NET Web services provide a simple programming model and a wide reach. .NET Remoting provides a more complex programming model and has a much narrower reach. As explained before, the clear performance advantage provided by TCPChannel-remoting should make you think about using this channel whenever you can afford to do so. If you can create direct TCP connections from your clients to your &lt;a oncontextmenu="return false;" id="KonaLink3" style="TEXT-DECORATION: underline! important" href="http://interviewhelper.org/demo/Art/313/11/ASP-NET-Interview-Questions-Part-11.html" target="_top"&gt;server&lt;/a&gt; and if you need to support only the .NET platform, you should go for this channel. If you are going to go cross-platform or you have the requirement of supporting SOAP via HTTP, you should definitely go for ASP.NET Web services. Both the .NET remoting and ASP.NET Web services are powerful technologies that provide a suitable framework for developing distributed applications. It is important to understand how both technologies work and then choose the one that is right for your application. For applications that require interoperability and must function over public networks, Web services are probably the best bet. For those that require communications with other .NET components and where performance is a key priority, .NET Remoting is the best choice. In short, use Web services when you need to send and receive data from different computing platforms, use .NET Remoting when sending and receiving data between .NET applications. In some architectural scenarios, you might also be able to use.NET Remoting in conjunction with ASP.NET Web services and take advantage of the best of both worlds. The Key difference between ASP.NET webservices and .NET Remoting is how they serialize data into messages and the format they choose for metadata. ASP.NET uses XML serializer for serializing or Marshalling. And XSD is used for Metadata. .NET Remoting relies on System.Runtime.Serialization.Formatter.Binary and System.Runtime.Serialization.SOAPFormatter and relies on .NET CLR Runtime assemblies for metadata.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-3351961167770206507?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/3351961167770206507/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/difference-between-web-services.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3351961167770206507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3351961167770206507'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/difference-between-web-services.html' title='Difference between web services &amp; remoting'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-4114911879535259920</id><published>2009-01-29T03:35:00.000-08:00</published><updated>2009-01-29T03:36:39.081-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is Remoting</title><content type='html'>&lt;strong&gt;Question :What is Remoting?&lt;/strong&gt;&lt;br /&gt;Answer :The process of communication between different operating system processes, regardless of whether they are on the same computer. The .NET remoting system is an architecture designed to simplify communication between objects living in different application &lt;a oncontextmenu="return false;" id="KonaLink0" style="TEXT-DECORATION: underline! important" href="http://interviewhelper.org/demo/Art/313/11/ASP-NET-Interview-Questions-Part-11.html" target="_top"&gt;domains&lt;/a&gt;, whether on the same computer or not, and between different contexts, whether in the same &lt;a oncontextmenu="return false;" id="KonaLink1" style="TEXT-DECORATION: underline! important" href="http://interviewhelper.org/demo/Art/313/11/ASP-NET-Interview-Questions-Part-11.html" target="_top"&gt;application&lt;/a&gt; domain or not.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-4114911879535259920?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/4114911879535259920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-remoting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4114911879535259920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4114911879535259920'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-remoting.html' title='What is Remoting'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-4024998318351597877</id><published>2009-01-29T03:34:00.000-08:00</published><updated>2009-01-29T03:35:37.506-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What’s the attribute for webservice method? What is the namespace for creating webservice</title><content type='html'>&lt;strong&gt;Question :What’s the attribute for webservice method? What is the namespace for creating webservice?&lt;/strong&gt;&lt;br /&gt;Answer :[WebMethod] using System.Web; using System.Web.Services;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-4024998318351597877?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/4024998318351597877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/whats-attribute-for-webservice-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4024998318351597877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4024998318351597877'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/whats-attribute-for-webservice-method.html' title='What’s the attribute for webservice method? What is the namespace for creating webservice'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-1170828928367835794</id><published>2009-01-29T03:27:00.000-08:00</published><updated>2009-01-29T03:34:35.800-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>How you will protect / secure a web service</title><content type='html'>&lt;strong&gt;Question :How you will protect / secure a web service?&lt;/strong&gt;&lt;br /&gt;Answer :For the most part, things that you do to secure a Web site can be used to secure a Web Service. If you need to encrypt the data exchange, you use Secure Sockets Layer (SSL) or a Virtual Private Network to keep the bits secure. For authentication, use HTTP Basic or Digest authentication with Microsoft® Windows® integration to figure out who the caller is. these items cannot: •Parse a SOAP request for valid values •Authenticate access at the Web Method level (they can authenticate at the Web Service level) •Stop reading a request as soon as it is recognized as invalid&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-1170828928367835794?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/1170828928367835794/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-you-will-protect-secure-web-service.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/1170828928367835794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/1170828928367835794'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-you-will-protect-secure-web-service.html' title='How you will protect / secure a web service'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-787750851440025132</id><published>2009-01-29T03:18:00.000-08:00</published><updated>2009-01-29T03:19:18.916-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>How to generate proxy class other than .net app and wsdl tool</title><content type='html'>&lt;strong&gt;Question :How to generate proxy class other than .net app and wsdl tool?&lt;br /&gt;&lt;/strong&gt;Answer :To access an XML Web service from a client application, you first add a Web reference, which is a reference to an XML Web service. When you create a Web reference, Visual Studio creates an XML Web service proxy class automatically and adds it to your project. This proxy class exposes the methods of the XML Web service and handles the marshalling of appropriate arguments back and forth between the XML Web service and your application. Visual Studio uses the Web Services Description Language (WSDL) to create the proxy. To generate an XML Web service proxy class: •From a command prompt, use Wsdl.exe to create a proxy class, specifying (at a minimum) the URL to an XML Web service or a service description, or the path to a saved service description. Wsdl /language:language /protocol:protocol /namespace:myNameSpace /out:filename /username:username /password:password /&lt;a href="http://interviewhelper.org/demo/Art/312/11/ASP-NET-Interview-Questions-Part-10.html" target="_top"&gt;domain&lt;/a&gt;:domain&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-787750851440025132?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/787750851440025132/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-to-generate-proxy-class-other-than.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/787750851440025132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/787750851440025132'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-to-generate-proxy-class-other-than.html' title='How to generate proxy class other than .net app and wsdl tool'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-9191806481615191472</id><published>2009-01-29T03:17:00.001-08:00</published><updated>2009-01-29T03:17:59.143-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>How to generate WebService proxy? What is SOAP, WSDL, UDDI and the concept behind Web Services? What are various components of WSDL? What is the use o</title><content type='html'>&lt;strong&gt;Question :How to generate WebService proxy? What is SOAP, WSDL, UDDI and the concept behind Web Services? What are various components of WSDL? What is the use of WSDL.exe utility?&lt;/strong&gt;&lt;br /&gt;Answer :SOAP is an XML-based messaging framework specifically designed for exchanging formatted data across the Internet, for example using request and reply messages or sending entire documents. SOAP is simple, easy to use, and completely neutral with respect to operating system, programming language, or distributed computing platform. After SOAP became available as a mechanism for exchanging XML messages among enterprises (or among disparate applications within the same enterprise), a better way was needed to describe the messages and how they are exchanged. The Web Services Description Language (WSDL) is a particular form of an XML Schema, developed by Microsoft and IBM for the purpose of defining the XML message, operation, and protocol mapping of a web service accessed using SOAP or other XML protocol. WSDL defines web services in terms of "endpoints" that operate on XML messages. The WSDL syntax allows both the messages and the operations on the messages to be defined abstractly, so they can be mapped to multiple physical implementations. The current WSDL spec describes how to map messages and operations to SOAP 1.1, HTTP GET/POST, and MIME. WSDL creates web service definitions by mapping a group of endpoints into a logical sequence of operations on XML messages. The same XML message can be mapped to multiple operations (or services) and bound to one or more communications protocols (using "ports"). The Universal Description, Discovery, and Integration (UDDI) framework defines a data model (in XML) and SOAP APIs for registration and searches on business information, including the web services a business exposes to the Internet. UDDI is an independent consortium of vendors, founded by Microsoft, IBM, and Ariba, for the purpose of developing an Internet standard for web service description registration and discovery. Microsoft, IBM, and Ariba also are hosting the initial deployment of a UDDI service, which is conceptually patterned after DNS (the Internet service that translates URLs into TCP addresses). UDDI uses a private agreement profile of SOAP (i.e. UDDI doesn't use the SOAP serialization format because it's not well suited to passing complete XML documents (it's aimed at RPC style interactions). The main idea is that businesses use the SOAP APIs to register themselves with UDDI, and other businesses search UDDI when they want to discover a trading partner, for example someone from whom they wish to procure sheet metal, bolts, or transistors. The information in UDDI is categorized according to industry type and geographical location, allowing UDDI consumers to search through lists of potentially matching businesses to find the specific one they want to contact. Once a specific business is chosen, another call to UDDI is made to obtain the specific contact information for that business. The contact information includes a pointer to the target business's WSDL or other XML schema file describing the web service that the target business publishes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-9191806481615191472?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/9191806481615191472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-to-generate-webservice-proxy-what.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/9191806481615191472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/9191806481615191472'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-to-generate-webservice-proxy-what.html' title='How to generate WebService proxy? What is SOAP, WSDL, UDDI and the concept behind Web Services? What are various components of WSDL? What is the use o'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-8935902444336360909</id><published>2009-01-29T03:15:00.000-08:00</published><updated>2009-01-29T03:16:51.497-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>In a Webservice, need to display 10 rows from a table. So DataReader or DataSet is best choice</title><content type='html'>&lt;strong&gt;Question :In a Webservice, need to display 10 rows from a table. So DataReader or DataSet is best choice?&lt;/strong&gt;&lt;br /&gt;Answer :WebService will support only DataSet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-8935902444336360909?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/8935902444336360909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/in-webservice-need-to-display-10-rows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/8935902444336360909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/8935902444336360909'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/in-webservice-need-to-display-10-rows.html' title='In a Webservice, need to display 10 rows from a table. So DataReader or DataSet is best choice'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-2651218468411991413</id><published>2009-01-29T03:14:00.000-08:00</published><updated>2009-01-29T03:15:37.855-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Are Web Services a replacement for other distributed computing platforms</title><content type='html'>&lt;strong&gt;Question :Are Web Services a replacement for other distributed computing platforms?&lt;/strong&gt;&lt;br /&gt;Answer :No. Web Services is just a new way of looking at existing implementation platforms.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-2651218468411991413?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/2651218468411991413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/are-web-services-replacement-for-other.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2651218468411991413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2651218468411991413'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/are-web-services-replacement-for-other.html' title='Are Web Services a replacement for other distributed computing platforms'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-3081518308293477154</id><published>2009-01-29T03:13:00.000-08:00</published><updated>2009-01-29T03:14:31.584-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is a WebService and what is the underlying protocol used in it?Why Web Services</title><content type='html'>&lt;strong&gt;Question :What is a WebService and what is the underlying protocol used in it?Why Web Services?&lt;/strong&gt;&lt;br /&gt;Answer :Web Services are &lt;a href="http://interviewhelper.org/demo/Art/312/11/ASP-NET-Interview-Questions-Part-10.html" target="_top"&gt;applications&lt;/a&gt; delivered as a service on the Web. Web services allow for programmatic access of business logic over the Web. Web services typically rely on XML-based protocols, messages, and interface descriptions for communication and access. Web services are designed to be used by other programs or applications rather than directly by end user. Programs invoking a Web service are called clients. SOAP over HTTP is the most commonly used protocol for invoking Web services. There are three main uses of Web services. 1.Application integration Web services within an intranet are commonly used to integrate business applications running on disparate platforms. For example, a .NET client running on Windows 2000 can easily invoke a Java Web service running on a mainframe or Unix machine to retrieve data from a legacy application. 2.Business integration Web services allow trading partners to engage in e-business leveraging the existing Internet infrastructure. Organizations can send electronic purchase orders to suppliers and receive electronic invoices. Doing e-business with Web services means a low barrier to entry because Web services can be added to existing applications running on any platform without changing legacy code. 3.Commercial Web services focus on selling content and business services to clients over the &lt;a href="http://interviewhelper.org/demo/Art/312/11/ASP-NET-Interview-Questions-Part-10.html" target="_top"&gt;Internet&lt;/a&gt; similar to familiar Web pages. Unlike &lt;a href="http://interviewhelper.org/demo/Art/312/11/ASP-NET-Interview-Questions-Part-10.html" target="_top"&gt;Web pages&lt;/a&gt;, commercial Web services target applications not humans as their direct users. Continental Airlines exposes flight schedules and status Web services for travel Web sites and agencies to use in their applications. Like Web pages, commercial Web services are valuable only if they expose a valuable service or content. It would be very difficult to get customers to pay you for using a Web service that creates business charts with the customers? data. Customers would rather buy a charting component (e.g. COM or .NET component) and install it on the same machine as their application. On the other hand, it makes sense to sell real-time weather information or stock quotes as a Web service. Technology can help you add value to your services and explore new markets, but ultimately customers pay for contents and/or business services, not for technology&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-3081518308293477154?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/3081518308293477154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-webservice-and-what-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3081518308293477154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3081518308293477154'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-webservice-and-what-is.html' title='What is a WebService and what is the underlying protocol used in it?Why Web Services'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-2070593971624470980</id><published>2009-01-29T03:07:00.000-08:00</published><updated>2009-01-29T03:12:57.376-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Is it possible for me to change my aspx file extension to some other name</title><content type='html'>&lt;strong&gt;Question :Is it possible for me to change my aspx file extension to some other name?&lt;/strong&gt;&lt;br /&gt;Answer :Yes. Open IIS-&gt;Default Website -&gt; Properties Select HomeDirectory tab Click on configuration button Click on add. Enter aspnet_isapi details (C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\aspnet_isapi.dll GET,HEAD,POST,DEBUG) Open machine.config(C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\CONFIG) &amp;amp; add new extension under tag&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-2070593971624470980?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/2070593971624470980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/is-it-possible-for-me-to-change-my-aspx.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2070593971624470980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2070593971624470980'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/is-it-possible-for-me-to-change-my-aspx.html' title='Is it possible for me to change my aspx file extension to some other name'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-7561846837030463412</id><published>2009-01-29T03:06:00.000-08:00</published><updated>2009-01-29T03:07:26.169-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is smart navigation</title><content type='html'>&lt;strong&gt;Question :What is smart navigation?&lt;/strong&gt;&lt;br /&gt;Answer :When a page is requested by an Internet Explorer 5 browser, or later, smart navigation enhances the user's experience of the page by performing the following: •eliminating the flash caused by navigation. •persisting the scroll position when moving from page to page. •persisting element focus between navigations. •retaining only the last page state in the browser's history. Smart navigation is best used with ASP.NET pages that require frequent postbacks but with visual content that does not change dramatically on return. Consider this carefully when deciding whether to set this property to true. Set the SmartNavigation attribute to true in the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets this property.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-7561846837030463412?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/7561846837030463412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-smart-navigation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/7561846837030463412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/7561846837030463412'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-smart-navigation.html' title='What is smart navigation'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-8361241345427197981</id><published>2009-01-29T03:05:00.000-08:00</published><updated>2009-01-29T03:06:34.950-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What are the different modes for the sessionstates in the web.config file</title><content type='html'>&lt;strong&gt;Question :What are the different modes for the sessionstates in the web.config file?&lt;/strong&gt;&lt;br /&gt;Answer :Off Indicates that session state is not enabled. Inproc Indicates that session state is stored locally. StateServer Indicates that session state is stored on a remote &lt;a href="http://interviewhelper.org/demo/Art/312/11/ASP-NET-Interview-Questions-Part-10.html" target="_top"&gt;server&lt;/a&gt;. SQLServer Indicates that session state is stored on the SQL Server.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-8361241345427197981?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/8361241345427197981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-are-different-modes-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/8361241345427197981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/8361241345427197981'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-are-different-modes-for.html' title='What are the different modes for the sessionstates in the web.config file'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-1154271416262003200</id><published>2009-01-29T03:04:00.000-08:00</published><updated>2009-01-29T03:05:07.969-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is the use of sessionstate tag in the web.config file</title><content type='html'>&lt;strong&gt;Question :What is the use of sessionstate tag in the web.config file?&lt;/strong&gt;&lt;br /&gt;Answer :Configuring session state: Session state features can be configured via the section in a web.config file. To double the default timeout of 20 minutes, you can add the following to the web.config file of an application:&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-1154271416262003200?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/1154271416262003200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-use-of-sessionstate-tag-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/1154271416262003200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/1154271416262003200'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-use-of-sessionstate-tag-in.html' title='What is the use of sessionstate tag in the web.config file'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-2622703618040771850</id><published>2009-01-29T03:01:00.000-08:00</published><updated>2009-01-29T03:04:00.749-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is the use of web.config? Difference between machine.config and Web.config</title><content type='html'>&lt;strong&gt;Question :What is the use of web.config? Difference between machine.config and Web.config?&lt;/strong&gt;&lt;br /&gt;Answer :ASP.NET configuration files are XML-based text files--each named web.config--that can appear in any directory on an ASP.NET Web application server. Each web.config file applies configuration settings to the directory it is located in and to all virtual child directories beneath it. Settings in child directories can optionally override or modify settings specified in parent directories. The root configuration file--WinNT\Microsoft.NET\Framework\\config\machine.config—provides default configuration settings for the entire machine. ASP.NET configures IIS to prevent direct browser access to web.config files to ensure that their values cannot become public (attempts to access them will cause ASP.NET to return 403: Access Forbidden). At run time ASP.NET uses these web.config configuration files to hierarchically compute a unique collection of settings for each incoming URL target request (these settings are calculated only once and then cached across subsequent requests; ASP.NET automatically watches for file changes and will invalidate the cache if any of the configuration files change).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-2622703618040771850?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/2622703618040771850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-use-of-webconfig-difference.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2622703618040771850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2622703618040771850'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-use-of-webconfig-difference.html' title='What is the use of web.config? Difference between machine.config and Web.config'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-4650801063923328158</id><published>2009-01-29T02:59:00.000-08:00</published><updated>2009-01-29T03:01:40.000-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Any alternative to avoid name collisions other then Namespaces.</title><content type='html'>&lt;strong&gt;Question :Any alternative to avoid name collisions other then Namespaces. A scenario that two namespaces named N1 and N2 are there both having the same class say A. now in another class i ve written using N1;using N2; and i am instantiating class A in this class. Then how will u avoid name collisions?&lt;/strong&gt;&lt;br /&gt;Answer :using alias Eg: using MyAlias = MyCompany.Proj.Nested;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-4650801063923328158?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/4650801063923328158/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/any-alternative-to-avoid-name.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4650801063923328158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4650801063923328158'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/any-alternative-to-avoid-name.html' title='Any alternative to avoid name collisions other then Namespaces.'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-4029385476541232649</id><published>2009-01-29T02:58:00.000-08:00</published><updated>2009-01-29T02:59:35.393-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>How to do Caching in ASP</title><content type='html'>&lt;strong&gt;Question :How to do Caching in ASP?&lt;/strong&gt;&lt;br /&gt;Answer :VaryByParam value Description none One version of page cached (only raw GET) * n versions of page cached based on query string and/or POST body v1 n versions of page cached based on value of v1 variable in query string or POST body v1;v2 n versions of page cached based on value of v1 and v2 variables in query string or POST body The OutputCache directive supports several other cache varying options •VaryByHeader - maintain separate cache entry for header string changes (UserAgent, UserLanguage, etc.) •VaryByControl - for user controls, maintain separate cache entry for properties of a user control •VaryByCustom - can specify separate cache entries for browser types and version or provide a custom GetVaryByCustomString method in HttpApplicationderived class&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-4029385476541232649?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/4029385476541232649/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-to-do-caching-in-asp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4029385476541232649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4029385476541232649'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-to-do-caching-in-asp.html' title='How to do Caching in ASP'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-161663650044941522</id><published>2009-01-29T02:57:00.000-08:00</published><updated>2009-01-29T02:58:27.026-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Asp.net - How to find last error which occurred</title><content type='html'>&lt;strong&gt;Question :Asp.net - How to find last error which occurred?&lt;/strong&gt;&lt;br /&gt;Answer :A: &lt;a href="http://interviewhelper.org/demo/Art/311/11/ASP-NET-Interview-Questions-Part-9.html" target="_top"&gt;Server&lt;/a&gt;.GetLastError(); [C#] Exception LastError; String ErrMessage; LastError = Server.GetLastError(); if (LastError != null) ErrMessage = LastError.Message; else ErrMessage = "No Errors"; Response.Write("Last Error = " + ErrMessage);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-161663650044941522?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/161663650044941522/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/aspnet-how-to-find-last-error-which.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/161663650044941522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/161663650044941522'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/aspnet-how-to-find-last-error-which.html' title='Asp.net - How to find last error which occurred'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-4146084173637132969</id><published>2009-01-29T02:55:00.000-08:00</published><updated>2009-01-29T02:57:00.265-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is SQL injection</title><content type='html'>&lt;strong&gt;Question :What is SQL injection?&lt;br /&gt;&lt;/strong&gt;Answer :An SQL injection attack "injects" or manipulates SQL code by adding unexpected SQL to a query. Many &lt;a href="http://interviewhelper.org/demo/Art/311/11/ASP-NET-Interview-Questions-Part-9.html" target="_top"&gt;web pages&lt;/a&gt; take parameters from web user, and make SQL query to the &lt;a href="http://interviewhelper.org/demo/Art/311/11/ASP-NET-Interview-Questions-Part-9.html" target="_top"&gt;database&lt;/a&gt;. Take for instance when a user login, web page that user name and password and make SQL query to the database to check if a user has valid name and password. Username: ' or 1=1 --- Password: [Empty] This would execute the following query against the users table: select count(*) from users where userName='' or 1=1 --' and userPass=''&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-4146084173637132969?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/4146084173637132969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-sql-injection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4146084173637132969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4146084173637132969'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-sql-injection.html' title='What is SQL injection'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-5648623718071989531</id><published>2009-01-29T02:54:00.000-08:00</published><updated>2009-01-29T02:55:25.747-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>How do you implement postback with a text box  What is postback and usestate</title><content type='html'>&lt;strong&gt;Question :How do you implement postback with a text box? What is postback and usestate?&lt;/strong&gt;&lt;br /&gt;Answer :Make AutoPostBack property to true&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-5648623718071989531?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/5648623718071989531/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-do-you-implement-postback-with-text.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5648623718071989531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5648623718071989531'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-do-you-implement-postback-with-text.html' title='How do you implement postback with a text box  What is postback and usestate'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-8433994920257053676</id><published>2009-01-29T02:49:00.000-08:00</published><updated>2009-01-29T02:54:05.803-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Which two properties are there on every validation control? ControlToValidate, ErrorMessage how do you use css in asp.net</title><content type='html'>&lt;strong&gt;Question :Which two properties are there on every validation control? ControlToValidate, ErrorMessage How do you use css in asp.net? &lt;/strong&gt;&lt;br /&gt;Answer :Within the section of an HTML document that will use these styles, add a link to this external &lt;a href="http://interviewhelper.org/demo/Art/310/11/ASP-NET-Interview-Questions-Part-8.html" target="_top"&gt;CSS&lt;/a&gt; style sheet that follows this form: MyStyles.css is the name of your external CSS style sheet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-8433994920257053676?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/8433994920257053676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/which-two-properties-are-there-on-every.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/8433994920257053676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/8433994920257053676'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/which-two-properties-are-there-on-every.html' title='Which two properties are there on every validation control? ControlToValidate, ErrorMessage how do you use css in asp.net'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-3411518543711679759</id><published>2009-01-29T02:46:00.000-08:00</published><updated>2009-01-29T02:48:12.471-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What are validator? Name the Validation controls in asp.net? How do u disable them? Will the asp.net validators run in server side or client side? How</title><content type='html'>&lt;strong&gt;Question :What are validator? Name the Validation controls in asp.net? How do u disable them? Will the asp.net validators run in server side or client side? How do you do ClA set of server controls included with ASP.NET that test user input in HTML and &lt;a href="http://interviewhelper.org/demo/Art/310/11/ASP-NET-Interview-Questions-Part-8.html" target="_top"&gt;Web server&lt;/a&gt; controls for programmer-defined requirements. Validation controls perform input checking in server code. If the user is working with a browser that supports DHTML, the validation controls can also perform validation ("EnableClientScript" property set to true/false) using client script. The following validation controls are available in asp.net: RequiredFieldValidator Control, CompareValidator Control, RangeValidator Control, RegularExpressionValidator Control, CustomValidator Control, ValidationSummary Control. ient-side validation in .Net? How to disable validator control by client side JavaScript?&lt;/strong&gt;&lt;br /&gt;Answer :&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-3411518543711679759?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/3411518543711679759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-are-validator-name-validation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3411518543711679759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3411518543711679759'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-are-validator-name-validation.html' title='What are validator? Name the Validation controls in asp.net? How do u disable them? Will the asp.net validators run in server side or client side? How'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-1170312090230412055</id><published>2009-01-29T02:45:00.000-08:00</published><updated>2009-01-29T02:46:47.884-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>How do you specify whether your data should be passed as Query string and Forms (Mainly about POST and GET)</title><content type='html'>&lt;strong&gt;Question :How do you specify whether your data should be passed as Query string and Forms (Mainly about POST and GET)?&lt;/strong&gt;&lt;br /&gt;Answer :Through attribute tag of form tag.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-1170312090230412055?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/1170312090230412055/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-do-you-specify-whether-your-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/1170312090230412055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/1170312090230412055'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-do-you-specify-whether-your-data.html' title='How do you specify whether your data should be passed as Query string and Forms (Mainly about POST and GET)'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-907071142673262277</id><published>2009-01-29T02:43:00.000-08:00</published><updated>2009-01-29T02:45:22.352-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What are the different authentication modes in the .NET environment</title><content type='html'>&lt;strong&gt;Question :What are the different authentication modes in the .NET environment?&lt;/strong&gt;&lt;br /&gt;Answer :="WindowsFormsPassportNone"&gt; ="name" loginUrl="url" protection="AllNoneEncryptionValidation" timeout="30" path="/" &gt; requireSSL="truefalse" slidingExpiration="truefalse"&gt; ="ClearSHA1MD5"&gt; ="username" password="password"/&gt; internal"/&gt; Attribute Option Description Mode Controls the default authentication mode for an application. Windows Specifies Windows authentication as the default authentication mode. Use this mode when using any form of Microsoft Internet Information Services (IIS) authentication: Basic, Digest, Integrated Windows authentication (NTLM/Kerberos), or certificates. Forms Specifies ASP.NET forms-based authentication as the default authentication mode. Passport Specifies Microsoft Passport authentication as the default authentication mode. None Specifies no authentication. Only anonymous users are expected or applications can handle events to provide their own authentication.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-907071142673262277?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/907071142673262277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-are-different-authentication-modes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/907071142673262277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/907071142673262277'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-are-different-authentication-modes.html' title='What are the different authentication modes in the .NET environment'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-8530032801089899611</id><published>2009-01-29T02:42:00.000-08:00</published><updated>2009-01-29T02:43:49.230-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is Role-Based security</title><content type='html'>&lt;strong&gt;Question :What is Role-Based security?&lt;/strong&gt;&lt;br /&gt;Answer :A role is a named set of principals that have the same privileges with respect to security (such as a teller or a manager). A principal can be a member of one or more roles. Therefore, applications can use role membership to determine whether a principal is authorized to perform a requested action.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-8530032801089899611?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/8530032801089899611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-role-based-security.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/8530032801089899611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/8530032801089899611'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-role-based-security.html' title='What is Role-Based security'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-5791853624794850668</id><published>2009-01-29T02:41:00.000-08:00</published><updated>2009-01-29T02:42:40.889-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform</title><content type='html'>&lt;strong&gt;Question :Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?&lt;/strong&gt;&lt;br /&gt;Answer : Many of the ASP.NET configuration options are not configurable at the site, &lt;a href="http://interviewhelper.org/demo/Art/310/11/ASP-NET-Interview-Questions-Part-8.html" target="_top"&gt;application&lt;/a&gt; or subdirectory level on the shared hosting platform. Certain options can affect the &lt;a href="http://interviewhelper.org/demo/Art/310/11/ASP-NET-Interview-Questions-Part-8.html" target="_top"&gt;security&lt;/a&gt;, performance and stability of the &lt;a href="http://interviewhelper.org/demo/Art/310/11/ASP-NET-Interview-Questions-Part-8.html" target="_top"&gt;server&lt;/a&gt; and, therefore cannot be changed. The following settings are the only ones that can be changed in your site’s web.config file (s): browserCaps clientTarget pages customErrors globalization authorization authentication webControls webServices&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-5791853624794850668?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/5791853624794850668/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/which-aspnet-configuration-options-are.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5791853624794850668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5791853624794850668'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/which-aspnet-configuration-options-are.html' title='Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-1289772410257747820</id><published>2009-01-29T02:40:00.000-08:00</published><updated>2009-01-29T02:41:20.021-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Explain the differences between Server-side and Client-side code</title><content type='html'>&lt;strong&gt;Question :Explain the differences between Server-side and Client-side code?&lt;/strong&gt;&lt;br /&gt;Answer :Server side code will process at server side &amp;amp; it will send the result to client. Client side code (javascript) will execute only at client side.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-1289772410257747820?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/1289772410257747820/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/explain-differences-between-server-side.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/1289772410257747820'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/1289772410257747820'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/explain-differences-between-server-side.html' title='Explain the differences between Server-side and Client-side code'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-5257052773856889362</id><published>2009-01-29T02:39:00.000-08:00</published><updated>2009-01-29T02:40:17.457-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>When maintaining session through Sql server, what is the impact of Read and Write operation on Session objects  will performance degrade</title><content type='html'>&lt;strong&gt;Question :When maintaining session through Sql server, what is the impact of Read and Write operation on Session objects? will performance degrade?&lt;/strong&gt;&lt;br /&gt;Answer :Maintaining state using database technology is a common practice when storing user-specific information where the information store is large. Database storage is particularly useful for maintaining long-term state or state that must be preserved even if the server must be restarted.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-5257052773856889362?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/5257052773856889362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/when-maintaining-session-through-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5257052773856889362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5257052773856889362'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/when-maintaining-session-through-sql.html' title='When maintaining session through Sql server, what is the impact of Read and Write operation on Session objects  will performance degrade'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-3971429803233003907</id><published>2009-01-29T02:37:00.000-08:00</published><updated>2009-01-29T02:38:57.088-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What are the disadvantages of view state / what are the benefits</title><content type='html'>&lt;strong&gt;Question :What are the disadvantages of view state / what are the benefits?&lt;/strong&gt;&lt;br /&gt;Answer :Automatic view-state management is a feature of server controls that enables them to repopulate their property values on a round trip (without you having to write any code). This feature does impact performance, however, since a server control's view state is passed to and from the server in a hidden form field. You should be aware of when view state helps you and when it hinders your page's performance.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-3971429803233003907?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/3971429803233003907/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-are-disadvantages-of-view-state.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3971429803233003907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3971429803233003907'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-are-disadvantages-of-view-state.html' title='What are the disadvantages of view state / what are the benefits'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-6744042900862777834</id><published>2009-01-29T02:36:00.000-08:00</published><updated>2009-01-29T02:37:54.593-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is State Management in .Net and how many ways are there to maintain a state in .Net  What is view state</title><content type='html'>&lt;strong&gt;Question :What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?&lt;/strong&gt;&lt;br /&gt;Answer :Web pages are recreated each time the page is posted to the server. In traditional Web programming, this would ordinarily mean that all information associated with the page and the controls on the page would be lost with each round trip. To overcome this inherent limitation of traditional Web programming, the ASP.NET page framework includes various options to help you preserve changes — that is, for managing state. The page framework includes a facility called view state that automatically preserves property values of the page and all the controls on it between round trips. However, you will probably also have application-specific values that you want to preserve. To do so, you can use one of the state management options. Client-Based State Management Options: View State Hidden Form Fields Cookies Query Strings Server-Based State Management Options Application State Session State Database Support&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-6744042900862777834?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/6744042900862777834/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-state-management-in-net-and-how.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/6744042900862777834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/6744042900862777834'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-state-management-in-net-and-how.html' title='What is State Management in .Net and how many ways are there to maintain a state in .Net  What is view state'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-7067924459728761472</id><published>2009-01-29T02:34:00.000-08:00</published><updated>2009-01-29T02:36:20.142-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>How you will handle session when deploying application in more than a server? Describe session handling in a webfarm, how does it work and what are th</title><content type='html'>&lt;strong&gt;Question :How you will handle session when deploying application in more than a server? Describe session handling in a webfarm, how does it work and what are the limits?&lt;br /&gt;&lt;/strong&gt;Answer :By default, ASP.NET will store the session state in the same process that processes the request, just as ASP does. Additionally, ASP.NET can store session data in an external process, which can even reside on another machine. To enable this feature: •Start the ASP.NET state service, either using the Services snap-in or by executing "net start aspnet_state" on the command line. The state service will by default listen on port 42424. To change the port, modify the registry key for the service: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\Port •Set the mode attribute of the section to "StateServer". •Configure the stateConnectionString attribute with the values of the machine on which you started aspnet_state. The following sample assumes that the state service is running on the same machine as the Web server ("localhost") and uses the default port (42424): Note that if you try the sample above with this setting, you can reset the Web server (enter iisreset on the command line) and the session state value will persist.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-7067924459728761472?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/7067924459728761472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-you-will-handle-session-when.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/7067924459728761472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/7067924459728761472'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-you-will-handle-session-when.html' title='How you will handle session when deploying application in more than a server? Describe session handling in a webfarm, how does it work and what are th'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-4811925971665217897</id><published>2009-01-29T02:33:00.000-08:00</published><updated>2009-01-29T02:34:14.066-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is cookie less session  How it works</title><content type='html'>&lt;strong&gt;Question :What is cookie less session? How it works?&lt;/strong&gt;&lt;br /&gt;Answer :By default, ASP.NET will store the session state in the same process that processes the request, just as ASP does. If cookies are not available, a session can be tracked by adding a session identifier to the URL. This can be enabled by setting the following:&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-4811925971665217897?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/4811925971665217897/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-cookie-less-session-how-it.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4811925971665217897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4811925971665217897'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-cookie-less-session-how-it.html' title='What is cookie less session  How it works'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-1266788265978325398</id><published>2009-01-29T02:32:00.000-08:00</published><updated>2009-01-29T02:33:07.788-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Difference between ASP Session and ASP.NET Session</title><content type='html'>&lt;strong&gt;Question :Difference between ASP Session and ASP.NET Session?&lt;br /&gt;&lt;/strong&gt;Answer :asp.net session supports cookie less session &amp;amp; it can span across multiple servers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-1266788265978325398?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/1266788265978325398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/difference-between-asp-session-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/1266788265978325398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/1266788265978325398'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/difference-between-asp-session-and.html' title='Difference between ASP Session and ASP.NET Session'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-4617084548415311935</id><published>2009-01-29T02:30:00.000-08:00</published><updated>2009-01-29T02:32:01.197-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Application and Session Events</title><content type='html'>&lt;strong&gt;Question :Application and Session Events ?&lt;/strong&gt;&lt;br /&gt;Answer :The ASP.NET page framework provides ways for you to work with events that can be raised when your application starts or stops or when an individual user's session starts or stops: •Application events are raised for all requests to an application. For example, Application_BeginRequest is raised when any Web Forms page or XML Web service in your application is requested. This event allows you to initialize resources that will be used for each request to the application. A corresponding event, Application_EndRequest, provides you with an opportunity to close or otherwise dispose of resources used for the request. •Session events are similar to application events (there is a Session_OnStart and a Session_OnEnd event), but are raised with each unique session within the application. A session begins when a user requests a page for the first time from your application and ends either when your application explicitly closes the session or when the session times out. You can create handlers for these types of events in the Global.asax file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-4617084548415311935?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/4617084548415311935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/application-and-session-events.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4617084548415311935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4617084548415311935'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/application-and-session-events.html' title='Application and Session Events'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-6654510841378977178</id><published>2009-01-29T02:29:00.000-08:00</published><updated>2009-01-29T02:30:38.016-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is the difference between Web User Control and Web Custom Control</title><content type='html'>&lt;strong&gt;Question :What is the difference between Web User Control and Web Custom Control?&lt;/strong&gt;&lt;br /&gt;Answer :Custom Controls Web custom controls are compiled components that run on the server and that encapsulate user-interface and other related functionality into reusable packages. They can include all the design-time features of standard ASP.NET server controls, including full support for Visual Studio design features such as the Properties window, the visual designer, and the Toolbox. There are several ways that you can create Web custom controls: •You can compile a control that combines the functionality of two or more existing controls. For example, if you need a control that encapsulates a button and a text box, you can create it by compiling the existing controls together. •If an existing server control almost meets your requirements but lacks some required features, you can customize the control by deriving from it and overriding its properties, methods, and events. •If none of the existing Web server controls (or their combinations) meet your requirements, you can create a custom control by deriving from one of the base control classes. These classes provide all the basic functionality of Web server controls, so you can focus on programming the features you need. If none of the existing ASP.NET server controls meet the specific requirements of your applications, you can create either a Web user control or a Web custom control that encapsulates the functionality you need. The main difference between the two controls lies in ease of creation vs. ease of use at design time. Web user controls are easy to make, but they can be less convenient to use in advanced scenarios. You develop Web user controls almost exactly the same way that you develop Web Forms pages. Like Web Forms, user controls can be created in the visual designer, they can be written with code separated from the HTML, and they can handle execution events. However, because Web user controls are compiled dynamically at run time they cannot be added to the Toolbox, and they are represented by a simple placeholder glyph when added to a page. This makes Web user controls harder to use if you are accustomed to full Visual Studio .NET design-time support, including the Properties window and Design view previews. Also, the only way to share the user control between applications is to put a separate copy in each application, which takes more maintenance if you make changes to the control. Web custom controls are compiled code, which makes them easier to use but more difficult to create; Web custom controls must be authored in code. Once you have created the control, however, you can add it to the Toolbox and display it in a visual designer with full Properties window support and all the other design-time features of ASP.NET server controls. In addition, you can install a single copy of the Web custom control in the global assembly cache and share it between applications, which makes maintenance easier. Web user controls Web custom controls Easier to create Harder to create Limited support for consumers who use a visual design tool Full visual design tool support for consumers A separate copy of the control is required in each application Only a single copy of the control is required, in the global assembly cache Cannot be added to the Toolbox in Visual Studio Can be added to the Toolbox in Visual Studio Good for static layout Good for dynamic layout&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-6654510841378977178?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/6654510841378977178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-difference-between-web-user.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/6654510841378977178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/6654510841378977178'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-difference-between-web-user.html' title='What is the difference between Web User Control and Web Custom Control'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-1538783017794826782</id><published>2009-01-29T02:27:00.000-08:00</published><updated>2009-01-29T02:29:00.268-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What are server controls</title><content type='html'>&lt;strong&gt;Question :What are server controls?&lt;/strong&gt;&lt;br /&gt;Answer :ASP.NET server controls are components that run on the server and encapsulate user-interface and other related functionality. They are used in ASP.NET pages and in ASP.NET code-behind classes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-1538783017794826782?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/1538783017794826782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-are-server-controls.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/1538783017794826782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/1538783017794826782'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-are-server-controls.html' title='What are server controls'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-3652761197261379989</id><published>2009-01-29T02:19:00.000-08:00</published><updated>2009-01-29T02:21:23.438-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Order of events in an asp.net page  Control Execution Lifecycle</title><content type='html'>&lt;strong&gt;Question :Order of events in an asp.net page? Control Execution Lifecycle?&lt;/strong&gt;&lt;br /&gt;Answer :Phase What a control needs to do Method or event to override Initialize Initialize settings needed during the lifetime of the incoming Web request. Init event (OnInit method) Load view state At the end of this phase, the ViewState property of a control is automatically populated as described in Maintaining State in a Control. A control can override the default implementation of the LoadViewState method to customize state restoration. LoadViewState method Process postback data Process incoming form data and update properties accordingly. LoadPostData method (if IPostBackDataHandler is implemented) Load Perform actions common to all requests, such as setting up a database query. At this point, server controls in the tree are created and initialized, the state is restored, and form controls reflect client-side data. Load event (OnLoad method) Send postback change notifications Raise change events in response to state changes between the current and previous postbacks. RaisePostDataChangedEvent method (if IPostBackDataHandler is implemented) Handle postback events Handle the client-side event that caused the postback and raise appropriate events on the server. RaisePostBackEvent method(if IPostBackEventHandler is implemented) Prerender Perform any updates before the output is rendered. Any changes made to the state of the control in the prerender phase can be saved, while changes made in the rendering phase are lost. PreRender event (OnPreRender method) Save state The ViewState property of a control is automatically persisted to a string object after this stage. This string object is sent to the client and back as a hidden variable. For improving efficiency, a control can override the SaveViewState method to modify the ViewState property. SaveViewState method Render Generate output to be rendered to the client. Render method Dispose Perform any final cleanup before the control is torn down. References to expensive resources such as database connections must be released in this phase. Dispose method Unload Perform any final cleanup before the control is torn down. Control authors generally perform cleanup in Dispose and do not handle this event. UnLoad event (On UnLoad method) Note To override an EventName event, override the OnEventName method (and call base.OnEventName)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-3652761197261379989?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/3652761197261379989/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/order-of-events-in-aspnet-page-control.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3652761197261379989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3652761197261379989'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/order-of-events-in-aspnet-page-control.html' title='Order of events in an asp.net page  Control Execution Lifecycle'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-6981808792045723800</id><published>2009-01-29T02:17:00.000-08:00</published><updated>2009-01-29T02:19:36.021-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Asp.net and asp – differences</title><content type='html'>&lt;strong&gt;Question :Asp.net and asp – differences?&lt;br /&gt;&lt;/strong&gt;Answer :Code Render Block Code Declaration Block Compiled Request/Response Event Driven Object Oriented - Constructors/Destructors, Inheritance, overloading.. Exception Handling - Try, Catch, Finally Down-level Support Cultures User Controls In-built client side validation Session - weren't transferable across servers It can span across servers, It can survive server crashes, can work with browsers that don't support cookies built on top of the window &amp;amp; IIS, it was always a separate entity &amp;amp; its functionality was limited. its an integral part of OS under the .net framework. It shares many of the same objects that traditional applications would use, and all .net objects are available for asp.net's consumption. Garbage Collection Declare variable with datatype In built graphics support Cultures&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-6981808792045723800?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/6981808792045723800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/aspnet-and-asp-differences.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/6981808792045723800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/6981808792045723800'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/aspnet-and-asp-differences.html' title='Asp.net and asp – differences'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-5104750513556386025</id><published>2009-01-29T02:16:00.000-08:00</published><updated>2009-01-29T02:17:51.136-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What is method to get XML and schema from Dataset</title><content type='html'>&lt;strong&gt;Question :What is method to get XML and schema from Dataset?&lt;/strong&gt;&lt;br /&gt;Answer :getXML () and get Schema ()&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-5104750513556386025?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/5104750513556386025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-method-to-get-xml-and-schema.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5104750513556386025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/5104750513556386025'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-is-method-to-get-xml-and-schema.html' title='What is method to get XML and schema from Dataset'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-4569401052173627627</id><published>2009-01-29T02:13:00.000-08:00</published><updated>2009-01-29T02:16:25.098-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Differences between dataset.clone and dataset.copy</title><content type='html'>&lt;strong&gt;Question :Differences between dataset.clone and dataset.copy?&lt;/strong&gt;&lt;br /&gt;Answer :Clone - Copies the structure of the DataSet, including all DataTable schemas, relations, and constraints. Does not copy any data. Copy - Copies both the structure and data for this DataSet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-4569401052173627627?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/4569401052173627627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/differences-between-datasetclone-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4569401052173627627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/4569401052173627627'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/differences-between-datasetclone-and.html' title='Differences between dataset.clone and dataset.copy'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-2799799831412664458</id><published>2009-01-29T02:12:00.000-08:00</published><updated>2009-01-29T02:13:21.794-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>In how many ways we can retrieve table records count? How to find the count of records in a dataset</title><content type='html'>&lt;strong&gt;Question :In how many ways we can retrieve table records count? How to find the count of records in a dataset?&lt;/strong&gt;&lt;br /&gt;Answer :foreach(DataTable thisTable in myDataSet.Tables){ // For each row, print the values of each column. foreach(DataRow myRow in thisTable.Rows){&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-2799799831412664458?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/2799799831412664458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/in-how-many-ways-we-can-retrieve-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2799799831412664458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/2799799831412664458'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/in-how-many-ways-we-can-retrieve-table.html' title='In how many ways we can retrieve table records count? How to find the count of records in a dataset'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-7656165825157034481</id><published>2009-01-29T02:11:00.000-08:00</published><updated>2009-01-29T02:12:16.741-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What happens when we issue Dataset.ReadXml command</title><content type='html'>&lt;strong&gt;Question :What happens when we issue Dataset.ReadXml command?&lt;br /&gt;&lt;/strong&gt;Answer :Reads XML schema and data into the DataSet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-7656165825157034481?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/7656165825157034481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-happens-when-we-issue.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/7656165825157034481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/7656165825157034481'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-happens-when-we-issue.html' title='What happens when we issue Dataset.ReadXml command'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-746262065751734186</id><published>2009-01-29T02:09:00.000-08:00</published><updated>2009-01-29T02:11:16.011-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Explain different methods and Properties of DataReader which you have used in your project</title><content type='html'>&lt;strong&gt;Question :Explain different methods and Properties of DataReader which you have used in your project?&lt;/strong&gt;&lt;br /&gt;Answer :1. Read 2. GetString 3. GetInt32 while (myReader.Read()) Console.WriteLine("\t{0}\t{1}", myReader.GetInt32(0), myReader.GetString(1)); myReader.Close();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-746262065751734186?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/746262065751734186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/explain-different-methods-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/746262065751734186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/746262065751734186'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/explain-different-methods-and.html' title='Explain different methods and Properties of DataReader which you have used in your project'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-3426411520981225442</id><published>2009-01-29T02:07:00.000-08:00</published><updated>2009-01-29T02:09:39.349-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Which method do you invoke on the DataAdapter control to load your generated dataset with data</title><content type='html'>&lt;strong&gt;Question :Which method do you invoke on the DataAdapter control to load your generated dataset with data?&lt;br /&gt;&lt;/strong&gt;Answer :Fill()&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-3426411520981225442?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/3426411520981225442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/which-method-do-you-invoke-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3426411520981225442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3426411520981225442'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/which-method-do-you-invoke-on.html' title='Which method do you invoke on the DataAdapter control to load your generated dataset with data'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-8630904832298375134</id><published>2009-01-29T02:05:00.000-08:00</published><updated>2009-01-29T02:07:26.713-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Difference between DataReader and DataAdapter / DataSet and DataAdapter</title><content type='html'>&lt;strong&gt;Question :Difference between DataReader and DataAdapter / DataSet and DataAdapter?&lt;/strong&gt;&lt;br /&gt;Answer :You can use the ADO.NET DataReader to retrieve a read-only, forward-only stream of data from a database. Using the DataReader can increase application performance and reduce system overhead because only one row at a time is ever in memory. After creating an instance of the Command object, you create a DataReader by calling Command.ExecuteReader to retrieve rows from a data source, as shown in the following example. SqlDataReader myReader = myCommand.ExecuteReader(); You use the Read method of the DataReader object to obtain a row from the results of the query. while (myReader.Read()) Console.WriteLine("\t{0}\t{1}", myReader.GetInt32(0), myReader.GetString(1)); myReader.Close(); The DataSet is a memory-resident representation of data that provides a consistent relational programming model regardless of the data source. It can be used with multiple and differing data sources, used with XML data, or used to manage data local to the &lt;a oncontextmenu="return false;" id="KonaLink4" style="TEXT-DECORATION: underline! important" href="http://interviewhelper.org/demo/Art/308/11/ASP-NET-Interview-Questions-Part-6.html" target="_top"&gt;application&lt;/a&gt;. The DataSet represents a complete set of data including related tables, constraints, and relationships among the tables. The methods and objects in a DataSet are consistent with those in the relational database model. The DataSet can also persist and reload its contents as XML and its schema as &lt;a oncontextmenu="return false;" id="KonaLink5" style="TEXT-DECORATION: underline! important" href="http://interviewhelper.org/demo/Art/308/11/ASP-NET-Interview-Questions-Part-6.html" target="_top"&gt;XML Schema&lt;/a&gt; definition language (XSD) schema. The DataAdapter serves as a bridge between a DataSet and a data source for retrieving and saving data. The DataAdapter provides this bridge by mapping Fill, which changes the data in the DataSet to match the data in the data source, and Update, which changes the data in the data source to match the data in the DataSet. If you are connecting to a Microsoft SQL Server database, you can increase overall performance by using the SqlDataAdapter along with its associated SqlCommand and SqlConnection. For other OLE DB-supported databases, use the DataAdapter with its associated OleDbCommand and OleDbConnection objects.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-8630904832298375134?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/8630904832298375134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/difference-between-datareader-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/8630904832298375134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/8630904832298375134'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/difference-between-datareader-and.html' title='Difference between DataReader and DataAdapter / DataSet and DataAdapter'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-3161645565024551931</id><published>2009-01-29T02:03:00.000-08:00</published><updated>2009-01-29T02:05:14.949-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What are the different namespaces used in the project to connect the database  What data providers available in .net to connect to database</title><content type='html'>&lt;strong&gt;Question :What are the different namespaces used in the project to connect the database? What data providers available in .net to connect to database?&lt;/strong&gt;&lt;br /&gt;Answer :•System.Data.OleDb – classes that make up the .NET Framework Data Provider for OLE DB-compatible data sources. These classes allow you to connect to an OLE DB data source, execute commands against the source, and read the results. •System.Data.SqlClient – classes that make up the .NET Framework Data Provider for &lt;a oncontextmenu="return false;" id="KonaLink3" style="TEXT-DECORATION: underline! important" href="http://interviewhelper.org/demo/Art/308/11/ASP-NET-Interview-Questions-Part-6.html" target="_top"&gt;SQL Server&lt;/a&gt;, which allows you to connect to SQL Server 7.0, execute commands, and read results. The System.Data.SqlClient namespace is similar to the System.Data.OleDb namespace, but is optimized for access to SQL Server 7.0 and later. •System.Data.Odbc - classes that make up the .NET Framework Data Provider for ODBC. These classes allow you to access ODBC data source in the managed space. •System.Data.OracleClient - classes that make up the .NET Framework Data Provider for Oracle. These classes allow you to access an Oracle data source in the managed space.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-3161645565024551931?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/3161645565024551931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-are-different-namespaces-used-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3161645565024551931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3161645565024551931'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-are-different-namespaces-used-in.html' title='What are the different namespaces used in the project to connect the database  What data providers available in .net to connect to database'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-8418564731993211333</id><published>2009-01-29T02:02:00.000-08:00</published><updated>2009-01-29T02:03:37.179-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Difference between OLEDB Provider and SqlClient</title><content type='html'>&lt;strong&gt;Question :Difference between OLEDB Provider and SqlClient ?&lt;/strong&gt;&lt;br /&gt;Answer :SQLClient .NET classes are highly optimized for the .net / sqlserver combination and achieve optimal results. The SqlClient data provider is fast. It's faster than the Oracle provider, and faster than accessing database via the OleDb layer. It's faster because it accesses the native library (which automatically gives you better performance), and it was written with lots of help from the SQL &lt;a oncontextmenu="return false;" id="KonaLink2" style="TEXT-DECORATION: underline! important" href="http://interviewhelper.org/demo/Art/308/11/ASP-NET-Interview-Questions-Part-6.html" target="_top"&gt;Server&lt;/a&gt; team.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-8418564731993211333?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/8418564731993211333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/difference-between-oledb-provider-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/8418564731993211333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/8418564731993211333'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/difference-between-oledb-provider-and.html' title='Difference between OLEDB Provider and SqlClient'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-7305220558099697726</id><published>2009-01-29T01:58:00.000-08:00</published><updated>2009-01-29T02:02:01.707-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>What are relation objects in dataset and how &amp; where to use them</title><content type='html'>&lt;strong&gt;Question :What are relation objects in dataset and how &amp;amp; where to use them?&lt;br /&gt;&lt;/strong&gt;Answer :In a DataSet that contains multiple DataTable objects, you can use DataRelation objects to relate one table to another, to navigate through the tables, and to return child or parent rows from a related table. Adding a DataRelation to a DataSet adds, by default, a UniqueConstraint to the parent table and a ForeignKeyConstraint to the child table. The following code example creates a DataRelation using two DataTable objects in a DataSet. Each DataTable contains a column named CustID, which serves as a link between the two DataTable objects. The example adds a single DataRelation to the Relations collection of the DataSet. The first argument in the example specifies the name of the DataRelation being created. The second argument sets the parent DataColumn and the third argument sets the child DataColumn. custDS.Relations.Add("CustOrders", custDS.Tables["Customers"].Columns["CustID"], custDS.Tables["Orders"].Columns["CustID"]); OR private void CreateRelation() { // Get the DataColumn objects from two DataTable objects in a DataSet. DataColumn parentCol; DataColumn childCol; // Code to get the DataSet not shown here. parentCol = DataSet1.Tables["Customers"].Columns["CustID"]; childCol = DataSet1.Tables["Orders"].Columns["CustID"]; // Create DataRelation. DataRelation relCustOrder; relCustOrder = new DataRelation("CustomersOrders", parentCol, childCol); // Add the relation to the DataSet. DataSet1.Relations.Add(relCustOrder); }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-7305220558099697726?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/7305220558099697726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-are-relation-objects-in-dataset.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/7305220558099697726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/7305220558099697726'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/what-are-relation-objects-in-dataset.html' title='What are relation objects in dataset and how &amp; where to use them'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7992145449048671820.post-3365528507341753883</id><published>2009-01-29T01:56:00.000-08:00</published><updated>2009-01-29T01:57:40.732-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>How would u connect to database using .NET</title><content type='html'>&lt;strong&gt;Question :How would u connect to database using .NET?&lt;/strong&gt;&lt;br /&gt;Answer :SqlConnection nwindConn = new SqlConnection("Data Source=localhost; Integrated &lt;a oncontextmenu="return false;" id="KonaLink1" style="TEXT-DECORATION: underline! important" href="http://interviewhelper.org/demo/Art/308/11/ASP-NET-Interview-Questions-Part-6.html" target="_top"&gt;Security&lt;/a&gt;=SSPI;" + "Initial Catalog=northwind"); nwindConn.Open();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7992145449048671820-3365528507341753883?l=dotnet-interview-questions-n-answers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet-interview-questions-n-answers.blogspot.com/feeds/3365528507341753883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-would-u-connect-to-database-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3365528507341753883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7992145449048671820/posts/default/3365528507341753883'/><link rel='alternate' type='text/html' href='http://dotnet-interview-questions-n-answers.blogspot.com/2009/01/how-would-u-connect-to-database-using.html' title='How would u connect to database using .NET'/><author><name>Interview Helper</name><uri>http://www.blogger.com/profile/00019571984377897004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='12' src='http://1.bp.blogspot.com/_AdNUW2U2OOs/SYHHT9_iGqI/AAAAAAAAAAM/PzlYVvYWMac/s1600-R/interviewhelper.jpg'/></author><thr:total>0</thr:total></entry></feed>
