• Difference Between NTLM and Kerberos?

    Windows New Technology LAN Manager (NTLM) and Kerberos is a suite of security protocols offered by Microsoft to authenticate users identity and protect the integrity and confidentiality of their activity. NTLM is still supported by Microsoft, it has been replaced by Kerberos as the default authentication protocol in Windows 2000 and subsequent Active Directory (AD)…


  • URL rewriting in asp.net

    what is URL rewriting ? URL rewriting is the process of intercepting an incoming Web request and redirecting the request to a different resource. When performing URL rewriting, typically the URL being requested is checked and, based on its value, the request is redirected to a different URL. http://msdn.microsoft.com/en-us/library/ms972974.aspx  why URL rewriting? 1) Make User…


  • Crystal report with multiple sub report navigation problem in asp.net

    Here I am explain the crystal report problem during the development. I want to create Main report which having three sub reports. I create that report and call that report using asp.net but I have phase navigation problem. Problem : When Clicking the “Next” navigation button while on page 1 of Report Page 2 is…


  • PDF Viewer in asp.net

    Here I am explaining how to create PDF Viewer in asp.net. Steps: 1) create Class Library Project Here I am give name OnlinePdfViewer. Here I am using c#.net. Write below code in to file. using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace OnlinePdfViewer { public class DisplayPdf :…


  • Calling Web service from Flex – Part 1

    Here I am Explain how to use Web Services in Flex Application. Steps: 1) First we create web service in Asp.net with C#. create new Web method in Web service is GetName. [WebMethod] public string GetName(string UserName) { return "WelCome " + UserName; } My web service name is WebServices. using System; using System.Web; using…


  • Convert Generic List In To DataTable

    Create simple asp.net application with C#. Add new class (GenericToDataTable). using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Collections.Generic; using System.ComponentModel; using System.Reflection; public class GenericToDataTable { /// <summary> /// Default Constructor /// </summary> private GenericToDataTable() { } /// <summary> /// /// </summary> ///…


  • Encrypt Sections Of Web.Config File in ASP.NET 2.0

    1) why the need of Encryption in Web.Config File? We know that Web.Config file hold sensitive information like (Database server name , user name,password ect). In any database related application the database is more important.  if you do not protect database related information from malicious user or hacker sometime it create a danger situation for…


  • Transfer Session Variable From ASP To ASP.Net 2.0

    you can transfer you asp session to asp.net session. here i give small demo for that. steps: 1) create asp page (mypage.asp) 1: 2: <%@LANGUAGE=”Vbscript” CODEPAGE=”1252″%> 3: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> 4: <html xmlns=”http://www.w3.org/1999/xhtml”> 5: <head> 6: <meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ /> 7: <title>Untitled Document</title> 8: </head> 9: <form name=’form1′ action=’login.asp’…


  • Embedding Resources in ASP.Net 2.0

    embed resources let’s start with the very basic if i tell you create the customize control (inherit the Textbox and create new Textbox MyTextBox) . in other word you  can create customize textbox with three condition 1) Upper Case : when user selected Upper Case all enter input converted into Upper Character. 2) Lower Case : when user selected…