W


Walk( ) method, 76

WAN (wide area network), 960

WCF (Windows Communication Foundation), 3, 5, 13–14, 994, 1091

capabilities, 1093–1094

consumer

building, 1105–1113

configuration file changes, 1109–1111

consumption code, 1111–1113

data contracts, 1116–1118

service reference, 1106–1109

data contracts, 1113–1114

consumer, 1116–1118

host, 1116

services, 1114–1116

namespaces, 1120

.NET Framework and, 1093

overview, 1093–1095

remoting and, 1001

security, 1120–1122

services

building, 1095–1105

components of, 1097

console application, 1098

console application as host, 1101–1103

contract, 1097–1098

data contracts, 1114–1116

interface, creating, 1098–1099

interface, utilizing, 1099–1100

WSDL document, 1103–1105

WCF_WithDataContract, 1114

Web forms, 12

Web pages, downloading, 1153

Web references, Web Services, 976977

Web resources, 12031204

Web Services, 957959

architecting with, 994–995

architecture

application development, 959

ORBs, 959

building, 966–970

connectivity, 998

consuming

building consumer, 978–982

SOAP headers, 987–989

DCOM, 960–961

responses, caching, 985

security, 997

directory–level, 996–997

SSL (Secure Sockets Layer), 996

SOAP 1.2 and, 989–990

SOAP headers and, 986–987

speed, 998

state, 997

System.Web.Services namespace, 990–991

System.Web.Services.Description name-space, 992

System.Web.Services.Discovery name-space, 992–993

System.Web.Services.Protocols name-space, 993–994

transactions, 997–998

Visual Studio, Web references, 976–977

WSDL (Web Services Description Language), 964–966

Web services, exposing, SQL Server and, 588–595

web services, 1314

Web Services Enhancements (WSE), 994

WebBrowser control, Windows Forms, 600

WebClient class, 1061, 1078

BaseAddress, 1079

Credentials, 1079

DownloadData, 1079

DownloadFile, 1079

DownloadString, 1079

Headers, 1079

OpenRead, 1079

OpenWrite, 1079

Proxy, 1079

QueryString, 1079

ResponseHeaders, 1079

UploadData, 1079

UploadFile, 1079

UploadString, 1079

UploadValues, 1079

web.config.comments file, cultures, 237

WebMethodAttribute class, System.Web.Services namespace, 991

WebMethods, overloading, 982983

WebRequest class, 1154

Create method, 1061

Credentials method, 1061

FileWebRequest, 1062

GetRequestStream method, 1061

GetResponse method, 1061, 1155

Headers method, 1061

HttpWebRequest, 1062

Method method, 1061

Proxy method, 1061

Timeout method, 1061

WebRequestMethods.Ftp

AppendFile field, 1068

DeleteFile field, 1068

DownloadFile field, 1068

GetDateTimeStamp field, 1068

GetFileSize field, 1068

ListDirectory field, 1068

ListDirectoryDetails field, 1068

MakeDirectory field, 1068

PrintWorkingDirectory field, 1069

RemoveDirectory field, 1069

UploadFile field, 1069

UploadFileWithUniqueName field, 1069

WebResponse class, 1061

WebService attribute, 968

WebService class, System.Web.Services namespace, 990991

WebService directive

Class attribute, 967

CodeBehind attribute, 968

Debug attribute, 968

Language attribute, 968

WebServiceAttribute class, System.Web.Services namespace, 991

WebServiceBinding attribute, 968

WebServiceFault activity, 941

WebServiceInput activity, 941

WebServiceOutput activity, 941

WebServices, Visual Studio

consuming, 976

typed datasets, 972–975

WebServicesBindingAttribute class, System.Web.Services namespace, 991

well-formed XML, 391

WF (Windows Workflow), 3

activities

CallExternalMethod, 940

Code, 943

CompensatableSequence, 942

Compensate, 943

ConditionedActivityGroup, 942

custom, 944–950

