What are web services?

Web services are a core technology provided by the .NET Framework. By using web services, companies can more easily integrate internal applications, but they can also access services exposed by other businesses. By combining web services exposed on the Internet with internally built services, companies can create a wide variety of value-added applications. For example, a company could unify banking, electronic bill payment, stock trading, and insurance services into a single, seamless financial management portal. Another possibility is the integration of inventory control, fulfillment mechanisms and purchase-order tracking into a comprehensive supply chain management system. A good place to understand … Click here to continue reading.

What are delegates?

Delegates are basically function pointers. A delegate is a class that can hold a reference to a method. Unlike other classes, a delegate class has a signature, and it can hold references only to methods that match its signature. A delegate is thus equivalent to a type-safe function pointer or a callback. A Delegate is Passing a method as an Argument to a Existing method to create an Event eg: Public delegate btn_click(Object sender, clickevent e); public event btn_click BTNClick; Delegate is kinda like a pointer to a function in C++ or like an event handler in Java. You can … Click here to continue reading.

Difference between Server.Transfer and Response.Redirect?

Response.Redirect simply sends a message down to the browser, telling it to move to another page. So, you may run code like: Response.Redirect(“WebForm2.aspx”) or Response.Redirect(“http://www.mysite.com/”) Server.Transfer is similar in that it sends the user to another page with a statement such as: Server.Transfer(“WebForm2.aspx”). However, the statement has a number of distinct advantages and disadvantages. Firstly, transferring to another page using Server.Transfer conserves server resources. Instead of telling the browser to redirect, it simply changes the “focus” on the Web server and transfers the request. This means you don’t get quite as many HTTP requests coming through, which therefore eases the … Click here to continue reading.