424Microsoft Visual Studio 2010: A Beginner’s Guide

Release configurations, 150, 153 releases, 6, 11, 12

remote debugging, 153–154 repository, 265–268, 282 resources, referencing, 414–416 Resources option, 121

Root namespace, 119 routing, 262–264

S

scope, 160–161

search features, 38, 158 select statement, 59–60 serialization assemblies, 133 Server Control projects, 33 Server Explorer, 182–193 service reference, 326–334 service releases, 6, 11, 12 set accessors, 84, 86 shared methods, 74 shared modules, 41 SharePoint projects, 34 shortcut keys, 15, 44, 47

Silverlight, 285–298, 326, 336. See also XAML Silverlight applications, 285–298

skeleton code

automatically generated, 4–5 Console application, 39–43

.snippet extension, 354 snippets

class, 71–72 creating, 353–358 do loops, 65–66 else, 58–59 examining, 354–356 for each loops, 63–64 for loops, 62

if statements, 58–59 interface, 106 library of, 358–359 method, 80 namespace, 47–48 overview, 47–48 pick list, 47 property, 86

switch statement, 60–61 using, 47–48

while loops, 64–65 snippets folders, 358–359 Snippets Manager, 359 Solution Explorer, 116–118

Console application creation, 38 managing build order, 131–132 managing dependencies, 131–133

opening/closing items, 21 overview, 16

working with controls, 227 solution folders, 116–118 solutions. See also projects

adding projects to, 117–118 artifacts, 116, 117, 136 building/rebuilding, 129–130 cleaning, 130–131 contents, 38–39 described, 38

folders, 116–118 hierarchical relationships,

116–118 naming, 115–116 organizing principles, 114–115 showing, 116–117

sorting/searching features, 38, 158 source code. See code

source control, 116 SQL. See LINQ to SQL StackPanel layout, 222–223 Start page, 15

Startup object, 118, 120 statements

branching, 57–61 considerations, 49 else, 58–59

if, 57–59

using Intellisense with, 49–51 static keyword, 40

static methods, 41, 74 Status bar, 16

Step Over operation, 159 stored procedures

databases, 192–193 debugging, 154

in LINQ to SQL, 209–210 Sub Main method, 40

switch statement, 59–61

switch statement snippets, 60–61 system icons, 120

System namespace, 42, 43 system requirements, 6

T

tabbed windows, 20–21 tables

adding data to, 186–187 adding to databases, 185–187 considerations, 201, 202 foreign keys, 187–192 multiple, 187–192, 205–210 performing queries on, 205–210

Page 447
Image 447
Microsoft 9GD00001 manual Microsoft Visual Studio 2010 a Beginner’s Guide