+ (addition) operator, 114
& (And) operator, 116
&& (And Also) operator, 116
&= (assignment of string value with concatenation) operator, 113
+= (assignment with addition) operator, 113
*= (assignment with multiplication) operator, 113
-= (assignment with subtraction) operator, 113
@ (at sign), Razor syntax, 763
: (colons)
jQuery filters, 822
JSON notation, 720
, (commas), JSON notation, 720
& (concatenation) operator, 115
{ } (curly brackets)
brace matching, 323
JSON notation, 720
Razor syntax, 763
/ (division to return floating point) operator, 114
/ (division to return integers) operator, 114
$ (dollar sign), jQuery, 821
=, == (equal) operators, 113, 115
> (greater than) operator, 115
>= (greater than or equal to) operator, 115
# (hashtag), jQuery ID-based selections, 822
< (less than) operator, 115
$(‘ ’) method (jQuery), 822
* (multiplication) operator, 114
< >, != (not equal) operators, 115
! (Not) operator, 116
| (Or) operator, 116
|| (OrElse) operator, 116
( ) (parentheses), brace matching, 323
| (pipes), Angular filters, 889
“” (quotation marks), brace matching, 323
[ ] (square brackets), 126
brace matching, 323
JavaScript dot notation, 801
JSON notation, 720
- (subtraction) operator, 114
_ (underscores), page names, 768
^ (Xor operator), 116
<a> HTML tag, 762
About() method, 742
About.cshtml view page, 742-743
AbsoluteCharOffset property (EditPoint objects), 636
access signal icons (Class View window objects pane), 204
AccessDataSource controls, 583
accessibility standards compliance, 277
Accessibility Validation dialog box, 277
accessing
Azure services from Server Explorer, 523
BOM, 805
breakpoint conditions/actions, 402
classes from Solution Explorer, 198
data cache (Office), 1058-1059
Diagnostic Tools window, 439
DOM tree nodes, 811
list of nodes, selecting, 812-813
traversing, 813
Encapsulate Field refactor operation, 387-388
Extract Interface refactor operation, 383
Extract Method refactor operation, 375
files/folders (WinRT), 1088
jQuery selection content, 825-826
Project Designer, 185
Quick Find, 237
refactoring from Quick Actions menu, 363
Class View and Properties window, 368
keyboard shortcuts, 369
Quick Actions menu, 370
text editors, 226
visualizers, 441
Watch windows, 435
Web Publishing tool, 469
accounts (Azure)
linking to Visual Studio, 478
pricing, 477
Acquire Developer License command (Windows Store menu), 1101
action methods
ASP.NET MVC applications, 742
list of customers, returning, 756-757
new customer page, returning, 757
POST requests, handling, 758-759
action panes (Office), 1039, 1055-1057
action result objects, 754-755
actions
breakpoint, 402
user, confirming, 806
Activate() method (objects)
documents, 631
OutputWindowPane, 626
activation (MEF), 685
active hyperlinking, 295
ActiveDocument property (DTE objects), 605
ActiveSolutionProjects property (DTE objects), 605
ActiveWindow property (objects)
documents, 631
DTE, 605
AdaptiveMenu property (CommandBar objects), 629
Add Command dialog box, 65
Add Connection dialog box, 538
Add New Item dialog box
ASP.NET website file types, 719
class diagrams, creating, 281
EDM, 591
WinForms components, creating, 278
Add New Item - Solution Items dialog box, 171
Add New Project dialog box, 330
Add New Test dialog box, 357
Add New User Control dialog box, 278
Add Style Rule dialog box, 258
Add to References button (Object Browser toolbar), 216
addClass() method (jQuery), 827
AddControl() method (commands), 646
addEntry() method, 1187
addEventListener() method, 818
AddFromFile() method (solutions), 608
AddFromTemplate() method (solutions), 608
AddFromTemplateEx() method (solutions), 608
AddIn automation type, 602
add-ins (Office), 19
document extensions, compared, 1041
Outlook form regions, 1049-1052
message class association, 1050
region types, 1049
runtime events, 1052
UI, 1050
button events, handling, 1046-1047
design surface, 1043
IDE Toolbox controls, 1044
AddIns property (solutions), 608
addition (+) operator, 114
addition with assignment (+=) operator, 113
addresses (WCF services), 929
AddResultFile() method (TestContext class), 339
AddSolutionFolder() method (solutions), 608
extension point, 688
AdventureWorks sample database, 546
AJAX (Asynchronous JavaScript)
GET/POST methods, 924
jQuery, 831
Alert Rules Startboard item, 507
alerts
browser windows, 805
ALM (Application Lifecycle Management), 6, 1076-1077
image viewer Windows Store app events, 1096-1100
application states, 1096
launching applications, 1097-1098
resuming applications, 1097
suspending applications, 1097
Team Explorer, 8
Test Professional, 8
VSO, 6
WinRT
ampersand (&) concatenation operator, 115
analysis (code)
debugging, 393
settings, 175
Analyze menu, 57
Anchor TagHelper, 767
And (&) operator, 116
And Also (&&) operator, 116
angle brackets (< >), 126
defining, 881
files, 719
Cordova apps, 1175
directives
files, 719
Ionic UIs, 1180
listing of, 889
models, binding, 875
entries
filters, 889
form validation, 889
Ionic-Angular anatomy, 1180-1181
Ionic-Angular-Cordova sample app
About tab, 1192
calculate tab, creating, 1186-1190
local storage, adding, 1193-1195
running on Windows Phone, 1196-1197
modules
defining, 880
files, 719
MVC pattern, 874
pages, turning into forms, 883-885
server models, creating, 879
Web API services, calling, 879
animate() method, 830
:animated jQuery filter, 822
animations
jQuery, 830
WPF, 989
annotations, adding to classes, 746-747
anonymous data types, creating, 137-138
anonymous functions, 798
Cordova. See Cordova
Cordova Plugins Registry, 1175
Ripple (Cordova debugging), 1168-1170
Software Foundation website, 1154
APIs
UI delivery solutions, 13
Web API. See Web API services
WinRT
application lifecycles, 1076-1077
architecture, 1071
capabilities, 1076
C#/VB/XAML, 1075
defined, 1071
file/folder access classes, 1088
HTML/JavaScript/CSS, 1073-1074
.NET Framework, compared, 1072
Silverlight apps, porting, 1124
app bars, 1070
Universal app, 1116
App for Office, 1059
extension types, 1060
starting page, 1059
task pane app, creating, 1060-1062
template, 1059
appearance
form controls, 971
properties, 959
WinForms forms, customizing, 260
WPF projects, customizing, 270
appendChild() method (DOM), 815
Application class, 991
Application Lifecycle Management. See ALM
Application property (CommandBar objects), 629
Application property page, 186
applications
cloud
applications, creating, 29
Azure. See Azure
overview, 29
Cordova. See Cordova
cross platform mobile, 14
deploying
InstallShield, 465
dynamic, extensibility problem, 684
lifecycles. See ALM
LINQ to SQL
drag-and-drop operation LINQ code, 588-590
mobile. See mobile applications
multithreaded, debugging, 445
breaking on threads, 450
flagging threads, 447
individual threads, inspecting, 448-450
MSDN code example, 445
processes, managing, 447
.NET faces, 11
Office. See Office
parallel, debugging, 451
Parallel Stacks Task view, 452-455
Parallel Stacks Threads view, 451-453
Parallel Stacks window, 451
Parallel Tasks window, 454-456
project settings, 189
applications in debug mode, starting, 394
breaking on exceptions, setting, 397-398
continuing after breakpoints, 403
Contoso University sample application, 393
debug mode, starting, 396
stepping through code, 403-405
website debugging, enabling, 394-395
SharePoint, 20
SPA. See SPAs
state
resuming, 1097
terminated, 1122
transient/persistent data, 1122
web. See web applications
Windows client, developing, 258
Windows Phone. See Windows Phone apps
Windows Store. See Windows Store applications
WinForms. See WinForms
WPF. See WPF
XAML browser (XBAP), 17
Applications namespace, 1058
AppServices template, 525
architecture
MEF, 686
catalog, 686
composition container, 685-686
MEF classes, 685
parts, 685
MVC. See MVC
MVVM
Knockout, 857
WinRT, 1071
WPF, 988
areas (pages), 769
AreEqual() method (Assert class), 344
AreNotEqual() method (Assert class), 344
AreNotSame() method (Assert class), 344
AreSame() method (Assert class), 344
arguments
Raise method, 648
unused, deleting, 147
arithmetic operators, 114
defining, 122
jagged, 123
multidimensional, 123
size, 122
values, defining/initializing, 123, 136-137
backward compatibility, 712
client build tasks, managing, 731-734
client framework dependencies, managing, 728-731
code editors support, 711
controllers, 753
action result objects, 754-755
customer delete requests, processing, 759
DbContext objects, adding, 756
generating with dnx . gen tool, 788-791
list of customers, returning, 756-757
new customer page, returning, 757
POST requests, handling, 758-759
high-level overview, 708
linked to Azure, creating, 481-485
models
data context, creating, 748
databases, creating manually, 752-753
databases, creating with EF7 migrations, 750-752
MVC architecture. See MVC
.NET Foundation, 711
configuration, 721
multiple versions, targeting, 727-728
adding to project.json files, 723-724, 726
adding with NuGet, 726
viewing, 725
project references, 728
project.json file configuration sections, 722-723
publishing, 469
connections, configuring, 471
deployment settings, configuring, 472-473
responsive design, 763
source code website, 711
SPA. See SPAs
ASP.NET 5 Web Site. See ASP.NET 5 Web Site template
empty, 714
MVC, 715
SPA, 716
Web Pages, 715
UI delivery solutions, 13
unit tests
views
areas, 769
customer example. See customer example pages
generating with dnx . gen tool, 788-791
models, 788
user input validation, 770-771
Web API services. See Web API services
design/development synchronization, 22-23
server-side controls, 22
web requests, processing and responding, 709-710
websites
Compiler directory, 718
Dependencies directory, 718
JSON configuration files, 720-721
Migrations directory, 718
MVC folders, 718
project files, 719
Properties directory, 718
References directory, 718
Bootstrap
layout styles, 839
default structure, 716
directories, 718
JSON configuration files, 720-721
MVC folders, 718
overview, 716
project files, 719
AspNetDevelopmentServerHost attribute (ASP.NET unit tests), 356
AspNet.WebApi.Core package, installing, 353
managed, 563
references, adding, 216
WPF, 988
AssemblyCleanup class, 341
AssemblyInitialize class, 341
assertion methods, 344
collections of objects, verifying, 345
overloads, 345
strings, verifying, 345
assertions (unit tests), 344-345
collections of objects, verifying, 345
strings, verifying, 345
assets, loading, 828
Associate App with the Store command (Windows Store menu), 1101
AssociationAttribute class, 746
associations (classes), 285-286
Asynchronous JavaScript. See AJAX
asynchronous programming, 157-159, 1087
at sign (@), Razor syntax, 763
AtEndOfDocument property (EditPoint objects), 636
AtEndOfLine property (EditPoint objects), 636
AtStartOfDocument property (EditPoint objects), 636
AtStartOfLine property (EditPoint objects), 636
Attach to Process command (Debug menu)
active debug session, 408
at rest, 406
attr binding (Knockout), 872
attribute node (DOM tree), 809
attributes, 126
ASP.NET unit tests, 355
C# brackets, 126
CachedAttribute, 1057
CSS, defining, 258
CustomerProfile class, 932
declarative, 126
DOM nodes, 814
HTTP verb-based (Web API service controllers), 902-903
names, 126
test attribute classes, 341-342
TestMethod, 333
VB brackets, 126
WCF service methods, 943
authentication, 739
Author node (XML), 316
auto scaling controls, 966-967
auto sizing, 1021
AutoGenerateDeleteButton property (GridView control), 582
AutoGenerateEditButton property (GridView control), 582
autogenerating data-bound controls, data sources, 565-569
AutoHides property (windows), 615
auto-implemented properties, 147-148
automation
build, 7
Task List, 328
automation object model
categories, 604
code model object hierarchy, 611-612
CommandBars collection, 629
menu bar versus toolbar, 629
methods, 629
properties, 629
commands, 645
key bindings, mapping, 648-649
methods, 646
properties, 646
Debugger objects, 649
documents, 631
Documents collection, 631
features, 631
methods, 631
properties, 631
TextDocument. See TextDocument objects
methods, 605
properties, 605
PIAs, 602
projects
methods, 609
properties, 609
solutions, 606
methods, 608
projects, deleting, 607
properties, 608
tasks, 607
type list, 602
vsCMElement enumeration values, 612
windows, 614
methods, 615
properties, 615
referencing, 614
text windows, 618
tool windows. See tool windows
AutoScale property, 966
AutoScaleDimensions property, 966
availHeight property (screen object), 807
availWidth property (screen object), 807
average speed calculator
HTML markup, 817
Azure, 29
accounts
linking to Visual Studio, 478
pricing, 477
Activity Log window, 534
benefit levels, 29
cloud applications, creating, 29
cloud services, 529
Azure website hosting, compared, 529
running locally, 532
Compute Emulator, 532
databases
adding, 500
details, configuring, 500
managing, 502
viewing, 502
download website, 29
hosting
options website, 530
platform, 481
IaaS, 475
PaaS, 475
portal
deployment, 503
Startboard, 494
web app toolbar, 499
Publish Web dialog box, 30
connection information, 486
deployment settings, 486
existing applications, 489-491
previews, 487
publish profiles, selecting, 485
remote debugging, configuring, 442-444
SDK
accessing services from Server Explorer, 523
downloading/installing, 522
nodes, selecting, 523
Server Explorer interaction, 212
services, accessing from Server Explorer, 523
subscriptions, managing, 479-480
templates, 29
web apps
cloud services, compared, 529
creating in Visual Studio, 481-485
debugging, 494
Server Explorer management, 492-493
Back button
Class View window toolbar, 202
Solution Explorer toolbar, 194
back() method (history object), 807
back stack, 1118
BackColor property, 959
BackgroundImage property, 959
BeginTimer() method (TestContext class), 339
behaviors
action pane control stacking, 1056
form controls
tab order, 971
ToolTips, 972
bike ride log sample application
AngularJS
controllers, defining, 881
modules, defining, 880
pages, turning into forms, 883-885
server models, creating, 879
Web API services, calling, 879
Knockout
controller (BikeLogController), creating, 863
deleting entries, 870
server models, creating, 862-863
BikeLogListVm class, 865
binder parameter (TryGetMember() method), 152
Binding class, 1012
autogenerating controls, 565-569
selecting data sources, 565-567
defined, 564
image viewer WS app, 1089
images, storing (WPF), 1023-1025
manually binding controls, 571-575
cell edits, customizing, 572-574
Data Sources window, 575
DataGridView data source, 571
simple, 564
WCF services, 930
data-source, 583
data sources, 576
drop-down list, 577
master-detail data source, adding, 578
Bindings property (commands), 646
BitmapSource class, 1023
adding, 500
details, configuring, 500
managing, 502
viewing, 502
Monitoring, 505
toolbar, 499
Blank App template
JavaScript, 1074
XAML, 1075
blank solutions, creating, 164
BlurBitmapEffect class, 1028
blurring images, 1028
BOM (Browser Object Model), 805
accessing, 805
alerts, 805
browser details, viewing, 808
navigation, 807
opening/closing, 806
positioning, 806
screen optimization, 807
URLs, controlling, 807
user actions, confirming, 806
Bookmark control, 1054
adding, 234
code navigation, 234
folders, 235
For loops in text documents, 633-634
names, 235
toggling, 235
Bookmarks window, 234
Bootstrap, 832
components, 844
ASP.NET 5 Web Site template layout styles, 839
columns, wrapping, 838
grids, 839
screen size adjustments, 840-842
SPA support, 27
visual design, customizing, 851-854
customizer, 853
source files, 854
themes, 852
bottom app bars (Windows), 1067
Bower
client framework dependencies, managing, 728-731
defined, 729
JSON Configuration files, 719
bower.json files, 720
brackets ([ ], < >) (brace matching), 323
brackets ({ }) (brace matching), 323
Break All button (Debug toolbar), 416
Break All command (Debug menu), 408, 416
breaking on exceptions, setting, 397-398
Breakpoint Settings dialog box
conditions, setting, 427
filters, 429
hit count condition, 429
Breakpoint2 automation type, 602
actions, 402
automation type, 602
C#, 246
clearing, 404
combining, 430
conditional expression, 427-428
debugging, continuing after, 403
defined, 244
disabling, 245
icons, 422
managing, 424
searching, 426
stopping, 246
threads, adding, 450
VB, 246
virtual, creating, 248
conditions, setting, 426
managing breakpoints, 424
searching/sorting breakpoints, 426
toolbar, 423
Breeze, 834
Browse button (Azure web apps toolbar), 499
browsers
Object Model. See BOM
browsing
code snippets online, 322
objects, 215
bubbling events, 1015
build automation (TFS), 7
Build Configuration property page, 176
Build Events property page, 187
Build menu, 57
Build property page, 187
BuildDependencies automation type, 602
BuildDependency automation type, 602
BuildEvents automation type, 602
BuildingBlockGaleryContentControl control, 1054
BuiltIn property (CommandBar objects), 629
business logic, adding, 140-141
button class, 1186
:button jQuery filter, 822
buttons
app bars, 1096
Class View window toolbar, 202
Debug toolbar, 412
event handlers (WPF), 1027
Ionic, creating, 1186
ribbons
customizing, 1045
Solution Explorer toolbar, 194
Windows Forms Document Outline toolbar, 218
Buy Domains button (Azure web apps toolbar), 499
C#, 9
async keyword, 1087
asynchronous programming, 157-159
attributes, 126
auto-implemented properties, 147-148
await keyword, 1087
brace matching, 324
breakpoints, triggering, 246
classes
behaviors, overriding, 101-102
defining, 93
hiding members, 102
overloading methods, 103
static members, 99
code snippets, adding, 312
collection initializers, 136-137
comment tasks example, 326
constants, defining, 113
constructor snippet XML format, 316
covariance/contravariance
custom generic classes, 156
defined, 155
delegates, 156
generic collections, 156
.csproj extension, 181
custom code snippet code listing, 319-320
data types
common, listing of, 110
decision structures, 116
switch...Case, 118
dynamic data type, 149
dynamic objects
executing, throwing objects, 154
events
listening for, 131
raising, 130
exceptions
filtering, 128
groups
image viewer application code, 1031-1034
ImagePage.xaml.cs code listing, 1108-1110
interfaces, defining, 104
JavaScript similarities, 795-797
logical/conditional operators, 116
loops
Do...While, 121
For...Each, 120
For...Next, 119
methods
defining, 96
returns values, defining, 96-97
lambda expressions, 92
null-conditional operators, 86-88
read-only auto properties, 88-90
using statement, 91
operators, 113
arithmetic, 114
comparison, 115
concatenation, 115
Organize Usings (IntelliSense), 311
stored procedures, creating, 560-564
starting managed code, 561
T-SQL coded update query, 563
user control code behind, 678-681
variables, declaring, 111
WinRT, 1075
C++, 9
Cache TagHelper, 767
CachedAttribute attribute, 1057
CachedDataHostItem class, 1058
CachedDataItem class, 1058
CalculateCtrl controller, 1187-1188
calculatePace() method, 1186
Call Hierarchy window, 236-237
CallBase() function, 318
camel casing (strings), 200
capabilities, requesting, 1090
Caption property (windows), 615
Capture Screenshots command (Windows Store menu), 1102
casting, 112
catalogs (MEF), 686
categories (automation), 604
Category property (TaskItem object), 621
CDbl keyword, 112
ceil() method (Math object), 804
cell edits, customizing, 572-574
Change app service plan button (Azure web apps toolbar), 499
Change Signature dialog box, 364
change tracking, 292
ChangeCase() method (EditPoint objects), 636
charAt() method (strings), 802
CharLeft() method (EditPoint objects), 636
charms (Windows), 1066
CharRight() method (EditPoint objects), 636
Chart.js library, 834
:checkbox jQuery filter, 822
:checked jQuery filter, 822
Checked property (TaskItem object), 621
childNodes property (document object), 813
CInt keyword, 112
class designer, 281
class diagrams, creating, 281
class relationships, 284
inheritance, 284
interfaces, implementing, 285
classes, adding, 283
code
adding to classes, 287
comments, creating, 287
items
hiding, 287
launching, 281
members, displaying, 282
methods, creating, 287
Toolbox, 282
Class Details window, 287
Class keyword, 94
Class View and Properties window, 368
Class View New Folder button (Class View window toolbar), 202
Class View Setting button (Class View window toolbar), 202
Class View window, 201
panes
members, 205
search bar, 203
toolbar, 202
ClassCleanup class, 341
classes
accessing from Solution Explorer, 198
action result, 754
ASP.NET models, creating, 744-745
AssemblyCleanup, 341
AssemblyInitalize, 341
assertion methods, 344
collections of objects, verifying, 345
overloads, 345
strings, verifying, 345
behaviors, overriding, 101-102
BikeLogListVm, 865
Binding, 1012
BitmapSource, 1023
BlurBitmapEffect, 1028
button, 1186
CachedDataHostItem, 1058
CachedDataItem, 1058
class designer, adding, 283
ClassCleanup, 341
ClassInitialize, 341
code, adding, 287
CodeMetricDisplayControl, 698
CodeMetricViewportAdornment, 704-706
CollectionAssert, 345
generic, 125
standard, 124
Control, 278
ControlTemplate, 1008
Customer, 933
CustomerDetailsViewComponent, 785
CustomerProfile, 932
data
context, creating, 748
DataGridViewComboBoxColumn, 572
DataSource, 341
DataTemplate, 1025
defining, 93
DeploymentItem, 341
diagrams, creating, 281
DyanmicObject, 150
EditorClassifier1, 690
EditorClassifier1Format, 690
EditorMargin1, 691
ExpectedException, 341
files, 719
FolderBrowserDialog, 1028
FormatConvertedBitmap, 1027
FormRegion1, 1052
generic, 156
GridView
data model link, 1083
item templates, 1083
SelectionChanged event handler, 1082
HomeController, 741
action methods, 742
code listing, 741
HostType, 341
Ignore, 341
ImageFile, 1085
ImageList, 1088
interfaces
defining, 104
implementing, 285
Invoice, 334
ComputeTotal method, 334
totals unit test, adding, 335-336
KnownFolders, 1088
MainWindow, 1024
MEF, 685
members
class designer, displaying, 282
hiding, 102
static/shared, 99
message, 1050
methods
defining, 96
overloading, 103
returns values, defining, 96-97
navbar, 842
Panel, 967
RotateTransform, 1027
ScaleTransform, 529
ServerDocument, 1058
SqlCommand, 561
SqlConnection, 561
StorageFile, 1088
StorageFolder, 1088
StringAssert, 345
structures, compared, 105
Style, 1007
SuspensionManager, 1099
test, 331
TestClass, 341
TestCleanup, 341
accessing, 340
methods, 339
properties, 339
TestInitialize, 341
TestMethod, 341
TestProperty, 341
Timeout, 341
ToolStrip, 972
ToolStripItem, 975
ToolTip, 972
Tuple, 125
ViewportAdornment1, 694
WCF service, creating, 933
Web API services
controller, 901
model, 899
WMI classes node (Server Explorer), 209-210
WPF
Application, 991
base element, 990
Control, 990
DispatcherObject, 990
Visual, 990
classification types (code editor), 687
classifiers, exporting, 690-691
ClassInitialize class, 341
ClassName() function, 318
cleaning up unit tests, 343-344
Clear All DataTips command (Debug menu)
active debug session, 408
at rest, 406
clear() method
LogCtrl controller, 1191
OutputWindowPane objects, 626
ClearBookmark() method (EditPoint objects), 636
ClearBookmarks() method (TextDocument objects), 633
Click events, 1019
ClickOnce
publication properties, 466
build tasks, managing, 731-734
frameworks
AngularJS. See AngularJS
Bootstrap. See Bootstrap
Breeze, 834
Chart.js, 834
CoffeeScript, 719, 729-730, 834
Cordova. See Cordova
dependencies, managing, 728-731
Ember.js, 834
Hammer.js, 833
jQuery UI, 833
jQuery.validate, 833
Knockout. See Knockout
Less, 834
Modernizer, 833
Node.js, 834
Respond.js, 833
Sammy.js, 833
Sass, 834
SignalR, 834
WCF, 929
client-side scripts, debugging, 456
Close() method
documents, 631
solutions, 608
cloud computing
applications, creating, 29
Azure. See Azure
overview, 29
coarse-grained interfaces, 903
code
analysis phase (debugging), 393
analysis settings, 175
classes, adding, 287
comments, 287
component designer generated (WinForms), 279-280
counting algorithm, creating, 700-702
debugging. See debugging
definition window, 250
deploying. See deployment
metrics extension, creating, 697-706
baseline project structure, 697
code counting algorithm, creating, 700-702
WPF user control, 698-700, 702
model object hierarchy, 611-612
navigating
Call Hierarchy window, 236-237
problem indicators, 293
refactoring
benefits, 362
defined, 361
operations, 362
previewing/making changes, 364-365
Quick Actions menu access, 363
reviewing, 393
snippets, 311
Code element, implementing, 319
adding with Code Snippet Inserter, 312-313
browsing/sharing online, 322
C# constructor snippet XML format, 316
Code Snippets Manager, 321
custom C# snippet code, 319-320
form names, 314
functions, 318
header information, 319
literals/variable replacements, 318
placeholder values, 314
storing, 316
Surround With snippets feature, 314
Toolbox storage, 322
XML schema reference, 316
breaking into debugger, 416
execution, continuing, 420
out, 419
over, 419
running to cursor position, 415-416
tables, writing, 543
testing. See unit tests
Code Analysis Settings property page, 175
code editor, 68
breakpoints
C#, 246
defined, 244
disabling, 245
stopping, 246
VB, triggering, 246
virtual, creating, 248
C# UI elements, 229
classifiers, exporting, 690-691
code
definition window, 250
metrics extension, creating, 697-706
code pane, 229
defined, 226
extensions
classifiers, exporting, 690-691
code metrics, creating, 697-706
deploying, 689
managing, 696
online, finding/posting, 696
Hello World function, writing, 226-228
refactoring
operations, 362
previewing/making changes, 364-365
search and replace, 237
Find in Files, 239
search folder sets, creating, 240
smart tasks/light bulbs, 302-305
window components, 228
code pane, 229
indicator margin, 230
zooming, 228
Code First (EF)
existing databases, generating, 32-37
overview, 32
Code node (XML), 316
code pane (code editor), 229
Code Snippets Manager, 321
CodeClass interface, 610
CodeElement property (EditPoint objects), 636
CodeElements collection, 610
code model object hierarchy, 611-612
vsCMElement enumeration values, 612
CodeMetricDisplayControl class, 698
CodeMetricViewportAdornment class, 704-706
CodeModel property (projects), 609
CodeSnippet node (XML), 316
CodeSnippets node (XML), 316
coding phase (debugging), 393
.coffee file extension, 719
CoffeeScript, 834
files, 719
JavaScript library, adding, 729-730
collaboration
TFS, 7
Collapse all button (Solution Explorer toolbar), 194
Collapse button (Windows Forms Document Outline toolbar), 218
Collection property
commands, 646
documents, 631
OutputWindowPane objects, 626
projects, 609
TaskItem object, 621
windows, 615
CollectionAssert class, 345
CodeElements, 610
code model object hierarchy, 611-612
vsCMElement enumeration values, 612
CommandBars, 629
Commands, 646
documents, 631
ProjectItems, 606
projects, 606
standard, 124
verifying, 345
colons (:)
jQuery filters, 822
JSON notation, 720
colorDepth property (screen object), 807
colors
code
problem indicators, 293
forms, 959
Ionic, 1185
picker extension
ColorSelectorPackage class, 675-677
helper routines, implementing, 671-673
mouse movements over palette, handling, 670-671
package, running, 675
requirements, 668
tool window, displaying, 673-675
user control code behind (C#), 678-681
user control XAML, 677
user controls, creating, 668-670
text editors, customizing, 295-296
themes, customizing, 45
ColorSelectorPackage class, 675-677
helper routines, implementing, 671-673
mouse movements over palette, handling, 670-671
package, running, 675
requirements, 668
tool window, displaying, 673-675
user controls
XAML, 677
ColorSelectorPackage class, 675-677
columns
grid
creating, 1002
sizing, 1017
mode selection, 222
tables, adding, 541
wrapping (page layout), 838
commas (,) JSON notation, 720
combination selections (jQuery), 822
ComboBoxContentControl control, 1054
Command automation type, 602
CommandBars collection, 629
menu bar versus toolbar, 629
methods, 629
properties, 629
Solution Explorer, 629
CommandBars collection, 629
menu bar versus toolbar, 629
methods, 629
properties, 629
CommandBars collection, 629
CommandBars property (objects)
DTE, 605
windows, 615
commands, 645
automation type, 602
Command window execution, 624-625
Debug menu
active debug session, 408
at rest state, 406
extensions, adding
GUIDs/IDs, defining, 667
reactions, 663
UI, defining, 667
key bindings, mapping, 648-649
methods, 646
names, 646
properties, 646
viewing, 646
Commands collection, 646
Commands package, 750
Commands property (DTE objects), 605
Commands2 automation type, 602
CommandWindow automation type, 602
CommandWindow object, 623
comments
class designer, creating, 287
C# example, 326
custom tokens, 327
removing from Task List, 326
tokens, 326
CompareAttribute class, 746
comparison operators, 115
Compile property page, 187
Compiler directory, 718
compiling phase (debugging), 393
completion list transparency, 307
completion mode, 308
content support, 307
manually launching, 307
suggestion mode, 308
compliance (website design), 277
components
Bootstrap, 844
sets, 214
WinForms
defined, 278
WPF, 989
composition container (MEF), 685-686
Compute template, 525
ComputeTotal() method (Invoice class), 334
concatenation operators, 115
concatenation with assignment of string value (&=) operator, 113
conditional expression breakpoints, setting, 427-428
conditional operators, 116
conditions
combining, 430
conditional expression, 427-428
config.json files, 720
Configuration automation type, 602
configuration files (JSON), 720-721
configuring
breakpoints. See breakpoints
extension package parameters, 653
Query/View designer, 545
startup forms, 958
tracepoints, 431
WCF services as REST-based
client code for calling, writing, 947-949
REST requests, accepting, 943-947
web applications
publication connections, 471
XAML/design panes (WPF), 994-996
config.xml files, 1159
ConfimDelete.cshtml file, 786
confirm() method (windows), 806
connections
web application publication, configuring, 471
constants
code expressions, converting, 372-374
defining, 113
constructors
notation, 800
Web API, 912
client application, creating, 913-915
form postback, receiving, 922-923
models, creating, 916
view/controller files, creating, 915-916
Contact() action method, 742
containers, 967
FlowLayoutPanel, 968
content app (Office), 1060
Content Model View (XML Schema Designer), 255
content types (code editor extension point), 687
ContentResult class, 754
context menus
Class View window
members pane, 205
objects pane Sort/Group, 204-205
Solution Explorer
projects, 197
solutions, 196
Windows, 1070
Context property (CommandBar objects), 629
ContextAttributes property (windows), 615
Continue command (Debug menu), 408, 420
contracts (WCF services), 929
controllers
AngularJS, defining, 881
ASP.NET
customer delete requests, processing, 759
POST requests, handling, 758-759
action result objects, 754-755
DbContext objects, adding, 756
generating with dnx. gen tool, 788-791
list of customers, returning, 756-757
new customer page, returning, 757
Knockout, creating, 863
Web API
delete requests (Delete() method), 910-911
get requests (Get() method), 904-908
HTTP verb-based attributes, 902-903
post requests (Post() method), 908-909
actions panes stacking behaviors, 1056
container layout, 967
FlowLayoutPanel, 968
simple, 564
forms
alignment, 963
appearance, 971
custom, creating, 985
tab order behavior, 971
ToolStrip controls. See ToolStrip controls
ToolTips, 972
z-order, 976
items, 1053
native Office controls, 1054
ribbon, 1044
built-in capabilities, 972
traits, 972
TreeView, 979
web forms
adding, 272
Windows Store applications, 1070
adding, 260
custom versus user, 278
defined, 278
layout, 262
snap lines, positioning, 263-264
WPF, 989
adding, 270
WrapPanel, 1006
Controls property (CommandBar objects), 629
ControlSize property (custom ribbons), 1045
ControlTemplate class, 1008
converting data types, 111-113
Copy method (EditPoint objects), 636
copying text, 222
Cordova, 1153
apps website, 1156
benefits, 1154
CLI, 1165
debugging
dependencies, 1156
Ionic
overview, 1176
projects, configuring, 1177-1179
Ionic-Angular-Cordova sample app
About tab, 1192
calculate tab, creating, 1186-1190
local storage, adding, 1193-1195
running on Windows Phone, 1196-1197
Mac, configuring, 1167
Plugins Registry, 1175
UI components, 1156
web views, 1155
Count property (solutions), 608
counters (performance), 211
covariance/contravariance
custom generic classes, 156
defined, 155
delegates, 156
generic collections, 156
Create App Packages command (Windows Store menu), 1102
Create() method
POST requests, handling, 759
solutions, 608
CreateEditPoint() method (objects)
EditPoint, 636
TextDocument, 633
createElement() method (DOM), 815
CreateLinkedWindowFrame() method (windows), 627
createTextNode() method (DOM), 815
Creator property (CommandBar objects), 629
CreditCardAttribute class, 746
Criteria pane (Query/View designer), 545
cross platform mobile applications, 14
.cs file extension, 719
.cshtml file extension, 719
.csproj file extension, 181
CSS
binding (Knockout), 872
editor
attributes, defining, 258
overview, 257
rules, adding, 258
jQuery
rules, 828
selections, 822
LESS style sheets, 719, 731-734
responsive design, 763
website design, managing, 275-276
.css file extension, 719
css() method (jQuery), 828
Cstr keyword, 112
curly brackets ({ })
JSON notation, 720
Razor syntax, 763
CurrentTestOutcome property (TestContext class), 339
CustomController.cs class, 755
Customer class, 933
customer example pages, 771
customer list, displaying, 772-773
deleting customers, 779
existing customers, editing, 778-779
new customer views, creating, 774-777
Customer Experience Program, 84
Customer.cs POCO model class, 745
CustomerDetailsViewComponent class, 785
CustomerProfile class, 932
Customize dialog box, 64
customizing
Bootstrap visual design, 851-854
customizer, 853
source files, 854
themes, 852
colors
themes, 45
comment task tokens, 327
component sets, 214
controls
forms, 985
WinForms, 278
data source mapping, 569
debugging default behaviors, 419
EDM, 593
IntelliSense, 324
Office
project dependencies, 174
Solution Explorer views, 200-201
text editors, 226
WinForms forms appearance, 260
WPF Designer appearance, 270
Cut() method (EditPoint objects), 636
cutting text, 222
data
binding. See binding data
extending, 1040
context classes, creating, 748
Entity Data Model (EDM)
editing, 593
EF designer, 594
items, adding, 591
Mapping Details window, 595-596
Wizard, 592
forms, viewing, 979
cell types, 982
hierarchical relationships, 979-980
sources, 982
tabular format, 981
sources
master-detail, adding, 578
WPF application data binding, 576
types
common, listing of, 110
dynamic, 149
Data Source Configuration Wizard, 565
DataAnnotations namespace, 745
databases
AdventureWorks sample, 546
databases, adding, 500
details, configuring, 500
viewing, 502
connections, creating, 748-750
context classes, creating, 748
creating, 537
autogenerating controls, 565-569
defined, 564
manually binding controls, 571-575
simple, 564
managed assemblies, 563
O/R mapping
defined, 584
drag-and-drop operation LINQ code, 588-590
EF. See EF
projects
creating, 554
database development workflow, 553
publishing databases, 559
scripts, 553
publishing, 559
joins, 547
Query designer panes, 545
SQL statements, fine-tuning, 545-547
tables, adding, 544
types supported, 548
SSDT, 535
managed, creating with C#, 560-564
writing with T-SQL, 549
tables, 536
adding, 540
adding to queries, 544
cell edits, customizing, 572-574
code, writing, 543
columns, adding, 541
contents, viewing, 548
database update, 542
foreign keys, 544
indexes, 542
primary keys, 540
renaming, 540
table designer, 539
user-defined functions, 552
views, creating, 548
DataConnection property (TestContext class), 339
data-driven unit tests, creating, 346-349
DataGridView control
cell edits, customizing, 572-574
data source, selecting, 571
form data, displaying, 981-982
DataGridViewComboBoxColumn class, 572
DataList controls, 580
DataRow property (TestContext class), 339
DataServices template, 525-526
DataSet objects, 1057
DataSet visualizer, 440
DataSource class, 341
data-source controls, 583
DataTemplate class, 1025
DataTips
exporting/importing, 438
pinning, 437
viewing data in debugger, 436-437
DataTypeAttribute class, 746
Date object, 804
DatePickerContentControl control, 1054
DateString property, 1131
DbContext objects, 756
Debug Location toolbar, 447
active debug session, 408
at rest state, 406
Debug property page, 188
Debug Source Files property page, 175
Debug toolbar buttons, 412
Break All, 416
Show Next Statement, 403
Start Debugging, 414
Step Over, 415
Stop, 404
Debugger objects, 649
Debugger property (DTE objects), 605
DebuggerEvents automation type, 602
automation types, 602
Azure web apps, 494
breakpoints
actions, 402
C#, 246
clearing, 404
combining conditions, 430
conditional expression, 427-428
defined, 244
disabling, 245
icons, 422
managing, 424
searching, 426
stopping, 246
VB, triggering, 246
virtual, 248
client-side scripts, 456
code flow, controlling, 246-248
Cordova apps
data, viewing, 433
Diagnostic Tools window, 439-440
QuickWatch window, 436
Watch windows, 435
Debug menu commands, 405
active debug session, 408
at rest, 406
Debug toolbar buttons, 412
Break All, 416
Show Next Statement, 403
Start Debugging, 414
Step Over, 415
Stop, 404
default behaviors, customizing, 419
dump files, 457
debug with mixed data option, 460
defined, 457
summary information, viewing, 458
symbol file paths, setting, 459-460
Edit and Continue feature, 441-442
Exception Assistant window, 399
Locals window, 399
multithreaded applications, 445
breaking on threads, 450
flagging threads, 447
individual threads, inspecting, 448-450
MSDN code example, 445
processes, managing, 447
parallel applications, 451
Parallel Stacks Task view, 452-455
Parallel Stacks Threads view, 451-453
Parallel Stacks window, 451
Parallel Tasks window, 454-456
self-checking applications, 393-394
applications in debug mode, tarting, 394
breaking on exceptions, setting, 397-398
continuing after breakpoints, 403
Contoso University sample pplication, 393
debug mode, starting, 396
stepping through code, 403-405
website debugging, enabling, 394-395
source file locations, 175-176
stack, 399
stepping through code
breaking into debugger, 416
execution, continuing, 420
out, 419
over, 419
running to cursor position, 415-416
action/condition combinations, 432
setting, 431
unit tests, running, 336
Watch windows, 399
Chrome/Firefox Get request results, 906
IE Get service request results, 905
project properties, 905
requests/responses, 907
service, invoking, 905
decision structures, 116
Select...Case/switch...Case, 118-119
Declarations node (XML), 316
declarative attributes, 126
declaring variables, 111
Default node (XML), 316
deferral objects, 1097
definition files
delegates, 156
Delete All Breakpoints command (Debug menu)
active debug session, 408
at rest, 406
Delete button (Azure web apps toolbar), 499
Delete() method
objects
commands, 646
CommandBar, 629
EditPoint, 636
projects, 609
TaskItem, 621
Web API services, 910-911, 927-928
delete queries, 548
DeleteWhitespace() method (EditPoint objects), 636
deleting
comment tasks from Task List, 326
DOM tree nodes, 815
Knockout entries, 870
projects from solutions, 607
tasks from task lists, 621
unused arguments, 147
delimiters (brace matching), 323-324
dependencies
client framework, managing, 728-731
Cordova, 1156
directory, 718
Image Editor page (WS app), 1092
injection, 685
adding to project.json files, 723-724, 726
adding with NuGet, 726
viewing, 725
ASP.NET web applications, 469
connections, configuring, 471
deployment settings, configuring, 472-473
previewing publications, 473-474
cloud service projects, 533-534
portal, 503
ClickOnce
publication properties, 466
code editor extensions, 689
MSI packages, 465
DeploymentDirectory property (TestContext class), 339
DeploymentItem class, 341
Description node (XML), 316
description pane (Object Browser), 215-216
Description property, 621, 1131
class, 281
class diagrams, creating, 281
classes, adding, 283
code, adding to classes, 287
hiding items, 287
inheritance, 284
interfaces, implementing, 285
launching, 281
members, displaying, 282
methods, creating, 287
Toolbox, 282
code comments, creating, 287
component
components, creating, 278
Entity Framework, 594
graphical perspectives, 225
Query/View
configuring, 545
Query panes, 545
views, creating, 548
table, 539
columns, adding, 541
database update, 542
foreign keys, 544
indexes, 542
primary keys, setting, 540
renaming tables, 540
web, 272
browser output/validation, 276-277
controls, adding, 272
HTML, editing, 273
HTML formatting, 274
smart tasks/light bulbs, 301
standards compliance, 277
styles/CSS management, 275-276
tables, 274
tag navigator, 299
WinForms
aligning controls, 963
auto scaling controls, 966-967
component tray, 962
end user considerations, 954-955
planning, 956
resizing, 957
tab order, 971
ToolTips, 972
UI standards, 955
visual styles, 971
appearance, customizing, 270
grid controls, 1002
Properties window, 996
XAML/design panes, configuring, 994-996
XML Schema
defined, 254
destroy property (Knockout), 862
Detach All command (Debug menu), 408, 420
DetailsView controls, 579
Development Tools Environment. See DTE
device orientation, 1116
Diagnostic Tools window, 439-440
Diagram pane (Query/View designer), 545
dialog boxes
Accessibility Validation, 277
Add Command, 65
Add Connection, 538
Add New Item
ASP.NET website file types, 719
class diagrams, creating, 281
EDM, 591
WinForms components, creating, 278
Add New Item - Solution Items, 171
Add New Project, 330
Add New Test, 357
Add New User Control, 278
Add Style Rule, 258
Azure Publish Web, 30
Breakpoint Settings
conditions, setting, 427
filters, 429
hit count conditions, 429
Change Signature, 364
Code Snippets Manager, 321
Customize, 64
Edit Breakpoint Labels, 425
Edit Columns, 572
Editor Options, 223
Extract Interface, 384
Feedback, 83
Fonts and Colors Options, 248
Go To Line, 234
IE Options, 456
Images Collection Editor, 980
implementing with Grid control, 1003-1005
Insert Table, 274
Items Collection Editor, 977
Join, 547
New ASP.NET Project, 482
New Class, 283
New Deployment, 579
New File, 226
New Project
database project template, 554
launching, 177
Office project types, 1041
New Web Site, 180
Options
editor customizations, 70
startup options, 52
Preview Changes, 364
Preview Database Updates, 753
Project Properties, 557
Publish Azure Application, 533
Reference Manager, 728
Rename, 371
Select Azure Template, 527
Solution Property Pages, 173
Style Builder, 258
TreeNode Editor, 979
direct events, 1015
directives (AngularJS)
files, 719
Ionic UIs, 1180
listing of, 889
models, binding, 875
directories
Compiler, 718
Dependencies, 718
Migrations, 718
Properties, 718
References, 718
Disable All Breakpoints command (Debug menu)
active debug session, 408
at rest, 406
:disabled jQuery filter, 822
DISCO (Discovery Document), 896
DisplayColumn property (EditPoint objects), 636
Displayed property (TaskItem object), 621
<div> HTML tag, 762
division to return floating point (/) operator, 114
division to return integers (/) operator, 114
DNU (.NET Development Utility), 750
DNVM (.NET Version Manager), 750
DNX (.NET Execution Environment), 712
docking
document node (DOM tree), 808
Document Object Model. See DOM
Document Outline window, 216
web forms, 216
WinForms toolbar buttons, 218
WPF forms, 216
Document property (windows), 615-616
documents, 631
automation type, 602
collection, 631
DOM tree nodes, accessing, 811
list of nodes, selecting, 812-813
single nodes, selecting, 811-812
traverse nodes, 813
extensions (Office)
actions pane, creating, 1055-1057
add-ins, compared, 1041
features, 631
host item, 1053
methods, 631
projects, 19
properties, 631
text, 632
buffer objects, 635
edit points, repositioning, 640
editing text, 639
end point properties/methods, 636
For Loops, bookmarking, 633-634
methods, 633
properties, 633
representations, 635
window comments, inserting, 640-645
WPF support, 989
Documents property (DTE objects), 605
dollar sign ($), jQuery, 821
DOM (Document Object Model), 808
events, 819
Explorer command (Debug menu), 408
exploring, 815
HTML page markup, 809
nodes
accessing, 811
adding, 815
attributes, 814
deleting, 815
HTML content, 814
list of nodes, selecting, 812-813
text, updating, 814
traversing, 813
visual, 810
whitespace, 813
Do...While/Until loops, 120-121
dragging and dropping, 211
dragging/docking toolbars/menus, 969-971
drop handlers, 688
drop-down lists
data-bound, 577
DropDownListContentControl control, 1054
DTE (Development Tools Environment)
automation type, 602
methods, 605
properties, 605
DTE property (objects)
commands, 646
documents, 631
EditPoint, 636
OutputWindowPane, 626
projects, 609
solutions, 608
TaskItem, 621
TextDocument, 633
windows, 615
dump files, 457
debug with mixed data option, 460
defined, 457
summary information, viewing, 458
symbol file paths, setting, 459-460
dynamic applications, extensibility problem, 684
dynamic data type, 149
dynamic keyword, 149
dynamic objects
executing, throwing errors, 154
DynamicObject class, 150
each() method (jQuery), 823
Edit and Continue feature (debugger), 441-442
Edit App Manifest command (Windows Store menu), 1101
Edit Breakpoint Labels dialog box, 425
Edit Columns dialog box, 572
Edit menu, 57
Edit() method
POST requests, handling, 758-759
Web API services
Get() method, calling, 924
Put() method, calling, 922-923
EditableAttribute class, 746
editions
comparison website, 3
MSDN subscriptions, 5
Test Professional, 8
Visual Basic, 2
Editor Classifier template, 690-691
Editor Margin template, 691-692
Editor Options dialog box, 223
Editor Text Adornment template, 692-693
Editor Viewport Adornment template, 693-695
EditorClassifier1class, 690
EditorClassifier1Format class, 690
EditorMargin1 class, 691
editors. See text editors
EditPoint objects, 635
automation type, 602
methods, 636
properties, 636
repositioning, 640
text
editing, 639
window comments, inserting, 640-645
editing, 593
EF designer, 594
items, adding, 591
Mapping Details window, 595-596
Wizard, 592
EF (Entity Framework), 31, 591
Code First. See EF Code First
designer, 594
EDM
editing, 593
EF designer, 594
items, adding, 591
Mapping Details window, 595-596
Wizard, 592
Mapping Details window, 595-596
version 7, 32
ASP.NET models
data context, creating, 748
databases, creating
existing databases, generating, 32-37
overview, 32
effects (jQuery), 830
element node (DOM tree), 808
EmailAttribute class, 746
embedding user controls, 985
Ember.js, 834
empty ASP.NET project templates, 714
EmptyResult class, 754
emulators
Azure Compute, 532
Enable All Breakpoints command (Debug menu)
active debug session, 408
at rest, 406
Enabled property (CommandBar objects), 629
enable/disable bindings (Knockout), 873
Encapsulate Field refactor operation, 387-388
applying, 388
EndOfDocument() method (EditPoint objects), 636
EndOfLine() method (EditPoint objects), 636
EndPoint property (TextDocument objects), 633
endpoints (WCF services), 894, 929
EndTimer() method (TestContext class), 339
Entity Data Model. See EDM
Entity Data Model Wizard, 32-35
Entity Framework. See EF
enum keyword, 99
Environment TagHelper, 767
environments, targeting, 54-56
equal operators (=),(==), 113, 115
equal to (>=) operator, 115
Equals() method (Assert class), 344
EqualTo() method (EditPoint objects), 636
Error() action method, 742
errors
breaking on exceptions settings, 397-398
events, 128
application lifecycles, 1119-1121
automation type, 602
handlers. See handlers
image viewer Windows Store app lifecycle, 1096-1100
application states, 1096
launching applications, 1097-1098
resuming applications, 1097
suspending applications, 1097
average speed calculator example, 817-818
DOM, 819
handlers, 818
listeners, adding, 818
online subscription, 818
stopping, 819
logs, 209
management, 210
mouse movements, handling, 670-671
Outlook form region runtime, 1052
raising, 130
Resuming, 1097
ribbon buttons, handling, 1046-1047
Suspending, 1097
unused arguments, deleting, 147
Events property (DTE objects), 605
Excel extensions
actions pane, creating, 1055-1057
extension points, 1038
host items, 1053
native Office controls, 1054
task pane app, creating, 1060-1062
Exception Assistant window, 399
Exception Settings command (Debug menu)
active debug session, 408
at rest, 406
Exception Settings pane (debugger), 397-398
ExceptionGroups automation type, 602
exceptions
filtering, 128
ExecuteCommand() method (DTE objects), 605, 647
Expand All button (Windows Forms Document Outline toolbar), 218
ExpectedException class, 341, 345-346
Experience Improvement Program, 84
explicit conversions, 112
Export DataTips command (Debug menu)
active debug session, 408
at rest, 406
exporting
DataTips, 438
expressions
lambda, 92
Extender property (documents), 631
ExtenderCATID property (documents), 631
ExtenderNames property (documents), 631
Extensibility center website, 688
Extension and Updates window, 696
extensions, 651
code editor
classifiers, exporting, 690-691
code metrics, creating, 697-706
deploying, 689
managing, 696
online, finding/posting, 696
color picker example
ColorSelectorPackage class, 675-677
helper routines, implementing, 671-673
mouse movements over palette, handling, 670-671
package, running, 675
requirements, 668
tool window, displaying, 673-675
user control code behind (C#), 678-681
user control XAML, 677
user controls, creating, 668-670
commands
GUIDs/IDs, defining, 667
reacting, 663
UI, defining, 667
extensibility
center website, 688
problem, 683
manifest file, 652
MEF
architecture, 686
catalog, 686
composition container, 685-686
dependency injection, 685
naming/activation, 685
parts, 685
structural matching, 685
System.ComponentModel.Composition namespace, 685
target applications, 684
Office. See Office
Package class code generated by custom command project item, 658-660
package parameters, 653
project items, adding, 653-658
VSIX project template, 652
Extract Interface dialog box, 384
Extract Interface refactor operation, 382
accessing, 383
new extracted interfaces
Extract Method Refactor operation, 375
accessing, 375
code to refactor, selecting, 377-378
long static method example, 376-377
method stubs, creating, 382
new methods code listing, 379-380
original long static method after extraction, 379
refactored method, creating, 378
fading effects (jQuery), 830
Fail() method (Assert class), 344
failures (unit tests), 337-338
Feedback dialog box, 83
fields
encapsulating into properties, 387-388
applying, 388
Encapsulate Field operation, accessing, 387-388
private, 94
public, defining, 94
<fieldset> HTML tag, 762
File filter button (Solution Explorer toolbar), 194
File menu, 57
FileName property
ImageFile class, 1085
TaskItem object, 621
FileResult class, 754
files
access classes, 1088
ASP.NET website, 719
ConfimDelete.cshtml, 786
dump, 457
debug with mixed data option, 460
defined, 457
summary information, viewing, 458
symbol file paths, setting, 459-460
gulpfile.js LESS preprocessing task configuration, 733
paths, selecting, 1028
project.json
default example, 721
package dependencies, adding, 723-727
services.js, 1189
solution
supported, 171
user options, 168
test project
adding, 332
default, 331
Universal app
MainPage.xaml, 1136, 1144-1150
MainPage.xaml.cs, 1137-1141, 1150-1152
ValidationScriptsPartial.cshtml, 770
Web.config, 394
:filter() jQuery filter, 822
filters
AngularJS, 889
exceptions, 128
jQuery selection, 822
Find automation type, 602
Find in Files tool, 239
:find() jQuery filter, 822
FindControl() method (CommandBar objects), 629
FindPattern() method (EditPoint objects), 636
FindProjectItem() method (solutions), 608
:first jQuery filter, 822
firstChild property (documents), 813
Fixed Layout App template, 1074
fixed sizing, 1021
flagging threads, 447
flipping images, 529
floor() method (Math objects), 804
flow of code, controlling, 246-248
FlowLayoutPanel control, 968
fly-outs (Windows), 1070
:focus jQuery filter, 822
FolderBrowserDialog class, 1028
folders
access classes, 1088
bookmarks, 235
projects, 184
search folder sets, creating, 240
ViewModels, 788
fonts
text editors, customizing, 295-296
Fonts and Colors Options dialog box, 248
ForceItemsToTaskList() method (OutputWindowPane objects), 626
For...Each loops, 120
ForeColor property, 959
foreign keys, 544
<form> HTML tag, 762
message class association, 1050
region type, 1049
Form TagHelper, 767
FormatConvertedBitmap class, 1027
formatting HTML, 274
FormRegion1 class, 1052
FormRegionInitializing event, 1052
FormRegionShowing event, 1052
AngularJS
validation, 889
containers, 967
FlowLayoutPanel, 968
alignment, 963
appearance, 971
custom, creating, 985
tab order behavior, 971
ToolTips, 972
z-order, 976
data, displaying, 979
cell types, 982
hierarchical relationships, 979-980
sources, 982
tabular format, 981
data-bound controls, autogenerating, 565-569
selecting data sources, 565-567
data-bound controls, manually binding, 571-575
cell edits, customizing, 572-574
Data Sources window, 575
DataGridView data source, 571
design
appearance properties, 959
end user considerations, 954-955
inheritance, 958
planning, 956
resizing, 957
StartPosition property, 958
startup forms, setting, 958
UI standards, 955
Windows Forms template, 957
events, 819
Outlook form region add-ins, 1049-1052
message class association, 1050
region types, 1049
runtime events, 1052
UI, 1050
status bars
built-in capabilities, 972
traits, 972
web, 271
browser output/validation, 276-277
controls, adding, 272
Document Outline window view, 216
HTML, editing, 273
HTML formatting, 274
standards compliance, 277
styles/CSS management, 275-276
tables, 274
web designer, 272
WinForms
appearance, customizing, 260
control layout, 262
controls, adding, 260
Document Outline toolbar buttons, 218
Toolbox, 261
FormView controls, 579
Forward button (Class View window toolbar), 202
forward() method (history object), 807
client
AngularJS. See AngularJS
Bootstrap. See Bootstrap
Breeze, 834
Chart.js, 834
CoffeeScript, 719, 729-730, 834
Cordova. See Cordova
dependencies, managing, 728-731
Ember.js, 834
Hammer.js, 833
jQuery UI, 833
jQuery.validate, 833
Knockout. See Knockout
Less, 834
Modernizer, 833
Node.js, 834
Respond.js, 833
Sammy.js, 833
Sass, 834
SignalR, 834
Entity. See EF
Managed Extensibility Framework. See MEF
.NET. See .NET Framework
unit test
data-driven, creating, 346-349
namespace, 339
setting up/cleaning up, 343-344
user experience (UX), 1174
FullName property (objects)
documents, 631
projects, 609
solutions, 608
function breakpoints, setting, 421-422
Function node (XML), 316
functions
code snippet, 318
anonymous, 798
declaring, 797
named, 798
values, returning, 798
user-defined, creating, 552
GenerateSwitchCases() function, 318
generic classes, 156
Get() method
calling with Edit() method, 922-924
Get publish profile button (Azure web apps toolbar), 499
getAttribute() method (DOM), 814
GetClassificationSpans property (EditorClassifier1 class), 690
getDate() method (Date objects), 804
getDay() method (Date objects), 804
getElementByClassName() method (NodeList objects), 812
getElementById() method (documents), 811
getElementByTagName() method (NodeList objects), 812
getFullYear() method (Date objects), 804
getHour() method (Date objects), 804
GetLines() method (EditPoint objects), 636
getMilliseconds() method (Date object), 804
getMinutes() method (Date object), 804
getMonth() method (Date object), 804
GetProjectItemTemplate() method (solutions), 608
GetProjectTemplate() method (solutions), 608
getSeconds() method (Date object), 804
GetText() method (EditPoint objects), 636
getTime() method (Date objects), 804
getTimezoneOffset() method (Date objects), 804
global JavaScript objects
Number, 803
String, 802
Date, 804
Math, 804
Regex, 805
global.json file, 720
Globals property (solutions), 608
go() method (history objects), 807
Go To Line dialog box, 234
Graph View (XML Schema Designer), 255
Graphics command (Debug menu), 406
grayscale images, creating, 1027
greater than (>) operator, 115
GreaterThan() method (EditPoint objects), 636
Grid App template
JavaScript, 1074
XAML, 1075
grids
columns, sizing, 522
image viewer, adding, 1020
ASP.NET 5 Web Site template layout styles, 839
columns, wrapping, 838
grids, 839
screen size adjustments, 840-842
rails, 1017
GridView class
data model links, 1083
item templates, 1083
SelectionChanged event handler, 1082
GridView controls, 579
adding, 580
auto-formatting options, 581
groups, 122
defining, 122
jagged, 123
multidimensional, defining, 123
size, 122
values, initializing, 123
generic, 125
standard, 124
Grunt Configuration files, 719
Guid property (objects)
commands, 646
OutputWindowPane, 626
GUIDs, 667
Gulp
client build tasks, managing, 731-734
configuration files, 719
defined, 729
files, 733
Hammer.js, 833
application lifecycles, 1119-1121
buttons, 1027
command, creating, 663
drop, 688
image viewer Windows Store app lifecycle, 1096-1100
application states, 1096
resuming applications, 1097
suspending applications, 1097
JavaScript, 818
menu items, 1019
routed events, 1015
SelectionChanged, 1082
:has() jQuery filter, 822
hasAttribute() method (DOM), 814
hasFocus binding (Knockout), 873
hashtags (#), jQuery ID-based selections, 822
Header node (XML), 316
Header property, 1019
headers/footers
code snippets, 319
Cordova apps, 1163
healthcare WPF application prototype, 989
Height property
CommandBar objects, 629
list boxes, 1018
screen object, 807
top Menu control, 1019
windows, 615
Hello World function, writing, 226-228
Help menu, 9
helper routines, implementing, 671-673
:hidden jQuery filter, 822
hide() method (jQuery), 830
hiding
class members, 102
items (class designer), 287
hierarchy
Toolbox objects, 622
history object, 807
hit count breakpoints, 429-430
Home button (Solution Explorer toolbar), 194
HomeController class, 741
action methods, 742
code listing, 741
HorizontalAlignment property, 1018, 1020
hosting
Azure, 481
cloud applications, creating, 29
cloud computing, 29
host items, 1053
native Office controls, 1054
HostType attribute (ASP.NET unit tests), 356
HostType class, 341
href property (locations), 807
HTML
Bootstrap
grid layout styles, 839
navigation bars, 843
text styling, 846
DOM tree
node content, 814
page markup, 809
editor
formatting options, 274
markup, editing, 273
jQuery markup
appending/deleting items, 826
CSS rules, 828
Page files, 719
visualizer, 440
.html file extension, 719, 1159
html() method (jQuery), 825
HTMLWindow automation type, 602
HTMLWindow3 automation type, 602
HTTP
verb-based attributes, 902-903
Web API service requests
models, creating, 916
HttpNotFoundResult class, 754
HttpStatusCodeResult class, 754
Hub App template, 1075
hyperlinks, 295
IaaS (infrastructure as a service), 475
IActionResult interface, 741
IComponent interface, 278
icons
breakpoints, 422
Class View window panes
members, 205
objects, 204
Ionic, 1185
Office, reusing, 1045
ribbons, customizing, 1045
Solution Explorer
version control signal, 194
ICustomerProfile interface, 932
REST requests, accepting, 944
ID node (XML), 316
ID property (commands), 646
IDE
extensions, 651
color picker example. See ColorSelector extension
command GUIDs/IDs, defining, 667
manifest file, 652
Package class code generated by custom command project item, 658-660
package parameters, 653
project items, adding, 653-658
reacting to commands, 663
UI, defining, 667
VSIX project template, 652
integration (TFS), 7
visual designers, 72
Navigator, 80
settings, 44
color themes, customizing, 45
default settings collections, resetting, 46-50
storing/synchronizing, 44
users, switching, 50
startup options, customizing, 52-53
touch support, 81
windows
navigating, 80
IDs (commands), 667
DOM, exploring, 815
Get service request, 905
Options dialog box, 456
if/ifnot bindings (Knockout), 873
If...Then...Else decision structure, 116-117
Ignore class, 341
IIFE (Immediately Invoked Function Expressions), 798-799
IIS, WCF services, hosting, 950
Image Editor page (WS app)
dependencies, adding, 1092
navigation state passing, 1093-1095
:image jQuery filter, 822
Image property
custom ribbons, 1045
ImageFile class, 1085
image viewer Windows Store app
C# ImagePage.xaml.cs code listing, 1108-1110
developer licenses, 1079
layout
capabilities, requesting, 1090
collection class creating, 1088-1089
columns, sizing, 1017
data binding, 1089
data model, creating, 1085-1087
image details page, 1081
Image Editor page implementation, 1091-1093
navigation state passing, 1093-1095
starting page, 1081
application states, 1096
launching applications, 1097-1098
resuming applications, 1097
suspending applications, 1097
requirements, 1078
template selection, 1078
XAML code listings
MainPage.xaml, 1103
image viewer WPF application
button event handlers, 1027
grayscale effect, 1027
image files, path selection, 1028
images
blurring, 1028
flipping, 529
rotating, 1027
grid rails, 1017
image viewer, adding, 1020
list box, adding, 1018
menu item event handlers, 1019
top menu, adding, 1019
requirements, 1016
UI sketch, 1015
ImageFile class, 1085
ImageList class, 1088
ImagePage.xaml file, 1105-1108
ImagePage.xaml.cs file, 1108-1110
images
blurring, 1028
Collection Editor, 980
flipping, 529
grayscale conversion, 1027
ribbon customizations, 1045
rotating, 1027
Immediately Invoked Function Expressions (IIFE), 798-799
implicit data conversions, 112
implicit line continuation, 148
Import and Export Settings Wizard, 46-50
Import DataTips command (Debug menu)
active debug session, 408
at rest, 406
Import tool (databases), 555
importing
DataTips, 438
Imports keyword, 108
Imports statement, 91
Include Comments checkbox (Rename dialog box), 371
Include Strings checkbox (Rename dialog box), 371
Inconclusive() method (Assert class), 344
Incremental Search, 242-243, 619-620
Indent() method (EditPoint objects), 636
Index() action method, 742, 756-757
Index property (CommandBar objects), 629
index.css files, 1159
indexes
tables, 542
columns, adding, 542
defining, 542
index.js files, 1160
indexOf() method (strings), 802
indicators
light bulbs, 301
web designer, 301
margins, 230
individual user account site authentication, 739
InfoPath extension points, 1038
infrastructure as a service (IaaS), 475
inheritance
forms, 958
Inherits keyword, 100
initializing
array values, 123
inline functions, 552
Inline temporary variable operation, 375
innerHtml property (DOM), 814
<input> HTML tag, 761
Input TagHelper, 768
Insert() method (EditPoint objects), 636
insert results queries, 548
Insert Table dialog box, 274
insert values queries, 548
insertBefore() method (DOM), 815
InsertFromFile() method (EditPoint objects), 636
installing
Azure SDK, 522
optional features, 43
rerunning, 42
InstallShield
deployment overview, 465
Limited Edition, 463
project publication, 469
code editor extension point, 688
code snippets, 311
Code element, implementing, 319
adding with Code Snippet Inserter, 312-313
browsing/sharing online, 322
C# constructor snippet XML format, 316
custom C# snippet code, 319-320
form names, 314
functions, 318
header information, 319
literals/variable replacements, 318
Manager, 321
placeholder values, 314
storing, 316
Surround With snippets feature, 314
Toolbox storage, 322
XML schema reference, 316
completion list transparency, 307
Completion mode, 308
content support, 307
manually launching, 307
suggestion mode, 308
customizing, 324
JavaScript, 800
Organize Usings, 311
Parameter Info, 310
Quick Info, 308
triggering, 306
IntelliTest, 330
Interface keyword, 104
interfaces
coarse-grained, 903
CodeClass, 610
defining, 104
extracting, 382
Extract Interface refactor operation, accessing, 383
IActionResult, 741
IComponent, 278
ICustomerProfile, 932
REST requests, accepting, 944
implementing, 285
IVsPackage, 660
WCF services
internal class member accessibility level, 97
Internet Explorer. See IE
Introduce constant operation, 372-374
Introduce local operation, 374
Invoice class, 334
ComputeTotal method, 334
totals unit test, adding, 335-336
invoices
Invoice class, 334
total price, calculating, 334
buttons, creating, 1186
colors, 1185
icon library, 1185
Ionic-Angular anatomy, 1180-1181
Ionic-Angular-Cordova sample app
About tab, 1192
calculate tab, creating, 1186-1190
local storage, adding, 1193-1195
running on Windows Phone, 1196-1197
overview, 1176
projects, configuring, 1177-1179
IsAvailable property (commands), 646
IsFalse() method (Assert class), 344
IsFloating property (windows), 615
IsInstanceOfType() method (Assert class), 344
isNaaN() method (Number objects), 803
IsNotInstanceOfType() method (Assert class), 344
IsNotNull() method (Assert class), 344
IsNull() method (Assert class), 344
IsOpen property (solutions), 608
IsSettable property (TaskItem objects), 621
IsTrue() method (Assert class), 344
Item() method (solutions), 608
Item Preview mode (Solution Explorer), 199
items
Items Collection Editor dialog box, 977
IVsPackage interface, 660
jagged arrays, 123
JavaScript
AngularJS, 873
filters, 889
form validation, 889
MVC pattern, 874
pages, turning into forms, 883-885
server model, creating, 879
Web API services, calling, 879
Asynchronous. See AJAX
client frameworks
AngularJS. See AngularJS
Bootstrap. See Bootstrap
Breeze, 834
Chart.js, 834
CoffeeScript, 719, 729-730, 834
Ember.js, 834
Hammer.js, 833
jQuery UI, 833
jQuery.validate, 833
Knockout. See Knockout
Less, 834
Modernizer, 833
Node.js, 834
Respond.js, 833
Sammy.js, 833
Sass, 834
SignalR, 834
code files, creating, 795
Dynamic Content shim for Windows Store apps, 1196
average speed calculator example, 817-818
DOM, 819
handlers, 818
inline subscription, 818
listeners, adding, 818
stopping, 819
files, 719
anonymous, 798
declaring, 797
named, 798
values, returning, 798
IntelliSense, 800
jQuery. See jQuery
Knockout, 857
ASP.NET templates, adding, 860-861
controllers, creating, 863
deleting entries, 870
MVVM pattern, 857
server models, creating, 862-863
SPA support, 27
views, 857
objects, 799
BOM. See BOM
constructor notation, 800
Date, 804
DOM. See DOM
Math, 804
Number, 803
Regex, 805
String, 802
Simple Object Notation. See JSON
JavaScript Console command (Debug menu), 408
Join dialog box, 547
joins (database queries), 547
jQuery, 820
AJAX, 831
animations/effects, 830
assets, loading, 828
GET/POST helper methods, 924
HTML elements
appending/deleting items, 826
CSS rules, 828
jquery object, 821
basic selectors, 822
combination, 822
CSS, 822
elements, selecting, 822
filters, 822
ID-based, 822
result actions, 824
SPA support, 27
UI library, 833
validate framework, 833
Web API services
web project templates, 820
jquery object, 821
JSON (JavaScript Simple Object Notation), 719, 720, 795
syntax, 720
web services, 895
visualizer, 440
.json file extension, 719
JsonResult class, 754
jumping to lines of code, 234
key bindings, mapping, 648-649
KeyAttribute class, 746
keyboard events, 819
keyboard shortcuts
copying text, 222
jumping to lines of code, 234
Rename operation, accessing, 369
keywords
CDbl, 112
CInt, 112
Class, 94
Cstr, 112
dynamic, 149
enum, 99
Imports, 108
Inherits, 100
Interface, 104
new, 102
override, 102
Overrides, 102
Partial, 140
Private, 94
Return, 96
Shadows, 102
Shared, 99
Sub, 96
var, 133
Kind property (objects)
documents, 631
projects, 609
adding to ASP.NET templates, 860-861
controllers, creating, 863
deleting, 870
MVVM pattern, 857
server models, creating, 862-863
SPA support, 27
views, 857
KnownFolders class, 1088
<label> HTML tag, 762
Label TagHelper, 768
lambda expressions, 92, 143-145
multiple statements, 144
:last jQuery filter, 822
lastChild property (documents), 813
lastingness() method (strings), 802
LaunchWizard() method (DTE objects), 605
action pane control stacking behaviors, 1056
containers, 967
FlowLayoutPanel, 968
form controls, arranging, 272-273
image viewer Windows Store app, 1081
capabilities, requesting, 1090
collection class, creating, 1088-1089
data binding, 1089
data model, creating, 1085-1087
Image Editor page implementation, 1091-1093
navigation state passing, 1093-1095
starting page, 1081
image viewer WPF application, 1017-1023
columns, sizing, 1017
grid rails, 1017
image viewer, adding, 1020
list box, adding, 1018
menu item event handlers, 1019
top menu, adding, 1019
responsive web with Bootstrap, 835
components, 844
visual design, customizing, 851-854
Universal app
user input forms, creating, 847-848
WinForms
controls, arranging, 262
WPF panels, 998
WrapPanel, 1006
Left property (objects)
CommandBar, 629
windows, 615
<legend> HTML tag, 762
length property (strings), 802
.less file extension, 719
Less framework, 834
LESS style sheets, 719
creating, 731
output to CSS Gulp processing task, creating, 731-734
less than (<) operator, 115
LessThan() method (EditPoint objects), 636
libraries
AngularJS. See AngularJS
Breeze, 834
Chart.js, 834
CoffeeScript JavaScript, adding, 729-730
Hammer.js, 833
HttpClient. See HttpClient
jQuery UI, 833
ASP.NET templates, adding, 860-861
controllers, creating, 863
deleting entries, 870
MVVM pattern, 857
server models, creating, 862-863
views, 857
Modernizer, 833
Node.js, 834
SignalR, 834
WinRT. See WinRT
lifecycles. See ALM
light bulbs, 301
web designer, 301
Line property (objects)
EditPoint, 636
TaskItem, 621
line wrapping, 223
LineCharOffset property (EditPoint objects), 636
LineDown() method (EditPoint objects), 636
LineLength property (EditPoint objects), 636
LineUp() method (EditPoint objects), 636
Link TagHelper, 768
Linkable property (windows), 615
LinkedWindowFrame property (windows), 615
LinkedWindows property (windows), 615, 627
parallel execution (PLINQ), 586
queries, 585
runtime support, 585
System.Linq namespace, 160
technologies, 585
LINQ to SQL applications
Classes items, 586
drag-and-drop operation LINQ code, 588-590
list boxes, adding, 1018
List Members (IntelliSense), 309-310
listening for events, 131, 818
listings
About.cshtml view page, 743
AngularJS
page inside file code, 876
two-way data binding, 875
ASP.NET unit test, 356
bike log app
BikeLog Knockout object, 865
BikeLog model, 863
BikeLogListVm Knockout view model object, 866
data binding with AngularJS, 882
button template (WPF), 1009
C#
constructor snippet, 316
starting managed code, 561
T-SQL coded update query, 563
update query, 562
CodeMetricViewportAdornment class, 704-706
ColorSelector user controls, 678-681
ColorSelectorPackage class, 675-677
Command class generated by custom command project item, 660-663
Command window command execution, 624-625
component designer generated code, 279-280
ConfimDelete.cshtml file, 786
Cordova Index.html page body, 1161
CustomController.cs class, 755
customer pages example
customer list Index.cshtml, 773
new customer page Create.cshtml, 776
Customer.cs model class
code, 745
data annotations, 747
CustomerDetailsViewComponent class, 785
data context class, 748
data-driven unit test CSV file, 348
dialog boxes, implementing with Grid control, 1003
extracted interface example, 384
gulpfile.js LESS preprocessing task configuration, 733
HomeController class/action methods, 741
HTML
markup average speed calculator page, 817
page markup, 809
image viewer Windows Store app
MainPage.xaml, 1103
image viewer WPF application
incremental search, 619
Index.cshtml file, 867
invoice totals, testing, 335
Ionic-Angular-Cordova app
CalculateCtrl controller, 1188
Log service code, 1194
LogCtrl code, 1191
services.js file, 1189
tab-calculate.html template, 1186
tab-chats.html template page, 1181
tab-log.html markup, 1191
long static method, 376
long static method after extractions, 379
For loops, bookmarking, 633
namespace/class implementation, 611
Package class code generated by custom command project items, 658-660
partial views
DetailsPartial.cshtml, 781
load button click event, 782
Lookup.cshtml, 781
project definition file, 181-183
solution definition file, 168-170
text styling with Bootstrap, 846
text window comments, inserting, 640-645
tool windows, linking/unlinking, 627-628
Universal app
MainPage.xaml Windows Phone, 1136
MainPage.xaml Windows Store, 1144-1150
MainPage.xaml.cs Windows Phone, 1137-1141
MainPage.xaml.cs Windows Store, 1150-1152
VSCT files generated by Package Wizard, 664-667
WCF services
client code for calling REST-based, 948
consuming, 941
Customer class, 933
ICustomerProfile interface definition, 934
ICustomerProfile interface implementation, 935
ICustomerProfile interface REST request update, 944
Web API services
controller class, 901
controller test method, 354
Delete() method, 911
deleting content, 928
Index page (customer list) HTML markup, 916
model class, 900
Post() method, 909
posting new records, 925
Put() method, 910
services, calling from controller, 919
window queries, 617
WinForms code, writing, 265-267
XAML WPF application data binding, 577
ListObject control, 1054
Literal node (XML), 316
literals
code snippets, creating, 318
Live Property Explorer, 1011-1012
Live Property Explorer command (Debug menu), 408
Live Visual Tree command (Debug menu), 408
LoadImages() method (BitmapSource class), 1024
loading assets, 828
local storage (Cordova), 1193-1195
local variables, 374
LocalizedName property (commands), 646
Locals window
errors, debugging, 399
locations, 807
logical operators, 116
logs
adding entries
deleting entries
Knockout, 870
events, 209
loops, 119
For...Each, 120
mail app (Office), 1060
MainPage.xaml file
image viewer XAML, 1103
Universal app
MainPage.xaml.cs file
Universal app
MainWindow class, 1024
MainWindow property (DTE objects), 605
make table queries, 548
Manage Styles window, 276
Managed Extensibility Framework. See MEF
management events, 210
managing
client framework dependencies, 728-731
code editor extensions, 696
Code Snippets Manager, 321
databases in Azure, 502
DOM tree nodes, 814
IDE settings, 44
color themes, 45
default settings collections, resetting, 46-50
startup options, customizing, 52-53
storage/synchronization, 44
users, switching, 50
processes, 447
projects, 6
release, 7
requirements, 7
test cases, 7
web apps with Azure Server Explorer, 492-493
mapping
key bindings (commands), 648-649
O/R
defined, 584
drag-and-drop operation LINQ code, 588-590
EF. See EF
Mapping Details window, 595-596
margins (code editor)
extension point, 687
MarkText() method (TextDocument objects), 633
master pages (Web Forms), 23-24
master-detail data sources, adding, 578
Math object, 804
MaxLengthAttribute class, 746
media
events, 819
WPF, 989
MEF (Managed Extensibility Framework), 683
architecture, 686
catalog, 686
classes, 685
code editor extensions
classifiers, exporting, 690-691
code metrics, creating, 697-706
deploying, 689
managing, 696
online, finding/posting, 696
composition container, 685-686
dependency injection, 685
dynamic applications, 684
extensibility problem, 683
naming/activation, 685
parts, 685
structural matching, 685
System.ComponentModel.Composition namespace, 685
target applications, 684
members (classes) See also methods/properties
accessing, 198
class designer, displaying, 282
hiding, 102
static/shared, 99
members pane (Class View window), 205
context menu, 205
icons, 205
menu bars, 629
Analyze, 57
Build, 57
active debug session commands, 408
at rest state commands, 406
Edit, 57
File, 57
Help, 9
Project, 57
Quick Actions
Encapsulate Field refactor operation, 388
Extract Interface refactor, accessing, 383
method stubs, creating, 382
refactoring code, invoking, 363
Rename operation, accessing, 370
Solution Explorer context
projects, 197
solutions, 196
standard items, 974
Task List shortcut, 325
Tools, 57
View, 57
Website, 57
Window, 57
Windows context, 1070
merges folder, 1158
messages
classes, 1050
dialogs, 1070
queues, 210
addEntry(), 1187
addEventListener(), 818
ASP.NET MVC action, 742
calculatePace(), 1186
clear(), 1191
CommandBar objects, 629
ComputeTotal(), 334
creating, 287
Date objects, 804
defining, 96
documents, 631
getElementById(), 811
DOM tree nodes
adding, 815
attributes, managing, 814
deleting, 815
DTE objects, 605
EditPoint(), 636
extracting, 375
code to refactor, selecting, 377-378
Extract Method Refactor operation, accessing, 375
long static method example, 376-377
new methods code listing, 379-380
original long static method after extraction, 379
refactored method, creating, 378
history objects, 807
jQuery
$(‘ ‘), 822
addClass(), 827
AJAX GET/POST requests, 924
animate(), 830
css(), 828
hide(), 830
ready(), 828
selection content, accessing, 825-826
selections, traversing, 823-825
show(), 830
LoadImages(), 1024
locations, 807
Math objects, 804
Number objects, 803
OutputWindowPane objects, 626
overloading, 103
projects, 609
removeEventListener(), 819
RestoreAsync(), 1099
returns values, defining, 96-97
SaveAsync(), 1099
showAlert(), 1187
solutions, 608
StartCaching(), 1058
strings, 802
stubs, creating, 382
TaskItem objects, 621
TestContext class, 339
TextDocument objects, 633
TryGetMember(), 150
TryToShow(), 619
WCF service, 943
Web API services
web service, 895
windows, 615
alert(), 805
close(), 806
confirm(), 806
open(), 806
Metric blade (Azure portal), 505-506
Microsoft Office. See Office
Microsoft Visual Studio 2015 Unleashed website, 703
migrations
directory, 718
MinLengthAttribute class, 746
Cordova, 1153
apps website, 1156
benefits, 1154
CLI, 1165
debugging with local devices, 1172-1174
debugging with Ripple simulators, 1168-1170
dependencies, 1156
Ionic-Angular app anatomy, 1180-1181
Mac, configuring, 1167
UIs, creating, 1156, 1161-1163
web views, 1155
Ionic. See Ionic
Ionic-Angular-Cordova sample app
About tab, 1192
calculate tab, creating, 1186-1190
local storage, adding, 1193-1195
running on Windows Phone, 1196-1197
responsive design, 835
Bootstrap components, 844
visual designs, customizing, 851-854
technologies
cross platform applications, 14
application anatomy, 1117
application lifecycles, 1119-1120
device orientation, 1116
Ionic-Angular-Cordova app, running, 1196-1197
runtimes available, 1117
Silverlight to WinRT transition, 1123-1124
start screen UI, 1114
state change events, 1120-1121
suspending versus terminating, 1122
transient/persistent data, 1122
UI structure, 1115
Universal app. See Universal app
Windows Store app similarities, 1114
Windows Store. See Windows Store applications
models
ASP.NET
data context, creating, 748
databases, creating manually, 752-753
databases, creating with EF7 migrations, 750-752
MVC, 736
server
AngularJS, creating, 879
view
ASP.NET MVC, 788
image viewer WS app, 1085-1087
Web API services
calling, 916
Model, View, Controller. See MVC
Model, View, View Model pattern. See MVVM pattern
Modernizer library, 833
Monitoring blade (Azure portal), 505
mouse
events, 819
processors, 688
Move Down in Container button (WinForms Document Outline toolbar), 218
Move into Next Container button (WinForms Document Outline toolbar), 218
Move Out of Current Container button (WinForms Document Outline toolbar), 218
Move Up in Container button (WinForms Document Outline toolbar), 218
MoveToAbsoluteOffset() method (EditPoint objects), 636
MoveToLineAndOffset() method (EditPoint objects), 636
MoveToPoint() method (EditPoint objects), 636
moving text, 222
MSDN accounts
subscriptions, 5
MSI packages, 465
multithreaded applications, debugging, 445
breaking on threads, 450
flagging threads, 447
individual threads, inspecting, 448-450
MSDN code example, 445
processes, managing, 447
multidimensional arrays, 123
multiplication (*) operator, 114
multiplication with assignment (*=) operator, 113
MVC (Model, View, Controller), 24
AngularJS, 874
applications, creating
About.cshtml view page, 742-743
Controllers folder, 740
HomeController class, 741
IActionResult interface, 741
Models folder, 740
site authentication, 739
template selection, 738
unit tests, 739
Controller Class files, 719
action result objects, 754-755
customer delete requests, processing, 759
DbContext objects, adding, 756
generating with dnx . gen tool, 788-791
list of customers, returning, 756-757
new customer page, returning, 757
POST requests, handling, 758-759
folders, 718
framework, 735
models, 736
SPA support, 26
template, 715
user requests, processing, 737-738
View Page files, 719
views, 736
areas, 769
customer example. See customer example pages
generating with dnx . gen tool, 788-791
models, 788
user input validation, 770-771
WCF services, consuming, 938-942
Web API services, calling
models, creating, 916
Web API services, consuming
web applications
controller test method, writing, 353-354
core client objects, referencing, 353
Web API model/controller, adding, 351-352
websites, creating, 24
MVVM (Model, View, View Model)
Knockout, 857
Name property (objects)
commands, 646
CommandBar, 629
documents, 631
OutputWindowPane, 626
projects, 609
named functions, 798
NamedRange control, 1054
NameLocal property (CommandBar objects), 629
names
attributes, 126
bookmarks, 235
code snippet form, 314
commands, 646
databases, 540
MEF, 685
pages, 768
solutions, 167
test projects, 331
threads, 446
DataAnnotations, 745
defining, 106
fully qualified definition, 107
.NET Framework
Activities, 161
AddIn, 159
CodeDom, 159
Collections, 160
ComponentModel, 160
Configuration, 160
Data, 160
Diagnostics, 160
Diagnostics.Contracts, 160
Drawing, 160
Dynamic, 160
EnterpriseServices, 160
Globalization, 160
IO, 160
Linq, 160
Media, 160
Messaging, 160
Net, 161
Security, 161
ServiceModel, 161
Threading, 161
Timers, 161
Web, 161
Windows, 161
Workflow.Activities, 161
Xml, 161
root, setting, 107
System.ComponentModel.Composition, 685
TagHelpers, 767
navbar class, 842
Navigate() method
TaskItem object, 621
browser windows, 807
code
Call Hierarchy window, 236-237
Cordova apps, 1162
customer example pages, adding, 771-772
image viewer Windows Store app, 1093-1095
Analyze, 57
Build, 57
Debug, 57
Edit, 57
File, 57
Help, 9
Project, 57
Test, 57
Tools, 57
View, 57
Website, 57
Window, 57
multiple text editor windows, 226
navigator object, 808
text editors, 68
C# code editor, 68
code editor, 68
Visual Basic code editor, 69-70
visual designers, 72
windows, 80
Navigation App template, 1074
nest object initialization, 136
Nest related files button (Solution Explorer toolbar), 194
.NET Core framework, 10-11, 712
.NET Foundation, 711
application faces, 11
asynchronous programming, 157-159
attributes, 126
auto-implemented properties, 147-148
configuring, 721
constants, defining, 113
covariance/contravariance
custom generic classes, 156
defined, 155
delegates, 156
generic collections, 156
lambda expressions, 92
null-conditional operators, 86-88
read-only auto properties, 88-90
using/Imports statements, 91
data types
common, listing of, 110
decision structures, 116
Select...Case/switch...Case, 118-119
Development Utility (DNU), 750
dynamic data type, 149
dynamic objects
executing, throwing errors, 154
events, 128
listening for, 131
raising, 130
exceptions
filtering, 128
Execution Environment (DNX), 712
F#, 93
groups, 122
implicit line continuation, 148
loops, 119
For...Each, 120
multiple versions, targeting, 727-728
namespaces
Activities, 161
AddIn, 159
CodeDom, 159
Collections, 160
ComponentModel, 160
Configuration, 160
Data, 160
Diagnostics, 160
Diagnostics.Contracts, 160
Drawing, 160
Dynamic, 160
EnterpriseServices, 160
Globalization, 160
IO, 160
Linq, 160
Media, 160
Messaging, 160
Net, 161
Security, 161
ServiceModel, 161
Threading, 161
Timers, 161
Web, 161
Windows, 161
Workflow.Activities, 161
Xml, 161
object-oriented programming. See OO programming
operators, 113
arithmetic, 114
comparison, 115
concatenation, 115
logical/conditional, 116
web, 13
Windows, 12
unused arguments, deleting, 147
variables, declaring, 111
Version Manager (DNVM), 750
WinRT, compared, 1072
New ASP.NET Project dialog box, 482
New Breakpoint, Break at Function command (Debug menu), 406
New Breakpoint, Data Breakpoint command (Debug menu), 406
New Breakpoint command (Debug menu), 408
New Breakpoint dialog box, 421-422
New Class dialog box, 283
New Deployment dialog box, 528
new features
ASP.NET 5, 710
lambda expressions, 92
null-conditional operators, 86-88
read-only auto properties, 88-90
using/Imports statements, 91
Visual Studio, 21
New File dialog box, 226
new keyword, 102
New Project dialog box
database project template, 554
launching, 177
Office project types, 1041
New Web Site dialog box, 180
NewWindow() method (documents), 631
Next button (Solution Explorer toolbar), 194
NextBookmark() method (EditPoint objects), 636
nextSibling property (documents), 813
no authentication site authentication, 739
NoContentResult class, 754
Node Package Manager (NPM), 719, 729
Node.js library, 834
nodes (DOM tree)
accessing, 811
adding, 815
attributes, 814
deleting, 815
HTML content, 814
text, updating, 814
traversing, 813
visual, 810
not equal (< >), (!=) operators, 115
:not() jQuery filter, 822
Not operator, 116
NPM (Node Package Manager), 719, 729
NuGet
package dependencies, 726
Web API package, installing inside unit test, 353
null-conditional operators, 86-88
Number object, 803
Object Browser, 213
assemblies, adding as reference, 216
custom component sets, customizing, 214
objects, browsing, 215
scoping options, 213
Object() method (documents), 631
Object property (windows), 615
ObjectDataSource controls, 583
ObjectKind property (windows), 615
object-oriented programming. See OO programming
object/relational mapping. See O/R mapping
ObjectResult class, 754
objects
automation object model
categories, 604
PIAs, 602
type list, 602
browsing (Object Browser), 215
collections, verifying, 345
command, 645
key bindings, mapping, 648-649
methods, 646
properties, 646
CommandBars collection, 629
menu bar versus toolbar, 629
methods, 629
properties, 629
core client in unit tests, referencing, 353
DataSet, 1057
DbContext, 756
debugger, 649
deferral, 1097
document. See documents
dynamic
executing, throwing errors, 154
EditPoint, 635
editing text, 639
methods, 636
properties, 636
repositioning, 640
text window comments, inserting, 640-645
history, 807
host item, 1053
JavaScript, 799
BOM. See BOM
constructor notation, 800
Date, 804
DOM. See DOM
Math, 804
Number, 803
Regex, 805
String, 802
jquery, 821
location, 807
navigator, 808
OleMenuCommandService, 663
Output window, 625
POCOs (plain old CLR objects), 32
project. See projects
relational mapping. See O/R mapping
screen, 807
solution. See solutions
SuspendingDeferral, 1097
TaskItem
methods, 621
properties, 621
tasks, adding/deleting, 621
TaskList, 328
TaskListEvents, 328
TextBlock, 699
TextSelection, 636
TextWindow, 618
Toolbox window, 622-
VirtualPoint, 635
window See also windows
DOM, 819
objects pane (Class View window), 203-205
icons, 204
scope/access signal icons, 204
Sort/Group shortcut menu options, 204-205
add-ins, 19
document extensions, compared, 1041
Outlook form regions, 1049-1052
App for Office, 1059
extension types, 1060
starting page, 1059
task pane app, creating, 1060-1062
template, 1059
benefits, 18
Developer Tools, 1038
document extensions, 1038, 1053
actions pane, creating, 1039, 1055-1057
add-ins, compared, 1041
ribbon, 1040
task panes, 1039
document projects, 19
icons, reusing, 1045
Office Developer Tools, 1038
productivity tools, 12
SharePoint, 20
templates
listing of, 18
projects based on, creating, 19
OleMenuCommandService objects, 663
Omnisharp website, 711
online event subscription, 818
OnSizeChange event handler, 702
OO programming (object-oriented)
classes
behaviors, overriding, 101-102
defining, 94
hiding members, 102
overloading methods, 103
static/shared members, 99
interfaces, defining, 104
defining, 106
fully qualified definition, 107
root, setting, 107
Opacity property, 959
Open Developer Account command (Windows Store menu), 1101
open() method
solutions, 608
windows, 806
OperationContract attribute (CustomerProfile class), 932
operations, refactoring, 362
Inline temporary variable, 375
Introduce local, 374
operators, 113
arithmetic, 114
comparison, 115
concatenation, 115
logical/conditional, 116
<option> HTML tag, 762
Option TagHelper, 768
optional features, installing, 43
options code editor extension point, 688
Options command (Debug menu)
active debug session, 408
at rest, 406
Options dialog box
editor customization, 70
startup options, 52
O/R (object/relational) mapping
defined, 584
drag-and-drop operation LINQ code, 588-590
EF, 591
designer, 594
EDM, editing, 593
EDM items, adding, 591
EDM Wizard, 592
Mapping Details window, 595-596
Or operator, 116
Ordered Test template, 357
ordered tests, creating, 357-358
OrElse operator, 116
organizational accounts site authentication, 739
Organize Usings (IntelliSense), 311
orientation modes (mobile devices), 1116
Orientation property (StackPanel), 1020
Other Debug Targets command (Debug menu), 406
OutlineSection() method (EditPoint objects), 636
Outlook form region add-ins, 1038, 1049-1052
message class association, 1050
region types, 1049
runtime events, 1052
UI, 1050
OutputString() method (OutputWindowPane objects), 626
OutputTaskItemString() method (OutputWindowPane objects), 626
OutputWindow automation type, 602
OutputWindow objects, 625
OutputWindowPane objects
defined, 625
methods, 626
properties, 626
OutputWindowPanes objects, 625
overloading methods, 103
override keyword, 102
overrides keyword, 102
overriding style sheets, 851-852
PaaS (platform as a service), 475, 529
Azure website hosting, compared, 529
cloud service projects, 530-532
package.json files, 720
packages
ColorSelector, running, 675
commands, 750
adding to project.json files, 723-724, 726
adding with NuGet, 726
viewing, 725
extensions, parameters, 653
PadToColumn method (EditPoint objects), 636
page layout. See layout
Panel class, 967
panels (WPF layout), 998
WrapPanel, 1006
panes
Class View window
members, 205
code, 229
Query designer, 545
task/action (Office), 1039
specific text area, displaying, 619
parallel applications, debugging, 451
Parallel Stacks window, 451
Parallel Tasks window, 454-456
parallel execution, 586
Parallel Stacks window, 451
Parallel Tasks window, 454-456
Parameter Info (IntelliSense), 310
parameters
extension packages, 653
TryGetMember() method, 152
TryToShow() method, 619
Parent property (objects)
CommandBar, 629
EditPoint, 636
TextDocument, 633
parentheses ( ), brace matching, 323
parentNode property (documents), 813
ParentProjectItem property (projects), 609
Partial keyword, 140
load button click event, 782
results, looking up, 781
returning, 783
strongly typing to Customer instances, 780
PartialViewResult class, 754
parts (MEF), 685
Pascal-casing breaks, 200
:password jQuery filter, 822
Paste() method (EditPoint objects), 636
pasting text, 222
Path property (documents), 631
path selection (files), 1028
peek definition, 250
performance counters, 211
PhoneAttribute class, 746
Phonegap website, 1156
PI property (Math objects), 804
PIAs (automation object model), 602
PictureContentControl control, 1054
pinning
DataTips, 437
pipes (|), Angular filters, 889
pixelDepth property (screen object), 807
placeholders, 314
plain old CLR objects (POCOs), 32, 744-745
PlainTextContentControl control, 1054
platform as a service. See PaaS
PLINQ (Parallel LINQ), 586
plug-ins (Cordova), 1155, 1175-1176
POCOs (plain old CLR objects), 32, 744-745
PointOrCount parameter (TryToShow() method), 619
portal (Azure)
Alert Rules Startboard item, 507
toolbar, 499
adding, 500
details, configuring, 500
managing, 502
viewing, 502
deployment, 503
Startboard, 494
porting web apps, 712
Position property (CommandBar objects), 629
positioning toolbars/menus, 969-971
Post() method (Web API services), 908-909, 925
POST requests, handling, 758-759
PowerPoint extension points, 1038
Preview Changes checkbox (Rename dialog box), 371
Preview Changes dialog box, 364
Preview Database Updates dialog box, 753
Preview selected item button (Solution Explorer toolbar), 194
previewing
PreviousBookmark() method (EditPoint objects), 636
previousSibling property (documents), 813
primary keys, 540
Priority property (TaskItem objects), 621
private class member accessibility level, 97
private fields, 94
Private keyword, 94
problem indicators (code), 293
Process2 automation type, 602
processes
components, creating, 278
managing, 447
TFS templates, 6
processing web requests, 709-710
productivity aids
code snippets. See snippets
customizing, 324
Organize Usings, 311
Parameter Info, 310
Quick Info, 308
triggering, 306
smart tasks/light bulbs, 301
web designer, 301
document outline window, 300-301
Task List, 325
automation, 328
shortcut menu, 325
shortcut tasks, 326
window, launching, 325
text editors, 291
active hyperlinking, 295
change tracking, 292
coding problem indicators, 293
Profiler command (Debug menu), 406
Program automation type, 602
Project Designer
accessing, 185
properties, setting, 184
property pages
Application, 186
Build, 187
Build Events, 187
Compile, 187
Debug, 188
Publish, 188
Reference Paths, 188
References, 188
Resources, 188
Security, 188
Settings, 189
Signing, 189
Project menu, 57
(Project) Properties command (Debug menu)
active debug session, 408
at rest, 406
Project Properties dialog box, 557
Project property (windows), 615-616
ProjectItem automation type, 602
ProjectItem property
documents, 631
ProjectItems automation type, 602
ProjectItems collection, 606
ProjectItems property (projects), 609
project.json files, 720
default example, 721
package dependencies, adding, 723-727
ASP.NET MVC, creating
About.cshtml view page, 742-743
Controllers folder, 740
HomeController class, 741
IActionResult interface, 741
Models folder, 740
site authentication, 739
template selection, 738
unit tests, 739
ASP.NET 5 Web Site. See ASP.NET 5 Web Site template
empty, 714
MVC, 715
SPA, 716
Web API, 716
Web Pages, 715
assembly references, adding, 216
automation type, 602
Azure cloud
running locally, 532
Cordova
current solutions, adding, 180
database
creating, 554
database development workflow, 553
publishing databases, 559
scripts, 553
deleting from solutions, 607
dependencies, setting, 174
environments, targeting, 54-56
folders, 184
item extensions, adding, 653-658
items, 184
LINQ to SQL Classes items, 586
methods, 609
Office application types, 1041
application, 186
application settings, 189
build, 187
build events, 187
compile, 187
debug, 188
publish, 188
reference paths, 188
references, 188
resources, 188
security, 188
signing, 189
publishing. See publishing
references, adding, 728
Solution Explorer navigation, 67
structure, 184
VSIX
custom commands, adding, 654-655
custom tool windows, adding, 657-658
template, 652
web application versus website, 181
website
web application, compared, 713
WinForms
appearance properties, 959
control layout, 262
controls, adding, 260
form appearance, customizing, 260
inheritance, 958
StartPosition property, 958
startup forms, setting, 958
Toolbox, 261
WPF
appearance, customizing, 270
controls, adding, 270
creating, 268
Projects collection, 606
Projects property (solutions), 608
associations, 286
ClickOnce publication, 466
commands, 646
CommandBar objects, 629
database projects, 557
DateString, 1131
Description, 1131
destroy, 862
documents, 631
DOM, traversing, 813
DTE object, 605
EditPoint object, 636
form controls
Anchor, 965
AutoScale, 966
AutoScaleDimensions, 966
Dock, 966
forms
appearance, 959
StartPosition, 958
GetClassificationSpans (EditorClassifier1 class), 690
GridView control, 582
ImageFile class, 1085
innerHtml, 814
Kind (CodeElement object), 610-611
list box, 1018
locations, 807
Math objects, 804
OutputWindowPane objects, 626
application, 186
application settings, 189
build, 187
build events, 187
compile, 187
debug, 188
publish, 188
reference paths, 188
references, 188
resources, 188
security, 188
signing, 189
RightToLeft, 954
RightToLeftLayout, 954
screen object, 807
code analysis settings, 175
source file locations, 175-176
strings, 802
TableLayoutPanel control, 968
TaskItem object, 621
TestContext class, 339
text documents, 633
textContent, 814
UpdateQuery, 582
UriTemplate, 943
windows, 615
Properties button (Solution Explorer toolbar), 194
Properties directory, 718
Properties property
projects, 609
solutions, 608
Property automation type, 602
PropertyChanged event handler, 1085
proportional sizing, 1021
protected class member accessibility level, 97
protected internal class member accessibility level, 97
Protection property (CommandBar objects), 629
public class member accessibility level, 97
public fields, 94
Publish Azure Application dialog box, 533
Publish property page, 188
Publish Web Wizard, 485
connection information, 486
deployment settings, 486
existing applications, publishing to Azure, 489-491
previews, 487
publish profiles, 485
Publish Wizard (ClickOnce), 466-468
ASP.NET web applications, 469
connections, configuring, 471
deployment settings, configuring, 472-473
publications, previewing, 473-474
ClickOnce
publication properties, 466
databases, 559
InstallShield, 469
web applications to Azure, 484-489
connection information, 486
deployment settings, 486
existing applications, 489-491
previews, 487
publish profiles, selecting, 485
Windows Store applications, 1100-1102
Put() method
calling with Edit() method, 922-923
queries
joins, 547
Query designer panes, 545
SQL statements, fine-tuning, 545-547
tables, adding, 544
types supported, 548
LINQ, 585
management events, 210
query selectors (DOM), 811-812
Query Builder window, 582
querySelector() method (documents), 811-812
querySelectorAll() method (NodeList objects), 812
Query/View designer
configuring, 545
Query designer panes, 545
views, creating, 548
Quick Actions menu
Encapsulate Field refactor operation, accessing, 388
Extract Interface refactor, accessing, 383
method stubs, creating, 382
refactoring code, invoking, 363
Rename operation, invoking, 370
accessing, 237
results, finding, 238
searches, fine-tuning, 238
Quick Info (IntelliSense), 308
QuickStart templates
AppServices, 525
Compute, 525
QuickWatch command (Debug menu), 408
QuickWatch window, 436
Quit method (DTE objects), 605
quotation marks (“”), brace matching, 323
:radio jQuery filter, 822
Raise() method (Commands collection), 647-648
raising events, 130
random() method (Math object), 804
RangeAttribute class, 746
Rating property (ImageFile class), 1085
@ (at sign), 763
{ } (curly brackets), 763
ReadOnly() method (EditPoint objects), 636
read-only properties
ready() function (jQuery), 828
RedirectResult class, 754
RedirectToRouteResult class, 754
Redo() method (documents), 631
refactoring
defined, 361
field encapsulation, 387
applying, 388
Encapsulate Field refactor operation, accessing, 387-388
interface extraction, 382
Extract Interface refactor operation, accessing, 383
method extraction, 375
code to refactor, selecting, 377-378
Extract Method Refactor operation, accessing, 375
long static method example, 376-377
method stubs, creating, 382
new methods code listing, 379-380
original long static method after extraction, 379
refactored method, creating, 378
operations, 362
previewing/making changes, 364-365
Quick Actions menu access, 363
renaming code, 367
Rename dialog box, 371
Rename operation, accessing, 368-371
benefits, 362
variable assignments, 372
Introduce local, 374
temporary variables into inline code conversions, 375
Reference Manager, 728
Reference Paths property page, 188
references
directory, 718
projects, adding, 728
windows, 614
References property page, 188
Refresh button (Solution Explorer toolbar), 194
Refresh routines, 700
Regex object, 805
RegularExpression class, 746
release management, 7
reload() method (locations), 807
Remote Debugger Monitor, 443
Remove() method (solutions), 608
removeAttribute() method (DOM), 814
removeChild() method (DOM), 815
removeEventListener() method, 819
Rename dialog box, 371
Rename operation, 367
Class View and Properties window, 368
keyboard shortcuts, 369
Quick Actions menu, 370
Rename dialog box, 371
renaming code, 367
Rename dialog box, 371
Rename operation, accessing, 368-371
Class View and Properties window, 368
keyboard shortcuts, 369
Quick Actions menu, 370
Repeater controls, 579
Replace in Files tool, 241-242
replace() method (strings), 802
ReplacePattern() method (objects)
EditPoint, 636
TextDocument, 633
ReplaceText() method (EditPoint objects), 636
replacing text
Replace in Files tool, 241-242
Representational State Transfer. See REST
RequestedPage property (TestContext class), 339
requesting capabilities, 1090
requests
RequiredAttribute class, 746
requirements management, 7
rerunning installation, 42
res folder, 1158
Reserve App Name command (Windows Store menu), 1101
Reset() method (CommandBar objects), 629
Reset publish profile button (Azure web apps toolbar), 499
resetting IDE default settings collections, 46-50
resource groups (Azure), 526-529
Resources property page, 188
responding
bugs phase (debugging), 393
Respond.js framework, 833
responsive web layout (Bootstrap), 763, 835
components, 844
files, 835
visual design, customizing, 851-854
REST (Representational State Transfer)
WCF as, 943
client code for calling, writing, 947-949
REST requests, accepting, 943-947
Web API. See Web API services
Restart button (Azure web apps toolbar), 499
Restart command (Debug menu), 408
RestoreAsync() method, 1099
result parameter (TryGetMember() method), 152
results
Results pane (Query/View designer), 545
ResultsDirectory property (TestContext class), 339
Resuming event, 1097
Return keyword, 96
reviewing code phase (debugging), 393
RibbonControlSizeLarge property (custom ribbons), 1045
ribbons (Office), 1040, 1043-1047
button events, handling, 1046-1047
design surface, 1043
IDE Toolbox controls, 1044
RichTextContentControl control, 1054
RightToLeft property, 954
RightToLeftLayout property, 954
Ripple simulators (Cordova debugging), 1168-1170
root namespaces, setting, 107
Roslyn compiler, 744
RotateTransform class, 1027
rotating images, 1027
round() method (Math objects), 804
routed events (WPF), 1014-1015
routing Web API services, 911-912
RowIndex property (CommandBar objects), 629
rows (grids), creating, 1002
rules
ASP.NET model validation, 745-747
CSS, adding, 258
Run button (Standard toolbar), 415
Run to Cursor button (Debug toolbar), 415-416
Run to Cursor command (Debug menu), 415-416
Sammy.js framework, 833
Save Dump As command (Debug menu), 408
Save() method
documents, 631
projects, 609
SaveAs() method
projects, 609
solutions, 608
SaveAsync() method, 1099
Saved property
documents, 631
projects, 609
solutions, 608
saving
scalar-valued functions, 552
ScaleTransform class, 529
schemas (XML)
code snippet reference, 316
Schema Explorer, 254
views, 253
XSDs, creating, 252
scope signal icons (Class View window objects pane), 204
scoping options (Object Browser), 213
screen objects, 807
screen optimization (BOM), 807
<script> HTML tag, 794
Script TagHelper, 768
extension point, 687
.scss file extension, 719
SCSS Style Sheet files, 719
search folder sets, creating, 240
searches
breakpoints, 426
Class View window, 203
text, 237
Find in Files tool, 239
search folder sets, creating, 240
Security property page, 188
Select Azure Template dialog box, 527
<select> HTML tag, 762
Select method (TaskItem objects), 621
select queries, 548
Select TagHelper, 768
Select...Case decision structure, 118
:selected jQuery filter, 822
SelectedItem automation type, 602
selection margin (code editor), 230-231
Selection property (objects)
documents, 631
TextDocument, 633
windows, 615
SelectionChanged event handler, 1082
basic selectors, 822
combination, 822
CSS, 822
elements, selecting, 822
filters, 822
ID-based, 822
result actions, 824
self-checking applications, 393-394
applications in debug mode, starting, 394
breaking on exceptions, setting, 397-398
breakpoints
conditions/actions, 402
setting, 401
continuing after breakpoints, 403
Contoso University sample application, 393
debug mode, starting, 396
stepping through code, 403-405
website debugging, enabling, 394-395
self-hosted services, 950
Azure
node, 212
services, accessing, 523
event logs, 209
management events, 210
message queues, 210
performance counters, 211
servers, adding, 208
services, 211
databases, creating, 537
drag-and-drop operation with O/R designer LINQ code, 588-590
existing databases, connecting, 538-539
items, dragging and dropping, 211
SQL Server Object Explorer, compared, 536
tables
adding, 540
contents, viewing, 548
toolbar, 206
ServerDocument class, 1058
adding to Servers node, 208
models
AngularJS, creating, 879
Servers node (Server Explorer), 208-209
event logs, 209
items, dragging and dropping, 211
management events, 210
message queues, 210
performance counters, 211
servers, adding, 208
services, 211
ServiceContract attribute (CustomerProfile class), 932
coarse-grained interfaces, 903
defined, 892
DISCO, 896
HTTP, 896
JSON, 895
methods, 895
REST-based HTTP, 893
Server Explorer, 211
SOAP, 896
UDDI, 896
URIs, 896
WCF
addresses, 929
behaviors, 929
benefits, 894
bindings, 930
clients, 929
contracts, 929
defined, 929
REST-based, configuring. See WCF, REST-based
Web API, compared, 895
web, 895
Web API. See Web API services
Windows, hosting, 950
WS, 896
WSDL, 896
XML, 895
XSD, 896
services.js file, 1189
setAttribute() method (DOM), 814
SetBookmark() method (EditPoint objects), 636
setDate() method (Date objects), 804
setFullYear() method (Date objects), 804
setHours() method (Date objects), 804
setMilliseconds() method (Date objects), 804
setMinutes() method (Date objects), 804
setMonth() method (Date objects), 804
setSeconds() method (Date objects), 804
SetSelectionContainer() method (windows), 615-616
SetTabPicture() method (windows), 615-616
setTime() method (Date objects), 804
settings
IDE, 44
color themes, customizing, 45
default settings collections, resetting, 46-50
storing/synchronizing, 44
users, switching, 50
unit tests, controlling, 338
Settings button (Azure web apps toolbar), 499
Settings property page, 189
Shadows keyword, 102
Shared folder, 740
Shared keyword, 99
shared members (classes), 99
SharePoint
applications, creating, 20
templates, 18
UI delivery solutions, 12
sharing code snippets online, 322
Shortcut node (XML), 316
shortcut tasks, 326
Show all files button (Solution Explorer toolbar), 194
Show Diagnostic Tools command (Debug menu)
active debug session, 408
at rest, 406
show() method (jQuery), 830
Show Next Statement button (Debug toolbar), 403
showAlert() method, 1187
ShowPopup() method (CommandBar object), 629
signal icons
scope/access, 204
version control, 194
SignalR, 834
Signing property page, 189
Silverlight to WinRT, porting, 1124
SimpleTypeName() function, 318
single lines of code, extracting, 380-382
Single Page Application. See SPAs
SiteMapDataSource controls, 583
sizing
arrays, 122
grids
columns, 1017
image viewer application, 1020-1023
sliding effects (jQuery), 830
smart tasks, 301
web designer, 301
Snippet node (XML), 316
snippets, 311
adding with Code Snippet Inserter, 312-313
browsing/sharing online, 322
Code Snippets Manager, 321
creating
Code element, implementing, 319
adding to Visual Studio, 321-322
C# constructor snippet XML format, 316
custom C# snippet code, 319-320
functions, 318
header information, 319
literals/variable replacements, 318
XML schema reference, 316
form names, 314
placeholder values, 314
storing, 316
Surround With snippets feature, 314
Toolbox storage, 322
SnippetType node (XML), 316
SnippetTypes node (XML), 316
SOAP, 896
classes, accessing, 198
command bar, 629
history, 198
version control signal, 194
Item Preview mode, 199
overview, 191
projects
navigation, 67
references, adding, 728
Rename refactor operation, accessing, 369
text editors, launching, 226
toolbar buttons, 194
window contents, customizing, 200-201
Solution property (DTE objects), 605
Solution Property Pages dialog box, 173
Solution2 automation type, 602
Solution3 automation type, 602
Solution4 automation type, 602
SolutionBuild property (solutions), 608
automation type, 602
benefits, 164
blank, creating, 164
build configuration properties, 176-177
hierarchy, 166
names, 167
New Project dialog box, 164-165
managing with Solution Explorer, 195-196
methods, 608
projects
adding, 180
deleting, 607
dependencies, setting, 174
properties/methods, 609
properties, 173
code analysis settings, 175
source file locations, 175-176
tasks, 607
user options file, 168
Sort/Group shortcut menu options (Class View window objects pane), 204-205
source file locations, 175-176
SourceControl automation type, 602
SourceControl2 automation type, 602
SPAs (Single Page Applications), 13, 26-27
AngularJS, 873
filters, 889
form validation, 889
MVC pattern, 874
pages, turning into forms, 883-885
server model, creating, 879
Web API services, calling, 879
client frameworks. See clients, frameworks
JavaScript frameworks support, 26-27
Knockout, 857
ASP.NET templates, adding, 860-861
controllers, creating, 863
deleting entries, 870
MVVM pattern, 857
server models, creating, 862-863
views, 857
minify JavaScript files, 854-856
MVC/Web API support, 26
responsive web layout with Bootstrap, 835
components, 844
visual design, customizing, 851-854
template, 716
Split App template
JavaScript, 1074
XAML, 1075
split() method (strings), 802
SplitContainer control, 968-969
SQL Editor
writing, 549
user-defined functions, creating, 552
SQL pane (Query/View designer), 545
CLR (Common Language Runtime), C# stored procedures, 560-564
object types supported, 560
starting managed code, 561
T-SQL coded update query, 563
Data Tools. See SSDT
Object Explorer, 536
project types, 178
SQL Server databases
Azure
adding, 500
details, configuring, 500
viewing, 502
code, writing, 543
creating, 537
autogenerating controls, 565-569
defined, 564
manually binding controls, 571-575
simple, 564
managed assemblies, 563
joins, 547
Query designer panes, 545
SQL statements, fine-tuning, 545-547
tables, adding, 544
types, supported, 548
SSDT. See SSDT
managed, creating with C#, 560-564
writing with T-SQL, 549
tables
adding, 540
adding to queries, 544
cell edits, customizing, 572-574
columns, adding, 541
contents, viewing, 548
database update, 542
foreign keys, 544
indexes, 542
primary keys, 540
renaming, 540
table designer, 539
user-defined functions, creating, 552
views, creating, 548
database queries, writing, 544-548
joins, 547
Query designer panes, 545
tables, adding, 544
types supported, 548
databases
user-defined functions, creating, 552
views, creating, 548
writing, 549
SqlCommand class, 561
SqlConnection class, 561
SqlDataSource controls, 583
sqrt() method (Math objects), 804
square brackets ([ ]), 126
JavaScript dot notation, 801
JSON notation, 720
squiggles (code problem indicators), 293
SSDT (SQL Server Data Tools), 535
Query/View designer
configuring, 545
Query designer panes, 545
views, creating, 548
Server Explorer
adding tables, 540
databases, creating, 537
existing databases, connecting, 538-539
SQL Server Object Explorer, compared, 536
table contents, viewing, 548
table designer, 539
columns, adding, 541
database update, 542
foreign keys, 544
indexes, 542
primary keys, 540
renaming tables, 540
stack window, 399
StackOrder property (StackStyle enum), 1056
StackPanel controls, 1005-1006
StackStyle enumeration, 1056
standard collections, 124
standards
compliance, 277
UI form design, 955
web services (WS), 896
star sizing, 1021
Start button (Azure web apps toolbar), 499
Start Debugging button (Debug toolbar), 414
Start Debugging command (Debug menu), 406
Start View (XML Schema Designer), 254
Start Windows Phone Application Analysis command (Debug menu), 406
Start Without Debugging command (Debug menu), 406
Startboard (Azure)
Alert Rules Startboard item, 507
SQL database, 519
viewing, 494
StartCaching() method, 1058
StartOfDocument() method (EditPoint objects), 636
StartOfLine() method (EditPoint objects), 636
StartPoint property (TextDocument objects), 633
StartPosition property, 958
startup
forms, configuring, 958
Startup Class files, 719
Startup Project property page, 173-174
Startup.cs files, 720
state (applications)
resuming, 1097
suspended versus terminated, 1122
suspending, 1097
transient/persistent data, 1122
statements
Imports, 91
SQL. See SQL statements
Stop, 246
static keyword, 99
static members (classes), 99
status bars (forms)
StatusBar property (DTE objects), 605
Step Into button (Debug toolbar), 403, 414
Step Into command (Debug menu), 414, 417
active debug session, 408
at rest, 406
Step Into Specific command (Debug menu), 418
Step Out command (Debug menu), 408, 419
Step Over button (Debug toolbar), 415
Step Over command (Debug menu), 415, 419
active debug session, 408
at rest, 406
stepping through code, 403-405
breaking into debugger, 416
execution, continuing, 420
out, 419
over, 419
running to cursor position, 415-416
Stop button
Azure web apps toolbar, 499
Debug toolbar, 404
Stop Debugging command (Debug menu), 408
Stop statement, 246
StorageFile class, 1088
StorageFolder class, 1088
stored procedures
managed, creating in C#, 560-564
starting managed code, 561
T-SQL coded update query, 563
writing, 549
StringAssert class, 345
StringLengthAttribute class, 746
strings
database connection, creating, 748-750
properties/methods, 802
Solution Explorer searches, 200
verifying, 345
classes, compared, 105
matching, 685
projects, 184
style binding (Knockout), 872
Style Builder dialog box, 258
Style class, 1007
style sheets
CSS. See CSS editor
files, 719
LESS
creating, 731
output to CSS Gulp processing task, creating, 731-734
website design management, 275-276
styles
website design, managing, 275-276
Sub keyword, 96
SubCategory property (TaskItem objects), 621
subclassing existing controls, 982-983
:submit jQuery filter, 822
subscriptions (Azure), 479-480
substring() method (strings), 802
subtraction (-) operator, 114
subtraction with assignment (-=) operator, 113
Surround With snippets feature (IntelliSense), 314
Suspending event, 1097
SuspendingDeferral objects, 1097
SuspensionManager class, 1099
Swap button (Azure web apps toolbar), 499
switch...Case decision structure, 118
switching IDE users, 50
Sync button (Solution Explorer toolbar), 194
synchronizing IDE settings, 44
System.Activities namespace, 161
System.AddIn namespace, 159
System.CodeDom namespace, 159
System.Collections namespace, 160
System.ComponentModel namespace, 160
System.ComponentModel.Composition namespace, 685
System.Configuration namespace, 160
System.Data namespace, 160
System.Diagnostics namespace, 160
System.Diagnostics.Contracts namespace, 160
System.Drawing namespace, 160
System.Dynamic namespace, 160
System.EnterpriseServices namespace, 160
System.Globalization namespace, 160
System.IO namespace, 160
System.Linq namespace, 160
System.Media namespace, 160
System.Messaging namespace, 160
System.Net namespace, 161
System.Security namespace, 161
System.ServiceModel namespace, 161
System.Threading namespace, 161
System.Timers namespace, 161
System.Web namespace, 161
System.Windows namespace, 161
System.Workflow.Activities namespace, 161
System.Xml namespace, 161
tab order (form controls), 971
tab-calculate.html template, 1187
table designer, 539
columns, adding, 541
database update, 542
foreign keys, 544
indexes, 542
primary keys, setting, 540
renaming tables, 540
<table> HTML tag, 762
TableLayoutPanel control, 967-968
tables
cell edits, customizing, 572-574
databases, 536
adding, 540
adding to queries, 544
code, writing, 543
columns, adding, 541
contents, viewing, 548
database update, 542
foreign keys, 544
indexes, 542
primary keys, 540
renaming, 540
table designer, 539
websites, creating, 274
table-valued functions, 552
tabs (Toolbox), adding, 623
taco.json files, 1160
tags
code editor extension point, 688
document outline window, 300-301
targets
.NET Framework multiple versions, 727-728
Task List, 325
automation, 328
C# example, 326
custom tokens, 327
default tokens, 326
removing from list, 326
shortcut menu, 325
shortcut tasks, 326
task panes (Office), 1039
Task view (Parallel Stacks window), 452-455
TaskItem objects
automation type, 602
methods, 621
properties, 621
tasks, adding/removing, 621
TaskItems automation type, 602
TaskItems2 automation type, 602
TaskList automation type, 602
TaskList objects, 328
TaskListEvents objects, 328
adding/deleting, 621
automation, 328
client build, managing, 731-734
C# example, 326
custom tokens, 327
default tokens, 326
removing from Task List, 326
shortcut, 326
Team Explorer, 8
templates
Apache Cordova project, 38
App for Office, 1059
ASP.NET 5 Web Site. See ASP.NET 5 Web Site template
empty, 714
MVC, 715
SPA, 716
Web Pages, 715
automation type, 602
Azure, 29
AppServices, 525
Compute, 525
Blank Solution, 164
database project, 554
MEF-centered
Editor Text Adornment, 692-693
Editor Viewport Adornment, 693-695
Ordered Test, 357
SharePoint, 18
TFS process, 6
VSIX project, 652
Windows Forms, 957
Windows Store image viewer app, 1078
WinRT
JavaScript, 1074
XAML, 1075
creating, 1008
visual trees, debugging, 1010-1012
temporary variables, 375
Terminate All command (Debug menu), 408, 420
test attribute classes, 341-342
test classes
test projects, creating, 331
TFS, 7
test projects
default project files, 331
policies, defining, 331
test classes, 331
test files, adding, 332
Test menu, 333
naming convention, 331
types, 178
TestClass class, 341
TestCleanup class, 341
accessing, 340
methods, 339
properties, 339
testing See also debugging
ordered tests, creating, 357-358
unit tests. See unit tests
web applications, 350
TestInitalize class, 341
TestMethod attribute, 333
TestMethod class, 341
TestName property (TestContext class), 339
TestProperty class, 341
TestResultsDirectory property (TestContext class), 339
TestRunDirectory property (TestContext class), 339
TestRunResultDirectory property (TestContext class), 339
text
cutting/copying/pasting, 222
documents, 632
edit point properties/methods, 636
edit points, repositioning, 640
editing text, 639
For loops, bookmarking, 633-634
methods, 633
properties, 633
text buffer objects, 635
text representations, 635
text window comments, inserting, 640-645
DOM nodes, updating, 814
moving, 222
searching and replacing
Find in Files, 239
search folder sets, creating, 240
selecting, 222
virtual spacing, 224
WPF, 989
wrapping, 223
text editors, 68
code editor. See code editor
CSS editor
attributes, defining, 258
overview, 257
rules, adding, 258
defined, 221
HTML editor
formatting options, 274
markup, editing, 273
code snippets. See snippets
customizing, 324
Organize Usings, 311
Parameter Info, 310
Quick Info, 308
triggering, 306
launching, 226
multiple windows, navigating, 226
productivity aids, 291
active hyperlinking, 295
change tracking, 292
code problem indicators, 293
search and replace, 237
Find in Files, 239
search folder sets, creating, 240
SQL editor
user-defined functions, creating, 552
text
cutting/copying/pasting, 222
line wrapping, 223
moving, 222
selecting, 222
virtual spacing, 224
toolbar, 231
touch support, 81
Visual Basic code editor, 69-70
windows, 618
XML editor
Schema Explorer, 254
schema views, 253
XSDs, creating, 252
zooming, 228
:text jQuery filter, 822
text() method (jQuery), 825
text node (DOM tree), 809
Text visualizer, 440
text windows, 618
<textarea> HTML tag, 762
TextArea TagHelper, 768
TextBlock objects, 699
textContent property (DOM), 814
TextDocument automation type, 602
TextDocument objects, 632
edit points, repositioning, 640
EditPoint
methods, 636
properties, 636
For loops, bookmarking, 633-634
methods, 633
properties, 633
text
buffer, 635
editing, 639
representations, 635
window comments, inserting, 640-645
textInput binding (Knockout), 873
TextPane automation type, 602
TextPane2 automation type, 602
TextPoint parameter (TryToShow() method), 619
TextSelection objects, 636
TextWindow automation type, 602
TextWindow objects, 618
TFS, 6
Team Explorer, 8
Test Professional, 8
VSO, 6
themes
Bootstrap, 852
color, customizing, 45
threads
breaking on, 450
flagging, 447
individual, inspecting, 448-450
naming, 446
window, 447
Threads view (Parallel Stacks window), 451-453
Timeout class, 341
timer components, creating, 278
Title node (XML), 316
toDateString() method (Date objects), 804
toExponential() method (Number objects), 803
toFixed() method (Number objects), 803
Toggle Bookmark button (Bookmarks window), 235
Toggle Breakpoint command (Debug menu)
active debug session, 408
at rest, 406
toggling bookmarks, 235
tokens (comment tasks)
custom, 327
default, 326
toLowerCase() method (strings), 802
ColorSelector extension
ColorSelector extension, displaying, 673-675
Task List, 621
types, 620
toolbars, 63
Azure web app, 499
Breakpoints window, 423
Class View window, 202
command bars as, 629
creating, 65
Debug, 412
Break All button, 416
Show Next Statement button, 403
Start Debugging button, 414
Step Over button, 415
Stop button, 404
Debug Location, 447
Document Outline window, 218
keyboard shortcuts, assigning, 65-66
Object Browser, 215
Run button, 415
Server Explorer, 206
Solution Explorer, 194
text editors, 231
automation type, 602
class designer, 282
code snippet storage, 322
ribbon controls, 1044
tabs, adding, 623
WinForms, 261
ToolBoxItem automation type, 602
ToolBoxItem objects, 622
ToolBoxItem2 automation type, 602
ToolBoxItems object, 622
ToolBoxTab automation type, 602
ToolboxTab2 automation type, 602
ToolboxTab3 automation type, 602
tools
designers. See designers
Find in Files, 239
Import (databases), 555
Office Developer, 1038
active hyperlinking, 295
change tracking, 292
code problem indicators, 293
IntelliSense. See IntelliSense
smart tasks/light bulbs, 301-305
refactoring
benefits, 362
Inline temporary variable, 375
Introduce local, 374
Remote Debugger Monitor, 443
SSDT, 535
Test Professional, 3
TFS, 6
Team Explorer, 8
Test Professional, 8
VSO, 6
Visual Studio Code, 3
Web Publishing
connections, configuring, 471
deployment settings, configuring, 472-473
launching, 469
Tools button (Azure web apps toolbar), 499
Tools menu, 57
ToolStrip class, 972
built-in capabilities, 972
traits, 972
ToolStripContainer control, 969-971
ToolStripItem class, 975
ToolTip class, 972
ToolTip node (XML), 316
ToolTips, 972
ToolWindows property (DTE objects), 605
Top property (objects)
CommandBar, 629
window, 615
ToPrecision() method (Number objects), 803
toString() method (Date objects), 804
toTimeString() method (Date objects), 804
touch support, 81
toUpperCase() method (strings), 802
action/condition combinations, 432
setting, 431
traffic monitoring (Azure), 505-506
transforms, 1027
traversing
DOM tree nodes, 813
TreeNode Editor, 979
TreeView controls, 979
trim() method (strings), 802
TryGetMember() method, 150
TryToShow() method (objects)
EditPoint, 636
TextPane, 619
tunneling events, 1015
Tuple class, 125
two-way data binding (AngularJS), 874-876
type attribute (<input> tag), 760-762
Type Name Display Style button (Windows Forms Document Outline toolbar), 218
Type property (CommandBar objects), 629
typed data sets, customizing, 570-571
UDDI (Universal Description, Discovery, and Integration), 896
UIs (user interfaces)
C# code editor elements, 229
Cordova
components, 1156
web, 13
Windows, 12
extension commands, defining, 667
form design
appearance properties, 959
end user considerations, 954-955
inheritance, 958
planning, 956
resizing, 957
StartPosition property, 958
startup forms, setting, 958
Windows Forms template, 957
jQuery
animations/effects, 830
UI library, 833
standards, 955
UX (user experience) frameworks, 1174
web forms. See forms
Windows client solutions
Windows modern. See Windows, modern UI, 1066
Windows Phone
device orientation, 1116
start screen, 1114
structure, 1115
Windows Store applications
app bars, 1070
attributes, 1068
bottom app bars, 1067
context menus, 1070
control set, 1070
fly-outs, 1070
image viewer app main page, 1081-1084
Media Player example, 1069
message dialogs, 1070
start screen tiles, 1066
underscores (_), page names, 768
Undo() method (documents), 631
undocking windows, 76
uniform resource identifiers (URIs), 896
Unindent() method (EditPoint objects), 636
unit tests, 330
ASP.NET MVC applications, 739
data-driven, creating, 346-349
debugging phase, 393
framework
namespace, 339
setting up/cleaning up, 343-344
debugger, activating, 336
settings, controlling, 338
test projects, creating, 330-333
default project files, 331
naming convention, 331
policies, defining, 331
test classes, creating, 331
test files, adding, 332
Test menu, 333
web applications, 350
Universal app, 1125
design sketch, 1125
MainPage.xaml
Windows Phone, 1136
Phone emulator, running, 1135
requirements, 1125
details page, creating, 1132-1135
master page, creating, 1130-1132
page navigation, 1135
Universal Description, Discovery, and Integration (UDDI), 896
update queries, 548
UpdateQuery property, 582
updates
DOM node text, 814
WCF services to accept REST requests, 943-947
Upload App Packages command (Windows Store menu), 1102
URIs (uniform resource identifiers), 896
UriTemplate property (WCF service methods), 943
UrlAttribute class, 746
URLs, controlling, 807
UrlToTest attribute (ASP.NET unit tests), 356
actions, confirming, 806
color picker extension example, 671-673
ColorSelector extension, 678-681
designing, 984
embedding, 985
WinForms, 278
WPF
displaying as viewport adornments, 704-706
positioning, 702
defined functions, 552
experience (UX) frameworks, 1174
form design considerations, 954-955
IDE, switching, 50
UX (user experience) frameworks, 1174
val() method (jQuery), 826
validation
forms, 889
ValidationMessage TagHelper, 768
ValidationScriptsPartial.cshtml file, 770
ValidationSummary TagHelper, 768
var keyword, 133
variables
anonymous types, creating, 137
declaring, 111
refactoring, 372
local variables, 374
temporary variables into inline code conversions, 375
VB (Visual Basic)
asynchronous programming, 157-159
attributes, 126
auto-implemented properties, 147-148
breakpoints, triggering, 246
classes
behaviors, overriding, 101-102
defining, 93
hiding members, 102
overloading methods, 103
shared members, 99
code snippets, adding, 312
collection initializers, 136-137
constants, defining, 113
covariance/contravariance
custom generic classes, 156
defined, 155
delegates, 156
generic collections, 156
data types
common, listing of, 110
decision structures, 116
Select...Case, 118
dynamic data type, 149
dynamic objects
executing, throwing objects, 154
events
listening for, 131
raising, 130
exceptions
filtering, 128
groups
implicit line continuation, 148
interfaces, defining, 104
logical/conditional operators, 116
loops
Do...While/Until, 121
For...Each, 120
For...Next, 120
methods
defining, 96
returns values, defining, 96-97
Imports statement, 91
null-conditional operators, 86-88
read-only auto properties, 88-90
operators, 113
arithmetic, 114
comparison, 115
concatenation, 115
Organize Usings (IntelliSense), 311
unused arguments, deleting, 147
variables, declaring, 111
.vbproj file extension, 181
WinRT, 1075
.vb file extension, 719
VB.NET (Visual Basic.NET), 9
.vbproj file extension, 181
verifying
collections of objects, 345
strings, 345
version control
signal icons, 194
TFS, 7
vertical scrollbar (code editor), 231-233
VerticalAlignment property, 1018
View Class Diagram button (Class View window toolbar), 202
View code button (Solution Explorer toolbar), 194
View menu, 57
class members in class designer, 282
commands, 646
data in debugger, 433
Diagnostic Tools window, 439-440
QuickWatch window, 436
Watch windows, 435
databases in Azure portal, 502
ViewModels folder, 788
viewport adornment
WPF controls, displaying as, 703-706
ViewportAdornment1 class, 694
ViewResult class, 754
views
ASP.NET
customer example. See customer example pages
ASP.NET MVC, 736
areas, 769
controllers, 757
generating with dnx . gen tool, 788-791
models, 788
user input validation, 770-771
databases, creating, 548
debugger, 433
Diagnostic Tools window, 439-440
QuickWatch window, 436
Watch windows, 435
dump file summary information, 458
form postback, receiving, 922-923
form data, 979
hierarchical relationships, 979-980
sources, 982
tabular format, 981
Knockout, 857
package dependencies, 725
Solution Explorer, customizing, 200-201
table contents, 548
Web API services, calling, 916-917
virtual breakpoints, creating, 248
virtual spacing, 224
VirtualPoint objects, 635
visible Knockout binding, 872
Visible property (objects)
CommandBar, 629
windows, 615
Visual Basic.NET (VB.NET), 9
Visual class, 990
visual cues (Solution Explorer)
version control signal icons, 194
visual designers, 72
Visual Studio
Code, 3
editions
comparison website, 3
MSDN subscriptions, 5
Test Professional, 8
Extensibility center website, 688
optional features, 43
rerunning, 42
Online (VSO), 6
Test Professional, 3
Visual Tree window, 1010
visual trees (WPF)
defined, 1008
visualizers
debugger data, viewing, 440-441
launching, 441
listing of, 440
vsCMElement enumeration values, 612
VSIX projects
ColorSelector example. See ColorSelector extension
custom commands, adding, 654-655
custom tool windows, adding, 657-658
MEF-centered
Editor Text Adornment, 692-693
Editor Viewport Adornment, 693-695
template, 652
VSO (Visual Studio Online), 6
VSTO team blog, 1038
WAS (Windows Process Activation Service), 950
WCF (Windows Communication Foundation)
addresses, 929
behaviors, 929
benefits, 894
bindings, 930
clients, 929
contracts, 929
classes, adding, 933
implementing interfaces, 934-937
defined, 929
REST-based, 943
client code for calling, writing, 947-949
REST requests, accepting, 943-947
System.ServiceModel namespace, 161
Test Client, 937
Web API services, compared, 895
web
designer, 272
smart tasks/light bulbs, 301
tag navigator, 299
project types, 178
requests, processing and responding, 709-710
services. See services
UI delivery solutions, 13
adding to ASP.NET web applications, 897
AngularJS, calling, 879
benefits, 893
consuming, 912
client application, creating, 913-915
services, calling from native devices, 916-920
view/controller files, creating, 915-916
Controller Class files, 719
controllers
class, creating, 901
HTTP verb-based attributes, 902-903
Chrome/Firefox Get service request, 906
IE Get service request results, 905
project properties, 905
requests/responses, 907
service, invoking, 905
HTTP GET/POST requests foundation, 897
SPA support, 26
UI delivery solutions, 13
controller test method, writing, 353-354
core client objects, referencing, 353
model/controller, adding, 351-352
WCF services, compared, 895
AngularJS. See AngularJS
ASP.NET. See ASP.NET
Azure
cloud services, compared, 529
creating in Visual Studio, 481-485
debugging, 494
hosting platform, 481
management. See Azure, website management
managing with Server Explorer, 492-493
toolbar, 499
data-source controls, 583
existing, porting, 712
Knockout. See Knockout
publishing, 469
connections, configuring, 471
deployment settings, configuring, 472-473
connection information, 486
deployment settings, 486
existing applications, 489-491
previews, 487
publish profiles, selecting, 485
Razor syntax, 25
unit tests, 350
web requests, processing and responding, 709-710
website projects, compared, 181, 713
web forms. See also forms
browser output/validation, 276-277
controls
adding, 272
design/development synchronization, 22-23
designing, 272
Document Outline window view, 216
HTML
editing, 273
formatting, 274
server-side controls, 22
standards compliance, 277
styles/CSS management, 275-276
tables, 274
web designer, 272
Web Pages template, 715
connections, configuring, 471
deployment settings, configuring, 472-473
launching, 469
Web Service Description Language (WSDL), 896
Web.config file, 394
WebGet attribute (WCF service methods), 943
WebInvoke attribute (WCF service methods), 943
website development, 272
AngularJS, 873
ASP.NET
client framework dependencies, managing, 728-731
Compiler directory, 718
default structure, 716
Dependencies directory, 718
JSON configuration files, 720-721
Migrations directory, 718
MVC folders, 718
.NET Framework configuration, 721
.NET Framework multiple versions, targeting, 727-728
project files, 719
project references, 728
project.json file configuration sections, 722-723
Properties directory, 718
References directory, 718
Bootstrap, 832
components, 851
customizer, 853
navigation bars, 844
themes, 852
controls
adding, 272
HTML
editing, 273
formatting, 274
MVC. See MVC
projects
web application projects, compared, 181
publishing, 469
connections, configuring, 471
deployment settings, configuring, 472-473
responsive layout with Bootstrap, 835
components, 844
visual design, customizing, 851-854
styles/CSS management, 275-276
tables, 274
web application projects, compared, 713
design/development synchronization, 22-23
server-side controls, 22
Website menu, 57
websites
AdventureWorks sample database, 546
AngularJS, 832
Apache
Cordova, 37
Software Foundation, 1154
ASP.NET source code, 711
async processing with async/await keywords, 1087
authentication, 739
benefit levels, 29
hosting options, 530
pricing, 477
Breeze, 833
browser output/validation, 276-277
Chart.js, 834
CoffeeScript, 834
Community edition, 3
Cordova apps, 1156
edition comparison, 3
Ember.js, 834
extensions, posting, 696
Hammer.js, 833
HTML, learning, 760
InstallShield Limited Edition content, 463
IntelliTest, 330
jQuery UI, 833
jQuery.validate, 833
Knockout, 832
Less framework, 834
managing with Azure Server Explorer, 492-493
Microsoft Visual Studio 2015 Unleashed, 703
Modernizer, 833
MSDN benefits, 5
.NET Foundation, 711
Node.js, 834
Omnisharp, 711
Phonegap, 1156
Respond.js download, 833
Sammy.js, 833
Sass, 834
SignalR, 834
JavaScript frameworks support, 26-27
MVC/Web API support, 26
standards compliance, 277
Visual Studio Code, 3
Visual Studio Extensibility center, 688
VSO relative to TFS, 6
VSTO team blog, 1038
WinJS, 1175
WPF visual trees, 1008
whitespace (DOM), 813
width property
CommandBar objects, 629
list boxes, 1018
screen objects, 807
top Menu control, 1019
windows, 615
Window menu, 57
Window2 automation type, 602
WindowConfiguration property (DTE objects), 605
WindowFrame property (windows), 627
automation type, 602
Azure Activity Log, 534
Bookmarks, 234
conditions, setting, 426
managing breakpoints, 424
sorting/searching breakpoints, 426
toolbar, 423
browsers
alerts, 805
browser details, viewing, 808
navigating, 807
opening/closing, 806
positioning, 806
screen optimization, 807
URLs, controlling, 807
user actions, confirming, 806
Class Details, 287
Class View, 201
members pane, 205
search bar, 203
toolbar, 202
Class View and Properties, 368
code definition, 250
code editor components, 228
code pane, 229
indicator margin, 230
DataTips
pinning DataTips, 437
viewing data in debugger, 436-437
Document Outline, 216
web forms, 216
Windows Forms toolbar buttons, 218
WPF form, 216
events, 819
Exception Assistant, 399
Extension and Updates, 696
Live Property Explorer, 1011-1012
Locals
errors, debugging, 399
Manage Styles, 276
methods, 615
multiple text editor, navigating, 226
navigating, 80
Object Browser. See Object Browser
specific text area, displaying, 619
Parallel Stacks, 451
positioning, 806
Query Builder, 582
QuickWatch, 436
referencing, 614
Azure node, 212
Servers node. See Servers node
toolbar, 206
Solution Explorer. See Solution Explorer
stack, 399
Task List, 325
text, 618
Threads, 447
tool
ColorSelector extension, displaying, 673-675
ColorSelector extension XAML, 678-681
Task List, 621
types, 620
undocking, 76
Visual Tree, 1010
WinForms Designer
control layout, 262
Toolbox, 261
visual elements, 260
WPF Designer, 17
appearance, customizing, 270
properties, 996
XML Schema
Explorer, 254
client applications, developing, 258
Communication Foundation. See WCF
Desktop project types, 178
Forms controls
Installer, 469
modern UI
app bars, 1070
attributes, 1068
bottom app bars, 1067
charms, 1066
context menus, 1070
control set, 1070
fly-outs, 1070
Media Player example, 1069
message dialogs, 1070
start screen tiles, 1066
Office solutions
add-ins, 19
benefits, 18
document projects, 19
template projects, 19
templates, 18
Presentation Foundation. See WPF
Process Activation Service (WAS), 950
Runtime library. See WinRT
SharePoint, 18
site authentication, 739
Store applications. See Windows Store applications, 14
UI delivery solutions, 12
Windows, Autos command (Debug menu), 408
Windows, Breakpoints command (Debug menu)
active debug session, 408
at rest, 406
Windows, Call Stack command (Debug menu), 408
Windows, Exception Settings command (Debug menu), 408
Windows, GPU Threads command (Debug menu), 408
Windows, Immediate command (Debug menu)
active debug session, 408
at rest, 406
Windows, Locals command (Debug menu), 408
Windows, Memory command (Debug menu), 408
Windows, Modules command (Debug menu), 408
Windows, Output command (Debug menu)
active debug session, 408
at rest, 406
Windows, Parallel Stacks command (Debug menu), 408
Windows, Parallel Tasks command (Debug menu), 408
Windows, Parallel Watch command (Debug menu), 408
Windows, Processes command (Debug menu), 408
Windows, Registers command (Debug menu), 408
Windows, Threads command (Debug menu), 408
Windows, Watch command (Debug menu), 408
Windows Disassembly command (Debug menu), 408
applications
anatomy, 1117
Ionic-Angular-Cordova app, running, 1196-1197
runtimes available, 1117
Silverlight to WinRT transition, 1123-1124
state change events, 1120-1121
suspending versus terminating, 1122
transient/persistent data, 1122
UIs
device orientation, 1116
start screen, 1114
structure, 1115
creating, 1125
design sketch, 1125
MainPage.xaml code, 1136
Phone emulator, running, 1135
requirements, 1125
Windows Store app similarities, 1114
Windows property (documents), 631
Windows Store applications, 14
application lifecycles, 1076-1077
capabilities, 1076
image viewer app
C# ImagePage.xaml.cs code, 1108-1110
capabilities, requesting, 1090
collection class, creating, 1088-1089
data binding, 1089
data model, creating, 1085-1087
developer licenses, 1079
image detail page, 1081
Image Editor page implementation, 1091-1093
MainPage.xaml code, 1103
MainPage.xaml.cs code, 1104-1105
navigation state passing, 1093-1095
requirements, 1078
starting page, 1081
template, selecting, 1078
Ionic-Angular-Cordova app, running, 1196-1197
modern UI
app bars, 1070
attributes, 1068
bottom app bars, 1067
charms, 1066
context menus, 1070
control set, 1070
fly-outs, 1070
Media Player example, 1069
message dialogs, 1070
start screen tiles, 1066
requirements, 1066
Universal app, 1125
design sketch, 1125
MainPage.xaml.cs code, 1150-1152
requirements, 1125
Windows Phone app similarities, 1114
WinRT
architecture, 1071
C#/VB/XAML, 1075
defined, 1071
HTML/JavaScript/CSS, 1073-1074
.NET Framework, compared, 1072
Windows2 automation type, 602
WindowState property (windows), 615
components
component designer, 278
defined, 278
containers, 967
FlowLayoutPanel, 968
controls
adding, 260
alignment, 963
appearance, 971
custom, creating, 985
custom versus user, 278
defined, 278
hosting with Office, 1053-1054
layout, 262
tab order behavior, 971
ToolTips, 972
z-order, 976
data, displaying, 979
cell types, 982
data sources, 982
hierarchical relationships, 979-980
tabular format, 981
designer
aligning controls, 963
auto scaling controls, 966-967
component tray, 962
control layout, 262
end user considerations, 954-955
planning, 956
resizing, 957
tab order, 971
Toolbox, 261
ToolTips, 972
UI standards, 955
Document Outline toolbar buttons, 218
form appearance, customizing, 260
inheritance, 958
properties
appearance, 959
starting position, 958
startup forms, setting, 958
template, 957
Toolbox, 261
built-in capabilities, 972
traits, 972
UI delivery solutions, 12
WPF interoperability, 989
WinJS, 1175
WinRT (Windows Runtime library), 1071
application lifecycles, 1076-1077
architecture, 1071
capabilities, 1076
defined, 1071
file/folder access classes, 1088
languages, 1073
C#/VB/XAML, 1075
HTML/JavaScript/CSS, 1073-1074
.NET Framework, compared, 1072
Silverlight apps, porting, 1124
templates
JavaScript, 1074
XAML, 1075
wizards
Data Source Configuration, 565
EDM, 592
Publish Web, 485
connection information, 486
deployment settings, 486
existing applications, publishing to Azure, 489-491
previews, 487
publish profiles, 485
add-ins
ribbon customizations, 1043-1047
extensions
actions pane, creating, 1055-1057
extension points, 1038
WordLeft() method (EditPoint objects), 636
WordRight() method (EditPoint objects), 636
Workbook objects, 1053
Worksheet objects, 1053
WPF (Windows Presentation Foundation)
animation, 989
appearance, customizing, 270
assemblies, 988
components, 989
data binding, 575-579, 989, 1012-1014
data sources, 576
drop-down list, 577
master-detail data source, adding, 578
appearance, customizing, 270
grid controls, 1002
Properties window, 996
XAML/design panes, configuring, 994-996
displaying user controls as viewport adornment, 704-706
Document Outline window view, 216
document support, 989
healthcare application prototype, 989
image viewer application, creating
blurring images, 1028
button event handlers, 1027
flipping images, 529
grayscale effect, 1027
image files path selection, 1028
image rotations, 1027
requirements, 1016
UI sketch, 1015
layout panels, 998
WrapPanel, 1006
logical architecture, 988
media, 989
positioning user controls, 702
Application class, 991
base element classes, 990
Control class, 990
DispatcherObject class, 990
syntax parsing, 992
Visual class, 990
projects, creating, 268
System.Windows namespace, 161
technology, 258
visual trees, debugging, 1010-1012
text, 989
Tree visualizer, 440
UI delivery solutions, 12
user controls
displaying as viewport adornment, 704-706
positioning, 702
defined, 1008
windows, designing, 17
WinForms interoperability, 989
XAML-based UI, 16
WrapPanel control, 1006
wrapping
columns, 838
text, 223
WriteLine() method (TestContext class), 339
writing
code
WS (web services standards), 896
WSDL (Web Service Description Language), 896
www/css folder, 1158
www/images folder, 1158
www/scripts, 1159
XAML
browser application (XBAP), 17
ColorSelector
image viewer Windows Store app
MainPage.xaml, 1103
image viewer WPF application, 1029-1031
mouse movements, handling, 670-671
WinRT, 1075
application data binding, 576-577
Canvas control, 999
columns, creating, 1002
dialog box implementation, 1003
DockPanel control, 1001
StackPanel, 1005
Style class definition, 1007
XBAP (XAML browser application), 17
XHTML compliance, 277
XML
editor
Schema Explorer, 254
schema views, 253
XSDs, creating, 252
schemas, 316
Explorer, 254
snippet format, 316
visualizer, 440
web services, 895
XmlDataSource controls, 583
Xor operator, 116
XSD (XML Schema Document), 252, 896
zooming
text editors, 228
z-order, 976