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 ASPASP.NET Scripting language – not compiled Compiled code – full language support Blend of HTML and script on one page Code behind page – separate VB file Developer needs to code all server-side actions Server-side controls handle most boiler-plate coding Debugging difficultDebugging 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 Need for a more robust programming model than ASP o Need for browser compatibility o Need for event-driven applications o Database interaction
ASP.NET Namespaces - Web System.WebCore types that enable browser communication System.Web.Caching Types that provide caching support System.Web.Configuration Types that affect the configuration of the web application configuration file
ASP.NET Namespaces – Security and UI System.Web.SecurityTypes that support security for a web application System.Web.UITypes that provide ability to build System.Web.UI.WebControlsGUI interfaces for a web application Systems.Web.UI.HTMLControls
ASP.NET Namespaces – Web Services System.Web.Services System.Web.Services.Discovery System.Web.Services.Description System.Web.Services.Protocols Types that allow the building of Web Services
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 4 th Wednesday of each month Meetings held at Southern New Hampshire University Link to Information -