饭饭TXT > 学习管理 > 《Visual Studio 2010 高级编程(英文出书版)》作者:Nick Randolph/等【完结】 > [Visual.Studio.2010.高级编程].Professional.Visual.Studio.2010.txt

第 163 页

作者:Nick Randolph/等 当前章节:15377 字 更新时间:2026-6-18 14:51

jQuery, 468–470

model binders, 458–459

models, selecting, 440–441

partial views, 463

request life cycle, 438–439

routing, 451–455

views, custom view templates, 463–464

ASP.NET Web Forms, 399, 437

ASP.NET Web Parts, 524

assemblies

caching, XML file and, 476

GAC, 933–934

naming, 929–932

signing, 934–936

strongly named, 933

obfuscation, 948–949

versions, consistency, 932–933

assembly directive (T4), 276

Assembly Information, 98–99

AssemblyCleanup attribute, 207

AssemblyInfo file, 932–933

AssemblyInitialize attribute, 207

Assert class, 203

Assert method, 891

Association connector, 179

associations (Entity Framework), 634

asterisk (*), unsaved changes, 11

asynchronous methods, 698

attached properties, XAML, 358

attaching to Web applications, 893–894

attaching to Windows processes, 892–893

attributes

AmbientValue, 31–32

ApplicationAttribute, 953

Browseable, 28–29

Category, 30

CompilerGenerated, 1078

configuration, 780–781

DataContract, 686

DebuggerBrowsable, 859–860

DebuggerDisplay, 860–861

DebuggerHidden, 861–862

DebuggerNonUserCode, 862

DebuggerStepperBoundary,

862–863

DebuggerStepThrough, 862

DefaultValue, 30–31

Description, 29

DisplayName, 29

EnableClientAccess, 761

ExportAttribute, 1036

FeatureAttribute, 957–958

GeneratedCode, 1078

InsertShelfLifeAttribute, 956

InsertSignOfLifeAttribute, 956

InsertTamperCheckAttribute, 951

ObfuscationAssemblyAttribute, 945–946

ObfuscationAttribute, 946–948

attributes – builds

attributes (continued)

OperationContract, 684

ServiceContract, 685

SetupAttribute, 953–956

TeardownAttribute, 953–956

TestClass, 200

testing and, 200–202

ExpectedException, 204–206

Ignore, 201

Owner, 201

Priority, 201

TestCategory, 201

Timeout, 201

WorkItem, 201

TestMethod, 200

xmlns, 356

authentication, 107

AppFabric, 533

ASP.NET Application Services, 729

Forms, 726

forms-based, 731

NTLM, 113

RIA Services, 758

users, 731–733

Web controls, 418–420

Windows authentication, 726

authorization, roles, 729–731

automated tests, 1095–1096

automatic properties, 322–323

automation, T4 templates, 280–284

automation model. See DTE (Development

Tools Extensibility)

accessing, 1018–1020

Autos window, 833

Azure. See Windows Azure Platform

b

background synchronization, 752–755

BackgroundWorker, 752–755

Bauer, Denis, 940–941

BeforeExecute event, 1020

best practices for databases, 1093–1094

binary resources, 807–808

binding data, data contracts, 690

binding objects, LINQ to SQL, 614–617

BindingNavigator, 569–570

BindingSource, 567–569

chains, 579–581

BindingSource property, 614

bitmap loading, 816

block comments, 220

block selection, code editor, 60

bookmarks, 133–135

workflow, 705

Branch Visualization tool, 1127

branches in Version Control, 1126–1127

Break mode (debugging), 828, 845

Breakpoint Hit Count dialog, 849

breakpoints, 828, 845

break conditions, 848

conditional, 828

deleting, 850

disabling, 850

exporting, 851–852

filters, 849–850

hit counts, 849

importing, 851–852

JavaScript, 878

labeling, 851

location, changing, 850–851

setting

address, 847

function, 846–847

simple, 846

workflows, 718–719

Breakpoints window, 828–829

breakpoint list, 829

toolbar, 829

brokers (IntelliSense), 1049

Browseable attribute, 28–29

browsers, Silverlight, 481–484

browsing data, 584–586

Build and Run node, 49–50

Build and Run options page, 912

Build Configuration options, 912

Build Events tab (Solution Explorer), 103, 917–919

Build tab (Solution Explorer), 102–103

building first application, 9–13

builds

Business application template – classes

C# build pages, 919–920

Compile page (VB), 915–919

Build Events, 917–919

compilation constants, 916–917

optimizations, 916

dependencies, manual, 914–915

general options, 911–914

MSBuild, 920–921

Items elements, 924

PropertyGroup nodes, 924

