CS603 Microsoft.NET April 8, 2002. What is.NET? Language for distributed computation –C#, VB.NET, JScript Protocols –SOAP, HTTP Run-time environment –Common.

Slides:



Advertisements
Similar presentations
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
Advertisements

General introduction to Web services and an implementation example
Web Services Web Services are the basic fundamental building blocks of invoking features that can be accessed by an application program. The accessibility.
Building and Using Web Services with ASP.NET Rob Howard Program Manager.NET Framework Team Microsoft Corp.
G O B E Y O N D C O N V E N T I O N WORF: Developing DB2 UDB based Web Services on a Websphere Application Server Kris Van Thillo, ABIS Training & Consulting.
XML Web Services in Visual Studio ®.NET NameTitleCompany.
Presentation 7 part 2: SOAP & WSDL. Ingeniørhøjskolen i Århus Slide 2 Outline Building blocks in Web Services SOA SOAP WSDL (UDDI)
6/11/2015Page 1 Web Services-based Distributed System B. Ramamurthy.
Introduction to ASP.NET, Second Edition2 Chapter Objectives.
XML Web Services ASP.NET. Overview of Web Services (Page 1) Web Service – Part or all of a Web application that is publicly exposed so that other applications.
Module 1: Overview of the Microsoft.NET Framework.
J2EE vs..NET Nigam Patel. Topics Background –Web Services, J2EE and.NET Similarities Differences Conclusion –Pros and Con (J2EE and.NET)
Chapter 12 Extending Web Applications. ASP.NET 2.0, Third Edition2.
Web Services CS Web Services Internet-available services using XML messaging, for computer-computer interaction Not tied to any OS or language Self-describing:
INTRODUCTION TO WEB SERVICES CS 795. What is a Web Service ? Web service is a means by which computers talk to each other over the web using HTTP and.
DotNET A Developer’s Perspective Mike Litzkow University of Wisconsin - MadisonOne.
Intro to dot Net Dr. John Abraham UTPA – Fall 09 CSCI 3327.
IT533 Lectures Configuring, Deploying, Tracing and Error Handling.
A Roadmap to.NET Ajdan Jumerefendi COMPSCI 109 September 19, 2003.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
A Free sample background from © 2001 By Default!Slide 1.NET Overview BY: Pinkesh Desai.
Atlanta Mercury Users Group How to Performance Test.NET and.NET Web Services February 18, 2003 Caleb Billingsley Orasi Software.
February 24 th -25 th 2004 Daragh Byrne – EPCC Additional.NET Concepts.
XML Web Services in Visual Studio.NET Peter Ty Developer Evangelist.NET and Developer Group.
VS.NET Syllabus By Peter Huang.
ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the.
Meir Botner David Ben-David. Project Goal Build a messenger that allows a customer to communicate with a service provider for a fee.
Introduction to .NET Rui Ye.
ASP.NET  ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required.
CIS 375—Web App Dev II Microsoft’s.NET. 2 Introduction to.NET Steve Ballmer (January 2000): Steve Ballmer "Delivering an Internet-based platform of Next.
Lecture 10 12/3/12 1. $_SERVER Server and execution environment information An array containing information such as headers, paths, and script locations.
Distributed Communication via ASP.Net Web Services and.Net Remoting By Richard King.
CS795/895: Introduction. Topics Distributed Systems –Availability –Performance –Web Services Security –Authentication –Authorization –Confidentiality.
.Net and Web Services Security CS795. Web Services A web application Does not have a user interface (as a traditional web application); instead, it exposes.
1.NET Web Forms Web Services © 2002 by Jerry Post.
Current Trends in Network- Based Application Developments Bill Chu Department of Software and Information Systems UNC Charlotte.
Web Services BOF This is a proposed new working group coming out of the Grid Computing Environments Research Group, as an outgrowth of their investigations.
Web Services. ASP.NET Web Services  Goals of ASP.NET Web services:  To enable cross-platform, cross- business computing  Great for “service” based.
Building Applications using ASP.NET and C# / Session 15 / 1 of 17 Sessio n 15.
Introduction to Web Services Instructor: Dr. M. Anwar Hossain.
Intro to dot Net Dr. John Abraham UTPA CSCI 3327.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
ASP.NET Web Services.  A unit of managed code installed under IIS that can be remotely invoked using HTTP.
An Introduction to Web Services Web Services using Java / Session 1 / 2 of 21 Objectives Discuss distributed computing Explain web services and their.
Week Six : Writing Web Services Aims: Creating and Consuming student’s first Web Services Learning Outcomes: Familiarity with VS.NET for creating and consuming.
C# 1 Web services CSC 298. C# 2 Web services  A technology to make libraries available across the internet.  In Visual Studio,  can create a web service.
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
.NET Mobile Application Development XML Web Services.
Introduction to.NET Building.NET Applications Mike Taulty Developer & Platform Group Microsoft Ltd
Introduction to Web Services Srinath Vasireddy Support Professional Developer Support Microsoft Corporation.
Intro to ASP.NET CS-422 Dick Steflik. What is.NET As applications in the Enterprise become more and more netcentric and less and less standalone.NET is.
6.2 XML Web Services Vinod Unny Enterprise InfoTech Microsoft Regional Director, North India.
Integration with XML Web Services
Jim Fawcett CSE681 – SW Modeling & Analysis Spring 2005
WEB SERVICES.
Unit – 5 JAVA Web Services
ASP.NET Web Forms and Web Services
Security mechanisms and vulnerabilities in .NET
Smart Client Deployment With Microsoft® Windows® Forms
INTRODUCTION TO WEB SERVICES CS 795. What is a Web Service ? Web service is a means by which computers talk to each other over the web using HTTP and.
Chapter 23 – ASP.NET Outline 23.1 Introduction NET Overview
Chapter 9 Web Services: JAX-RPC, WSDL, XML Schema, and SOAP
Web services, WSDL, SOAP and UDDI
ASP.NET Module Subtitle.
Introduction to Web Services
Distributed System using Web Services
Distributed System using Web Services
Presentation transcript:

CS603 Microsoft.NET April 8, 2002

What is.NET? Language for distributed computation –C#, VB.NET, JScript Protocols –SOAP, HTTP Run-time environment –Common Language Runtime (CLR) –ActiveDirectory –Web Servers (ASP.NET)

COM/DCOM .NET DCOM IDL Name, Monikers Registry / ActiveDirectory C++, Visual Basic DCE RPC DCOM Network protocol (based on DCE standards).NET Web Services Description Language (WSDL) DISCO (URI grammar) Universal Description Discovery and Integration (UDDI) C#, VB.NET SOAP HTTP (presumed ubiquitous), SMTP (!?)

How.NET works Query UDDI directory to get service location Query service to get WSDL (interface specification) Build call (XML) based on WSDL spec. Make call using SOAP Parse XML results based on WSDL spec.

Programming framework: ASP.NET Integrated environment –Web server: application deployment –Compiler: Just-in-time compilation –Development tools Implements Common Language Runtime –Base class library Looks like a web server –“Programs” stored/executed anywhere in hierarchy

Building.NET services ASP.NET –Manages compilation, run-time system, registration, etc. Hello.asmx using System; using System.Web.Services; public class Hello : WebService { [WebMethod] public String SayHello(String from) { Return "Hello, “ + from; } } Place in desired location of ASP.NET directory structure –Gives URL to execute

Alternative: Forms-based Development File test.aspx Name: Category: psychology business "> Welcome to ASP.NET

Configuration / Settings Configuration parameters: –Security –Language –Compilation options –Session vs. sessionless –Caching –Etc. Written as XML in file web.config –Applies recursively to programs in directory containing web.config

Type System Primitive types Enum, Arrays, Structs Classes (public fields/properties) DataSet –Tables –Schema XmlNode (XML fragment)

DataSets using System; using System.Data; using System.Data.SqlClient; using System.Web.Services; public class DataService { [WebMethod] public DataSet GetTitleAuthors() { SqlConnection myConnection = new SqlConnection("server=(local)\\NetSDK;database=pubs;Trusted_Connection=yes"); SqlDataAdapter myCommand1 = new SqlDataAdapter ("select * from Authors", myConnection); SqlDataAdapter myCommand2 = new SqlDataAdapter("select * from Titles", myConnection); DataSet ds = new DataSet(); myCommand1.Fill(ds, "Authors"); myCommand2.Fill(ds, "Titles"); return ds;}

Sessions Session: language-level access to cookies [ WebMethod(EnableSession=true) ] public String UpdateHitCounter() { return “Your access number " + ++Session["HitCounter"]; } Application: Stored state of server [ WebMethod ] public String UpdateHitCounter() { return “Total access number " + ++Application["HitCounter"]; }

Security Authentication –Windows –Passport –Forms-based authentication (cookie-based, login page) Access Control –Access Control List on file –Check against URL Configured using application configuration file: Can run either as self or impersonate caller

Tools “Visual” language environments: –VB.NET –C# Tracing –Page-level: Debug statements written to special section of output web page –Application-level: Debugging: Enable in configuration – –Breakpoint/stepping debugger run when service called

Announcements Monday, April 8, 3:30, CS 101 –David Holmes –Threads, concurrency and synchronization in Java Monday, April 15, 3:30, CS 101 –Philip McKinley –RAPIDware: Framework for adaptability in the face of error in distributed systems