Category: ASP.NET

Active Server Pages ASP.NET

Feb 21

ASP.NET Interview Question

ASP.NET Interview Question and Answer Q1. What is ASP? Active Server Pages (ASP), also known as Classic ASP, is a Microsoft’s server-side technology, which helps in creating dynamic and user-friendly Web pages. It uses different scripting languages to create dynamic Web pages, which can be run on any type of browser. The Web pages are …

Continue reading

Permanent link to this article: http://zappmania.in/2013/02/21/asp-net-interview-question.htm

Feb 21

Time Based Redirection in ASP.NET Using Threading

Using below example page will automatically redirect after 5 sec  Design your aspx page like this. <%@ PageLanguage=”C#”AutoEventWireup=”true”CodeFile=”registration.aspx.cs”Inherits=”registration”%> <!DOCTYPE html PUBLIC”-//W3C//DTD XHTML 1.0 Transitional//EN””http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”> <head runat=”server”>     <title></title> </head> <body>     <form id=”form1″ runat=”server”>     <div>         Enter The Name :         <asp:TextBox ID=”TextBox1″ runat=”server”></asp:TextBox>         <br />         <br />         Enter The Rollno:<asp:TextBox ID=”TextBox2″runat=”server”></asp:TextBox>         <br />         <br />         <asp:Button ID=”Button1″ runat=”server” onclick=”Button1_Click” Text=”Submit” />     </div>     </form> </body> </html> Now open code behind file and add the following …

Continue reading

Permanent link to this article: http://zappmania.in/2013/02/21/time-based-redirection-in-asp-net-using-threading.htm

Feb 20

!! Detect a 404 error and call the 404-specific page in ASP.NET !!

‎!! Detect a 404 error and call the 404-specific page in ASP.NET  !! void Application_Error(object sender, EventArgs e) { Exception ex = Server.GetLastError(); if (ex is HttpException) { if (((HttpException)(ex)).GetHttpCode() == 404) Server.Transfer(“~/Error404.aspx”); } // Code that runs when an unhandled error occurs Server.Transfer(“~/DefaultError.aspx”); }

Permanent link to this article: http://zappmania.in/2013/02/20/detect-a-404-error-and-call-the-404-specific-page-in-asp-net.htm

Nov 21

What is DISCO?

Abbreviation of DISCO is Discovery.It is basically used to club or group common services together on a server and provide links to the schema documents of the services it describes may require. DISCO is the discovery file which gives path to the Webservices. It contains WSDL(Web Service Description Language) When one searches for the Web Services, it …

Continue reading

Permanent link to this article: http://zappmania.in/2012/11/21/what-is-disco.htm

Nov 21

What is UDDI?

UDDI is a platform-independent framework for describing services, discovering businesses, and integrating business services by using the Internet. UDDI stands for Universal Description, Discovery and Integration UDDI is a directory for storing information about web services UDDI is a directory of web service interfaces described by WSDL UDDI communicates via SOAP UDDI is built into …

Continue reading

Permanent link to this article: http://zappmania.in/2012/11/21/what-is-uddi.htm