ASP.NET Web Development Tutorials

ASP.NET Web Development Tutorials and Articles
  Title Reverse Sort Order / Author Replies
In traditional web applications, the client and server interact with each other synchronously. The web applications are processed one after another. When the client requests for a page for the first time, the server sends the page containing HTML and CSS code at once. The client enters updates on...
Developers use various web server controls to enable users to interact with the web pages. Sometimes there is a functionality for which there is no built in control. For example, if the user has created a customized page with some labels, textboxes, and one button to enable the user to log on the...
The complexity of web sites has rapidly gone up from the past couple of years. Started as static web pages a decade ago, web pages today are data driven and data intensive monsters that require a lot of flexibility and processing power. If the same old methods have been used for writing today’s...
There are certain requirements when user needs to request for some confidential information from the server. The information can be any login credentials or user permissions. It is not a good programming technique to expose the critical data. The information is passed is appended in the message...
The user can bind values to the respective controls in ADO.NET. Depending on the type of binding offered, they are distinguished as follows: Simple Data Binding Complex Data Binding 1. Simple Data Binding The Simple Data Binding is the process of binding the control with the single value...
The attribute is used to define the data contract in a WCF service. It specifies which class should be presented as XSD. It contains a attribute that defines the class members to be included in the external representation. The DataContractSerializer is used to serialize the objects to XML through...
WCF has several tools and built in features for diagnosing the cause of issues. User does not need to enable the configuration files. The tracing facilities allows user to capture the events and logging to capture the exchanged message details. Tracing The core diagnostics capabilities of...
Introduction There was a need of a timer which could count down from a partcular time. Background Say for example we need to count 01:12:30 then just give the input to the timer as 01:12:30 it will start counting down and even in the negative range too. The code
This code has been used to encrypt and decrypt query string .No matter what the length of the url is ,this code will encrypt the key and the value the query string into 25 digit using System; using System.Collections.Generic; using System.Text; using System.Collections.Specialized; using...
This is an example of Server.Transfer and Context Handler. Through this we can get the multiple values of previous form. In this page we are displaying data from previous form. We can use this technique for multiple form registration form. Code (ContextParent.aspx.cs): - private void...
During the communication various errors like invalid data type, type conversion, or service not available can occur. The application terminates abruptly when such errors occur. User can avoid the errors and make the application execute smoothly by providing error handling code. This process is...
Introduction An error is an event; an exception is the object that the event creates. When the program flow is blocked by an error, then there should be a solution to overcome that which we could call as exception. These exceptions are classified as structured and unstructured exceptions. Error...
ASP.NET provides user with login controls in the Login tab of the toolbox of the Visual Studio application. The following controls are provided to the user. Login Control The LoginView Control The LoginStatus Control LoginName Control PasswordRecovery Control CreateUserWizard Control...
Sharepoint is used for multiple set of web technologies used in similar technical infrastructure. It provides users with intranet portals, document management, extranets, social networks, enterprise search, collaboration and many more. It consists of a set of web technologies that are used in...
An endpoint is formed by address, binding, and a contract known as ABC. The following figure shows the endpoint of the programming model. Address To access a WCF service, a client application needs to confirm the address of the service....
Introduction Exporting data from a data table to Excel or CSV is one of the most common functionality required in ASP.NET Web Application or .NET Window application. Users can download the data from the data grid into an Excel spreadsheet or CSV file for offline verification and/or computation....
Microsoft ASP.NET 3.5 and Visual Studio 2008 have given us a lot of new features in Web development and design. They include ASP.NET AJAX controls, new web controls, LINQ and improvement of Nested master page, CSS, JavaScript, addition of WPF,WCF and others which makes Web development easier and...
Uploading of File When we are talking about uploading of file, we mean to say upload file physically and save into a particular location in server. We can also upload file that means save file into database. Let us first examine how we can upload file physically in a particular location in...
There are two ways for displaying the filtered data to the user. The ways are as mentioned below: The Data Table Select Method: It is overloaded for accepting the argument to filter and sort data rows returned from the array object. The DataView object methods: The lists of argument which are...
There are different ways for hosting a service depending on the accessibility of the service. The ways are as mentioned below: Self hosting a WCF Service Hosting a WCF service in Windows services Hosting a WCF service in IIS Hosting a WCF service in WAS 1. Self hosting a WCF Service ...