You are on page 1of 18

Microsoft ASP.

NET

Presented by

Joseph J. Sarna Jr. JJS Systems, LLC

Agenda

ASP versus ASP.NET Web Applications Web Services Accessing Web Services Summary

ASP versus ASP.NET


ASP
Scripting language not compiled Blend of HTML and script on one page Developer needs to code all server-side actions Debugging difficult

ASP.NET
Compiled code full language support Code behind page separate VB file Server-side controls handle most boiler-plate coding Debugging runs in the IDE ASP and ASP.NET can coexist on the same IIS Server

Agenda

ASP versus ASP.NET Web Applications Web Services Accessing Web Services Summary

Web Applications
The trend to Internet/Intranet based applications requires:
o

o o o

Need for a more robust programming model than ASP Need for browser compatibility Need for event-driven applications Database interaction

ASP.NET Namespaces - Web


System.Web Core types that enable browser communication Types that provide caching support Types that affect the configuration of the web application configuration file

System.Web.Caching

System.Web.Configuration

ASP.NET Namespaces Security and UI


System.Web.Security Types that support security for a web application

System.Web.UI Types that provide ability to build System.Web.UI.WebControls GUI interfaces for a web application Systems.Web.UI.HTMLControls

ASP.NET Namespaces Web Services


System.Web.Services Types that allow the building of Web Services System.Web.Services.Discovery System.Web.Services.Description System.Web.Services.Protocols

Create a Web Application

Agenda

ASP versus ASP.NET Web Applications Web Services Accessing Web Services Summary

Web Services

Managed code that can be invoked remotely over HTTP requests Replacement of DCOM Provides Black-box functionality to the consumer of the web service Can be called from a browser-based client, console client, or Windows-based client

Web Service Anatomy


Invocation protocol HTTP GET, HTTP POST, SOAP Description service XML schema used to descibe the web service (WSDL Web Services Description Language) Discovery service XML-based files that allow a client to discover the web services exposed (*.vsdisco)

Create a Web Service

Agenda

ASP versus ASP.NET Web Applications Web Services Accessing Web Services Summary

Access a Web Service via a Windows Application

Access a Web Service via a Web Application

Summary

ASP versus ASP.NET Web Applications Web Services Accessing Web Services Summary

New Hampshire Access/Visual Basic User Group

Meets 4th Wednesday of each month Meetings held at Southern New Hampshire University

Link to Information - http://www.jjssystems.net

You might also like