Target elements, 924

Tasks elements, 925–927

Visual Studio’s use, 921–923

parallel project builds, 912

Business Application template, 757

business logic, Entity Framework, 645

c

C#

build pages, 919–920

code snippets, 139–140

C/C++ Code Analysis tool, 1079

CAL (client access license), 514

Call Hierarchy window, 66–67

Call Stack window, 833, 839, 847

camel case searching, 82

catalogs (MEF), 1040–1041

Category attribute, 30

CEIP (Customer Experience Improvement

Program), 958

certificates

deployment and, 977–979

Trusted Root Certification Authorities, 979

Changed event, 1042

Chart control, 658–659

charts

categories, 658

data, 658

drop zones, 658

series, 658

Check Comment Margin Highlighter, 1050–1057

CheckCommentGlyphFactory class, 1056

CheckCommentTagger class, 1054

CheckCommentTaggerProvider class, 1054

class associations, 179

class coupling, code metrics, 1077

Class Designer

Class Details, 180

class diagram

creating, 176–177

entities, 178–179

exporting, 182

code generation

drag-and-drop, 182–184

IntelliSense, 184–185

drag and drop and, 177

Implement Abstract Class function, 185

layout, 181

modeling and, 175

Override Members function, 185

Properties window, 181

refactoring with, 185

Toolbox, 178

Class Details window, 180

class diagrams

creating, 176–177

entities, 178–179

connectors, 179

exporting, 182

Class Diagrams (UML), 1062, 1066

Class Feature blocks (T4), 270–272

Class View, 8, 63–64

ClassCleanup attribute, 206–207

classes

Activity, 704

ApplicationRoot, 1035

Assert, 203

CheckCommentGlyphFactory, 1056

CheckCommentTagger, 1054

CheckCommentTaggerProvider, 1054

ClassificationTypeDefinition, 1046

CodeActivity, 704, 715

CollectionAssert, 204

CommandLineMessageService, 1038

ComponentResourceManager, 812

Connect, 1015

CustomAuthentication, 731

CustomerVisualizer, 866–867

Debug, 890–891

classes – code formatting, code editor

classes (continued)

Debugger, 890

domain context, 764–765

DynamicActivity, 704

EventLog, 161

Installer, 172, 971

InstallerActions, 971

MembershipProvider, 732

metadata, 492

metadata proxy, 462

NativeActivity, 704

RegisteredEntities, 788

RoleProvider, 729

SaveOperation, 1038

SearchResult, 591

ServerSyncProviderProxy, 752

ServiceInstaller, 973–976

StatusNotificationService, 1036

StringAssert, 203–204

SubscriptionTest, 1103

Trace, 890–891

WorkflowApplication, 705, 717

WorkflowInvoker, 705

WorkflowServiceHost, 705

Classification subsystem, 1043

classification types (Editor), 1046–1047

ClassificationTypeDefinition class, 1046

classifier aggregators, 1046

ClassInitialize attribute, 206–207

Click event handler, 37

ClickOnce, 110

deployment, 976–980

security, 111

updating, 980–982

client application services, 725

application framework, security, 728

ASP.NET Application Services, 729

offline support, 740–742

users, validation, 727

client changes in Sync Services, 755–756

client services

authentication, 107

roles, 107

Web settings, 107

client-side development, Web Application projects,

425–431

ClientServices, creating, 725–728

clipboard, code editor, 60

Cloud Computing, 533

Cloud Service project template (Azure), 534

CloudFront project (Azure), 535

CLR (Common Language Runtime), 394

CMMI Process Improvement, MSF and, 1112

code, linking with tests, 1103–1105

code analysis, 112–113

C/C++ Code Analysis tool, 1079

Managed Code Analysis tool, 1078–1079

Code Analysis Settings, 93

Code Analysis tab (Solution Explorer), 112–113

code assets, generating, 280–284

code blocks

commenting/uncommenting, 59–60

surrounding with snippets, 141–142

Toolbox, 138

Code Contracts, 214–216, 258–260

Code Coverage, 1103–1104

Code Definition window, 66

code editor

block selection, 60

clipboard, 60

code blocks, commenting/uncommenting, 59–60

code formatting, 55–56

Find All References option, 61

floating windows, 58–59

full-screen view, 60

Go To Definition option, 61

line numbers, 57

multiline editing, 60

Navigate Backward, 57

Navigate Forward, 57

outlining, 55

reference highlighting, 57

regions, 54–55

split view, 58

tab groups, 59

tear away code windows, 58–59

threads, 897

window layout, 53–54

word wrap, 57

zooming, 57

code execution windows, Call Stack, 833

code formatting, code editor, 55–56

