ASP.NET Web Development Tutorials

ASP.NET Web Development Tutorials and Articles
  Title Reverse Sort Order / Author Replies
The REST services make use of the SOAP protocol for the client server technology. REST services are always stateless. The HTTP GET, POST, PUT and DELETE are used in the REST services. The GET is used to access the resources, POST is used to add resources, PUT is used to update resources, and DELETE...
Code Activity In Visual Studio application, when user adds the code activity, an event handler is associated with it. The ExecuteCode event is used for the purpose. User needs to write the code. The following code is an event handler for the ExecuteCode for displaying a message on screen. ...
The behaviors can be distinguished into three types Service Behaviors, Endpoint Behaviors, and Operation Behavior. The Service Behaviors are executed at the service level and provide access to the endpoints. They are useful in auditing, authorization, instancing and transactions. The Endpoint...
There are several bindings provided by the framework. We shall learn about these bindings in detail in this article. The following list consists of the bindings provided by the .NET Framework. basicHttpBinding: This binding is useful for the ASMX web services. wsHttpBinding: This binding is...
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...
The channels are used for transport, message interception and protocols. They are layered and a channel stack is created. The layered stack is used is a communication stack used for processing the messages. The channel stack is used for convert messages into a format which is compatible with the...
The CSOM consist of Managed code, ECMA script, and Silverlight. The developers can access from remote code applications. Silverlight applications execute a web page call back to the SharePoint and access data. The protocols used by CSOM are XML and JSON. They are documented making it a benefit for...
/// <summary> /// This method retrieve the string to encrypt from the Presentation Layer /// And return the Encrypted String /// </summary> /// <param name="str"> /// <returns> public string encryptPassword(string strText) { return Encrypt(strText, "&%#@?,:*"); }
The Control class is the parent class and all the controls are inherited from it. The ASP.NET file has .aspx extension. It is further divided into sections as code section,page directives, and page layout. Page directives The Page directives are known as commands. They are used by the...
Everything you need comes with the .NET Framework. When you say you are trying to connect to SQL Server, you need to know a bit more than how to create a connection, but also how to return data and display it. Firstly, there are actually many ways to do this in .NET - some in code, some through...
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...
ASP.NET membership is used to enable users to easily use different number of membership providers for the applications. User can use the membership providers that are included in the framework or by adding own providers. The element of membership is the sub element of the system.web section. ...
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...
User can bind the data with the controls of the forms. This process is known as data binding. There are two types of data binding in ASP.NET known as simple data binding and declarative data binding. Simple data binding In simple data binding, the control is bounded to a data set. The...
ASP.NET run time contains a key value map known as cache. The System.Web.UI.Page and HttpContext are used. The state of data caching is non deterministic. Caching in ASP.NET In ASP.NET, various ways to cache the data are provided by the user. They are as mentioned below: Data Caching:...