asp.net

How to build basic web service with ASP.NET in C# – step 1

Each web service begins as a stateless class with one or more methods that the remote clients call to invoke your code.

BookService is designed to allow remote clients to retrieve information about books provided by the store. The class provides GetBooks() method that returns a DataSet with the full set of books information. It …

Learn more

The Web service life cycle in ASP.NET

The next picture summarizes the web service life cycle. You can find more detail about different kind of specifications used by technology:

1. Design-time tasks:

– The web service consumer finds the web service, either by going directly to the web service URL or by using UDDI server or DISCO file.

Learn more

The Web service stack in ASP.NET

Web services are based on open standard and major vendors such as Microsoft, IBM, and Oracle are behind these standards. The next picture shows the web service stack as it exists today:

 

The web service technology stack

The next table summarizes standards used in the stack:

Standard

Description

UDDI

Used to create business registries …

Learn more

What are the pros and cons of Web services in ASP.NET

With web services, you can reuse someone else’s business logic by using just a few lines of code. This technique is similar to what software engineers currently do with libraries of APIs, classes and components. The fundamental difference is that web services can be located remotely on another server and managed by another company.

Web services have …

Learn more

How to investigate the ASP.NET page life cycle in VB.NET

Two articles How postback events work in ASP.NET and How to handle web control events with AutoPostBack in ASP.NET provide important information about how web control events work in ASP.NET world, but you need to have a strong understating of the page life cycle too.  For example when a user changes a control that has the …

Learn more

How to investigate the ASP.NET page life cycle in C#

Two articles How postback events work in ASP.NET and How to handle web control events with AutoPostBack in ASP.NET provide important information about how web control events work in ASP.NET world, but you need to have a strong understating of the page life cycle too.  For example when a user changes a control that has the …

Learn more

How postback events work in ASP.NET

When you create a web page, in ASP.NET world, that includes one or more web controls that are configured to use AutoPostBack, ASP.NET adds a special JavaScript function to the rendered HTML page. This function is named _doPostBack() and when it is called, it triggers a postback sending data back to the web server.

ASP.NET …

Learn more

How to handle web control events with AutoPostBack in ASP.NET

You can see on the next picture how ASP.NET server controls work. The code in an ASP.NET page is processed on the server and then it is send to the user as ordinary HTML.

 

The page processing sequence

The most important question in this approach is, how can you create server code that will …

Learn more