ASP.NET Web Development Tutorials

ASP.NET Web Development Tutorials and Articles
  Title / Author Replies
Strings are integral to most app dev projects, so it is imperative that they don't impair performance. The .NET StringBuilder class streamlines string values processing. It's hard to find an application that doesn’t deal with text in some way. As a result, developers are faced with a variety of...
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...
What Is A Cookie A cookie is a small text file sent to a web user's computer by a website. A cookie can be used to identify that user to the website on their next visit. Common uses include remembering login data, user preferences, and providing favorites lists. How Does A Cookie Work ...
Introduction Quite Often, We may wish to inform the user of a successful or an unsuccessful operation in a web form application. An effective way to communicate an important message to the user is through the use a MessageBox or a JavaScript "alert". The MessageBox class in the...
The most glaring difference between Web and stand-alone applications is the disconnected nature of the Web. That is, a Web application isn't constantly connected (to a database server, application server, etc.), and a stand-alone application is. The constant server calls by the Web application can...
Master Pages in ASP.NET are files that have .master extensions. ASP.NET master pages allow us to create a consistent layout and look & feel for all the pages or a group of pages in web application. A page which uses a master page is known as the content page. We can then create individual content...
Background This article continues my previous one, to add watermark in PDF files, now we will go ahead and look how to add password in PDF File. Please check Add WaterMark In PDF Files. The code Imports System Imports System.IO Imports iTextSharp.text
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....
Introduction At present many are using the Production URL with the same cuid (User id). There is no log maintained about the login of the user. Even when some user logs in to the system and does some changes in the contents either intentionally or accidentally, it is difficult to track it. ...
Introduction Actually when any project is on production and when any error comes than that error is captured in log file. Very easy for programmer as well as client to know about the type of error. Background This is an ASP.NET file which is used to log the errors and warning in a file. ...
Introduction Intersystem Cache's $piece functionality is replicated in C#.NET Background $piece in Cache Objectscript returns a specific piece of a string based on a specified delimiter. It can also return a range of pieces, as well as multiple pieces from a single string, based on...
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
Introduction Usually in Projects we need some images which are in icon format. Generally we get images in .JPG OR .BMP format. This code snippet when compiled and executed on .Net machine will convert the JP OR BMP file in to .ico format. The code Code: .NET using System; using...
Introduction Accessing the Mobile DB (SQL CE/ SQL Mobile) from desktop application. Synchronization of Desktop/Server DB and SQL Mobile Background Following code snippets show how to access SQL CE of a PPC 2003 or Windows Mobile DB from Desktop Application when device is craddled and...
Introduction Zipping Files and folder without using 3rd party tools Background Just add reference to the solution for vjslib available with C# .NET The code
Introduction Many times we need to check or validations for numeric/string/Alphanumeric values. Background It provides some methods in C# .Net, which can be resue in your web or windows application. The code
Introduction Changing values in databse when a property changes is cumbersome to make it easier we can use propertchanged Event as in the solution. Background A script is generated for every property changed when the user wishes to update (Save button clicked) we can run this script. ...
Introduction The functioned mentioned manipulates the already added bar graph(Chart object) using VB.NET(front end). One can change the value of the bar graphs, the properties of the chart at runtime. Some of the properties are accessed in the function. Validation can also been...
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 ...
Service Contract describes the operations implemented by the service. The contract maps the class methods of the .NET type to WSDL services, port types, and operations. The message format is referred and describes how the messages are exchanged. They are later described as data contract and message...