1. Lời giới thiệu Việc phát triển các XML Web services và Server Componets với C# và Visual Studio. NET cung cấp cho các lập trình viên cao cấp về C# các kỹ năng để xây dựng, kiểm tra và triển khai một cách thành công các XML Web services và Server components với ngôn ngữ C# và Visual Studio.NET . 2. Đối tượng Khóa học này rất phù hợp cho các học viên - những người đang thiết kế và phát triển các ứng dụng phân phối phức hợp với EJB. 3. Yêu cầu trước khi tham gia khoá học Để hoàn thành tốt khoá học, học viên cần phải: - Có kinh nghiệm trong việc xây dựng các ứng dụng ASP.NET với C# và Visual Studio.NET
- Có kinh nghiệm trong việc xây dựng các ứng dụng Windows với C# và ASP.NET
4. Các kỹ năng thu được Sau khi hoàn thành khoá học, học viên có thể: - Phát triển các ứng dụng XML hướng dữ liệu, các Web services và các Windows services bằng ngôn ngữ C# và Visual Studio.NET, IDE
- Tạo và xây dựng các server components với C#, giao diện các ứng dụng bằng C# như thế nào với các thành phần kế thừa.
- Cung cấp cho các học viên các kỹ năng về triển khai và bảo mật để các dịch vụ và các thành phần đã xây dựng được triển khai một cách thành công và vận hành an toàn
5. Thời lượng: 30 giờ
Nội dung khóa học Review: Creating and Manipulating DataSets - Manipulating a DataSet Schema
- Manipulating DataSet Relationships
- Creating and Using Strongly Typed DataSets
- Using the Component Designer to Create a Strongly Typed DataSet
- Accessing and Manipulating SQL Server Data
- Using Ad Hoc Queries
- Using Stored Procedures
Accessing and Manipulating XML Data - Understanding the DOM
- Using an XMLReader Object
- The XmlNode Class
- The XmlDocument Class
- Synchronizing DataSet Objects with XML
- The XmlDataDocument Class
- Synchronizing a DataSet Object with an XmlDataDocument Object
- Starting with an XmlDataDocument Object
- Starting with a Full DataSet Object
- Starting with an XML Schema
- The XPath Language
- Using the XPathNavigator Class
- Selecting Nodes with XPath
- Navigating Nodes with XPath
- Generating and Using XSD Schemas
- Generating an XSD Schema
- Using an XSD Schema
- Validating Against XSD
- Validating Against a DTD
- Using XML with SQL Server
- Generating XML with SQL Statements
- Understanding the FOR XML Clause
- Using ExecuteXmlReader
- Updating SQL Data by Using XML
- Installing SQLXML
- Using Diffgrams
.NET Remoting - Process Boundary
- Application Domain Boundary
- Evolution of Distributed Applications
- Developing Distributed Applications using the .NET Framework
- .NET Remoting Architecture
- Object Marshalling
- Channels
- Formatters
- Remote Object Activation
- Server-Activated Objects
- Client-Activated Objects
- Comparing the Object Activation Techniques
- Creating a Remotable Class
- Creating a Server-Activated Object
- Creating a Client-Activated Object
- Using Interface Assemblies to Compile Remoting Clients
- Using IIS as an Activation Agent
- Asynchronous Remoting
Basic Web Services - Understanding Web Services
- SOAP
- Disco and UDDI
- WSDL
- Invoking Your First Web Service
- Creating a Web Service Project
- Testing the Web Service Project
- Customizing the WebMethod Attribute
- Disco and UDDI
- Using the Web Services Discovery Tool (disco.exe)
- Instantiating and Invoking Web Services
- Creating Proxy Classes With the Web Services Description Language Tool (wsdl.exe)
- Using Web References
Advanced Web Services - Creating and Using SOAP Extensions
- The Extensible Web Services Architecture
- Writing a Server-side SOAP Extension
- Writing a Client-side SOAP Extension
- Creating Asynchronous Web Methods
- Using a Callback Delegate
- Using the WaitHandle Object
- Inside the Asynchronous Proxy Methods
- Controlling XML Wire Format
- Using Literal Parameter Formatting
- Using Encoded Parameter Formatting
- Using RPC-Style Body Formatting
- Wrapped and Bare Parameters
- Using the XmlElement Attribute
Windows Services - Understanding Windows Services
- Architecture of Windows Services
- Windows Service Database
- Service Control Manager (SCM)
- Windows Service Installer
- Windows Services in Execution
- Windows Service Controller Program
- The FCL Support for Windows Services
- Creating a Windows Service Application
- The System.ServiceProcess.ServiceBase Class
- Understanding how the SCM Interacts with a Windows Service
- Creating the OrderService Application
- Installing a Windows Service
- The ServiceProcessInstaller and the ServiceInstaller Classes
- Adding Installer Classes to a Windows Service Project
- Using installutil.exe to Install a Windows Service Application
- Starting and Testing a Windows Service
- Using Tools to Monitor and Control a Windows Service
- Using the Services MMC Snap-in
- Using Visual Studio .NET Server Explorer
- Using the NET Utility (net.exe)
- Using the Service Control Utility (sc.exe)
- Manipulating and Controlling a Windows Service Programmatically
- The ServiceController Class
- Creating a Service Controller Application
Component Services - Evolution of Component Services
- Component Object Model (COM)
- Microsoft Transaction Server (MTS)
- COM+ 1.0 and COM+ 1.5
- COM+ 2.0 (The .NET Framework)
- Exposing .NET Components to COM/COM+
- Calling a .NET Component from COM/COM+
- Exporting .NET Components as COM Type Libraries
- Architecture of Component Services
- Serviced Components
- Declarative Programming Model
- COM+ Applications
- COM+ Catalog
- Serviced Component Activation
- Creating and Consuming a Serviced Component
- Creating a Serviced Component
- Creating a Strongly Named Assembly
- Registering the Serviced Component into the COM+ Catalog
- Managing Components using the Component Services Administrative Tool
- Creating Interfaces that are Visible to COM/COM+
- Component Identification
- Installing the Component in the Global Assembly Cache
- Component Versioning
- Consuming a Serviced Component
- Understanding and Using Enterprise Services
- Configuring a Serviced Component to use Object Pooling
- How Object Pooling Works
- Creating an Object-pooled Serviced Component
- Using an Object-pooled Serviced Component
- Monitoring Statistics of a Serviced Component
- How Just-in-Time Activation Works
- Using Just-in-Time Activation with Object Pooling—A Recipe for High Throughput
- Design Considerations for Using Just-in-Time Activation and Object Pooling
- Creating a JIT-activated Object-pooled Serviced Component
- Using a JIT-activated Object-pooled Serviced Component
- Creating a Serviced Component that Uses Object Construction
- Configuring the Object Construction String
- Automatic Transaction Processing
- Manual versus Automatic Transactions
- Local versus Distributed Transactions
- Using Automatic Transaction Service for Local Transactions
- Elements of Transaction Processing
- How Automatic Transactions Work
- Using Automatic Transaction Service for Distributed Transactions
- How Queued Components Work
- Creating a Queued Component
- Creating a Client for a Queued Component
Calling Unmanaged Code - Understanding Runtime Callable Wrappers
- Building a COM DLL
- Registering a COM DLL
- Using Type Library Importer Tool (tlbimp.exe)
- Using COM Components Directly
Testing and Debugging - Creating a Test Plan
- Executing Tests
- Unit Testing
- Integration Testing
- Regression Testing
- Testing International Applications
- Using Trace and Debug to Display Information
- Trace Listeners
- Trace Switches
- Conditional Compilation
- ASP.NET Page Level Tracing
- ASP.NET Application Level Tracing
- Debugging
- Stepping through Program Execution
- Setting BreakPoints
- Analyzing Program State to Resolve Errors
- Debugging on Exceptions
- Debugging a Running Process
- Debugging a Remote Process
- Debugging the Code in DLL files
- Debugging a Windows Service
- Debugging a Serviced Component
- Debugging a .NET Remoting Object
- Debugging an XML Web Service
- Working with Event Logs
- Working with Performance Counters
Deployment - Deploying Private Assemblies
- Binding Policy for Privately Deployed Assemblies
- How the CLR Binds to a Privately Deployed Assembly
- Using the Assembly Binding Log Viewer Tool to Diagnose the Binding Process
- Using the .NET Framework Configuration Tool to Specify Additional Probing Location
- Deploying Shared Assemblies
- Assigning a Strong Name to an Assembly
- Adding an Assembly to the GAC
- Using Windows Installer to Add an Assembly to the GAC
- Using Windows Explorer to Add an Assembly to the GAC
- Using the .NET Framework Configuration Tool to Add an Assembly to the GAC
- Using the Global Assembly Cache Tool (gacutil.exe) to Add an Assembly to the GAC
- Referencing an Assembly from the GAC
- Binding Policy for Shared Assemblies
- How the CLR Binds to a Shared Assembly
- Side-by-Side Deployment of Shared Assemblies
- Side-by-Side Execution in a Version Upgrade Scenario
- Side-by-Side Execution in a Service Pack Update Scenario
- Delay Signing an Assembly
- Delay Signing Using the Assembly Linker Tool
- Packaging an Application for Deployment
- Packaging an Application for Deployment by Copying the Files
- Packaging an Application for Deployment Using Microsoft Windows Installer
- Using Visual Studio .NET to Create a Windows Installer Package
- Setup Project
- Web Setup Project
- Merge Module Project
- Cab Project
- Customizing Visual Studio .NET Setup and Deployment Projects
- Deploying a Web Service by Manually Copying the Files
- Deploying a Web Service by Using the Visual Studio .NET Copy Project Command
- Deploying a Web Service by Using a Windows Installer Package
- Publishing Web Services
- Creating Installation Components
- Understanding the Installer Class
- Pre-defined Installation Components
- Custom Installation Components
- Deploying an Assembly Containing the Installation Components
- Deploying a Windows Service
- Deploying a Serviced Component
- Deploying a Serviced Component Using a Visual Studio .NET Setup and Deployment Project
- Deploying a Serviced Component Using the Component Services Administrative Tool
- Deploying a .NET Remoting Object
Security Issues - Understanding Code Access Security
- Understanding Permissions
- Requesting Minimum Permissions
- Code Groups and Permission Sets
- Granting Permission
- Imperative Security
- Computing Permissions
- Requesting Other Types of Permissions
- Using Custom Security Attributes
- Configuring Authentication
- No Authentication
- IIS and ASP.NET Authentication
- Authentication Providers
- Configuring IIS Authentication
- Passport Authentication
- Forms Authentication
- Configuring Authorization
- Identity and Principal Objects
- Verifying Role Membership
- Using the PrincipalPermission Class
- Implementing Impersonation
- Using Role-based Authorization
- Security for Windows Service
- Security for Web Service
- Platform and Application Security
- Configuring Web Services for Security
- WS-Security
- Remoting Security
- Enterprise Services Security
Conclusion |