Asp.Net Multiple Questions
|
|
-
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
-
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
-
How to find out what version of ASP.NET I am using on my machine?
Response.Write(System.Environment.Version.ToString() )
-
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
-
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.
-
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
-
What is the equivalent of date() and time() in ASP.NET?
System.DateTime.Now.ToShortDateString()
System.DateTime.Now.ToShortTimeString()
-
How to prevent a button from validating it's form?
Set the CauseValidation property of the button control to False
-
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.
-
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.
-
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.
-
What is the transport protocol you use to call a Web service?
SOAP (Simple Object Access Protocol) is the preferred protocol.
-
What does WSDL stand for?
Web Services Description Language
-
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.
|
|