You must Sign In to post a response.
  • Category: General

    ASP.Net Interview Question

    ASP.Net Interview Question with Ans.
    I dont need any link

    Advance thanks
    by
    Nathan
  • #259209
    As you are not interesed in links see this one

    ASP.NET Interview Questions
    This is a list of questions I have gathered and created over a period of time from my experience, many of which I felt where incomplete or simply wrong. I have finally taken the time to go through each question and correct them to the best of my ability. However, please feel free to post feedback to challenge, improve, or suggest new questions. I want to thank those of you that have contributed quality questions and corrections thus far.
    There are some questions in this list that I do not consider to be good questions for an interview. However, they do exist on other lists available on the Internet so I felt compelled to keep them here for easy access.
    1. Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.
    inetinfo.exe is theMicrosoft IIS server 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 tothe actual worker process aspnet_wp.exe.

    2. What’s the difference between Response.Write() andResponse.Output.Write()?
    Response.Output.Write() allows you to write formatted output.

    3. What methods are fired during the page load?
    Init() - when the page is instantiated
    Load() - when the page is loaded into server memory
    PreRender() - the brief moment before the page is displayed to the user as HTML
    Unload() - when page finishes loading.

    4. When during the page processing cycle is ViewState available?
    After the Init() and before the Page_Load(), or OnLoad() for a control.

    5. What namespace does the Web page belong in the .NET Framework class hierarchy?
    System.Web.UI.Page

    6. Where do you store the information about the user’s locale?
    System.Web.UI.Page.Culture

    7. What’s the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.aspx.cs"?
    CodeBehind is relevant to Visual Studio.NET only.

    8. What’s a bubbled event?
    When you have a complex control, like DataGrid, writing an event processing routine for each object (cell, button, row, etc.) is quite tedious. The controls can bubble up their eventhandlers, allowing the main DataGrid event handler to take care of its constituents.

    9. Suppose you want a certain ASP.NET function executed on MouseOver for a certain button. Where do you add an event handler?
    Add an OnMouseOver attribute to the button. Example: btnSubmit.Attributes.Add("onmouseover","someClientCodeHere();");

    10. What data types do the RangeValidator control support?
    Integer, String, and Date.

    11. Explain the differences between Server-side and Client-side code?
    Server-side code executes on the server. Client-side code executes in the client's browser.

    12. What type of code (server or client) is found in a Code-Behind class?
    The answer is server-side code since code-behind is executed on the server. However, during the code-behind's execution on the server, it can render client-side code such as JavaScript to be processed in the clients browser. But just to be clear, code-behind executes on the server, thus making it server-side code.

    13. Should user input data validation occur server-side or client-side? Why?
    All user input data validation should occur on the server at a minimum. Additionally, client-side validation can be performed where deemed appropriate and feasable to provide a richer, more responsive experience for the user.

    14. What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?
    Server.Transfer transfers page processing from one page directly to the next page without making a round-trip back to the client's browser. This provides a faster response with a little less overhead on the server. Server.Transfer does not update the clients url history list or current url. Response.Redirect is used to redirect the user's browser to another page or site. This performas a trip back to the client where the client's browser is redirected to the new page. The user's browser history list is updated to reflect the new address.

    15. Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
    Valid answers are:
    • A DataSet can represent an entire relational database in memory, complete with tables, relations, and views.
    • A DataSet is designed to work without any continuing connection to the original data source.
    • Data in a DataSet is bulk-loaded, rather than being loaded on demand.
    • There's no concept of cursor types in a DataSet.
    • DataSets have no current record pointer You can use For Each loops to move through the data.
    • You can store many edits in a DataSet, and write them to the original data source in a single operation.
    • Though the DataSet is universal, other objects in ADO.NET come in different versions for different data sources.

    16. What is the Global.asax used for?
    The Global.asax (including the Global.asax.cs file) is used to implement application and session level events.

    17. What are the Application_Start and Session_Start subroutines used for?
    This is where you can set the specific variables for the Application and Session objects.

    18. Can you explain what inheritance is and an example of when you might use it?
    When you want to inherit (use the functionality of) another class. Example: With a base class named Employee, a Manager class could be derived from the Employee base class.

    19. Whats an assembly?
    Assemblies are the building blocks of the .NET framework. Overview of assemblies from MSDN

    20. Describe the difference between inline and code behind.
    Inline code written along side the html in a page. Code-behind is code written in a separate file and referenced by the .aspx page.

    21. Explain what a diffgram is, and a good use for one?
    The DiffGram is one of the two XML formats that you can use to render DataSet object contents to XML. A good use is reading database data to an XML file to be sent to a Web Service.

    22. Whats MSIL, and why should my developers need an appreciation of it if at all?
    MSIL is the Microsoft Intermediate Language. All .NET compatible languages will get converted to MSIL. MSIL also allows the .NET Framework to JIT compile the assembly on the installed computer.

    23. Which method do you invoke on the DataAdapter control to load your generated dataset with data?
    The Fill() method.

    24. Can you edit data in the Repeater control?
    No, it just reads the information from its data source.

    25. Which template must you provide, in order to display data in a Repeater control?
    ItemTemplate.

    26. How can you provide an alternating color scheme in a Repeater control?
    Use the AlternatingItemTemplate.

    27. What property must you set, and what method must you call in your code, in order to bind the data from a data source to the Repeater control?
    You must set the DataSource property and call the DataBind method.

    28. What base class do all Web Forms inherit from?
    The Page class.

    29. Name two properties common in every validation control?
    ControlToValidate property and Text property.

    30. Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?
    DataTextField property.

    31. Which control would you use if you needed to make sure the values in two different controls matched?
    CompareValidator control.

    32. How many classes can a single .NET DLL contain?
    It can contain many classes.

    Web Service Questions
    1. What is the transport protocol you use to call a Web service?
    SOAP (Simple Object Access Protocol) is the preferred protocol.

    2. True or False: A Web service can only be written in .NET?
    False

    3. What does WSDL stand for?
    Web Services Description Language.

    4. Where on the Internet would you look for Web services?
    http://www.uddi.org

    5. True or False: To test a Web service you must create a Windows application or Web application to consume this service?
    False, the web service comes with a test page and it provides HTTP-GET method to test.

    State Management Questions
    1. What is ViewState?
    ViewState allows the state of objects (serializable) to be stored in a hidden field on the page. ViewState is transported to the client and back to the server, and is not stored on the server or any other external source. ViewState is used the retain the state of server-side objects between postabacks.

    2. What is the lifespan for items stored in ViewState?
    Item stored in ViewState exist for the life of the current page. This includes postbacks (to the same page).

    3. What does the "EnableViewState" property do? Why would I want it on or off?
    It allows the page to save the users input on a form across postbacks. It saves the server-side values for a given control into ViewState, which is stored as a hidden value on the page before sending the page to the clients browser. When the page is posted back to the server the server control is recreated with the state stored in viewstate.

    4. What are the different types of Session state management options available with ASP.NET?
    ASP.NET provides In-Process and Out-of-Process state management. In-Process stores the session in memory on the web server. This requires the a "sticky-server" (or no load-balancing) so that the user is always reconnected to the same web server. Out-of-Process Session state management stores data in an external data source. The external data source may be either a SQL Server or a State Server service. Out-of-Process state management requires that all objects stored in session are serializable.


    is there any limit for query string? if means what...
    ________________________________________
    255

    How to create a package for web application with components that shared with other applications?
    Create a setup project which produces a .msi file.
    A shared component assembly must be given a strong name using the following steps:
    1. Create a key pair using sn.exe -k on the command line
    2. Add AssemblyKeyFileAttribute to the assembly file and set it to the full name and path of the key file generated in step 1.
    3. Build the assembly
    The setup program detects a strong named assembly and installs it into GAC on the client machine.
    what is .net frame work?
    ________________________________________
    .Net framework is an environment provided on top of the OS which looks into
    1. Memory management
    2. Thread management
    and provides
    1. Language independence
    2. Platform independence
    It is defined by Microsoft as 'an environment for building, deploying and running web services and other applications. It consists of three main parts -- CLR, framework classes and ASP.Net'
    .Net facilitates integration of code written for desktop applications with code written for web applications. It also facilitates creation of assemblies from code files written in different .net languages. It provides a common type system (CTS) for bringing data types of all languages on a common platform.

    What do you mean by authentication and authorization
    ________________________________________
    Simple answer to this is as follows Authentication is process of finding whether the user is valid.Example username and password u enter in mail page.That process is authentication Authorization is the process of holding rights for particular task.Example: Usually admin have right to install software in companies and others are not granted this right.

    What is difference between Authentication and Authorization?
    ________________________________________
    Authentication-->Checking the validity.Ex:A creditcard validation by Verisign.It is called authenticating the CreditCard

    Authorization-->Giving some rights -Ex:I authorize mr.Rahul to sign some papers realted with my bank accounts

    You are logged on to a client. You do not have a secure connection from your client to the host
    where your Oracle database is running. Which authentication mechanism allows you to connect to the database
    using the SYSDBA privilege?
    A. Control file authentication
    B. Password file authentication
    C. Data dictionary authentication
    D. Operating system authentication

    Answer: B
    What is the default authentication mode for IIS
    Ans:
    A) Windows
    Explain Assemblies?,Difference between Panel and GroupBox?,Differences between ASP and ASP.NET
    Assemblies are single deployable unit which consist of classes structures and interface.they consist of metadata which desrcibes assembly version ,name ,type etc. They are known as logical DLL's .
    panel are scrollable and in panels captions can not be displayed.
    it is vice versa incase of group box

    Asp is not compiled that is interperated where as ASP.net is compiled.

    ASSEMBLIES

    Assemblies are the building blocks of .NET Framework applications; they form the fundamental unit of deployment, version control, reuse, activation scoping, and security permissions. An assembly is a collection of types and resources that are built to work together and form a logical unit of functionality. An assembly provides the common language runtime with the information it needs to be aware of type implementations. To the runtime, a type does not exist outside the context of an assembly.

    Hi All,
    I found that there are numerous posts for Assemblies but none for giving out the difference between Panel and a Group Box. Although a Panel as well as the groupbox are almost the same there are minute differences.
    In group box you can enter text while you cant do that in Panel.
    In Panel you have got a built in support for scrollbars which is not available in case of group box.
    What is the difference between excute query and excute nonquery.?
    Execute Query is the method which is used to return the result of the command like select Query. That is Update Query. The Execute Non Query
    is used to return the Query os the statement like the update Delete Insert which returns No data
    What is the Subquery ?

    Sub query is a query whose return values are used in filtering conditions of the main query.

    What is the maximum number of cookies that can be allowed to a web site
    20


    Whats the use of @ Register directives ?
    @ Register
    Associates aliases with namespaces and class names for concise notation in custom server control syntax.
    <%@ Register tagprefix="tagprefix" Namespace="namespace" Assembly="assembly" %><%@ Register tagprefix="tagprefix" Tagname="tagname" Src="pathname" %>
    Attributes
    tagprefix
    An alias to associate with a namespace.
    tagname
    An alias to associate with a class.
    Namespace
    The namespace to associate with tagprefix.
    Src
    The location (relative or absolute) of the declarative User Control file to associate with the tagprefix:tagname pair.
    Assembly
    The assembly in which the namespace that you are associating with tagprefix resides.
    Note The assembly name does not include a file name extension.

    In DataGrid, is it possible to add rows one by one at runtime. That means after entering data in one row next row will be added.

    Yes, for this you have to use datatable and after inserting the first row in datatable u have to bind that datatable to the grid and next time , first u have to add the row in datatable and next bind it to datagrid. keep on doing.
    u have to maintain the datatable state

    Thanks & Regards,
    Danasegarane Arunachalam

    http://www.techreceipe.tk/

  • #259211
    Interview Questions
    ASP.NET

    1. Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process. inetinfo.exe is theMicrosoft IIS server 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 tothe actual worker process aspnet_wp.exe.
    2. What’s the difference between Response.Write() andResponse.Output.Write()? The latter one allows you to write formattedoutput.
    3. What methods are fired during the page load? Init() - when the pageis instantiated, Load() - when the page is loaded into server memory,PreRender() - the brief moment before the page is displayed to the user asHTML, Unload() - when page finishes loading.
    4. Where does the Web page belong in the .NET Framework class hierarchy?System.Web.UI.Page
    5. Where do you store the information about the user’s locale? System.Web.UI.Page.Culture
    6. What’s the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.aspx.cs"? CodeBehind is relevant to Visual Studio.NET only.
    7. What’s a bubbled event? When you have a complex control, like DataGrid, writing an event processing routine for each object (cell, button, row, etc.) is quite tedious. The controls can bubble up their eventhandlers, allowing the main DataGrid event handler to take care of its constituents.
    8. Suppose you want a certain ASP.NET function executed on MouseOver overa certain button. Where do you add an event handler? It’s the Attributesproperty, the Add function inside that property. So btnSubmit.Attributes.Add("onMouseOver","someClientCode();")
    9. What data type does the RangeValidator control support? Integer,String and Date.
    10. Explain the differences between Server-side and Client-side code? Server-side code runs on the server. Client-side code runs in the clients’ browser.
    11. What type of code (server or client) is found in a Code-Behind class? Server-side code.
    12. Should validation (did the user enter a real date) occur server-side or client-side? Why? Client-side. This reduces an additional request to the server to validate the users input.
    13. What does the "EnableViewState" property do? Why would I want it on or off? It enables the viewstate on the page. It allows the page to save the users input on a form.
    14. What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other? Server.Transfer is used to post a form to another page. Response.Redirect is used to redirect the user to another page or site.
    15. Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
    • A DataSet can represent an entire relational database in memory, complete with tables, relations, and views.
    • A DataSet is designed to work without any continuing connection to the original data source.
    • Data in a DataSet is bulk-loaded, rather than being loaded on demand.
    • There's no concept of cursor types in a DataSet.
    • DataSets have no current record pointer You can use For Each loops to move through the data.
    • You can store many edits in a DataSet, and write them to the original data source in a single operation.
    • Though the DataSet is universal, other objects in ADO.NET come in different versions for different data sources.
    16. Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines? This is where you can set the specific variables for the Application and Session objects.
    17. If I’m developing an application that must accommodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users? Maintain the login state security through a database.
    18. Can you explain what inheritance is and an example of when you might use it? When you want to inherit (use the functionality of) another class. Base Class Employee. A Manager class could be derived from the Employee base class.
    19. Whats an assembly? Assemblies are the building blocks of the .NET framework. Overview of assemblies from MSDN
    20. Describe the difference between inline and code behind. Inline code written along side the html in a page. Code-behind is code written in a separate file and referenced by the .aspx page.
    21. Explain what a diffgram is, and a good use for one? The DiffGram is one of the two XML formats that you can use to render DataSet object contents to XML. For reading database data to an XML file to be sent to a Web Service.
    22. Whats MSIL, and why should my developers need an appreciation of it if at all? MSIL is the Microsoft Intermediate Language. All .NET compatible languages will get converted to MSIL.
    23. Which method do you invoke on the DataAdapter control to load your generated dataset with data? The .Fill() method
    24. Can you edit data in the Repeater control? No, it just reads the information from its data source
    25. Which template must you provide, in order to display data in a Repeater control? ItemTemplate
    26. How can you provide an alternating color scheme in a Repeater control? Use the AlternatingItemTemplate
    27. What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control? You must set the DataSource property and call the DataBind method.
    28. What base class do all Web Forms inherit from? The Page class.
    29. Name two properties common in every validation control? ControlToValidate property and Text property.
    30. What tags do you need to add within the asp:datagrid tags to bind columns manually? Set AutoGenerateColumns Property to false on the datagrid tag
    31. What tag do you use to add a hyperlink column to the DataGrid? <asp:HyperLinkColumn>
    32. What is the transport protocol you use to call a Web service? SOAP is the preferred protocol.
    33. True or False: A Web service can only be written in .NET? False
    34. What does WSDL stand for? (Web Services Description Language)
    35. Where on the Internet would you look for Web services? (http://www.uddi.org)
    36. Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box? DataTextField property
    37. Which control would you use if you needed to make sure the values in two different controls matched? CompareValidator Control
    38. True or False: To test a Web service you must create a windows application or Web application to consume this service? False, the webservice comes with a test page and it provides HTTP-GET method to test.
    39. How many classes can a single .NET DLL contain? It can contain many classes.

    Thanks & Regards,
    Danasegarane Arunachalam

    http://www.techreceipe.tk/

  • #259305
    Here are some question n answers....
    1. What are HTML controls, Web controls, and server controls?
    HTML controls- represent common HTML elements and are available through the HTML tab of the Visual Studio .NET toolbox. You can drag these controls to a Web form and set their properties in the Properties window. An HTML control, such as Text Field or Label, is converted to its appropriate HTML equivalent, such as the <INPUT> and <DIV> element, respectively, in the source code of the ASPX file. All the HTML controls are automatically placed inside an HTML <FORM> element.

    HTML server controls are similar to HTML controls with the added feature of server-side availability. You can convert any HTML control to run as an HTML server control by adding a runat="server" attribute to its declaration. You can accomplish the same task visually by right-clicking an HTML control and selecting Run As Server Control from the shortcut menu.

    Web server controls provide a higher level of abstraction than HTML server controls because their object model matches closely with the .NET Framework rather than matching with the requirements of HTML syntax.

    The Web server controls have several advanced features, including

    Web server controls provide a rich object model that closely matches with the rest of the .NET Framework.

    Some Web server controls provide richer functionality, such as the Calendar control, AdRotator control, and so on, not available with HTML controls.

    Web server controls have advanced features such as automatic browser detection, automatic postback, and event bubbling.

    Web server controls are declared in code explicitly by prefixing the class name of the Web server control with the namespace asp and separating both with a colon (:), as well as including the runat="server" attribute in its definition. For example, a Label Web server control can be declared in code as <asp:Label runat="server"/>.

    Most Web server controls derive their functionality from the WebControl class of the System.Web.UI.WebControls namespace.
    2. Briefly explain how the server control validation controls work.
    User Input Validation
    ASP.NET provides a set of Web server controls called validation controls that provide sophisticated validation on both the client side and the server side depending on the validation settings and the browser's capabilities.

    ASP.NET ensures that validations are performed on the server side even if they were already performed on the client side. This ensures that validations are not bypassed if a malicious user circumvents client-side validation. If the client-side validation fails, the server-side validation is never performed.

    some validator controls are - Requiredfieldvalidator, RangeValidator, CompareValidator, RegularExpressionValidator, CustomValidator, ValidationSummary.you may want to mention about Page.Validate() Method and Page.IsValid Property.

    3. Briefly explain what user controls are and what server controls are and the differences between the two.
    A user control could simply be an extension of the functionality of an existing server control(s) (such as an image control that can be rotated or a calendar control that stores the date in a text box). Or, it could consist of several elements that work and interact together to get a job done (such as several controls grouped together that gather information about a user's previous work experience).

    An ASP.NET control (sometimes called a server control) is a server-side component that is shipped with .NET Framework. A server control is a compiled DLL file and cannot be edited. It can, however, be manipulated through its public properties at design-time or runtime. It is possible to build a custom server control (sometimes called a custom control or composite control).

    In contrast, a user control will consist of previously built server controls (called constituent controls when used within a user control). It has an interface that can be completely edited and changed. It can be manipulated at design-time and runtime via properties that you are responsible for creating. While there will be a multitude of controls for every possible function built by third-party vendors for ASP.NET, they will exist in the form of compiled server controls, as mentioned above. Custom server controls may be the .NET answer to ActiveX Web controls.
    4. Briefly describe the role of global.asax.
    The Global.asax file, also known as the ASP.NET application file, is an optional file that contains code for responding to application-level events raised by ASP.NET or by HttpModules. The Global.asax file resides in the root directory of an ASP.NET-based application. At run time, Global.asax is parsed and compiled into a dynamically generated .NET Framework class derived from the HttpApplication base class. The Global.asax file itself is configured so that any direct URL request for it is automatically rejected; external users cannot download or view the code written within it.

    global.asax is responsible for handling higher-level application events such as Application_Start, Application_End, Session_Start, Session_End
    5. What is CLR ? Differentiate between CLR & CTS.
    Common Language Runtime. The CLR is a set of standard resources responsible for execution of code developed using .NET language. .Net compiler generates intermediate language (IL) which is then compiled using JIT to m/c code. It provides access to common functionalities to all languages via Base Class Libraries. CLR is replacement to win32 APICross-language integration, especially cross-language inheritance. Automatic memory management (garbage collection), which manages object lifetime so that reference counting is unnecessary. Self-describing objects, which make using Interface Definition Language (IDL) unnecessary. The ability to compile once and run on any CPU and operating system that supports the runtime.
    Common Language Specification. This is a subset of the CTS which all .NET languages are expected to support. The idea is that any program which uses CLS-compliant types can interoperate with any .NET program written in any language. In theory this allows very tight interop between different .NET languages - for example allowing a C# class to inherit from a VB class.

    6. To which namespaces do Trace and Debug belong?
    Systems.Diagnostics

    7. To which namespaces does ColumnMapping belong?
    [System.Data namespace] [DataColumn class] ColumnMapping

    8. DIfferentiate between Friend and Protected Friend.
    The five access types are Public, Protected, Friend, Protected Friend, and Private.
    Entities declared with the Public modifier have Public access. There are no restrictions on the use of Public entities.
    Entities declared with the Protected modifier have Protected access. Protected access can only be specified on members of classes (both regular type members and nested classes) or on Overridable members of standard modules and structures (which must, by definition, be inherited from System.Object or System.ValueType). A Protected member is accessible to a derived class, provided that either the member is not an instance member, or the access takes place through an instance of the derived class. Protected access is not a superset of Friend access.
    Entities declared with the Friend modifier have Friend access. An entity with Friend access is accessible only within the program that contains the entity declaration.
    Entities declared with the Protected Friend modifiers have the union of Protected and Friend access.
    Entities declared with the Private modifier have Private access. A Private entity is accessible only within its declaration context, including any nested entities.

    9. What is an abstract class?
    Answer - Abstract class is a class that has no direct instances, but whose descendants may have direct instances. There are case i which it is useful to define classes for which the programmer never intends to instantiate any objects; because such classes normally are used as bae-classes in inheritance hierarchies, we call such classes abstract classes These classes cannot be used to instantiate objects; because abstract classes are incomplete. Derived classes called concrete classesmust define the missing pieces.

    Note : - Virtual method has an implementation & provide the derived class with the option of overriding it. Abstract method does not provide an implementation & forces the derived class to override the method.

    10. Differentiate between Dataset and Recordset.
    Answer - Similar to the DataSet, a Recordset could be disconnected from its data store and therefore act as an in-memory cache of data. Of course, it could also be used in a connected model depending on the cursor options that were set. Although the Recordset object stored multiple versions of each column for each of its rows, it was not by nature able to represent multiple tables without the use of the Data Shape Provider. The Recordset was not XML-based and could not be serialized to XML easily or flexibly. Finally, a Recordset was not independent of a data store because it tracked a Connection object and through its methods could send queries to the data source to populate, update, and refresh its data. To that end, the Recordset contained functionality found in the ADO.NET DataSet, data reader, and data adapter objects.


    Regards,
    Ashok Khanna

    Please rate this post, if it is useful for you.

    Thanks & Regards
    Ashok

  • #268948
    www.geekinterview.com/Interview-Questions/Microsoft/ASP-NET
    www.allinterview.com/Interview-Questions/ASP.NET.html
    www.technicalinterview.info/category/aspnet-interview-questions/

  • #296284
    Hi,

    Check out the following links:

    http://www.vyoms.com

    http://www.dotnetuncle.com

    http://www.geekinterview.com

    http://www.apfreshers.com

    http://www.dotnetquestion.com

    http://www.ittestpapers.com

    Hope this information is relevant to you

    Regards
    S.S.Bajoria


    Thanks & Regards


    Bunty

  • #301279
    Hi,

    Authentication:
    Authentication is a process of identifying a user based on their credentials(means user id and password).

    Authorization:
    Authorization is process of determining whether an authenticated user is allowed to access a specific resource or not.

    Regards
    S.S.Bajoria


    Thanks & Regards


    Bunty

  • #307256
    Hi,

    This is a community specially made for dot net interview question,so please join that and ask any query regarding this.



    http://www.dotnetspider.com/sites/37/-DotNetInterview-Question.aspx


    Regards
    S.S.Bajoria


    Thanks & Regards


    Bunty

  • #308991
    Hi,

    A cookie is used to store small piece of information on client machine.A cookie contains page-specific information that a web server sends to a client along with page output.Cookies are used for sending page specific information because HTTP is a stateless protocol and cannot indicate whether page request coming from the same or different client.You can use cookies to keep track of individual user who access a web page across HTTP connection.

    Cookies are saved on the client computer.Cookies can be either temporary or persistent.Temporary cookies also know as session cookies,exist in the memory space of browser.When the browser is closed,all the session cookies added to the browser are lost.A persistent cookie is saved as a text file in the file system of the client computer.

    Cookies enable you to store information about a client,session,or application.When a browser request a page,it sends the information in the cookie along with the request information.A web server reads the cookie and extracts its value.

    Regards
    S.S.Bajoria


    Thanks & Regards


    Bunty

  • #309034
    Cookies provide a means for a Web server to induce a client to store information about itself which can subsequently be called up by the Web server when required. This might be information which the user has supplied about themselves, their preferences or their requirements via forms input. The oft-cited example is the shopping list which might be added to from time to time. Cookies are currently implemented by Netscape and Internet Explorer.



    Cookies are Small files that automatically downloaded from a Web server to the computer of someone browsing a Web site. Information stored in cookies can then be accessed any time that computer returns to the site. Cookies also allow Web sites to "personalize" their appearance by identifying visitors, storing passwords, tracking preferences, and other possibilities.


    We can also say that cookies are the Electronic ID tags sent from a Web server to a user's browser to track and record their Web-surfing patterns, i.e., ads clicked on, products purchased, sites visited and the user's origin. This can enable the site to provide more personalized information to be served upon a return visit to the site.


    ==

    Thanks and Regards
    Meetu Choudhary

    Thanks and Regards
    Miss Meetu Choudhary (Site Coordinator)
    Go Green Save Green


  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.