code generation – ComposeParts method

code generation, 263–264

drag-and-drop, 182–184

IntelliSense, 184–185

code metrics, 1075

class coupling, 1077

Cyclomatic Complexity, 1078

depth of inheritance, 1077

excluded code, 1078

lines of code, 1076–1077

maintainability index, 1078

Code Metrics window, 1075–1076

code modules, macros, 1026

code snippets

C#, 139–140

code blocks, 138–139

surrounding, 141–142

creating, 143

IDE, 137

Insert Snippet, 139–140

inserting, 139

IntelliSense, 133

predefined, 139

reviewing, 144–147

shortcuts, 140

VB, 140–141

Code Snippets Manager, 142–143

code window

Break mode, 828

DataTips, 828

debugging, 827–828

CodeActivity class, 704, 715–719

Coded UI Tests, 1101–1102

CodeRush Xpress, 137

refactoring, 149

coding resource files, 817–819

coding standards, FxCop, 254–257

coding style, StyleCop, 258

collection associations, 179

CollectionAssert class, 204

collections, initializers, 323–324

colors, editor space, 43–44

COM components

add-ins, 1014

registering, 1014

Command window, 61–62

IntelliSense, 62

CommandLineMessageService class, 1038

commands

aliases, Immediate window, 831

DTE.Commands enumeration, 1006–1007

Find in Files, 78

groups, 61

Immediate window, 831

IntelliSense, 131

listing, 47, 61

Lock Controls, 345

Replace in Files, 78

Toggle Bookmark, 133–134

commenting/uncommenting, code blocks, 59–60

comments, 1046

block, 220

inline commenting, 220

single line, 220

Task List window, 241–243

text file resources, 806

XML comments, 220–221

commit characters (IntelliSense), 123

Common Controls, 23

compile errors, 64

Compile page (VB), 915–916

Build Events, 917–919

compilation constants, 916–917

optimizations, 916

Compile tab (Solution Explorer), 100–102

compiler debug option, enabling, 873

compiler section of configuration schema, 780

CompilerGenerated attribute, 1078

compiling

decompilers, 939–941

just-in-time compiling, 937

PIAs (Primary Interop Assemblies), 315

transformation errors, 279

completion mode (IntelliSense), 124–125

complex expressions, 661

complex properties (entities), 631

Component Diagrams (UML), 1062, 1065–1066

ComponentResourceManager class, 812,

816–817

composable parts of application, 1034

ComposeParts method, 1035

composition containers – controls

composition containers, 1034

CompositionContainer, 1034

Condition property, 969

conditional breakpoints, 828

.config files

app.config file, 774

applicationHost.config file, 775

machine.config file, 773–774

security.config file, 775

web.config file, 774

configuration, help system, 85–86

configuration attributes, 780–781

configuration files, 773. See also .config files

application settings, 782–790

appSettings section, 782–783

connectionStrings section, 798

custom sections, 785–790

dynamic properties, 784–785

IntelliSense, 789–790

project settings, 783–784

referenced projects with settings, 792–793

SCDL, 789

user settings, 790–791

configuration schema

compiler section, 780

configurationSections block, 775–776

cryptographySettings section, 779

runtime block, 777–778

startup block, 777

system.diagnostics section, 779

system.net block, 778–779

system.runtime.remoting block, 778

system.web section, 779–780

configuration settings, inherited, 774

configurationSections block of configuration

schema, 775–776

Connect class, 1015

connection properties (SQL Server), 800–801

connection strings, 562

encrypting, 803–804

in-code construction, 801–803

Connection Strings Wizard, 795–801

ConnectionString property, 801

connectionStrings section of configuration

files, 798

connectors to entities, 179

container controls

composition container, 1034

FlowLayoutPanel, 348

Panel, 347–348

SplitContainer, 347–348

TableLayoutPanel, 348–349

content controls (Word), 381

content pages (SharePoint), 522

content types

Editor, 1045–1046

SharePoint, 519

ContentTypeDefinition contract, 1046

context menus, Solution Explorer, 17

contracts (MEF), 1037–1040

ContentTypeDefinition, 1046

IGlyphFactoryProvider, 1056

IMouseProcessorProvider, 1048

IWpfTextviewCreationListener, 1048

contracts (WCF), 683

data contracts, 683, 685–687

message contracts, 683

目录
设置
设置
阅读主题
字体风格
雅黑 宋体 楷书 卡通
字体大小
适中 偏大 超大
保存设置
恢复默认
手机
手机阅读
扫码获取链接,使用浏览器打开
书架同步,随时随地,手机阅读
首 页 < 上一章 章节列表 下一章 > 尾 页