Delay, 943

EventDriven, 942

FaultHandler, 942

HandleExternalEvent, 940

IfElse, 941

InvokeWebService, 941

InvokeWorkflow, 941

Listen, 941

Parallel, 942

Policy, 941

Replicator, 942

Sequence, 942

State, 943

StateFinalization, 943

StateInitialization, 943

Suspend, 943

Terminate, 943

Throw, 943

WebServiceFault, 941

WebServiceInput, 941

WebServiceOutput, 941

While, 942

activity library, 932

applications, 929–930

ASP.NET and, 952–956

Code activities, 936

custom activities, 932

host process, 932

IfElse activities, 938

rule definitions, 931

sequential workflows, 932

state machine workflows, 932

WF runtime services, 932

Windows Forms and, 950–952

Windows Workflow Foundation, 932–934

workflow, 932

workflow runtime engine, 932

XML files, 930

While activity, 942

While statement, 59

Windows Forms, 5

AutoCompletion, 598

autocompletion, 625–626

borders, 605

browser-based applications and, 11–12

CenterParent, 604

CenterScreen, 604

client applications and, 11–12

control arrays, 643–645

Control class, properties, 598–599

controls

anchoring, 617

Button, 639

CheckBox, 639

CheckedListBox, 639

ColorDialog, 635–636

ComboBox, 640

containers, 617, 645

control tab order, 615

DateTimePicker, 640

docking, 615–616

DomainUpDown, 640

FlowLayoutPanel control, 618–620

FontDialog, 636

GroupBox container control, 621–622

HScrollBar, 640

ImageList, 640

Label, 640

LinkLabel, 640

ListBox, 640

ListView, 641

MaskedTextbox, 626–628

MonthCalendar, 641

NotifyIcon, 641

NumericUpDown, 641

OpenFileDialog, 634–635

PageSetupDialog, 636

Panel container control, 621–622

PictureBox, 641

positioning, 615–618

PrintDialog, 636

PrintPreviewDialog, 636

ProgressBar, 641

RadioButton, 641

replacements for older, 600–601

retired, 642–643

RichTextBox, 641

SaveFileDialog, 634–635

sizing, 615–618

TabControl, 642

TableLayoutPanel, 620–621

TextBox, 642

Timer, 642

Toolbars, 629–632

ToolStrip, 629–632

TrackBar, 642

TreeView, 642

VScrollBar, 642

coordinates, 645

default instances of forms, 601–602

dialog forms, 611–613

DialogResult property, 612–613

dialogs

ColorDialog control, 635–636

FontDialog control, 636

OpenFileDialog control, 634–635

PageSetupDialog control, 636

PrintDialog control, 636

PrintPreviewDialog control, 636

SaveFileDialog control, 634–635

drag and drop, 637–639

extender providers

ErrorProvider, 624

HelpProvider, 623–624

properties, 624

ToolTip, 622–623

FlowLayoutPanel control, 600

focus, 645

FormBorderStyle property, 605

GDI+ and, 669–674

HTML and

IE, launching from application, 1179–1180

page titles, updating, 1180–1181

toolbars, creating, 1181–1185

URLs, updating, 1180–1181

Web browsing in applications, 1178–1179

WebBrowser control, 1185–1186

importance of, 597–598

inheritance, 608

libraries, 692

Manual, 604

MaskedTextbox control, 600

MaximumSize property, 599

MDI forms

child forms, 610

child windows, 611

parent forms, 609

VB 2005 example, 610–611

VB6 and VB 2005, 609

menus

adding items, 633

checkmarks, 633

context menus, 633

icons, 633

manipulating at runtime, 634

MinimumSize property, 599

modal forms, 611

Opacity property, 606–607

owned forms, 605

AddOwnedForm( ) method, 606

OwnedForms collection, 606

Owner property, 606

Region property, 607–608

resource files in, 255–259

runtime and, 613–614

scrollable forms, 608–609

