Posts

Web Service with Asp.Net

Image
What is Web Service? Web Service is an application that is designed to interact directly with other applications over the internet. In simple sense, Web Services are means for interacting with objects over the Internet. The Web serivce consumers are able to invoke method calls on remote objects by using SOAP and HTTP over the Web. Web Service is language independent and Web Services communicate by using standard web protocols and data formats, such as HTTP XML SOAP ASP.NET Web Services: Web Services are simple and easy to understand . It is possible, in fact, to author a simple application that surfaces data as XML conforming to the SOAP specification. It would also be relatively straightforward to build an application capable of receiving SOAP messages over HTTP and deriving meaningful value out of it. For those of you familiar with PERL, this could simply be a matter of using RegEx to parse the value out of the XML result; it's just another string. ...

Multithreading in Asp.Net

Image
Introduction: A thread is defined as the execution path of a program. Each thread defines a unique flow of control. If your application involves complicated and time consuming operations such as database access or some intense I/O operations, then it is often helpful to set different execution paths or threads, with each thread performing a particular job. Thread: A thread is a basic unit to which the operating system allocates the processor time. It is an independent execution within the program . User can perform multiple tasks at a same time using threads in a program. A single threaded application can perform only one task at a time. User has to wait for task to complete before another task is started. Multithreaded process executes one or more task at one time. Thread Life Cycle: The life cycle of a thread starts when an object of the System.Threading. Thread class is created. The life cycle of the thread ends when the task is completed. There are various states...

Event Handling In Asp.Net

Image
Definition of Event Handling : Events in ASP.NET raised at the client machine, and handled at the server machine. For example, a user clicks a button displayed in the browser. A Click event is raised. The browser handles this client-side event by posting it to the server. The server has a subroutine describing what to do when the event is raised; it is called the event-handler. Therefore, when the event message is transmitted to the server, it checks whether the Click event has an associated event handler. If it has, the event handler is executed. Event Arguments: ASP.NET event handlers generally take two parameters and return void. The first parameter represents the object raising the event and the second parameter is event argument. Application and session states: Application state in ASP.NET is data storage available for all the classes in the application. The state has fast access over the information stored in the database. The state is applicable for all the...

Three Tier Architecture in Asp.Net:

Image
Introduction:       3 Tier Web Architecture is that unique system of developing web database application. The three tier Architecture is designed to provide a greater degree of flexibility for each web application.   Three Tier Architecture in Asp.Net:  A three way interaction in a Client and server environment. Three tier architecture means dividing our project into three layers that is, Presentation Layer Business Layer Data Layer Detailed Explanation of Three Tier Architecture - click here

MVC Framework Introduction

Introduction to MVC: MVC is a  Software Design Pattern for developing Web Application.MVC separates  the given application into three interconnected parts . ASP.Net MVC framework has been a real advantage for developers to build ASP.Net applications. The MVC pattern has been heralded by many developers as a useful pattern for the reuse of object code and a pattern that allows them to significantly reduce the time it takes to develop applications with user interfaces. The MVC pattern is widely used in program development with programming languages such as Java, Smalltalk, C, and C++. A MVC is made up of the following parts: 1.Model 2.View 3.Controller Components of MVC and Advantages & Disadvantages of MVC - Detailed  Explanation - Click Here Free PDF Download for Dot Net Training Topics - Click Here

State Management in ASP.Net:

Image
Introduction: In this article we willdiscuss about state management techniques in Asp.Net.Generally Browsers are always stateless .The browser communicate with the server using HTTP Protocol. As we all know HTML is a stateless language. Here, stateless means whenever we visit a website, our browser communicate with the respective server depends upon our request.It means that web server does not have any idea about the requests from where they coming .That means from same client or new clients. On each request web pages are created and destroyed. So every Web Application needs to maintain state in one way. To overcome this situation Asp.Net provides state management technique. Types of State management Technique:  Asp.net Technology provides two types of state management technique. Client side state management Server side state management Client Side State Management:               The webpage related information will direct...
Advanced Features of Dot Net framework What is Dot Net Framework? Dot Net framework is a software program for developing ,deploying and running an application. It is supports Web and Windows application .Dot Net provides tools and libraries that enable developers to create windows software much faster and easier. Dot Net environment makes the entire environment robust. Features of Dot Net Framework: A lot of features and enhancements have been introduced in Dot Net Framework.The most important of them include the following WCF improvements WWF improvements ADO.Net improvements WCF improvements: Windows Communication Foundation (WCF) is a framework for building service-oriented applications Although Asp.Net replaces Windows Communication application the later still remains important used frameworks for building service-oriented applications. WCF provides an abstraction layer over transports. This abstraction allows developers to focus on t...