tag:blogger.com,1999:blog-49686946264784684522024-03-12T16:05:03.836-07:00ASP.NET 3.5 interview questionOver 500 ASP.NET 3.5 Interview Questions with Answers of DOT NET including ASP.NET,dotnet interview questions,Visual stdio 2008,download free e-book.jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comBlogger417125tag:blogger.com,1999:blog-4968694626478468452.post-30472454975201057592012-06-13T00:37:00.002-07:002012-06-13T00:39:44.433-07:00What is HttpHandlers?<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">The low level
Request and Response API to service incoming Http requests are Http Handlers in
Asp.Net. All handlers implement the IHttpHandler interface, which is located in
the System.Web namespace. Handlers are somewhat analogous to Internet Server
Application Programming Interface (ISAPI) extensions. <o:p></o:p></span></span>
</div>
<div class="MsoNormal" dir="ltr" style="background: white; line-height: normal; margin: 0in 0in 10pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: left;" trbidi="on">
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">I will explain how to extend the functionality of web server by using Http
handlers and How to protect files using Http handlers. <o:p></o:p></span></span></div>
<div dir="ltr" style="text-align: left;" trbidi="on">
<b style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">Methods in Http Handler<o:p></o:p></span></span></b></div>
<div dir="ltr" style="text-align: left;" trbidi="on">
<br /></div>
<div class="MsoNormal" dir="ltr" style="background: white; line-height: normal; margin: 0in 0in 0pt; text-align: left;" trbidi="on">
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">The following are
the methods in Http Handlers.<o:p></o:p></span></span></div>
<div dir="ltr" style="text-align: left;" trbidi="on">
<br /></div>
<div dir="ltr" style="text-align: left;" trbidi="on">
<table border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="background: silver; border-collapse: collapse; border: currentColor; mso-border-alt: outset gray .75pt; mso-yfti-tbllook: 1184; width: 100%;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="background: gray; border: 1pt inset gray; mso-border-alt: inset gray .75pt; padding: 0.75pt;"><div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">Method Name <o:p></o:p></span></span></div>
</td>
<td style="background: gray; border-color: gray gray gray rgb(0, 0, 0); border-style: inset inset inset none; border-width: 1pt 1pt 1pt 0px; mso-border-alt: inset gray .75pt; mso-border-left-alt: inset gray .75pt; padding: 0.75pt;"><div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">Description <o:p></o:p></span></span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1;">
<td style="background-color: transparent; border-color: rgb(0, 0, 0) gray gray; border-style: none inset inset; border-width: 0px 1pt 1pt; mso-border-alt: inset gray .75pt; mso-border-top-alt: inset gray .75pt; padding: 0.75pt;"><div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">ProcessRequest<o:p></o:p></span></span></div>
</td>
<td style="background-color: transparent; border-color: rgb(0, 0, 0) gray gray rgb(0, 0, 0); border-style: none inset inset none; border-width: 0px 1pt 1pt 0px; mso-border-alt: inset gray .75pt; mso-border-left-alt: inset gray .75pt; mso-border-top-alt: inset gray .75pt; padding: 0.75pt;"><div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">Used to call Http Requests.<o:p></o:p></span></span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 2; mso-yfti-lastrow: yes;">
<td style="background-color: transparent; border-color: rgb(0, 0, 0) gray gray; border-style: none inset inset; border-width: 0px 1pt 1pt; mso-border-alt: inset gray .75pt; mso-border-top-alt: inset gray .75pt; padding: 0.75pt;"><div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">IsReusable <o:p></o:p></span></span></div>
</td>
<td style="background-color: transparent; border-color: rgb(0, 0, 0) gray gray rgb(0, 0, 0); border-style: none inset inset none; border-width: 0px 1pt 1pt 0px; mso-border-alt: inset gray .75pt; mso-border-left-alt: inset gray .75pt; mso-border-top-alt: inset gray .75pt; padding: 0.75pt;"><div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">To check the reusability of same
instance handler with a new request of same type.<o:p></o:p></span></span></div>
</td>
</tr>
</tbody></table>
</div>
<div dir="ltr" style="text-align: left;" trbidi="on">
<br /></div>
<div class="MsoNormal" dir="ltr" style="background: white; line-height: normal; margin: 0in 0in 10pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: left;" trbidi="on">
<b style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">Configuring HTTP Handlers <o:p></o:p></span></span></b></div>
<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">The
<httphandlers> configuration section handler is responsible for mapping
incoming URLs to the IHttpHandler or IHttpHandlerFactory class. It can be
declared at the computer, site, or application level. Subdirectories inherit these
settings.<o:p></o:p></httphandlers></span></span></div>
<div dir="ltr" style="text-align: left;" trbidi="on">
<br /></div>
<div class="MsoNormal" dir="ltr" style="background: white; line-height: normal; margin: 0in 0in 10pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: left;" trbidi="on">
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">Administrators
use the <add> tag directive to configure the <httphandlers>
section. <add> directives are interpreted and processed in a top-down
sequential order. Use the following syntax for the <httphandler> section
handler:<o:p></o:p></httphandler></add></httphandlers></add></span></span></div>
<div dir="ltr" style="text-align: left;" trbidi="on">
<br /></div>
<div class="MsoNormal" dir="ltr" style="background: white; line-height: normal; margin: 0in 0in 10pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: left;" trbidi="on">
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;"><httphandlers><br />
<add path="[path/wildcard]" type="[COM+
Class], [Assembly]" validate="[true/false]" verb="[verb list]"><br />
<remove path="[path/wildcard]" verb="[verb list]"><br />
<clear><br />
</clear></remove></add></httphandlers> <o:p></o:p></span></span></div>
<div dir="ltr" style="text-align: left;" trbidi="on">
<b style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">Creating HTTP Handlers <o:p></o:p></span></span></b></div>
<div dir="ltr" style="text-align: left;" trbidi="on">
<br /></div>
<div class="MsoNormal" dir="ltr" style="background: white; line-height: normal; margin: 0in 0in 10pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: left;" trbidi="on">
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">To create an HTTP
handler, you must implement the IHttpHandler interface. The IHttpHandler
interface has one method and one property with the following signatures: <o:p></o:p></span></span></div>
<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">void
ProcessRequest(HttpContext);<br />
bool IsReusable {get;}<o:p></o:p></span></span></div>
<div dir="ltr" style="text-align: left;" trbidi="on">
<br /></div>
<div class="MsoNormal" dir="ltr" style="background: white; line-height: normal; margin: 0in 0in 10pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: left;" trbidi="on">
<b style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">Customized Http Handler<o:p></o:p></span></span></b></div>
<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">By customizing
http handlers, new functionalities can be added to Web Server. Files with new
extensions like .text for a text file can be handled by Web Server by using
http handlers. The future of customization can lead to hosting .jsp pages in
IIS by finding adequate ISAPI extensions. The following steps are involved to
create customized http handler:<o:p></o:p></span></span></div>
<div dir="ltr" style="text-align: left;" trbidi="on">
<br /></div>
<div dir="ltr" style="text-align: left;" trbidi="on">
<ol start="1" type="1">
<li class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 10pt; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">Create a C# class library as
"Examplehandler" <o:p></o:p></span></span></li>
<li class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 10pt; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">Name class as
"Handlerclass.cs"<o:p></o:p></span></span></li>
</ol>
</div>
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">using System;<br />
using System.Web;<br />
using System.Web.SessionState;<br />
namespace ExampleHandler<br />
{<br />
/// <summary><br />
/// Summary description for Examplehandler.<br />
/// </summary><br />
public class Handlerclass : IHttpHandler<br />
{<br />
public Handlerclass()<br />
{<br />
//<br />
// TODO: Add constructor logic here<br />
//<br />
}<br />
#region Implementation of IHttpHandler<br />
public void ProcessRequest(System.Web.HttpContext context)<br />
{<br />
HttpResponse objResponse = context.Response ;<br />
HttpSessionState objSession = context.Session ;<br />
objResponse.Write("</span></span><br />
<span style="font-family: Calibri;"></span><br />
<span style="font-family: Calibri;">
Hello World from
Handler") ;<br />
objResponse.Write("") ;<br />
}<br />
public bool IsReusable<br />
{<br />
get<br />
{<br />
return true;<br />
}<br />
}<br />
#endregion<br />
}<br />
} <o:p></o:p><br />
</span><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;"><span style="font-size: small;">Compile it and
place it in the bin directory of TestApp project.<o:p></o:p></span></span></span><br />
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;"></span></span><br />
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;">Step 2</span></span>
<br />
<h1>
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;"><span style="font-size: small;">Register this
handler by adding the following text in the web.config file:</span></span></span><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;"><httphandlers><add path="*.text" type=" ExampleHandler.Handlerclass,
ExampleHandler " verb="*"></add></httphandlers></span></span></h1>
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><span style="font-family: Calibri;"><div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 10pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"><httphandlers><br />
<add path="*.text" type=" ExampleHandler.Handlerclass,
ExampleHandler " verb="*"><br />
</add></httphandlers></span></div>
</span></span></div>jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-56496385493977381482012-06-13T00:33:00.001-07:002012-06-13T00:33:48.936-07:00What is Generics?<span style="color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;">Generics are classes, structures, interfaces, and methods that have placeholders (type parameters) for one or more of the types that they store or use. A generic collection class might use a type parameter as a placeholder for the type of objects that it stores; the type parameters appear as the types of its fields and the parameter types of its methods. A generic method might use its type parameter as the type of its return value or as the type of one of its formal parameters<o:p></o:p></span></span><br />
<br />
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;">public class Generic<t><o:p></o:p></t></span></span></div><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;">{<o:p></o:p></span></span><br />
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;"><span style="mso-spacerun: yes;"> </span>public T Field;<o:p></o:p></span></span><br />
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;">}<o:p></o:p></span></span><br />
<br />
<div class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;">public static void Main()<o:p></o:p></span></span></div><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;">{<o:p></o:p></span></span><br />
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;"><span style="mso-spacerun: yes;"> </span>Generic<string> g = new Generic<string>();<o:p></o:p></string></string></span></span><br />
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;"><span style="mso-spacerun: yes;"> </span>g.Field = "A string";<o:p></o:p></span></span><br />
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;"><span style="mso-spacerun: yes;"> </span>Console.WriteLine("Generic.Field<span style="mso-spacerun: yes;"> </span>= \"{0}\"", g.Field);<o:p></o:p></span></span><br />
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;"><span style="mso-spacerun: yes;"> </span>Console.WriteLine("Generic.Field.GetType() = {0}", g.Field.GetType().FullName);<o:p></o:p></span></span><br />
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;">}<o:p></o:p></span></span><br />
<br />
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;">Generic classes encapsulate operations that are not specific to any particular data type. The most common use for generic classes is with the collections like linked lists, hash tables, stacks, queues, trees and so on where operations such as adding and removing items from the collection are performed in more or less the same way regardless of the type of the data being stored.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;">The advantage of generics is better type safety, code reusability and better performance.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;">Generics are most commonly used to create a collection<o:p></o:p></span></span></div>jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-19249382530389674752009-08-28T23:00:00.000-07:002009-08-28T23:01:20.779-07:00What is Microsoft SharePoint Portal Server?SharePoint Portal Server is a portal server that connects people, teams, and knowledge across business processes. SharePoint Portal Server integrates information from various systems into one secure solution through single sign-on and enterprise application integration capabilities. It provides flexible deployment and management tools, and facilitates end-to-end collaboration through data aggregation, organization, and searching. SharePoint Portal Server also enables users to quickly find relevant information through customization and personalization of portal content and layout as well as through audience targeting.jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-29349397206407305802009-08-28T22:46:00.000-07:002009-08-28T23:00:39.760-07:00What is Microsoft Windows SharePoint Services?Windows SharePoint Services is the solution that enables you to create Web sites for information sharing and document collaboration. Windows SharePoint Services " a key piece of the information worker infrastructure delivered in <a href="http://www.kreslavsky.com/category/microsoft">Microsoft</a> Windows <a href="http://www.kreslavsky.com/category/microsoft/server-2003">Server 2003</a> " provides additional functionality to the <a href="http://www.kreslavsky.com/category/microsoft">Microsoft</a> Office system and other desktop applications, and it serves as a platform for application development.<br />Office SharePoint Server 2007 builds on top of Windows SharePoint Services 3.0 to provide additional capabilities including collaboration, portal, search, enterprise content management, business process and forms, and business intelligence.jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-11678749852859432572009-08-28T22:43:00.000-07:002009-08-28T22:46:23.312-07:00What are the advantages of jQuery<p>The advantages of using jQuery are:<br />1. JavaScript enhancement without the overhead of learning new syntax<br />2. Ability to keep the code simple, clear, readable and reusable<br />3. Eradication of the requirement of writing repetitious and complex loops and DOM scripting library calls</p>jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-21765067025583387732009-08-28T22:37:00.000-07:002009-08-28T22:43:27.385-07:00What is JQueryJQuery is a light weight JavaScript library which provides fast and easy way of HTML DOM traversing and manipulation, its event handling, its client side animations, etc. One of the greatest features of jQuery is that jQuery supports an efficient way to implement AJAX applications because of its light weight nature and make normalize and efficient web programs.jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-67120253077187511262008-11-25T21:23:00.000-08:002008-11-25T21:24:03.135-08:00The IHttpHandler and IHttpHandlerFactory interfaces ?<meta equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 10"><meta name="Originator" content="Microsoft Word 10"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CCIS50%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"><!--[if gte mso 9]><xml> <w:worddocument> <w:view>Normal</w:View> <w:zoom>0</w:Zoom> <w:compatibility> <w:breakwrappedtables/> <w:snaptogridincell/> <w:wraptextwithpunct/> <w:useasianbreakrules/> </w:Compatibility> <w:browserlevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><style> <!-- /* Font Definitions */ @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:536871559 0 0 0 415 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} span.style61 {mso-style-name:style61; mso-ansi-font-size:9.0pt; mso-bidi-font-size:9.0pt; font-family:Verdana; mso-ascii-font-family:Verdana; mso-hansi-font-family:Verdana;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman";} </style> <![endif]--><span class="style61"><span style="font-size: 9pt;">The IHttpHandler interface is implemented by all the handlers. The interface consists of one property called IsReusable. The IsReusable property gets a value indicating whether another request can use the IHttpHandler instance. The method ProcessRequest() allows you to process the current request. This is the core place where all your code goes. This method receives a parameter of type HttpContext using which you can access the intrinsic objects such as Request and Response. The IHttpHandlerFactory interface consists of two methods - GetHandler and ReleaseHandler. The GetHandler() method instantiates the required HTTP handler based on some condition and returns it back to ASP.NET. The ReleaseHandler() method allows the factory to reuse an existing handler.</span></span><span style="font-size: 9pt; font-family: Verdana;"> </span>jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-54605326212995444172008-11-25T21:22:00.000-08:002008-11-25T21:23:17.491-08:00Does .NET CLR and SQL SERVER run in different process?Dot Net CLR and all .net realtes application and Sql Server run in same process or we can say that that on the same address because there is no issue of speed because if these two process are run in different process then there may be a speed issue created one process goes fast and other slow may create the problem.jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-17567769474975025332008-11-25T21:21:00.000-08:002008-11-25T21:22:47.267-08:00What do you mean by three-tier architecture?<meta equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 10"><meta name="Originator" content="Microsoft Word 10"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CCIS50%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"><!--[if gte mso 9]><xml> <w:worddocument> <w:view>Normal</w:View> <w:zoom>0</w:Zoom> <w:compatibility> <w:breakwrappedtables/> <w:snaptogridincell/> <w:wraptextwithpunct/> <w:useasianbreakrules/> </w:Compatibility> <w:browserlevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><style> <!-- /* Font Definitions */ @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:536871559 0 0 0 415 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} p {mso-margin-top-alt:auto; margin-right:0in; margin-bottom:5.75pt; margin-left:0in; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} span.style61 {mso-style-name:style61; mso-ansi-font-size:9.0pt; mso-bidi-font-size:9.0pt; font-family:Verdana; mso-ascii-font-family:Verdana; mso-hansi-font-family:Verdana;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman";} </style> <![endif]--> <p><span class="style61"><span style="font-size: 9pt;">The three-tier architecture was comes into existence to improve management of code and contents and to improve the performance of the web based applications. There are mainly three layers in three-tier architecture. the are define as follows <o:p></o:p></span></span></p> <p style="margin: 0in 0in 0.0001pt;"><span class="style61"><span style="font-size: 9pt;">(1)Presentation </span></span><span style="font-size: 9pt; font-family: Verdana;">
<br /><span class="style61">(2)Business Logic <o:p></o:p></span></span></p> <p style="margin: 0in 0in 0.0001pt;"><span class="style61"><span style="font-size: 9pt;">(3)Database </span></span><span style="font-size: 9pt; font-family: Verdana;">
<br /> <!--[if !supportLineBreakNewLine]-->
<br /> <!--[endif]--><o:p></o:p></span></p> <p style="margin: 0in 0in 0.0001pt;"><span class="style61"><span style="font-size: 9pt;">(1)<b>First layer</b> Presentation contains mainly the interface code, and this is shown to user. This code could contain any technology that can be used on the client side like HTML, JavaScript or VBScript etc.</span></span><span style="font-size: 9pt; font-family: Verdana;">
<br /> <!--[if !supportLineBreakNewLine]-->
<br /> <!--[endif]--><o:p></o:p></span></p> <p style="margin: 0in 0in 0.0001pt;"><span class="style61"><span style="font-size: 9pt;">(2)<b>Second layer</b> is Business Logic which contains all the code of the server-side .This layer have code to interact with database and to query, manipulate, pass data to user interface and handle any input from the UI as well. </span></span><span style="font-size: 9pt; font-family: Verdana;">
<br /> <!--[if !supportLineBreakNewLine]-->
<br /> <!--[endif]--><o:p></o:p></span></p> <span class="style61"><span style="font-size: 9pt;">(3)<b>Third layer</b> Data represents the data store like MS Access, SQL Server, an XML file, an Excel file or even a text file containing data also some additional database are also added to that layers.</span></span><span style="font-size: 9pt; font-family: Verdana;">
<br />
<br /> <!--[if !supportLineBreakNewLine]-->
<br /> <!--[endif]--></span>jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-75737127902287624972008-11-10T20:05:00.000-08:002008-11-10T20:07:22.957-08:00When not to use Design PatternsDo not use design patterns in any of the following situations.<br /><br />• When the software being designed would not change with time.<br />• When the requirements of the source code of the application are unique.<br /><br />If any of the above applies in the current software design, there is no need to apply design patterns in the current design and increase unnecessary complexity in the design.jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-57930071060749404782008-11-10T20:04:00.000-08:002008-11-10T20:05:30.559-08:00When to use Design PatternsDesign Patterns are particularly useful in one of the following scenarios.<br /><br />• When the software application would change in due course of time.<br />• When the application contains source code that involves object creation and event notification.jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-12878382568854766482008-11-10T20:03:00.000-08:002008-11-10T20:04:03.512-08:00Benefits of Design PatternsThe following are some of the major advantages of using Design Patterns in software development.<br /><br />• Flexibility<br />• Adaptability to change<br />• Reusabilityjainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-3540973694684637912008-11-10T20:02:00.000-08:002008-11-10T20:03:22.526-08:00What are Design Patterns?A Design Pattern essentially consists of a problem in a software design and a solution to the same. In Design Patterns each pattern is described with its name, the motivation behind the pattern and its applicability.<br />According to MSDN, "A design pattern is a description of a set of interacting classes that provide a framework for a solution to a generalized problem in a specific context or environment. In other words, a pattern suggests a solution to a particular problem or issue in object-oriented software development.jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-33463968511761001302008-10-31T22:52:00.000-07:002008-10-31T22:53:02.818-07:00What is IIS Metabase? How to edit IIS metabase? How to backup IIS metabase file?IIS metabase is the repository of the configuration values that are set in the Internet Information Server (IIS). The IIS metabase in an XML file. It may be controlled through program or manually too. <br /><br />In order to edit IIS metabase entries, the user needs to have administrative rights on the system. To do this, in run window, type "inetmgr". Browse to "Local Computer" and right click it. Click on "Properties". Select the "Enable Direct Metabase Edit" check box.<br /><br />Many times, due to the existence of multiple versions of .NET framework, some settings in the IIS metabase may get affected and cause your program not to run. For such scenarios, you may take a backup of the IIS metabase XML file and recover it. To create a portable backup, open run window and type "inetmgr". Next browse to "Local Computer" and go to "All Tasks". Next, click on Backup/Restore Configuration. Next, click on "Create Backup". In the textbox box for Configuration Backup name, type a name for your backup file. Also select the encrypt backup option and type a password. To finish the process, click "OK".jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-46713101272752163142008-10-31T22:51:00.000-07:002008-10-31T22:52:15.125-07:00Describe the Provider Model in ASP.NET 2.0?The Provider model in ASP.NET 2.0 is based on the Provider Design Pattern that was created in the year 2002 and later implemented in the .NET Framework 2.0.<br /><br />The Provider Model supports automatic creation of users and their respective roles by creating entries of them directly in the SQL Server (May even use MS Access and other custom data sources). So actually, this model also supports automatically creating the user table's schema. <br /><br />The Provider model has 2 security providers in it: Membership provider and Role Provider. The membership provider saves inside it the user name (id) and corresponding passwords, whereas the Role provider stores the Roles of the users. <br /><br />For SQL Server, the SqlMembershipProvider is used, while for MS Access, the AccessMembershipProvider is used. The Security settings may be set using the website adminstration tool. Automatically, the AccessMembershipProvider creates a Microsoft Access database file named aspnetdb.mdb inside the application's App_Data folder. This contains 10 tables.jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-25109159042823126992008-10-31T22:50:00.001-07:002008-10-31T22:50:59.447-07:00Explain about Generics?Generics are not a completely new construct; similar concepts exist with other languages. For example, C++ templates can be compared to generics. However, there's a big difference between C++ templates and .NET generics. With C++ templates the source code of the template is required when a template is instantiated with a specific type. Contrary to C++ templates, generics are not only a construct of the C# language; generics are defined with the CLR. This makes it possible to instantiate generics with a specific type in Visual Basic even though the generic class was defined with C#.jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-91686288529955820882008-09-16T22:01:00.000-07:002008-09-16T22:11:43.830-07:00New Features of Visual Studio 2008 for .NET Professionals<span style="font-weight: bold;">1. LINQ Support </span><br /><br />LINQ essentially is the composition of many standard query operators that allow you to work with data in a more intuitive way regardless.<br /><br />The benefits of using LINQ are significant – Compile time checking C# language queries, and the ability to debug step by step through queries.<br /><span style="font-weight: bold;"><br />2. Expression Blend Support</span><br /><br />Expression blend is XAML generator tool for silverlight applications. You can install Expression blend as an embedded plug-in to Visual Studio 2008. By this you can get extensive web designer and JavaScript tool.<br /><br /><span style="font-weight: bold;">3. Windows Presentation Foundation</span><br /><br />WPF provides you an extensive graphic functionality you never seen these before. Visual Studio 2008 contains plenty of WPF Windows Presentation Foundation Library templates. By this a visual developer who is new to .NET, C# and VB.NET can easily develop the 2D and 3D graphic applications.<br /><br />Visual Studio 2008 provides free game development library kits for games developers. currently this game development kits are available for C++ and also 2D/3D Dark Matter one image and sounds sets.<br /><br /><span style="font-weight: bold;">4. VS 2008 Multi-Targeting Support</span><br /><br />Earlier you were not able to working with .NET 1.1 applications directly in visual studio 2005. Now in Visual studio 2008 you are able to create, run, debug the .NET 2.0, .NET 3.0 and .NET 3.5 applications. You can also deploy .NET 2.0 applications in the machines which contains only .NET 2.0 not .NET 3.x.<br /><br /><span style="font-weight: bold;">5. AJAX support for ASP.NET </span><br /><br />Previously developer has to install AJAX control library separately that does not come from VS, but now if you install Visual Studio 2008, you can built-in AJAX control library. This Ajax Library contains plenty of rich AJAX controls like Menu, TreeView, webparts and also these components support JSON and VS 2008 contains in built ASP.NET AJAX Control Extenders.<br /><br /><span style="font-weight: bold;">6. JavaScript Debugging Support</span><br /><br />Since starting of web development all the developers got frustration with solving javascript errors. Debugging the error in javascript is very difficult. Now Visual Studio 2008 makes it is simpler with javascript debugging. You can set break points and run the javaScript step by step and you can watch the local variables when you were debugging the javascript and solution explorer provides javascript document navigation support.<br /><br /><span style="font-weight: bold;">7. Nested Master Page Support</span><br /><br />Already Visual Studio 2005 supports nested master pages concept with .NET 2.0, but the problem with this Visual Studio 2005 that pages based on nested masters can't be edited using WYSIWYG web designer. But now in VS 2008 you can even edit the nested master pages.<br /><br /><span style="font-weight: bold;">8. LINQ Intellisense and Javascript Intellisense support for silverlight applications</span><br /><br />Most happy part for .NET developers is Visual Studio 2008 contains intellisense support for javascript. Javascript Intellisense makes developers life easy when writing client side validation, AJAX applications and also when writing Silverlight applications<br /><br />Intellisense Support: When we are writing the LINQ Query VS provides LINQ query syntax as tool tips.<br /><br /><span style="font-weight: bold;">9. Organize Imports or Usings:</span> We have Organize Imports feature already in Eclipse. SInce many days I have been waiting for this feature even in VS. Now VS contains Organize Imports feature which removes unnecessary namespaces which you have imported. You can select all the namespaces and right click on it, then you can get context menu with Organize imports options like "Remove Unused Usings", "Sort Usings", "Remove and Sort". Refactoring support for new .NET 3.x features like Anonymous types, Extension Methods, Lambda Expressions.<br /><br /><span style="font-weight: bold;">10. Intellisense Filtering: </span>Earlier in VS 2005 when we were typing with intellisense box all the items were being displayed. For example If we type the letter 'K' then intellisense takes you to the items starts with 'K' but also all other items will be presented in intellisense box. Now in VS 2008 if you press 'K' only the items starts with 'K' will be filtered and displayed.<br /><br /><span style="font-weight: bold;">11. Intellisense Box display position</span><br /><br />Earlier in some cases when you were typing the an object name and pressing . (period) then intellisense was being displayed in the position of the object which you have typed. Here the code which we type will go back to the dropdown, in this case sometimes programmer may disturb to what he was typing. Now in VS 2008 If you hold the Ctrl key while the intellisense is dropping down then intellisense box will become semi-transparent mode.<br /><br /><span style="font-weight: bold;">12. Visual Studio 2008 Split View</span><br /><br />VS 205 has a feature show both design and source code in single window. but both the windows tiles horizontally. In VS 2008 we can configure this split view feature to vertically, this allows developers to use maximum screen on laptops and wide-screen monitors.<br /><br />Here one of the good feature is if you select any HTML or ASP markup text in source window automatically corresponding item will be selected in design window.<br /><br /><span style="font-weight: bold;">13. HTML JavaScript warnings, not as errors: </span>VS 2005 mixes HTML errors and C# and VB.NET errors and shows in one window. Now VS 2008 separates this and shows javascript and HTML errors as warnings. But this is configurable feature.<br /><br /><span style="font-weight: bold;">14. Debugging .NET Framework Library Source Code:</span><br /><br />Now in VS 2008 you can debug the source code of .NET Framework Library methods. Lets say If you want to debug the DataBind() method of DataGrid control you can place a debugging point over there and continue with debug the source code of DataBind() method.<br /><br /><span style="font-weight: bold;">15. In built Silverlight Library</span><br /><br />Earlier we used to install silverlight SDK separately, Now in VS 2008 it is inbuilt, with this you can create, debug and deploy the silverlight applications.<br /><br /><span style="font-weight: bold;">16. Visual Studio LINQ Designer</span><br /><br />Already you know in VS 2005 we have inbuilt SQL Server IDE feature. by this you no need to use any other tools like SQL Server Query Analyzer and SQL Server Enterprise Manger. You have directly database explorer by this you can create connections to your database and you can view the tables and stored procedures in VS IDE itself. But now in VS 2008 it has View Designer window capability with LINQ-to-SQL.<br /><br /><span style="font-weight: bold;">17. Inbuilt C++ SDK</span><br /><br />Earlier It was so difficult to download and configure the C++ SDK Libraries and tools for developing windows based applications. Now it is inbuilt with VS 2008 and configurable<br /><span style="font-weight: bold;"><br />18. Multilingual User Interface Architecture - MUI</span><br /><br />MUI is an architecture contains packages from Microsoft Windows and Microsoft Office libraries. This supports the user to change the text language display as he wish.<br /><br />Visual Studio is now in English, Spanish, French, German, Italian, Chinese Simplified, Chinese Traditional, Japanese, and Korean. Over the next couple of months. Microsoft is reengineering the MUI which supports nine local languages then you can even view Visual studio in other 9 local languages.<br /><span style="font-weight: bold;"><br />19. Microsoft Popfly Support</span><br /><br />Microsoft Popfly explorer is an add-on to VS 2008, by this directly you can deploy or hosting the Silverlight applications and Marshup objectsjainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-22957730227810807422008-09-15T22:00:00.001-07:002008-09-15T22:00:41.005-07:00What do you know about BCL?The BCL (Base Class Library) is a combination of classes or we can say that it’s a library of functionalities and types available to all languages that used in .NET Framework. To make the programmer job more easier dot net gave a advantage to includes the BCL in order to collect a large number of common functions, just like to read a file and write to file, graphic rendering, database interaction, and XML document manipulation at one place . The scope of this is large and standard libraries for most other languages, including C++, and would be comparable in scope to the standard libraries is just like Java. The BCL is sometimes incorrectly referred to as the Framework Class Library (FCL), which is a superset including the Microsoft namespaces.jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-4207018139252273702008-09-15T21:59:00.000-07:002008-09-15T22:00:07.778-07:00In Assembly which work as GacBrowser ?The GACPicker class allows the user to select an assembly from the Global Assembly Cache. It does this by looking at the filesystem representation of the GAC, since there appears to be no actual API in the current .NET environment.jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-72295341845182883342008-09-15T21:55:00.000-07:002008-09-15T21:59:11.508-07:00What is purpose of Assembly Linker or define SDK Tool in .NET Framework?In .NET whole the working should be with the helps of DLLs.So all of Visual Studio .Net compilers gernate assemblies or u can say dll.If we want to create an assembly with manifest of a module.We can also put this assembly in seprate file.This AL tol gernate a file with an assembly manifest from modules or resources fles.The syntax of using Al.exe is al [sources] [options]<br />This tool helps in creating multi-file assembly outside Visual Studio .Net .This multi file can contain modules that are written in diffrenet langauage in one application.jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-46820383359874547312008-09-10T23:06:00.001-07:002008-09-10T23:06:30.464-07:00Describe the term Channel in .Net RemotingIn .Net Remoting, an application use Channel to send message to another application which is runing in different domain or process. Before sending message, Channel converts message into appropriate format like XML or binary format. The channel that carries message(Mashalled parameter) can use protocal like TCP and HTTP. Channel can be HTTPChannel and TCPChannel. The HTTPChannel use soapFormatter to serialize messages into the XML format using SOAP protocal. Using SOAP method allows the client to call method on the remote object that might not be using .Net framework. The TCPChannel use binaryFormatter to serialize message into binary stream.jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-66459211303594192182008-09-10T23:05:00.002-07:002008-09-10T23:06:07.772-07:00Describe the type of remotable objects in .Net Remoting.<span style="font-weight:bold;">Marshal-by-value-objects</span> - When client calls a method on marshal-by-value-object, the remoting system creates a copy of this object and passes the copy to the client application domain. The copy hence received can handle any method call in client domain. Using Marshal-by-value-object reduces resource consuming trip across network. <br /><span style="font-weight:bold;">Marshal-by-reference-object</span> - When client calls a method on Marshal by reference object, the remoting system create proxy object in the caller application that contains the reference of all method and properties of the object.jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-51479958285226865592008-09-10T23:05:00.001-07:002008-09-10T23:05:37.695-07:00What are the remotable and non-remotable objects in .Net Remoting.The remotable objects are the objects which can be distributed accross domains, can be used with domain. The non-remotable objects are the objects which can't be distributed accross domains. In distributed system, if an object is very big, we can make it non-remotable object.jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-85325634759381557602008-09-10T23:04:00.000-07:002008-09-10T23:05:05.450-07:00What security measures exist for .NET Remoting in System.Runtime.Remoting?None. Security should be taken care of at the application level. Cryptography and other security techniques can be applied at application or server level.jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.comtag:blogger.com,1999:blog-4968694626478468452.post-65967749824098065772008-09-10T23:03:00.000-07:002008-09-10T23:04:02.136-07:00What are the consideration in deciding to use .NET Remoting or ASP.NET Web Services?Remoting is a more efficient communication exchange when you can control both ends of the application involved in the communication process. Web Services provide an open-protocol-based exchange of informaion. Web Services are best when you need to communicate with an external organization or another (non-.NET) technology.jainmaneesh12@gmail.comhttp://www.blogger.com/profile/11433144482700682713noreply@blogger.com