Skip to main content

ASP.NET Multipal Question

  1. What is ASP.NET?

    ASP.NET is a programming framework built on the common language runtime that can be used on a server to build powerful Web applications

  2. Why does my ASP.NET file have multiple form tag with runat=server?

    This means that ASP.Net is not properly registered with IIS.
    .Net framework provides an Administration utility that manages the installation and uninstallation of multiple versions of ASP.NET on a single machine. You can find the file in C:\WINNT\Microsoft.NET\Framework\v**\aspnet_regiis.exe

  3. How to find out what version of ASP.NET I am using on my machine?

    Response.Write(System.Environment.Version.ToString() )

  4. Is it possible to pass a querystring from an .asp page to aspx page?

    Yes you can pass querystring from .asp to ASP.NET page .asp
    response.redirect "webform1.aspx?id=11

  5. What is a ViewState?

    View State Allows the state of objects to be Stored in Hidden Fields.In ASP .NET, when the form is submitted the form reappears in the browser with all form values.

  6. Where can I get the details on Migration of existing projects using various technologies to ASP.NET?

    Microsoft has designed Migration Assistants to help us convert existing pages and applications to ASP.NET. It does not make the conversion process completely automatic, but it will speed up project by automating some of the steps required for migration. Below are the Code Migration Assistants
    ASP to ASP.NET Migration Assistant
    PHP to ASP.NET Migration Assistant
    JSP to ASP.NET Migration Assistant

  7. What is the equivalent of date() and time() in ASP.NET?

    System.DateTime.Now.ToShortDateString()
    System.DateTime.Now.ToShortTimeString()

  8. How to prevent a button from validating it's form?

    Set the CauseValidation property of the button control to False

  9. How to catch the 404 error in my web application and provide more useful information?

    In the global.asax Application_error Event write the following code.

  10. How can I change the action of a form through code?

    You can't change it. The action attribute is owned by ASP.NET. Handle Events and Transfer.

  11. 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.

  12. What is the transport protocol you use to call a Web service?

    SOAP (Simple Object Access Protocol) is the preferred protocol.

  13. What does WSDL stand for?

    Web Services Description Language

  14. 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.

Comments

Popular posts from this blog

Top Open Source Web-Based Project Management Software

This is an user contributed article. Project management software is not just for managing software based project. It can be used for variety of other tasks too. The web-based software must provide tools for planning, organizing and managing resources to achieve project goals and objectives. A web-based project management software can be accessed through an intranet or WAN / LAN using a web browser. You don't have to install any other software on the system. The software can be easy of use with access control features (multi-user). I use project management software for all of our projects (for e.g. building a new cluster farm) for issue / bug-tracking, calender, gantt charts, email notification and much more. Obviously I'm not the only user, the following open source software is used by some of the biggest research organizations and companies world wild. For example, NASA's Jet Propulsion Laboratory uses track software or open source project such as lighttpd / phpbb use re

My organization went through the approval process of supporting the .NET Framework 2.0 in production. Do we need to go through the same process all...

My organization went through the approval process of supporting the .NET Framework 2.0 in production. Do we need to go through the same process all over again for the .NET Framework 3.0? Do I need to do any application compatibility testing for my .NET Framework 2.0 applications? Because the .NET Framework 3.0 only adds new components to the .NET Framework 2.0 without changing any of the components released in the .NET Framework 2.0, the applications you've built on the .NET Framework 2.0 will not be affected. You don’t need to do any additional testing for your .NET Framework 2.0 applications when you install the .NET Framework 3.0.

Google products for your Nokia phone

Stay connected with Gmail, Search, Maps and other Google products. Check products are available for your Nokia phone Featured Free Products Search - Find the information you need quickly and easily Maps - Locate nearby businesses and get driving directions Gmail - Stay connected with Gmail on the go YouTube - Watch videos from anywhere Sync - Synchronize your contacts with Google