Professional .NET Framework 2.0


-
Professional .NET Framework 2.0
25.51MB
Professional C# 7 and .NET Core 2.0
2018-04-26The professional’s guide to C# 7, with expert guidance on the newest features Professional C# 7 and .NET Core 2.0 provides experienced programmers with the information they need to work effectively with the world’s leading programming language. The latest C# update added many new features that help you get more done in less time, and this book is your ideal guide for getting up to speed quickly. C# 7 focuses on data consumption, code simplification, and performance, with new support for local functions, tuple types, record types, pattern matching, non-nullable reference types, immutable types, and better support for variables. Improvements to Visual Studio will bring significant changes to the way C# developers interact with the space, bringing .NET to non-Microsoft platforms and incorporating tools from other platforms like Docker, Gulp, and NPM. Guided by a leading .NET expert and steeped in real-world practicality, this guide is designed to get you up to date and back to work. With Microsoft speeding up its release cadence while offering more significant improvement with each update, it has never been more important to get a handle on new tools and features quickly. This book is designed to do just that, and more—everything you need to know about C# is right here, in the single-volume resource on every developer’s shelf. Tour the many new and enhanced features packed into C# 7 and .NET Core 2.0 Learn how the latest Visual Studio update makes developers’ jobs easier Streamline your workflow with a new focus on code simplification and performance enhancement Delve into improvements made for localization, networking, diagnostics, deployments, and more Whether you’re entirely new to C# or just transitioning to C# 7, having a solid grasp of the latest features allows you to exploit the language’s full functionality to create robust, high -quality apps. Professional C# 7 and .NET Core 2.0 is the one-stop guide to everything you need to know. Contents PART I: The C# Language Chapter 1 .Net Applications And Tools Chapter 2 Core C# Chapter 3 Objects And Types Chapter 4 Object-Oriented Programming With C# Chapter 5 Generics Chapter 6 Operators And Casts Chapter 7 Arrays Chapter 8 Delegates, Lambdas, And Events Chapter 9 Strings And Regular Expressions Chapter 10 Collections Chapter 11 Special Collections Chapter 12 Language Integrated Query Chapter 13 Functional Programming With C# Chapter 14 Errors And Exceptions Chapter 15 Asynchronous Programming Chapter 16 Reflection, Metadata, And Dynamic Programming Chapter 17 Managed And Unmanaged Memory Chapter 18 Visual Studio 2017 PART II: .NET Core and the Windows Runtime Chapter 19 Libraries, Assemblies, Packages, And Nuget Chapter 20 Dependency Injection Chapter 21 Tasks And Parallel Programming Chapter 22 Files And Streams Chapter 23 Networking Chapter 24 Security Chapter 25 Ado.Net And Transactions Chapter 26 Entity Framework Core Chapter 27 Localization Chapter 28 Testing Chapter 29 Tracing, Logging, And Analytics PART III: Web Applications and Services Chapter 30 Asp.Net Core Chapter 31 Asp.Net Core Mvc Chapter 32 Web Api PART IV: Apps Chapter 33 Windows Apps Chapter 34 Patterns With Xaml Apps Chapter 35 Styling Windows Apps Chapter 36 Advanced Windows Apps Chapter 37 Xamarin.Forms
534KB
ASP.NET_2.0数据库入门经典
2011-01-10大约有将近一百万名开发人员使用了.NET Framework的第一个版本来开发网站。所以在2003年的夏天,当从Microsoft传出将有新版本发布的传闻时,许多人的耳朵都竖了起来,这个新的版本将使得创建ASP.NET页面所需的代码行数减少70%。像这样大规模的提高生产效率在程序设计中是不多见的。当ASP.NET 2.0的代码样例在2003年秋的Microsoft专业开发人员大会(Microsoft Professional Developer’s Conference)上演示时,结果比预计的还要好。以前使用ASP.NET的第一个版本程序员需要花费几个小时才能做出的页面,现在使用ASP.NET 2.0只需要几分钟就完成了。简单来说,在.NET Framework 2.0最终版本发布之后,任何继续使用第一个版本创建ASP.NET页面的程序人员都将花费大量的额外时间才能达到相同的结果。
17.0MB
ASP.NET.2.0.数据库入门经典(第4版) part1
2009-10-12ASP.NET 2.0 将为ASP数据库领域带来深远的影响。本书介绍了如何使用ASP.NET 2.0 向Web站点添加数据,如何将Web页连接至数据库。ASP.NET 2.0可以极大地提高开发人员构建应用程序的效率。 本书讲解了一些具体示例并演示了很多现实场景和实用技巧,而且通过大量的示例和解释,以及每章末尾的练习题,使读者可以由浅入深地学习ASP.NET 2.0中的新技术,从而进一步提高数据库开发技能。 本书适合于需要前端的数据库开发人员以及需要向站点添加数据的编程人员。读者必须具有基本的和数据库设计方面的知识。 大约有将近一百万名开发人员使用了.NET Framework的第一个版本来开发网站。所以在2003年的夏天,当从Microsoft传出将有新版本发布的传闻时,许多人的耳朵都竖了起来,这个新的版本将使得创建ASP.NET页面所需的代码行数减少70%。像这样大规模的提高生产效率在程序设计中是不多见的。当ASP.NET 2.0的代码样例在2003年秋的Microsoft专业开发人员大会(Microsoft Professional Developer’s Conference)上演示时,结果比预计的还要好。以前使用ASP.NET的第一个版本程序员需要花费几个小时才能做出的页面,现在使用ASP.NET 2.0只需要几分钟就完成了。简单来说,在.NET Framework 2.0最终版本发布之后,任何继续使用第一个版本创建ASP.NET页面的程序人员都将花费大量的额外时间才能达到相同的结果。 也许就像其他任何领域一样,ASP.NET 2.0所提供的优势是能够方便地将数据集成进页面。程序员不再需要知道详细的连接、命令以及数据阅读器和数据适配器对象,就能执行普通数据任务了。对于初学者掌握能力,ASP.NET 2.0使得基本数据的使用简单易学,并且有能力进行更复杂的数据应用。
15.33MB
ASP.NET.2.0.数据库入门经典(第4版) part2
2009-10-12ASP.NET 2.0 将为ASP数据库领域带来深远的影响。本书介绍了如何使用ASP.NET 2.0 向Web站点添加数据,如何将Web页连接至数据库。ASP.NET 2.0可以极大地提高开发人员构建应用程序的效率。 本书讲解了一些具体示例并演示了很多现实场景和实用技巧,而且通过大量的示例和解释,以及每章末尾的练习题,使读者可以由浅入深地学习ASP.NET 2.0中的新技术,从而进一步提高数据库开发技能。 本书适合于需要前端的数据库开发人员以及需要向站点添加数据的编程人员。读者必须具有基本的和数据库设计方面的知识。 大约有将近一百万名开发人员使用了.NET Framework的第一个版本来开发网站。所以在2003年的夏天,当从Microsoft传出将有新版本发布的传闻时,许多人的耳朵都竖了起来,这个新的版本将使得创建ASP.NET页面所需的代码行数减少70%。像这样大规模的提高生产效率在程序设计中是不多见的。当ASP.NET 2.0的代码样例在2003年秋的Microsoft专业开发人员大会(Microsoft Professional Developer’s Conference)上演示时,结果比预计的还要好。以前使用ASP.NET的第一个版本程序员需要花费几个小时才能做出的页面,现在使用ASP.NET 2.0只需要几分钟就完成了。简单来说,在.NET Framework 2.0最终版本发布之后,任何继续使用第一个版本创建ASP.NET页面的程序人员都将花费大量的额外时间才能达到相同的结果。 也许就像其他任何领域一样,ASP.NET 2.0所提供的优势是能够方便地将数据集成进页面。程序员不再需要知道详细的连接、命令以及数据阅读器和数据适配器对象,就能执行普通数据任务了。对于初学者掌握能力,ASP.NET 2.0使得基本数据的使用简单易学,并且有能力进行更复杂的数据应用。
56.3MB
C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development – Third Edition
2019-01-05C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development – Third Edition 版本: Create powerful applications with .NET Standard 2.0, ASP.NET Core 2.0, … Visual Studio 2017 or Visual Studio Code By 作者: Mark J. Price ISBN-10 书号: 1788398076 ISBN-13 书号: 9781788398077 Edition 版本: 3rd Revised edition 出版日期: 2017-11-30 pages 页数: 786 C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development, Third Edition, is a practical guide to creating powerful cross-platform applications with C# 7.1 and .NET Core 2.0. It gives readers of any experience level a solid foundation in C# and .NET. The first part of the book runs you through the basics of C#, as well as debugging functions and object-oriented programming, before taking a quick tour through the latest features of C# 7.1 such as default literals, tuples, inferred tuple names, pattern matching, out variables, and more. After quickly taking you through C# and how .NET works, this book dives into the .NET Standard 2.0 class libraries, covering topics such as packaging and deploying your own libraries, and using common libraries for working with collections, performance, monitoring, serialization, files, databases, and encryption. The final section of the book demonstrates the major types of application that you can build and deploy cross-device and cross-platform. In this section, you’ll learn about websites, web applications, web services, Universal Windows Platform (UWP) apps, and mobile apps. By the end of the book, you’ll be armed with all the knowledge you need to build modern, cross-platform applications using C# and .NET. Contents 1: HELLO, C#! WELCOME, .NET CORE! 2: PART 1 – C# 7.1 3: SPEAKING C# 4: CONTROLLING THE FLOW AND CONVERTING TYPES 5: WRITING, DEBUGGING, AND TESTING FUNCTIONS 6: BUILDING YOUR OWN TYPES WITH OBJECT-ORIENTED PROGRAMMING 7: IMPLEMENTING INTERFACES AND INHERITING CLASSES 8: PART 2 – .NET CORE 2.0 AND .NET STANDARD 2.0 9: UNDERSTANDING AND PACKAGING .NET STANDARD TYPES 10: USING COMMON .NET STANDARD TYPES 11: WORKING WITH FILES, STREAMS, AND SERIALIZATION 12: PROTECTING YOUR DATA AND APPLICATIONS 13: WORKING WITH DATABASES USING ENTITY FRAMEWORK CORE 14: QUERYING AND MANIPULATING DATA USING LINQ 15: IMPROVING PERFORMANCE AND SCALABILITY USING MULTITASKING 16: PART 3 – APP MODELS 17: BUILDING WEB SITES USING ASP.NET CORE RAZOR PAGES 18: BUILDING WEB SITES USING ASP.NET CORE MVC 19: BUILDING WEB SERVICES AND APPLICATIONS USING ASP.NET CORE 20: BUILDING WINDOWS APPS USING XAML AND FLUENT DESIGN 21: BUILDING MOBILE APPS USING XAML AND XAMARIN.FORMS 22: SUMMARY 23: ANSWERS TO THE TEST YOUR KNOWLEDGE QUESTIONS What You Will Learn Build cross-platform applications using C# 7.1 and .NET Core 2.0 Explore ASP.NET Core 2.0 and learn how to create professional websites, services, and applications Improve your application’s performance using multitasking Use Entity Framework Core and LINQ to query and manipulate data Master object-oriented programming with C# to increase code reuse and efficiency Familiarize yourself with cross-device app development using the Universal Windows Platform Protect and manage your files and data with encryption, streams, and serialization Get started with mobile app development using Xamarin.Forms Preview the nullable reference type feature of C# 8 Authors Mark J. Price Mark J. Price is a Microsoft Certified Solutions Developer (MCSD), Microsoft Specialist: Programming in C#, and Episerver Certified Developer, with more than 20 years of educational and programming experience. Since 1993, Mark has passed more than 80 Microsoft programming exams, and he specializes in preparing others to pass them too. His students range from professionals with decades of experience to 16-year-old apprentices with none. He successfully guides all of them by combining educational skills with real-world experience in consulting and developing systems for enterprises worldwide. Between 2001 and 2003, Mark was employed full-time to write official courseware for Microsoft in Redmond, USA. His team wrote the first training courses for C# while it was still an early alpha version. While with Microsoft, he taught “train-the-trainer” classes to get Microsoft Certified Trainers up-to-speed on C# and .NET. Currently, Mark creates and delivers classroom and e-learning training courses for Episerver’s Digital Experience Cloud, the best .NET CMS for Digital Marketing and E-commerce. He is an Episerver Certified Developer (ECD) on Episerver CMS. In 2010, Mark studied for a Postgraduate Certificate in Education (PGCE). He taught GCSE and A-Level mathematics in two London secondary schools. He holds a Computer Science BSc Hons. degree from the University of Bristol, UK.
8.68MB
Professional.ASP.NET.2.0.AJAX
2007-07-31深入学习ASP.NET.2.0.AJAX(Atlas)的推荐书籍(英文版),简介如下:<br>Are you ready to build more responsive web applications with richer UI elements? This detailed guide to the Microsoft AJAX Library shows you how to bring together ASP.NET 2.0 with an object-oriented approach to JavaScript development using this new framework from Microsoft. You'll gain an in-depth understanding of the ASP.NET AJAX architecture, including the server controls, client-side JavaScript library, and runtime environment. By following the numerous examples, you'll see how much your users benefit from this new class of web applications that manipulate the browser's DOM and communicate with the server to update the user's view of a page without waiting for the entire page to be refreshed. <br><br>Written by Microsoft's lead ASP.NET AJAX developer together with an in-the-field Microsoft MVP (Most Valuable Professional), this book guides you through the core of the Microsoft AJAX Library and the controls you will use to leverage AJAX. It provides you with code samples to take advantage of some of the popular shared-source ASP.NET AJAX Toolkit controls and extensions. And you'll work through debugging functionality in Visual Studio and the browser as well as methods for effective testing. <br><br>What you will learn from this book <br><br>How to create a better user experience by adding more dynamic UIs <br>Steps for accessing ASP.NET profile and authentication services <br>Ways to simplify programming tasks using the Microsoft AJAX Library <br>Strategies for testing web applications to achieve optimal performance <br>Methods for developing custom AJAX controls <br>Who this book is for <br><br>This book is for experienced ASP.NET developers who want to add AJAX to their applications. It is also for experienced web developers who want to move to ASP.NET and AJAX together.
945KB
Professional ASP.NET 2.0 Server Control and Component Development.part05.rar
2009-02-20Welcome to Professional ASP.NET 2.0 Server Control and Component Development. The ASP.NET 2.0 Framework consists of two groups of components. The first group contains server controls, that is, those components that directly or indirectly derive from the ASP.NET Control base class. This group includes security controls, tabular and hierarchical data source controls such as SqlDataSource and XmlDataSource, Web Parts controls set, data-bound controls, and so on. The second group contains the rest of the ASP.NET 2.0 components including HTTP modules, HTTP handlers, HTTP handler factories, security components such as RolePrincipal, RoleManagerModule, role providers, MembershipUser and membership providers, data control fields such as BoundField, data source control parameters such as ControlParameter, ISerializable, schema importer extensions, and so on. This book covers both groups of ASP.NET 2.0 components. In other words, this book shows you how to develop not only server controls, which belong to the first group, but also components that belong to the second group.
1.38MB
Professional ASP.NET 2.0 Server Control and Component Development.part04.rar
2009-02-20Welcome to Professional ASP.NET 2.0 Server Control and Component Development. The ASP.NET 2.0 Framework consists of two groups of components. The first group contains server controls, that is, those components that directly or indirectly derive from the ASP.NET Control base class. This group includes security controls, tabular and hierarchical data source controls such as SqlDataSource and XmlDataSource, Web Parts controls set, data-bound controls, and so on. The second group contains the rest of the ASP.NET 2.0 components including HTTP modules, HTTP handlers, HTTP handler factories, security components such as RolePrincipal, RoleManagerModule, role providers, MembershipUser and membership providers, data control fields such as BoundField, data source control parameters such as ControlParameter, ISerializable, schema importer extensions, and so on. This book covers both groups of ASP.NET 2.0 components. In other words, this book shows you how to develop not only server controls, which belong to the first group, but also components that belong to the second group.
1.38MB
Professional ASP.NET 2.0 Server Control and Component Development.part03.rar
2009-02-20Welcome to Professional ASP.NET 2.0 Server Control and Component Development. The ASP.NET 2.0 Framework consists of two groups of components. The first group contains server controls, that is, those components that directly or indirectly derive from the ASP.NET Control base class. This group includes security controls, tabular and hierarchical data source controls such as SqlDataSource and XmlDataSource, Web Parts controls set, data-bound controls, and so on. The second group contains the rest of the ASP.NET 2.0 components including HTTP modules, HTTP handlers, HTTP handler factories, security components such as RolePrincipal, RoleManagerModule, role providers, MembershipUser and membership providers, data control fields such as BoundField, data source control parameters such as ControlParameter, ISerializable, schema importer extensions, and so on. This book covers both groups of ASP.NET 2.0 components. In other words, this book shows you how to develop not only server controls, which belong to the first group, but also components that belong to the second group.
17.16MB
2.ASP.NET.2.0.高级编程(第4版) [1/7]
2009-12-272.ASP.NET.2.0.高级编程(第4版) [1/7] 原书名: Professional ASP.NET 2.0 原出版社: Wrox 作者:(美)Bill Evjen, Scott Hanselman, Farhan Muhammad [同作者作品] [作译者介绍] 译者: 李敏波[同译者作品] 出版社:清华大学出版社 ISBN:7302139067 上架时间:2006-11-16 出版日期:2006 年11月 开本:185×260 页码:1090 版次:4-1 内容简介回到顶部↑本书全面介绍了ASP.NET各种编程技能和2.0版中的巨大变化,并详细阐述了2.0版中的每个新特性。书中提供了大量的实例,可帮助读者快速掌握如何在.NET平台下开发功能强大的ASP.NET应用程序。本书适合有一些基础的ASP.NET初级程序员以及准备迁移到ASP.NET 2.0的编程老手。该书与《ASP.NET 2.0入门经典(第4版)》及其早期版本,曾影响到无数中国Web程序员。. ASP.NET允许Web站点为每个访问者显示独一无二的页面,而不是显示相同的静态HTML页面。ASP.NET 2.0的发布,使Web应用程序的开发又前进了一大步。这个新版本增加了大量的新功能,减少了编写常见应用程序所需的代码量。 ASP.NET 2.0新增了50多个新服务器控件,类的数量也翻了一倍,其他许多方面也有很大的变化。本书介绍了ASP.NET 2.0中的每个新增特性和功能,以便读者把这些新技术应用于实践。.. 本书主要内容 ● 服务器控件的概念及其在ASP.NET开发中的主导作用 ● 使用新的Master页面特性创建模板化的ASP.NET页面 ● 调试和处理错误的技术 ● 提取、创建、处理和存储XML的各种框架 ● 打包和部署ASP.NET应用程序的方法 ● 快速、逻辑地检索、更新和删除数据 本书读者对象 本书适合于有一些ASP.NET基础知识的学习者以及准备迁移到ASP.NET 2.0的有经验的程序员和开发人员。 目录回到顶部↑ 第1章 ASP.NET 2.0概述 1 1.1 简史 1 1.2 ASP.NET 2.0的目标 2 1.2.1 开发人员的效率 3 1.2.2 管理 5 1.2.3 性能和可伸缩性 8 1.3 ASP.NET 2.0的其他新特性 8 1.3.1 新的开发人员体系结构 8 1.3.2 新的编译系统 12 1.3.3 页面框架的新增内容 13 1.3.4 访问数据的新对象 15 1.3.5 新的服务器控件 15 1.4 建立ASP.NET 2.0页面的新IDE 16 1.5 小结 17 第2章 Visual Studio 2005 19 2.1 启动页面 19 2.2 文档窗口 20 2.2.1 文档窗口中的视图 20 2.2.2 标记导航器 21 .2.2.3 页面标签 22 2.2.4 代码改变状态的通知 23 2.2.5 错误通知和辅助 23 2.3 工具箱 25 2.4 Solution Explorer 26 2.5 Server Explorer 28 2.6 Properties窗口 28 2.7 丢失的窗口 29 2.8 其他常见的Visual Studio操作 29 2.8.1 创建新项目 29 2.8.2 引用其他对象 30 2.8.3 使用智能标记 32 2.8.4 保存和导入Visual Studio设置 32 2.8.5 验证HTML 34 2.8.6 团队的合作 36 2.8.7 使用代码片断 36 2.9 小结 38 第3章 应用程序和页面框架 39 3.1 应用程序的位置选项 39 3.1.1 内置的Web服务器 39 3.1.2 IIS 40 3.1.3 FTP 41 3.1.4 Web站点需要FrontPage Extensions 42 3.2 ASP.NET页面结构选项 43 3.2.1 内置编码 44 3.2.2 新的后台编码模型 46 3.3 ASP.NET 2.0的Page指令 48 3.3.1 @Page 49 3.3.2 @Master 51 3.3.3 @Control 52 3.3.4 @Import 53 3.3.5 @Implements 54 3.3.6 @Register 55 3.3.7 @Assembly 55 3.3.8 @PreviousPageType 56 3.3.9 @MasterType 56 3.3.10 @OutputCache 56 3.3.11 @Reference 57 3.4 ASP.NET页面的事件 57 3.5 处理回送 59 3.6 跨页面的传送 59 3.7 ASP.NET应用程序文件夹 66 3.7.1 \App_Code文件夹 66 3.7.2 \App_Data文件夹 70 3.7.3 \App_Themes文件夹 70 3.7.4 \App_GlobalResources文件夹 71 3.7.5 \App_LocalResources文件夹 74 3.7.6 \App_WebReferences文件夹 74 3.7.7 \App_Browsers文件夹 74 3.8 编译 75 3.9 Global.asax 78 3.10 小结 79 第4章 ASP.NET服务器控件和客户端脚本 81 4.1 ASP.NET服务器控件 81 4.1.1 服务器控件的类型 82 4.1.2 用服务器控件建立页面 83 4.1.3 处理服务器控件的事件 84 4.2 给服务器控件应用样式 87 4.2.1 控件的常见属性 87 4.2.2 使用层叠样式表改变样式 88 4.3 HTML服务器控件 93 4.3.1 HtmlControl基类 95 4.3.2 HtmlContainerControl类 96 4.3.3 所有的HTML类 96 4.3.4 使用HtmlGenericControl类 97 4.4 通过JavaScript处理页面和服务器控件 98 4.4.1 使用Page.ClientScript.RegisterClient ScriptBlock 100 4.4.2 使用Page.ClientScript.Register StartupScript 101 4.4.3 使用Page.ClientScript.RegisterClient ScriptInclude 103 4.5 客户端回调 103 4.5.1 比较典型的回送和回调 104 4.5.2 使用回调功能:一种简单的方法 105 4.5.3 使用带参数的回调功能 110 4.6 小结 113 第5章 ASP.NET Web服务器控件 115 5.1 Web服务器控件概述 115 5.2 Label服务器控件 116 5.3 Literal服务器控件 118 5.4 TextBox服务器控件 119 5.4.1 使用Focus()方法 120 5.4.2 使用AutoPostBack 120 5.4.3 使用AutoCompleteType 122 5.5 Button服务器控件 122 5.5.1 CausesValidation属性 123 5.5.2 CommandName属性 123 5.5.3 使用客户端JavaScript的按钮 124 5.6 LinkButton服务器控件 126 5.7 ImageButton服务器控件 126 5.8 HyperLink服务器控件 128 5.9 DropDownList服务器控件 128 5.10 从集合中可视化地删除条目 131 5.11 ListBox服务器控件 132 5.11.1 允许用户选择多项 133 5.11.2 使用ListBox控件的例子 133 5.11.3 给集合添加条目 136 5.12 CheckBox服务器控件 136 5.12.1 确定复选框是否被选中 138 5.12.2 给复选框赋值 138 5.12.3 排列复选框的文本 138 5.13 CheckBoxList服务器控件 139 5.14 RadioButton服务器控件 141 5.15 RadioButtonList服务器控件 143 5.16 Image服务器控件 145 5.17 Table服务器控件 146 5.18 Calendar服务器控件 148 5.18.1 从Calendar控件中选择一个日期 149 5.18.2 从日历中选择要输出的日期格式 150 5.18.3 选择日期、星期或月份 150 5.18.4 使用日期范围 151 5.18.5 修改日历的样式和操作方式 153 5.19 AdRotator服务器控件 156 5.20 Xml服务器控件 158 5.21 Panel服务器控件 158 5.22 PlaceHolder服务器控件 160 5.23 小结 161 第6章 ASP.NET 2.0的Web服务器控件 163 6.1 BulletedList服务器控件 163 6.2 HiddenField服务器控件 168 6.3 FileUpload服务器控件 170 6.3.1 使用FileUpload控件上传文件 170 6.3.2 指定正确的ASP.NET权限给上传文件 172 6.3.3 理解文件大小的限制 173 6.3.4 把上传的文件放在Stream对象中 174 6.3.5 把文件内容从Stream对象移动到Byte数组中 175 6.4 MultiView和View服务器控件 175 6.5 Wizard服务器控件 179 6.5.1 定制边栏导航 181 6.5.2 AllowReturn属性 182 6.5.3 使用StepType属性 182 6.5.4 给Wizard控件添加标题 183 6.5.5 使用向导的导航系统 183 6.5.6 使用Wizard控件的事件 184 6.5.7 使用Wizard控件显示窗体元素 186 6.6 ImageMap服务器控件 189 6.7 小结 191 第7章 验证服务器控件 193 7.1 有效性验证 193 7.2 客户端和服务器端的验证 194 7.3 ASP.NET验证服务器控件 195 7.3.1 验证原因 196 7.3.2 RequiredFieldValidator服务器控件 196 7.3.3 CompareValidator服务器控件 201 7.3.4 RangeValidator服务器控件 204 7.3.5 RegularExpressionValidator服务器控件 208 7.3.6 CustomValidator服务器控件 209 7.3.7 ValidationSummary服务器控件 214 7.4 关闭客户端验证功能 217 7.5 为错误通知使用图像和声音 218 7.6 使用验证组 219 7.7 小结 223 第8章 使用Master页面 225 8.1 需要Master页面的原因 225 8.2 Master页面基础 227 8.3 编写Master页面 228 8.4 编写内容页面 231 8.4.1 混合页面类型和语言 234 8.4.2 指定要使用的Master页面 235 8.4.3 使用页面标题 236 8.4.4 使用Master页面中的控件和属性 237 8.5 在Master页面中指定默认内容 244 8.6 编程指定Master页面 246 8.7 Master页面的嵌套 246 8.8 容器特定的Master页面 249 8.9 事件的触发顺序 251 8.10 高速缓存Master页面 251 8.11 小结 252 第9章 主题和Skin 253 9.1 使用ASP.NET 2.0中的主题 253 9.1.1 给单个ASP.NET页面应用主题 253 9.1.2 把主题应用于整个应用程序 255 9.1.3 删除服务器控件中的主题 255 9.1.4 删除Web页面上的主题特性 256 9.1.5 StyleSheetTheme属性 256 9.2 创建自己的主题 257 9.2.1 创建正确的文件夹结构 257 9.2.2 创建Skin 258 9.2.3 在主题中包含CSS文件 260 9.2.4 使主题包含图像 263 9.3 定义多个Skin选项 266 9.4 编程使用主题 267 9.4.1 编程指定页面的主题 267 9.4.2 编程指定控件的SkinID 268 9.5 主题和定制控件 268 9.6 小结 271 第10章 集合和列表 273 10.1 数组 273 10.1.1 重新设置数组的大小 276 10.1.2 查找数组中的对象 276 10.1.3 给数组中的对象排序 280 10.2 System.Collections命名空间 281 10.2.1 ArrayList 281 10.2.2 IEnumerable和IEnumerator 284 10.2.3 ICollection 285 10.2.4 Lists和IList 286 10.2.5 字典和IDictionary 287 10.2.6 散列表 288 10.2.7 SortedList 292 10.2.8 Queue和Stack 292 10.3 专用集合 295 10.3.1 HybridDictionary和ListDictionary 295 10.3.2 StringCollection、StringDictionary和NameValueCollection 295 10.3.3 BitArray 295 10.4 Microsoft.VisualBasic.Collection类 296 10.5 强类型化的集合 296 10.6 System.Collections.Generics 299 10.6.1 泛型的定义 299 10.6.2 泛型列表 300 10.6.3 泛型字典 302 10.6.4 其他泛型集合 303 10.7 集合从.NET 1.1到.NET 2.0的变化 303 10.8 集合和列表总结 303 10.9 小结 306 第11章 ASP.NET 2.0中的数据绑定 307 11.1 数据源控件 307 11.1.1 SqlDataSource控件 310 11.1.2 XmlDataSource控件 316 11.1.3 ObjectDataSource控件 316 11.1.4 SiteMapDataSource控件 320 11.2 配置数据源控件的高速缓存 321 11.3 存储连接信息 321 11.4 使用绑定的列表控件和数据源控件 324 11.4.1 GridView 325 11.4.2 编辑GridView中的数据行 333 11.4.3 删除GridView数据 337 11.4.4 DetailsView 339 11.4.5 使用DetailsView 插入、更新和删除数据 345 11.4.6 FormView控件 347 11.5 其他数据绑定控件 351 11.5.1 DropDownList、ListBox、RadioButtonList和CheckBoxList 351 11.5.2 TreeView控件 352 11.5.3 Ad Rotator控件 352 11.5.4 Menu 353 11.6 内置数据绑定语法 353 11.6.1 DataBinder语法的变化 354 11.6.2 XML数据绑定器 355 11.7 小结 355 第12章 使用ADO.NET管理数据 357 12.1 ADO.NET的基本功能 357 12.1.1 ADO.NET的基本命名空间和类 357 12.1.2 使用Connection对象 358 12.1.3 使用Command对象 359 12.1.4 使用DataReader对象 360 12.1.5 使用数据适配器 362 12.1.6 使用参数 365 12.1.7 DataSet和DataTable 368 12.2 ADO.NET的新增功能 371 12.2.1 从各种数据源中批量加载数据 372 12.2.2 批处理多个更新 381 12.2.3 多个活动的结果集(MARS) 388 12.2.4 命令的异步执行 394 12.2.5 异步连接 415 12.3 小结 416 第13章 使用XML 417 13.1 XML基础 417 13.1.1 XML InfoSet 419 13.1.2 XSD/XML模式定义 420 13.1.3 在Visual Studio .NET 2005中编辑XML和XML模式 422 13.2 XmlReader和XmlWriter 425 13.2.1 使用模式和XmlTextReader 427 13.2.2 包含NameTable优化 429 13.2.3 从XML中提取.NET CLR类型 431 13.2.4 ReadSubtree和XmlSerialization 433 13.2.5 用XmlWriter创建XML 435 13.2.6 2.0版本中XmlReader和XmlWriter的改进 437 13.3 XmlDocument和XPathDocument 438 13.3.1 DOM的问题 438 13.3.2 XPath、XPathDocument和XmlDocument 438 13.4 DataSet 442 13.4.1 把DataSet保存到XML中 442 13.4.2 XmlDataDocument 443 13.5 XmlDataSource控件 445 13.6 XSLT 449 13.6.1 XslCompiledTransform 450 13.6.2 XML Web服务器控件 452 13.6.3 XSLT调试 454 13.7 数据库和XML 454 13.7.1 FOR XML AUTO子句 455 13.7.2 SQL Server Yukon 2005和XML数据类型 459 13.8 小结 459 第14章 站点导航 461 14.1 基于XML的站点地图 461 14.2 SiteMapPath 服务器控件 463 14.2.1 PathSeparator属性 465 14.2.2 PathDirection 属性 467 14.2.3 ParentLevelsDisplayed属性 467 14.2.4 ShowToolTips属性 468 14.2.5 SiteMapPath 控件的子元素 469 14.3 TreeView服务器控件 469 14.3.1 标识TreeView控件的内置样式 471 14.3.2 TreeView控件的各个部分 472 14.3.3 在XML文件中绑定TreeView控件 472 14.3.4 在TreeView中选择多个选项 475 14.3.5 在TreeView控件中指定定制的图标 478 14.3.6 指定用于连接节点的线条 479 14.3.7 编程使用TreeView控件 481 14.4 Menu服务器控件 487 14.4.1 给Menu控件应用不同的样式 488 14.4.2 Menu事件 493 14.4.3 把Menu控件绑定到XML文件上 493 14.5 SiteMap数据提供程序 495 14.5.1 ShowStartingNode属性 495 14.5.2 StartFromCurrentNode属性 496 14.5.3 StartingNodeOffset属性 497 14.5.4 StartingNodeUrl属性 498 14.6 SiteMap API 498 14.7 URL映射 501 14.8 站点地图的本地化 502 14.8.1 为本地化构建Web.sitemap文件 502 14.8.2 修改Web.config文件 503 14.8.3 创建程序集资源(.resx)文件 504 14.8.4 测试结果 505 14.9 小结 506 第15章 个性化 507 15.1 个性化模型 507 15.2 创建个性化属性 508 15.2.1 添加简单的个性化属性 508 15.2.2 使用个性化属性 509 15.2.3 添加一组个性化属性 513 15.2.4 使用分组的个性化属性 514 15.2.5 为个性化属性定义类型 514 15.2.6 使用定制的类型 515 15.2.7 提供默认值 518 15.2.8 把个性化属性指定为只读 518 15.3 匿名个性化 518 15.3.1 支持终端用户的匿名身份 519 15.3.2 使用匿名身份事件 521 15.3.3 个性化属性的匿名选项 522 15.4 编程访问个性化功能 522 15.4.1 迁移匿名用户 523 15.4.2 Profile的个性化 524 15.4.3 确定是否继续自动保存 525 15.5 个性化提供程序 526 15.5.1 使用SQL Server Express Edition 526 15.5.2 使用Microsoft的SQL Server 527 15.5.3 使用多个提供程序 534 15.6 小结 534 第16章 成员和角色管理 535 16.1 身份验证 535 16.2 授权 535 16.3 ASP.NET 2.0的身份验证 536 16.3.1 为成员建立Web站点 536 16.3.2 添加用户 538 16.3.3 请求凭证 549 16.3.4 处理验证用户 553 16.3.5 在线显示用户数 556 16.3.6 处理密码 557 16.4 ASP.NET 2.0的授权 561 16.4.1 使用LoginView服务器控件 561 16.4.2 为角色管理建立Web站点 563 16.4.3 添加和检索应用程序角色 566 16.4.4 删除角色 568 16.4.5 给角色添加用户 569 16.4.6 获取某个角色的所有用户 570 16.4.7 获取包含某个用户的所有角色 572 16.4.8 从角色中删除用户 572 16.4.9 检查角色中的用户 573 16.4.10 角色的高速缓存方式 574 16.5 使用Web站点管理工具 575 16.6 Membership API的公共方法 576 16.7 Roles API的公共方法 576 16.8 小结 577 第17章 Portal Framework和Web Part 579 17.1 Web Part简介 579 17.2 建立动态的模块化Web站点 581 17.2.1 WebPartManager控件 581 17.2.2 使用区域进行布局 582 17.2.3 WebPartZone控件 585 17.2.4 允许用户改变页面的模式 587 17.2.5 修改区域 598 17.3 使用Portal Framework中的类 604 17.4 创建定制的Web Part 607 17.5 小结 612 第18章 安全性 613 18.1 身份验证和授权 613 18.2 应用身份验证措施 614 18.2.1 [authentication]节点 615 18.2.2 基于Windows的身份验证模式 615 18.2.3 基于窗体的身份验证 622 18.2.4 Passport身份验证 631 18.3 验证特定的文件和文件夹 632 18.4 编程授权 632 18.4.1 使用User.Identity 633 18.4.2 使用User.IsInRole() 634 18.4.3 用WindowsIdentity显示更多信息 635 18.5 身份和模拟 637 18.6 通过IIS进行保护 640 18.6.1 IP地址和域名限制 640 18.6.2 使用文件扩展名 641 18.6.3 使用新的ASP.NET MMC插件 643 18.7 小结 644 第19章 状态管理 645 19.1 如何选择 645 19.2 ASP.NET 2.0中的Session对象 648 19.2.1 会话和事件模型 648 19.2.2 配置会话状态的管理 649 19.2.3 进程中的会话状态 650 19.2.4 进程外的会话状态 657 19.2.5 SQL支持的会话状态 662 19.2.6 用其他提供程序扩展会话状态 664 19.2.7 无Cookie的会话状态 666 19.2.8 选择维护状态的正确方式 667 19.3 Application对象 667 19.4 查询字符串 668 19.5 Cookie 668 19.6 回送和跨页面的回送 669 19.7 隐藏的字段、ViewState和ControlState 671 19.8 为短时间状态存储应用HttpContext.Current.Items 675 19.9 小结 676 第20章 高速缓存 679 20.1 高速缓存 679 20.1.1 输出高速缓存 679 20.1.2 部分页面(UserControl)的高速缓存 682 20.1.3 Post-Cache Substitution 683 20.1.4 HttpCachePolicy和客户端高速缓存 685 20.2 编程高速缓存 687 20.2.1 使用Cache对象高速缓存数据 687 20.2.2 高速缓存依赖性 688 20.3 使用SQL Server高速缓存依赖性 694 20.3.1 使数据库支持SQLServer高速缓存禁用功能 695 20.3.2 使表支持SQL Server高速缓存禁用功能 695 20.3.3 对SQL Server的影响 695 20.3.4 查看支持SQL高速缓存禁用功能的表 696 20.3.5 使表不支持SQL Server高速缓存禁用功能 697 20.3.6 使数据库不支持SQL Server高速缓存禁用功能 697 20.3.7 SQL Server 2005高速缓存禁用功能 698 20.4 配置ASP.NET应用程序 699 20.5 测试SQL Server高速缓存禁用功能 700 20.5.1 给页面添加多个表 702 20.5.2 给SQL Server高速缓存依赖性和Request对象建立关联 702 20.5.3 给SQL Server高速缓存依赖性和Cache对象建立关联 703 20.6 小结 706 第21章 调试和错误处理技术 709 21.1 设计期间的支持 709 21.1.1 语法通知 709 21.1.2 Immediate和Command窗口 711 21.1.3 任务列表 712 21.2 跟踪 713 21.2.1 System.Diagnostics.Trace和ASP.NET的Page.Trace 713 21.2.2 页面级的跟踪 713 21.2.3 应用程序的跟踪 714 21.2.4 查看跟踪数据 714 21.2.5 在组件中跟踪 717 21.2.6 跟踪的传送 718 21.2.7 TraceListener 719 21.2.8 诊断选项 723 21.2.9 Web事件 724 21.3 调试 726 21.3.1 需要的内容 726 21.3.2 IIS和ASP.NET开发服务器 727 21.3.3 启动调试会话 728 21.3.4 有助于调试的新工具 731 21.3.5 SQL存储过程的调试 734 21.4 异常和错误处理 735 21.4.1 处理页面上的异常 735 21.4.2 处理应用程序异常 736 21.4.3 HTTP状态码 737 21.5 小结 738 第22章 文件I/O和流 739 22.1 使用驱动器、目录和文件 739 22.1.1 DriveInfo类 739 22.1.2 Directory和DirectoryInfo类 743 22.1.3 File和FileInfo类 749 22.1.4 使用路径 753 22.1.5 文件和目录的属性、特性和访问控制列表 757 22.2 读写文件 764 22.2.1 流 764 22.2.2 Reader和Writer 769 22.2.3 压缩流 773 22.3 处理串行端口 779 22.4 网络通信 779 22.4.1 WebRequest和WebResponse 779 22.4.2 发送邮件 786 22.5 小结 787 第23章 用户控件、服务器控件、模块和HttpHandler 789 23.1 用户控件 789 23.1.1 创建用户控件 790 23.1.2 与用户控件交互 792 23.2 服务器控件 794 23.2.1 项目的建立 794 23.2.2 控件的属性 798 23.2.3 控件的显示 799 23.2.4 添加标记属性 802 23.2.5 给HTML设置样式 804 23.2.6 主题和Skin 806 23.2.7 添加客户端特性 807 23.2.8 检测和响应浏览器功能 816 23.2.9 使用ViewState 819 23.2.10 启动PostBack事件 824 23.2.11 处理回送数据 828 23.2.12 复合控件 830 23.2.13 模板化控件 832 23.2.14 在设计期间创建控件 840 23.3 模块和处理程序 858 23.3.1 HttpModule 859 23.3.2 HttpHandler 869 23.4 小结 875 第24章 使用业务对象 877 24.1 使用ASP.NET 2.0中的业务对象 877 24.1.1 创建预编译的.NET业务对象 877 24.1.2 在ASP.NET应用程序中使用预编译的业务对象 880 24.2 COM交互操作性:在.NET中使用COM 881 24.2.1 运行库可调用包装(RCW) 881 24.2.2 在ASP.NET代码中使用COM对象 882 24.2.3 错误处理 887 24.2.4 用.NET应用程序部署COM组件 890 24.3 在未受管制的代码中使用.NET 891 24.3.1 COM可调用包装(CCW) 892 24.3.2 在COM对象中使用.NET组件 893 24.3.3 早期绑定和后期绑定 897 24.3.4 错误处理 898 24.3.5 用COM应用程序部署.NET组件 899 24.4 小结 901 第25章 移动开发 903 25.1 创建新的ASP.NET移动Web应用程序 903 25.2 使用控件容器 907 25.2.1 Form控件 907 25.2.2 Panel控件 908 25.3 使用样式表 908 25.4 使用ASP.NET移动控件 910 25.4.1 AdRotator控件 910 25.4.2 Calendar控件 912 25.4.3 Label控件 915 25.4.4 TextBox控件 915 25.4.5 TextView控件 917 25.4.6 Command控件 918 25.4.7 Image控件 918 25.4.8 PhoneCall控件 919 25.4.9 Link控件 921 25.4.10 List控件 922 25.4.11 ObjectList控件 925 25.4.12 SelectionList控件 926 25.5 使用验证控件 930 25.6 在移动Web窗体之间导航 932 25.7 移动Web用户控件 932 25.8 使用模拟器 936 25.9 设备过滤器 936 25.10 ASP.NET移动应用程序中的状态管理 938 25.10.1 移动Web控件中的ViewState 939 25.10.2 管理会话状态 940 25.10.3 隐藏字段 940 25.11 小结 942 第26章 建立和使用XML Web服务 943 26.1 不同系统之间的通信 943 26.2 建立一个简单的 XML Web服务 945 26.2.1 WebService页面指令 946 26.2.2 查看Web服务的基类文件 946 26.2.3 把定制的数据集显示为SOAP 948 26.2.4 XML Web服务接口 950 26.3 使用简单的XML Web服务 953 26.3.1 添加Web引用 953 26.3.2 在客户应用程序中调用Web服务 955 26.4 Web服务的传输协议 957 26.4.1 HTTP-GET 959 26.4.2 HTTP-POST 961 26.4.3 SOAP 962 26.5 WebMethod的重载 962 26.6 高速缓存Web服务的响应 965 26.7 SOAP标题 966 26.7.1 用SOAP标题建立Web服务 967 26.7.2 通过SOAP标题使用Web服务 969 26.7.3 使用SOAP 1.2请求Web服务 971 26.8 异步使用Web服务 973 26.9 小结 976 第27章 配置 977 27.1 配置概述 977 27.1.1 服务器配置文件 978 27.1.2 应用程序配置文件 979 27.1.3 配置的应用 979 27.1.4 检测配置文件的变化 980 27.1.5 配置文件的格式 980 27.2 公共配置设置 981 27.2.1 连接字符串 981 27.2.2 配置会话状态 982 27.2.3 编译配置 985 27.2.4 浏览器的功能 987 27.2.5 定制错误 989 27.2.6 身份验证 990 27.2.7 匿名身份 992 27.2.8 授权 993 27.2.9 锁定配置设置 995 27.2.10 ASP.NET页面配置 995 27.2.11 include文件 997 27.2.12 配置ASP.NET运行时设置 997 27.2.13 配置ASP.NET工作进程 1001 27.2.14 存储与应用程序相关的设置 1003 27.2.15 配置文件的编程 1004 27.2.16 保护配置设置 1011 27.2.17 编辑配置文件 1011 27.3 小结 1012 第28章 管理 1013 28.1 Web站点管理工具 1013 28.1.1 Home选项卡 1014 28.1.2 Security选项卡 1015 28.1.3 Application选项卡 1024 28.1.4 Provider选项卡 1026 28.2 MMC ASP.NET插件 1028 28.2.1 General选项卡 1029 28.2.2 Custom Errors选项卡 1031 28.2.3 Authorization选项卡 1031 28.2.4 Authentication选项卡 1033 28.2.5 Application选项卡 1034 28.2.6 State Management选项卡 1035 28.2.7 Locations选项卡 1036 28.3 小结 1036 第29章 打包和部署ASP.NET应用程序 1037 29.1 部署各个部分 1037 29.2 部署之前的准备 1038 29.3 部署Web应用程序的方法 1038 29.3.1 使用XCopy 1039 29.3.2 使用VS Copy Web Site选项 1041 29.3.3 部署预编译的Web应用程序 1044 29.3.4 建立安装程序 1046 29.4 安装程序的选项 1053 29.4.1 使用部署项目的属性 1053 29.4.2 File System编辑器 1056 29.4.3 Registry编辑器 1059 29.4.4 File Types编辑器 1061 29.4.5 User Interface编辑器 1061 29.4.6 Custom Actions编辑器 1063 29.4.7 Launch Conditions编辑器 1064 29.5 小结 1065 附录A Visual Basic 8.0和 C# 2.0语言的改进 1067 A.1 概述 1067 A.2 泛型 1068 A.2.1 泛型集合 1068 A.2.2 泛型方法 1072 A.3 迭代器 1074 A.4 匿名方法 1075 A.5 运算符重载 1077 A.6 全局命名空间限定符 1077 A.7 部分类 1078 A.8 Visual Basic XML文档 1080 A.9 静态类 1081 A.10 属性访问器 1081 A.11 无符号类型 1082 A.12 默认实例 1083 A.13 Visual Basic的新关键字 1083 A.13.1 Continue 1083 A.13.2 Using 1085 A.13.3 My 1085 A.13.4 IsNot 1086 A.13.5 TryCast 1087 附录B ASP.NET在线资源 1089 B.1 作者的Blog 1089 B.2 ASP.NET有影响的Blog 1089 B.3 Web站点 1089
7.49MB
Wrox.ASP.NET.2.0.Website.Programming.Problem.Design.Solution.May.2006 Part02
2008-05-19Wrox.ASP.NET.2.0.Website.Programming.Problem.Design.Solution.May.2006<br>CHM格式<br>Overview<br>Dear reader, thanks for picking up this book, and welcome to the new edition of ASP.NET Website Programming Problem - Design - Solution, fully updated to ASP.NET version 2.0! The idea for this book was born in 2001, with ASP.NET 1.0, from the desire to have a book that teaches how to create real-world web sites. The first edition was published in 2002, and fortunately it was a success. I believe that this was due to the fact that most ASP.NET books on the market were (and still are) reference-type books, which describe every single control of the framework, and all their methods and properties, but the examples they provide are single-page demos showing how to use a control of a feature. However, typically these references don't show how to integrate all ASP.NET features and controls into a single site with rich functionality, which is what readers have to do at work. Designing and implementing a real-world site is very different from creating simple examples, and that's why I think a book like this is helpful for developers facing real problems in their everyday work.<br><br>This new edition of the book was rewritten completely from scratch, to use all the new features of ASP.NET 2.0 as much as possible, and it is hoped that it is better in a number of ways: The project developed is much more complete (there's an e-commerce module, for example) and professional, and each chapter provides enough background information on ASP.NET 2.0 to comfortably read the chapter even if you haven't already had experience with ASP.NET 2.0 (this is something the first edition didn't provide).<br><br>First of all, this book is aimed at describing, designing, and implementing a site much like the ones you're probably working on or will be soon, while taking the opportunity to introduce and explain many of the new features that the new great ASP.NET 2.0 Framework offers. I don't hide difficult problems so that the solution can be simpler and shorter to develop; rather, I try to explain most of the problems you'll typically face when writing a modern web site, and provide one or more solutions for them. The result is a web site that features a layout with user-selectable themes, a membership system, a content management system for publishing and syndicating articles and photos, polls, mailing lists, forums, an e-commerce store with support for real-time credit card processing, home page personalization, and localization (refer to Chapter 1 for a more detailed list of features to be implemented). I hope you enjoy reading this book, and that it offers guidance that speeds up the development of your next project and makes it more solid, extensible, and well organized.<br><br> Important You can browse the web site online at www.dotnet2themax.com/thebeerhouse.<br><br>The author's blog is available at http://www.dotnet2themax.com/blogs/mbellinaso. Please keep an eye on it to read about further development and expansion of the sample project.<br> <br>
32.33MB
ASP.NET 2.0 数据库入门经典(第4版).rar
2019-07-09电子书格式:PDF ASP.NET 2.0 将为ASP数据库领域带来深远的影响。本书介绍了如何使用ASP.NET 2.0 向Web站点添加数据,如何将Web页连接至数据库。ASP.NET 2.0可以极大地提高开发人员构建应用程序的效率。 本书讲解了一些具体示例并演示了很多现实场景和实用技巧,而且通过大量的示例和解释,以及每章末尾的练习题,使读者可以由浅入深地学习ASP.NET 2.0中的新技术,从而进一步提高数据库开发技能。 本书适合于需要前端的数据库开发人员以及需要向站点添加数据的编程人员。读者必须具有基本的和数据库设计方面的知识。 大约有将近一百万名开发人员使用了.NET Framework的第一个版本来开发网站。所以在2003年的夏天,当从Microsoft传出将有新版本发布的传闻时,许多人的耳朵都竖了起来,这个新的版本将使得创建ASP.NET页面所需的代码行数减少70%。像这样大规模的提高生产效率在程序设计中是不多见的。当ASP.NET 2.0的代码样例在2003年秋的Microsoft专业开发人员大会(Microsoft Professional Developer’s Conference)上演示时,结果比预计的还要好。以前使用ASP.NET的第一个版本程序员需要花费几个小时才能做出的页面,现在使用ASP.NET 2.0只需要几分钟就完成了。简单来说,在.NET Framework 2.0最终版本发布之后,任何继续使用第一个版本创建ASP.NET页面的程序人员都将花费大量的额外时间才能达到相同的结果。 也许就像其他任何领域一样,ASP.NET 2.0所提供的优势是能够方便地将数据集成进页面。程序员不再需要知道详细的连接、命令以及数据阅读器和数据适配器对象,就能执行普通数据任务了。对于初学者掌握能力,ASP.NET 2.0使得基本数据的使用简单易学,并且有能力进行更复杂的数据应用。
8.71MB
[Microsoft.net.2.0.Framework.专业程序员指南].WROX-Professional_Web_Parts_and_Custom_Controls_with_ASP_dot_NET.2.0.pdf
2009-01-03ASP.NET 2.0 Web部件与自定义控件开发
23.26MB
C# 7 and .NET Core: Modern Cross-Platform Development - Second Edition
2017-03-29C# 7 and .NET Core: Modern Cross-Platform Development - Second Edition by Mark J. Price English | 24 Mar. 2017 | ASIN: B01N8UG78Q | 594 Pages | AZW3 | 23.26 MB Modern Cross-Platform Development About This Book Build modern, cross-platform applications with .NET Core Get up to speed with C#, and up to date with all the latest features of C# 7 Start creating professional web applications with ASP.NET Core Who This Book Is For This book is targeted towards readers who have some prior programming experience or have a science, technology, engineering, or mathematics (STEM) background, and want to gain a solid foundation with C# and to be introduced to the types of applications they could build and will work cross-platform on Windows, Linux, and macOS. What You Will Learn Build cross-platform applications using C# 7 and .NET Core Explore ASP.NET Core and learn how to create professional web applications Improve your application's performance using multitasking Use Entity Framework Core and find out how to build code-first databases Master object-oriented programming with C# to increase code reuse and efficiency Familiarize yourself with cross-device app development using the Universal Windows Platform and XAML Query and manipulate data using LINQ Protect your data by using encryption and hashing In Detail If you want to build powerful cross-platform applications with C# 7 and .NET Core, then this book is for you. First, we'll run you through the basics of C#, as well as object-oriented programming, before taking a quick tour through the latest features of C# 7 such as tuples, pattern matching, out variables, and so on. After quickly taking you through C# and how .NET works, we'll dive into the .NET Standard 1.6 class libraries, covering topics such as performance, monitoring, debugging, serialization and encryption. The final section will demonstrate the major types of application that you can build and deploy cross-device and cross-platform. In this section, we'll cover Universal Windows Platform (UWP) apps, web applications, mobile apps, and web services. Lastly, we'll look at how you can package and deploy your applications so that they can be hosted on all of today's most popular platforms, including Linux and Docker. By the end of the book, you'll be armed with all the knowledge you need to build modern, cross-platform applications using C# and .NET Core. Style and approach This book takes a step-by-step approach and is filled with exciting projects and fascinating theory. It uses three high-impact sections to equip you with all the tools you'll need to build modern, cross-platform applications using C# and .NET Core.
32.0MB
Professional ASP.NET 3.5 SP1 Edition: In C# and VB(part1)
2009-08-09Wrox Press, 2009,asp.net最新红宝书!7z压缩 Professional ASP.NET 3.5 SP1 In C# and VB ASP.NET 3.5 brings the power of Visual Studio® 2008 along with the multitude of language improvements in C# 2008 and Visual Basic® 2008 as well as powerful new technology called LINQ, together with the ASP.NET 2.0 Framework you already know and love. Packed with valuable coverage of ASP.NET 3.5 SP1, this essential resource offers both C# and VB examples throughout the book, and shares new and updated content on the ADO.NET Entity Framework, ADO.NET Dynamic Data, and ADO.NET Data Services. While ASP.NET 3.5 boasts server controls like the ListView and the incredibly flexible GridView, it also includes advancements in AJAX technology combined with JavaScript® debugging features in Visual Studio 2008. With this book, a stellar author team covers the new controls in the AJAX toolbox, the back button history, and script combining, and they also examine the new capabilities of WCF including changes to DataContractSerializer. In addition, the accompanying CD-ROM features the entire book in PDF format. What you will learn from this book * The concepts underlying the server control and its pivotal role in ASP.NET development * How to create templated ASP.NET pages using the master page feature * How to work with data from enterprise databases including SQL Server® * Ways to debug, package, and deploy ASP.NET applications, monitor their health and performance, and handle errors * How to retrieve, update, and delete data quickly and logically using LINQ with side-by-side examples comparing LINQ to existing techniques * Ways to localize your web site in multiple languages for a world-wide audience * Methods for adding AJAX capabilities to your ASP.NET applications * The many benefits of the new data access additions * Ways to use and extend the Provider Model for accessing data stores, processes, and more * What freeware tools you need in Scott Hanselman's ASP.NET Ultimate Developer Tools appendix
7.58MB
ASP.NET2.0+SQL Server网络应用系统开发
2008-10-21-----------------------------软件环境-------------------------------------- 数据库:Microsoft SQL Server 2000。 技术平台:Microsoft .NET Framework 2.0.0.0版本。 IIS:Internet Information Server 5.1版本。 调试(开发)工具:Microsoft Visual Studio .NET 2005中文企业版。 服务器操作系统:开发过程中使用Windows XP Professional操作系统,系统运行服务器可以采用Windows 2000 Server以上版本的操作系统。 需要说明的是,光盘中并不包括Visual Studio .NET 2005的安装程序。 -----------------------------硬件环境--------------------------------------- CPU推荐使用PIII 800以上级别。 要流畅运行Visual Studio .NET 2005关键是内存大小,至少256MB,推荐512MB。 其他为常规硬件配置,对显卡、声卡都无特别要求。 -----------------------------注意事项--------------------------------------- 本光盘主要为书中的源程序,关于如何使用这些源程序, 一是看书中的说明,二是看本盘附带的视频安装演示。 -----------------------------光盘程序代码说明--------------------------------------- 在“源文件”目录下包括本书涉及的所有例子的源文件。具体如下: 第1章 酒店管理系统; 第2章 连锁中心配送系统; 第3章 企业信息管理; 第4章 鲜花配送系统; 第5章 学生管理系统; 第6章 学生选课系统; 第7章 BLOG; 第8章 在线考试系统; 第9章 网上书店系统。 -----------------------------视频动画--------------------------------------- 在光盘的“视频动画”文件夹中,放有本书实例的配置方法,直接打开“配置书中的实例.htm”文件,就可以运行动画。
11KB
IPMsg Attacker V2.12
2012-11-101. 软件简介 - 该程序专门攻击IPMsg程序,令被攻击者机器上会狂弹IPMsg收到信息的窗体框,影响正常操作。 - Windows Server 2003 SP2 简体中文版 + Visusl Studio.Net 2005 Professional Edition 简体中文版 + Microsoft .NET Framework 2.0 下开发。 - 开发语言 C# 。 - 十分小巧,简单易用,而且你可以完全免费使用它。 --------------------------------------------------------------------------------
473KB
Visual Studio 2008 自动卸载工具
2009-10-18自动卸载工具 注意:此工具不会卸载 Visual Studio 2008 的测试版,而只卸载 Visual Studio 2008 RC 版本和正式版本(仅限英文版本)。 警告:此自动卸载工具会卸载随 Visual Studio 2008 产品安装的“所有”组件,包括 Visual Studio Express 版本、Visual Studio Team System、Visual Studio Professional。但它不卸载 Visual Studio 2008 和 Visual Studio 2005 共享的组件。 手动卸载说明 转到“控制面板”并启动“添加/删除程序” 删除所有 Visual Studio 2008/代号 Orcas 产品的实例 按指定顺序删除任何剩余的支持产品。 删除“MSDN Library for Visual Studio 2008” 删除“Microsoft SQL Server Compact Edition 3.5” 删除“Microsoft SQL Server Compact Edition 3.5 Design Tools” 删除“Microsoft SQL Server Compact Edition 3.5 for Devices” 删除“Microsoft Visual Studio Performance Collection Tools” 删除“Windows Mobile 5.0 SDK R2 for Pocket PC” 删除“Windows Mobile 5.0 SDK R2 for Smartphone” 删除“Crystal Reports 2007” 删除“Visual Studio Asset System” 删除“Microsoft Visual Studio Web Authoring Component / Microsoft Web Designer Tools” 删除“Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime” 删除“Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime 语言包”(仅限非英文版本) 删除“Microsoft Visual Studio Tools for Office Runtime 3.0” 删除“Microsoft Document Explorer” 删除“Microsoft Document Explorer 2005 语言包”(仅限非英文版本) 删除“Microsoft Device Emulator 3.0” 删除“Microsoft .NET Compact Framework 3.5” 删除“Microsoft .NET Compact Framework 2.0 SP1” 删除“.NET Framework 2.0 SDK” 删除“Microsoft Visual Studio 代号 Orcas 远程调试器” 删除“Microsoft Visual Studio 64 位先决条件测试版”(仅限 64 位平台) 删除“Microsoft .NET Framework 3.5”
23.30MB
C#高级编程(第11版_高清版_课程+源代码)
2019-04-09C#高级编程出第11版了,目前只有英文原版,名字叫做Professional C# 7 and .NET Core 2.0,中文版预计19年下半年出版。高级编程(Professional)系列写得非常详细,适合希望对代码和原理有深入研究的人阅读。 翻译: Professional C# 7 and .NET Core 2.0为有经验的程序员提供了他们需要与世界领先的编程语言有效合作的信息。最新的C语言更新增加了许多新的特性,帮助你在更短的时间内完成更多的工作,这本书是你快速入门的理想指南。C# 7重点关注数据消耗、代码简化和性能,对本地函数、元组类型、记录类型、模式匹配、非可空引用类型、不可变类型以及更好地支持变量提供了新的支持。VisualStudio的改进将给C开发人员与空间交互的方式带来重大改变,将.NET引入非微软平台,并将工具从诸如Docker、GULP和NPM等其他平台结合起来。在一个领先的.NET专家的指导下,沉浸在真实的实用性中,这个指南旨在让你跟上时代并回到工作中去。 本书首先简要介绍了C# 7 和 .NET Core 2.0的最新特性,然后继续解释如何使用面向对象的范例来实现C# 7。您将学习使用实体框架与关系数据一起工作,并了解如何实际使用ASP.NET核心。本书将向您展示.NETCype如何允许跨平台应用程序的创建。 您还可以了解Simulalr向应用程序添加实时功能。然后,您将看到如何使用MUGODB以及如何将MUGDB应用到应用程序中。您将了解无服务器计算和OAuthe概念,以及使用DokeCo编写ASP.NET核心应用程序。 这个基于项目的指南使用实际的应用来证明这些概念。在本书的末尾,您将熟练地使用.NETCype 2开发应用程序。 .NET Core is a general purpose, modular, cross-platform, and open source implementation of .NET. With the latest release of .NET Core, many more APIs are expected to show up, which will make APIs consistent across .Net Framework, .NET Core, and Xamarin. This step-by-step guide will teach you the essential .NET Core and C# concepts with the help of real-world projects. The book starts with a brief introduction to the latest features of C# 7 and .NET Core 2.0 before moving on to explain how C# 7 can be implemented using the object-oriented paradigm. You'll learn to work with relational data using Entity Framework and see how to use ASP.NET Core practically. This book will show you how .NET Core allows the creations of cross-platform applications. You'll also learn about SignalR to add real-time functionality to your application. Then you will see how to use MongoDB and how to implement MongoDB into your applications. You'll learn about serverless computing and OAuth concepts, along with running ASP.NET Core applications with Docker Compose. This project-based guide uses practical applications to demonstrate these concepts. By the end of the book, you'll be proficient in developing applications using .NET Core 2.0. 目录 eBook Manager and Catalog App Cricket Score Calculator and Tracker Cross Platform .NET Core System Info Manager Task Bug logging ASP .NET Core MVC app ASP.NET SignalR Chat Application Web Research Tool with Entity Framework Core A Serverless email validation Azure Function Twitter Clone using Oauth Using Docker and ASP.NET Core
-
下载
D300815(1).pdf
D300815(1).pdf
-
下载
sirenix.utilities.dll
sirenix.utilities.dll
-
下载
5G赋能矿山智能化建设方案 5G+智慧矿山建设方案.pptx
5G赋能矿山智能化建设方案 5G+智慧矿山建设方案.pptx
-
下载
CISSP 最新全套培训讲义(完整版).rar
CISSP 最新全套培训讲义(完整版).rar
-
下载
AD19珍藏元件库(建议18版本以上使用)
AD19珍藏元件库(建议18版本以上使用)
-
下载
MiniPhoto.zip
MiniPhoto.zip
-
下载
创办职业中学的可行性申请报告.pdf
创办职业中学的可行性申请报告.pdf
-
下载
sirenix.serialization.dll
sirenix.serialization.dll
-
下载
基于MATLAB心电信号小波处理分析研究.caj
基于MATLAB心电信号小波处理分析研究.caj
-
下载
市政道路作业指导书.pdf
市政道路作业指导书.pdf
