Posts Tagged ‘ASP.NET’

When developing a Silverlight application one of the main challenge we would face is to change the url/endpoint address of the WCF service. I just wanted to share how I have solved this problem in one of my project. First, besides thesolution is able to change the url/endpoint dynamically, it’s also able (or actually required) [...]

Populating the ListBox We want to load all the customers into the listbox lstCustomers, for which we are using the Loaded event of the ListBox. Note that all service calls in Silverlight need to be asynchronous, so we will register a callback function where we will bind the incoming data to the ListBox. Notice how [...]

Creating the UI A Silverlight page/control consists of a layout XAML file and a code-behind xaml.cs file. Typically, similar to an ASP.NET page, the XAML file contains the layout definition (like a *.aspx file where we define our UI), while the xaml.cs file contains the logic and event handlers (like our aspx.cs file). Adding the [...]

Generating LINQ Classes To start generating LINQ data classes, we need to add a new LINQ Data Classes object in our ASP.NET application. Now, using the Server Explorer, create a new data connection to the your database (either using SQLExpress, or SQL Server if you have it), and then drag the tables Customer, Orders, and [...]

Hi friends, Its been a long time I am thinking of posting a blog on Silverlight applications. As I am new to this technology I cant’ assure that the methodologies and procedures I have used are hundred percent reliable and error free. But I believe that the code snippets and ideas I am sharing will [...]

Caching Caching is a technique where we can store frequently used data and Web pages are stored temporarily on local hard disks for later retrieval. This technique improves the access time when multiple users access a Web site simultaneously or a single user accesses a Web site multiple times. Caching for Web applications can occur [...]

Cookies A cookie is a small file which is stored in the visitor’s hard disk drive. This is helpful for storing small and trivial information. A cookie can have a maximum size of 4KB. The web server creates a cookie, attaches an additional HTTP header to the response, and sends it to the browser. The [...]

Web Services

Posted: October 23, 2009 in ASP.NET
Tags: ,

Hi friends, When I was searching for some basic ideas of web applications, I just came through an interesting topic, Webservices! Believe me it’s a really interesting and of course an important concept. Hope you will find this concept more interesting than me! What are Webservices and how does it work? Webservices are services exposed [...]

QueryString This is the most simple and efficient way of maintaining information across requests. The information you want to maintain will be sent along with the URL. A typical URL with a query string looks like www.somewebsite.com/search.aspx?query=india The URL part which comes after the ? symbol is called a QueryString. QueryString has two parts, a [...]

HTTP Protocol and the Need for State Management Techniques Hi friends, in this blog I would like to tell something about state management techniques used in ASP.NET which are very important in building web applications. The whole topic is very lengthy, so the contents are divided into different parts for easy reading. Hope everyone will [...]