Smart Tags, 598

startup form, 603–604

startup location, 604

Sub Main and, 602–603

System.Windows.Forms namespace, 294

tab order, 645

TableLayoutPanel control, 600

toolbar

creating with ToolStrip control, 631–632

elements, standard set, 632

moving elements, 632

TopMost property, 605

TranparencyKey property, 607

translucent forms, 606–608

transparent forms, 606–608

UseWaitCursor property, 599

validating data entry

CausesValidation property, 629

Validating event, 628–629

WebBrowser control, 600

WindowsDefaultBounds, 604

WindowsDefaultLocation, 604

WPF and, 705

integration limitations, 719–720

WPF controls in, 708–714

Windows Forms programming

code access permissions, 455–460

permissions, 449–451

Windows Installer, deployment, 831

Windows Services

characteristics of, 1124

commands, custom, 1143–1145

communication with, 1139–1143

counter monitor services, creating, 1131–1136

creating, 1130–1131

debugging, 1149–1152

examples, 1123–1124

executables, multiple services within, 1129

file watcher

creating, 1145–1149

Event Log, 1145–146

FileSystemWatcher, 1146–1147

Created event, 1148–1149

EnableRaisingEvents property, 1147

EventLog, 1148

Filter property, 1147

IncludeSubdirectories property, 1147

NotifyFilter property, 1147

OnStart, 1148

OnStop, 1148

Path property, 1147

interacting with, 1125

.NET Framework classes and, 1126–1129

installation-oriented classes, 1128–1129

passing strings to service, 1145

performance counter

changing value, 1138–1139

creating, 1136–1137

integrating into service, 1138

ServiceBase class, 1129

OnContinue event, 1127

OnCustomCommand event, 1127

OnPause event, 1127

OnPowerEvent event, 1127

OnSessionChange event, 1127

OnShutdown event, 1127

OnStart event, 1127

OnStop event, 1127

ServiceController class, 1129, 1140

System.Configuration.Install.Installer, 1126

System.ServiceProcess.ServiceBase, 1126

System.ServiceProcess.ServiceInstaller, 1126

System.ServiceProcess.ServiceProcessIn staller, 1126

WindowsFormsHost class, 707

AutoSizing property, 707

Docking property, 707

Location property, 707

Margin property, 707

Windows.Forms.Integration namespace

ChildChangedEventArgs class, 706

ElementHost class, 706

IntegrationExceptionEventArgs class, 706

LayoutExceptionEventArgs class, 706

PropertyMap class, 707

PropertyMappingExceptionEventArgs class, 707

PropertyTranslator class, 707

WindowsFormsHost class, 707

WithEvents keyword, 85

WPF (Windows Presentation Foundation), 2, 5, 12–13, 679681

applications, creating, 683–686

configuration, 682–683

controls in Windows Forms, 708–714

installation, 682–683

raster graphics, 682

vector graphics, 682

Windows Forms and, 705

hosting, 715–719

integration limitations, 719–720

XAML, XAML namespace, 686–690

Write method, 334

WriteEntry method, 332

WriteExceptionEntry method, 304

WriteIf method, 334

WriteLine method, 334

WriteLineIf method, 334

WriteOnly keyword, 83

write-only properties, 83

WriteToLog method, 219

WriteXml() method, DataSet (ADO.NET), 433

WriteXmlSchema() method, DataSet (ADO.NET), 433

writing to trace files, 333335

WS-* protocols, 10941095

WS-AtomicTransaction, 1095

WS-Coordination, 1095

WSDL (Web Services Description Language), 964966, 1094

WSE (Web Services Enhancements), 994, 1091

WS-ReliableMessaging, 1095

WS-SecureConversation, 1095

WS-Security, 1095




Professional VB 2005 with. NET 3. 0
Professional VB 2005 with .NET 3.0 (Programmer to Programmer)
ISBN: 0470124709
EAN: 2147483647
Year: 2004
Pages: 267

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net