没有合适的资源?快使用搜索试试~ 我知道了~
首页速览Apress《.NET 4.0与Visual Studio 2010实战指南》
速览Apress《.NET 4.0与Visual Studio 2010实战指南》
需积分: 9 39 下载量 88 浏览量
更新于2024-08-02
收藏 15.05MB PDF 举报
"Apress Introducing.dot.NET.4.0.with.Visual.Studio.2010"是一本专为.NET 4.0和Visual Studio 2010初学者编写的指南。这本书由Alex Mackey撰写,作为"THEEXPERT’SVOICE®IN.NET"系列的一部分,旨在提供对新版本.NET框架4.0及其配套技术的快速入门教程。本书强调了Visual Studio 2010在开发过程中的关键作用,这是一款功能强大的集成开发环境(IDE),支持C# 4.0编程语言和其他.NET框架特性。
.NET 4.0是一个重要的里程碑,它引入了一系列性能优化、新的库和增强的功能,如动态类型、并发编程工具、改进的WCF服务和Windows Communication Foundation(WCF)框架、以及更强大的LINQ查询能力。书中详细介绍了如何利用这些特性来构建高效、可扩展的软件应用。
Visual Studio 2010不仅是开发者的集成开发平台,还包括了诸如调试器、代码编辑器、设计工具等全面的开发工具,帮助开发者简化工作流程并提高生产力。书中可能涵盖了如何利用Visual Studio 2010的特性来编写C#代码、设计用户界面、部署应用程序以及管理项目生命周期等内容。
版权方面,本书受到严格保护,未经作者和出版社的书面许可,禁止任何形式的复制或传播。书中可能还包含一些商标名,使用这些名称是出于编辑目的,尊重并无意侵犯商标权。
作者Alex Mackey以其深入浅出的方式,带领读者快速上手.NET 4.0的新特性,适合希望升级技能或者初次接触.NET开发的读者。如果你正在寻找一本帮助你掌握最新.NET技术和Visual Studio 2010实战技巧的书籍,这本书将是你的理想选择。通过阅读这本书,你将能更好地理解和利用这些技术来构建现代、高效的应用程序。
CONTENTS
xiv
WCF/Messaging Improvements ............................................................................................149
Correlation.....................................................................................................................149
WCF Workflow Service Applications......................................................................................149
Activities........................................................................................................................151
Misc Improvements ..............................................................................................................156
John Mcloughlin ...................................................................................................................157
Summary .............................................................................................................................158
Chapter 7: W indows Communicat ion Foun dation
.................................................159
Configless WCF ....................................................................................................................159
Default Binding, behavior, and Endpoints..............................................................................161
Default Binding and Behaviors .......................................................................................161
Standard Endpoints........................................................................................................162
No svc File............................................................................................................................162
Router Service......................................................................................................................163
Routing Example............................................................................................................163
Routing Filters ...............................................................................................................165
Multicast Support ..........................................................................................................165
Bridging Protocols..........................................................................................................166
Redundancy...................................................................................................................166
WS-Discovery.......................................................................................................................166
Managed Mode..............................................................................................................166
Adhoc Mode ..................................................................................................................166
Service Announcement Events.......................................................................................169
WCF Starter Kit Integration ...................................................................................................170
Help Pages ....................................................................................................................170
HTTP Caching ................................................................................................................172
Misc Changes.......................................................................................................................172
Improved Integration with WF ........................................................................................172
Default Performance-Related Settings Changed.............................................................172
Low Memory..................................................................................................................172
Other changes ...............................................................................................................173
Dublin/Windows Application Server ......................................................................................173
REST ....................................................................................................................................173
Graham Elliot........................................................................................................................173
Further reading.....................................................................................................................174
CONTENTS
xv
Chapter 8: E ntity Framework
.....................................................................................175
EF and LINQ to SQL ..............................................................................................................175
Is LINQ to SQL Dead?.....................................................................................................175
LINQ to SQL changes .....................................................................................................176
Why Use EF? ........................................................................................................................176
Abstraction ....................................................................................................................176
Code Generation ............................................................................................................176
Support for Different Databases .....................................................................................177
Design Time Support .....................................................................................................177
Utilize LINQ ....................................................................................................................177
N-Tier Application Development.....................................................................................177
Where is EF Used?................................................................................................................177
EF 101..................................................................................................................................178
Entity Data Model ..........................................................................................................178
Creating an EDM............................................................................................................178
Navigating the EF model ................................................................................................183
Querying Data................................................................................................................185
CRUD Operations in EF .........................................................................................................187
Creating.........................................................................................................................187
Updating........................................................................................................................188
Deleting.........................................................................................................................188
EFv1 Criticisms.....................................................................................................................189
Entity Framework 4 ..............................................................................................................189
EDM Designer Changes ........................................................................................................190
Performance.........................................................................................................................191
Pluralization..........................................................................................................................191
Deferred/Lazy Loading..........................................................................................................191
Eager Loading................................................................................................................191
Complex Type Designer Support ....................................................................................191
Complex Types from Stored Procedures.........................................................................193
Model Defined Functions ......................................................................................................194
Model First Generation..........................................................................................................195
Foreign Keys ........................................................................................................................201
Code Only/POCO ............................................................................................................202
POCO in EF4 ..................................................................................................................202
Code Generation Templates ...........................................................................................203
Julie Lerman (Author of Programming Entity Framework and MVP) ......................................204
Dane Morgridge....................................................................................................................205
CONTENTS
xvi
Conclusion ...........................................................................................................................206
References/Further reading ..................................................................................................206
Chapter 9: W CF Data Services
...................................................................................207
Hello WCF Data Services.......................................................................................................207
Entity Framework...........................................................................................................208
Creating a Data Service .................................................................................................211
IE Content Settings ........................................................................................................212
Hello WDS .....................................................................................................................213
Querying WCF Data Services ................................................................................................213
Security in WCF Data Services .......................................................................................215
Query Interceptors .........................................................................................................216
Returning Results in Different Formats..................................................................................216
Using JSON with JavaScript...........................................................................................216
Using JSON with C#.......................................................................................................217
WDS Proxy Classes...............................................................................................................218
Retrieving Items with Proxy Classes...............................................................................218
Adding a New Item with Proxy Classes...........................................................................219
Update an Item ..............................................................................................................219
Delete an Item ...............................................................................................................220
WDS 1.5...............................................................................................................................220
RowCount and Server-Driven Paging .............................................................................220
Limiting Number of Results Returned.............................................................................221
Projections.....................................................................................................................221
Friendly Feeds ...............................................................................................................222
Miscellaneous Improvements.........................................................................................222
What’s the Relationship Between WDS and WCF RIA Services?......................................222
Conclusion ...........................................................................................................................223
Further Reading....................................................................................................................223
Chapter 10: ASP.NET
.....................................................................................................225
Project Templates.................................................................................................................225
Web.config ...........................................................................................................................226
IDE Changes.........................................................................................................................227
Code Snippets ......................................................................................................................228
ASP.NET Code Snippets .................................................................................................228
Using Snippets...............................................................................................................228
CONTENTS
xvii
Deployment ..........................................................................................................................231
Web.config Transformation ............................................................................................231
Creating a New Deployment Configuration .....................................................................232
Transforming Web.config from the Command Line.........................................................233
Web.config Transformation Options ...............................................................................233
Web Packages...............................................................................................................234
One-Click Publishing......................................................................................................237
ViewState .............................................................................................................................238
ClientIDMode........................................................................................................................239
Response.RedirectPermanent().............................................................................................239
Meta-tags.............................................................................................................................240
URL Routing .........................................................................................................................240
HTML Encoding ....................................................................................................................241
HtmlString .....................................................................................................................241
Custom Request Validation ............................................................................................241
Custom Encoders...........................................................................................................241
URL and Query String Length................................................................................................242
Valid URL Characters ............................................................................................................242
Accessibility and Standards ..................................................................................................242
controlRenderingCompatibilityVersion ............................................................................242
RenderOuterTable..........................................................................................................243
CheckBoxList and RadioButtonList .................................................................................243
ASP.NET Menu control ...................................................................................................243
Browser Capability Files.................................................................................................243
Further Control Enhancements .............................................................................................244
Wizard Control ...............................................................................................................244
ListView Enhancements .................................................................................................244
GridView........................................................................................................................244
CompareValidator ..........................................................................................................244
Query Extender ..............................................................................................................245
Browser capability files..................................................................................................245
Auto-Start Web Applications .................................................................................................245
Compress Session State .......................................................................................................246
Caching................................................................................................................................246
Velocity..........................................................................................................................246
System.Runtime.Caching...............................................................................................246
Resource Monitoring.............................................................................................................247
Charting Controls..................................................................................................................248
CONTENTS
xviii
Dynamic Data Framework ....................................................................................................249
Conclusion ...........................................................................................................................249
Further Reading....................................................................................................................249
Chapter 11: Microsoft AJAX Librar y
.........................................................................251
Architecture Changes ...........................................................................................................251
Compatibility..................................................................................................................251
A pageLoad Problem Fixed.............................................................................................252
Installation............................................................................................................................252
Adding Microsoft AJAX Libraries to Your Project.............................................................252
Client Script Loader .......................................................................................................253
AJAX Libraries Now Hosted by Microsoft........................................................................255
ScriptManager EnableCDN.............................................................................................255
AJAX Toolkit Integration........................................................................................................255
Controls Now Exposed as jQuery Plug-ins.............................................................................256
DataView..............................................................................................................................256
XHTML-Compliant?........................................................................................................256
Hello, Microsoft AJAX.....................................................................................................256
sys-template CSS rule ...................................................................................................257
DataView Binding .................................................................................................................257
Declarative Binding........................................................................................................257
Programmatic Binding ...................................................................................................259
A Cleaner Programmatic Binding ...................................................................................259
Master Detail Binding ...........................................................................................................260
Binding to External Services .................................................................................................262
WebService (.asmx) .......................................................................................................262
WCF Binding ..................................................................................................................263
JSONP...........................................................................................................................264
Advanced Binding.................................................................................................................264
Conditional Rendering....................................................................................................265
Binding Converters ...............................................................................................................266
Two-way Binding..................................................................................................................266
Sys.Observer ........................................................................................................................268
WCF Data Services Data Context....................................................................................268
Conclusion ...........................................................................................................................270
Further Reading....................................................................................................................270
剩余504页未读,继续阅读
333 浏览量
152 浏览量
136 浏览量
2013-07-27 上传
144 浏览量
110 浏览量
117 浏览量
2009-04-10 上传
2012-10-10 上传
sichina_yzm
- 粉丝: 4
- 资源: 27
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- UML( Unified Modeling Language)概述
- 网络工程师英语词汇表英语词汇表
- 信号与系统PPT(郑君里)
- Windows核心编程-第五版(中文版)完整
- spring框架,技术详解及使用指导
- java面试常见问题总结word版
- Flex3 in Action EN文经典推荐
- 掌握IIS排错技巧 让Web更好服务
- 全国软考网络工程师英语习题
- 路由器配置步骤与方法
- 十天学会ASP.NET教程
- Beginning-SQL-Server-2008-for-Developers-From-Novice-to-Professional
- C++ 设计新思维.pdf
- pro-wpf-in-c-2008-windows-presentation-foundation-with-net-3-5-second-edition
- SAP中文版AP操作手册.pdf
- 网络建设流程(PPT 、习题、综合布线)内容丰富!
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功