文件名称:
源码 Dr.Bob’s Delphi Prism XE Development Essentials June 2011
开发工具:
文件大小: 379kb
下载次数: 0
上传时间: 2012-04-19
详细说明: 源码 8 References . 8 2. Language Features 9 Oxygene Compiler. 9 Delphi Prism Projects and Namespaces 9 Methods ... 11 Unnamed Constructors ............................................................. 12 IDE: Build and Debug ............................................................... 12 Strings.................................................................................... 13 For-Loops ................................................................................ 15 Prism Loop ......................................... ..................................... 16 Conditions ............................................................................... 17 Try except finally end ............................................................... 17 Exception Filters ...................................................................... 17 Variables ................................................................................. 18 Properties................................................................................ 18 .NET Specific Features ........................................................................ 19 Partial Classes ......................................................................... 19 Partial Methods ........................................................................ 21 Generics.................................................................................. 21 Generic Constraints .................................................................. 23 Generic Methods ...................................................................... 23 LINQ....................................................................................... 24 Sequences............................................................................... 25 Delphi Prism Specific Features ............................................................. 28 Async...................................................................................... 28 Futures ................................................................................... 28 Parallel.................................................................................... 29 Summary .......................................................................................... 29 References ........................................................................................ 30 3. Delphi Prism .NET Projects 31 WinForms.......................................................................................... 31 Toolbox and Design .................................................................. 34 Properties and Events ............................................................... 34 Windows Presentation Foundation ........................................................ 36 XAML ...................................................................................... 38 Silverlight................................................................................ 40 Mono ................................................................................................ 40 Summary .......................................................................................... 40 References ........................................................................................ 40 Delphi Prism Essentials Table of Contents Bob Swart Training & Consultancy - iii - www.drbob42.com 4. dbExpress and DataSnap 41 dBExpress ......................................................................................... 41 Server Explorer........................................................................ 41 Data Sources ........................................................................... 44 DataSnap Clients................................................................................ 53 DataSnap Server...................................................................... 53 Delphi Prism Server Explorer ..................................................... 55 Delphi Prism DataSnap 2010 Clients........................................... 58 Summary .......................................................................................... 62 References ........................................................................................ 62 5. ASP.NET Web Applications 63 ASP.NET Web Sites............................................................................. 63 .aspx ...................................................................................... 64 .aspx.pas ................................................................................ 65 Debug | Start without Debugging............................................... 66 Web.config .............................................................................. 66 appSettings ............................................................................. 67 Custom Errors.......................................................................... 67 Authorization ........................................................................... 68 compilation.............................................................................. 71 Global.asax.............................................................................. 71 Application and Session State.................................................... 71 Session State........................................................................... 71 Application State...................................................................... 73 More Session Support ............................................................... 73 Navigation ............................................................................... 74 Master Page............................................................................. 75 Menu ...................................................................................... 76 Web Site Deployment ............................................................... 79 ASP.NET and Data Access ................................................................... 80 ASP.NET Project ....................................................................... 80 Declaritve Data Sources............................................................ 80 Project Deployment .................................................................. 93 Summary .......................................................................................... 94 6. ASP.NET Web Services 95 ASP.NET Web Service as Web Site ....................................................... 95 [WebService]........................................................................... 96 [WebMethod]........................................................................... 97 WebMethod properties .............................................................. 98 EnableSession.......................................................................... 98 First Test................................................................................. 98 ASP.NET Test........................................................................... 100 Deployment............................................................................. 101 WSDL ..................................................................................... 102 Web Service Client ................................................................... 103 Asynchronous Calls .................................................................. 105 Web Service Projects .......................................................................... 107 EnableSession.......................................................................... 109 Web Service Client ................................................................... 111 Using Web Services .................................................................. 113 Session Cleanup....................................................................... 114 Deployment............................................................................. 115 Amend Client URL .................................................................... 116 Security: SOAP Headers...................................................................... 117 SOAP Header Client .................................................................. 119 Delphi Prism Essentials Table of Contents Bob Swart (Bob@eBob42.com) - iv - June 2011 HttpHandler....................................................................................... 122 IHttpHandler............................................................................ 122 Custom HttpHandlers................................................................ 122 Num to Word ........................................................................... 126 Returning XML Files .................................................................. 129 Windows Communication Foundation.................................................... 129 WCF........................................................................................ 129 WCF Demo .............................................................................. 130 WCF Service ............................................................................ 131 Contracts ................................................................................ 131 IMoneyService ......................................................................... 132 WCF Host ................................................................................ 133 Hosting in IIS .......................................................................... 133 Deployment............................................................................. 136 Delphi Prism WCF Client............................................................ 137 Summary .......................................................................................... 139 References ........................................................................................ 139 7. Delphi Prism XE and MonoTouch 141 Mac OS X Development....................................................................... 141 iPhone SDK ............................................................................. 141 Mono for OS X ......................................................................... 142 Delphi Prism XE and MonoTouch ................................................ 142 MonoTouch SDK....................................................................... 142 Updated Templates for MonoTouch and MonoMac......................... 142 Deployment............................................................................. 143 Delphi Prism XE in MonoDevelop .......................................................... 143 First Demo: Get Time ............................................................... 144 Outlets.................................................................................... 149 Actions.................................................................................... 152 Second Demo: Hello, World!...................................................... 157 Third Demo: Tic-Tac-Toe........................................................... 162 Fourth Demo: Database ............................................................ 169 Summary: MonoTouch Clients ............................................................. 174 8. Hydra: Win32 and .NET 175 Hydra ............................................................................................... 175 Delphi Prism Hydra .NET Plugin Module ...................................... 175 Hydra Win32 Server ................................................................. 178 Loading and Using.................................................................... 180 Closure ................................................................................... 183 Delphi 2010 Hydra Win32 Plugin................................................ 184 Delphi Prism Hydra .NET Server................................................. 184 Summary .......................................................................................... 184 ...展开收缩
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.