|
schemas and serialization of XML, 229–233
Secure Sockets Layer (SSL). See SSL encryption
security
ASP.NET
authentication, 106–121
authorization, 115–121
identity, 121–123
introduced, 105
code access, 19, 71–78
infrastructure and, 3–5
.NET remoting, 301
permissions, 74–78
properties, 75
user authentication, 157
writing code, difficulty, 3, 13–16
XML Web services, 154–156
security policy, 73–78
SEH (structured exception handling), 65–70
SelectedIndexChanged event, 87
serialization of XML
architecture, 219–220
background, 217–219
defined, 219
deserialization, 219–220
examples
basic, 220–224
controlling serialization, 224–228
schemas and, 229–233
Serialize method, 221
server software vs. desktop software, 166–167
ServicedComponent class, 63
Session collection, 149–151
Session object, 100–101, 103, 149, 150
Session property, 101
session state, 100–104
Session.Abandon method, 103
SetAbort method, 65
SetComplete method, 65
shared assemblies, 30–31, 32–34
shared (strong) names, 32–33
Shared qualifier, 171
SharedMethod method, 271
Shortcut property, 184
ShowDialog method, 186
signing components, 33
Simple Object Access Protocol (SOAP), 139–144, 151–152, 157–163
SimplestHelloWorld class, 170
single-call object, 293
single-file assemblies, 29
singleton mode, 286
singleton objects, 291–292
lease lifetimes, 298
sharing services or data among multiple clients, 291
SOAP (Simple Object Access Protocol), 139–144, 151–152, 157–163
solution architecture, 282–284
SomethingHappened event, 242, 243, 245
SomethingHappenedEvent object, 243, 246
SomethingHappenedEventHandler event, 242, 243, 249
specifications, distributed-system design, 158
SqlConnection object, 197, 210
SqlDataAdapter object, 210
SSL (Secure Sockets Layer) encryption, 301
static keyword, 171
static Web pages, 79–80
strong (shared) names, 32–33
structured exception handling (SEH), 65–70
Suspended state, 278–279
SyncLock keyword, 273, 274
System namespace, 19, 24, 27, 28, 133
System.Activator class, 315
System.Activator.GetObject method, 287
System.AsyncCallback class, 256
System.ComponentModel.Component class, 242, 244
System.Console namespace, 27
System.Console.Write function, 27, 28
System.Data.DataRow object, 203
System.Data.DataSet class, 198, 211
System.Data.DataTable class, 203
System.Data.OleDb.OleDbAdapter class, 198
System.Data.OleDb.OleDbCommand class, 207
System.Data.OleDb.OleDbConnection class, 197–198
System.Data.SqlClient.SqlCommand class, 207
System.Data.SqlClient.SqlConnection class, 197
System.Data.SqlClient.SqlDataAdapter class, 198
System.Delegate class, 239, 243, 253
System.Diagnostics.Trace method, 285
System.EnterpriseServices namespace, 64
System.EnterpriseServices.AutoComplete attribute, 65
System.EnterpriseServices.ContextUtil object, 65
System.EnterpriseServices.ServicedComponent class, 63
System.EnterpriseServices.SynchronizationAttribute attribute, 271
System.EnterpriseServices.Transaction attribute, 63
System.EventHandler class, 242, 250
System.Exception class, 69–70
System.Exception object, 68
System.GC.Collect function, 50, 58
System.GC.SuppressFinalize function, 53
System.MarshalByRefObject class, 285
System.MulticastDelegate class, 243
System.Object class, 42–46, 309
System.Objects array, 317
System.Object.ToString method, 43
System.Obsolete attribute, 311
System.Reflection namespace, 306
System.Reflection.Assembly class, 306–307
System.Runtime.InteropServices.ComVisibleAttribute attribute, 61–62
System.Runtime.InteropServices.Marshal.ReleaseCom- Object function, 27, 58
System.Runtime.InteropServices.TypeLibConverter class, 56
System.Runtime.Remoting.Contexts.Synchronization- Attribute attribute, 271
System.Security.Principal.WindowsIdentity.GetCurrent.Impersonate function, 123
System.Threading namespace, 275
System.Threading.Interlocked class, 275
System.Threading.Interlocked.Increment function, 275
System.Threading.Monitor class, 273, 274
System.Threading.Mutex class, 275
System.Threading.ReaderWriterLock class, 275
System.Threading.Thread class, 278
System.Threading.ThreadAbortException exception, 280
System.Threading.ThreadInterruptedException exception, 279
System.Threading.ThreadPool.QueueUserWorkitem function, 263
System.Threading.ThreadSleep method, 266
System.Type class, 306, 308, 312
System.Web.Services namespace, 133
System.Web.Services.Protocols.SoapException exception, 151–152
System.Web.Services.Protocols.SoapHttpClientProtocol class, 143
System.Windows.Forms namespace, 27
System.Windows.Forms.Application.Run function, 171
System.Windows.Forms.AxHost class, 176
System.Windows.Forms.Form class, 169, 174–175
System.Xml.Serialization.XmlAttribute attribute, 225
System.Xml.Serialization.XmlAttributeOverrides class, 228
System.Xml.Serialization.XmlSerializer class, 219, 221
System.Xml.XmlAttribute object, 228
System.Xml.XmlDocument class, 233
System.Xml.XmlElement object, 228
System.Xml.XmlNode class, 234
System.Xml.XmlTextReader class, 235
System.Xml.XmlTextWriter class, 235
System.Xml.XmlValidatingReader class, 235
|