El Blog de Óscar Sotorrío Sánchez - MCP Application Development Foundation - C#

Todo lo que vaya aprendiendo de .NET, C#, ASP.NET, SQL Server, etc, lo compartiré con vosotros.

El autor:

Óscar Sotorrío Sánchez
Contacto Send mail

Encuéntralo

Álguien dijo...


Todo el mundo ha nacido para hacer algo único y especial, y si él o ella no lo hacen, nunca será hecho.

Benjamin E. Mays

¡He aprobado el examen 70-536!

Precisamente lo que dice el título…¡He aprobado el examen 70-536 de Microsoft .NET Framework, Application Development Foundation!.

Recuerdo, cuando buscaba información por la red sobre este examen, que muchas veces me encontraba con blogs de desarrolladores que explicaban que pasos habían dado ellos para aprobar el examen.

En mi caso la respuesta es CampusMVP. Si no recuerdo mal, a mediados de febrero ingresé como alumno en el curso para el examen 70-536 y fue todo un acierto.



Durante 4 meses he aprendido todo lo que he podido de los mejores (J.M Alarcón Aguín, ‘el Guille’, Rodrigo Corral), he practicado simulaciones de los test del examen con MeasureUp, he adquirido un extenso temario con ejemplos valiosísimos, y todo ello a través de CampusMVP.

Tengo que hacer una mención especial a J.M. Alarcón. Es increíble el esfuerzo que hace este tutor (gran persona) no solo porque aprendas, también porque disfrutes con el curso. Realmente consigue que sientas que CampusMVP es tu casa. ¡Excelente!.

También quiero agradecer a un ‘amiguete’ (Pedro Molina) nuestras enriquecedoras conversaciones sobre tecnología…y sobre esto y aquello.

 


Posted by Oscar.SS on viernes, 27 de junio de 2008 11:06
Permalink | Comentarios (0) | Post RSSRSS comment feed

1- Desarrollando aplicaciones que usen tipos y colecciones System.

A- Manage data in a .NET Framework application by using the .NET Framework 2.0 system types. (Refer System namespace)

Value types

Nullable type

Reference types

Attributes

Generic types

Exception classes

Boxing and UnBoxing

TypeForwardedToAttribute Class

 


B- Manage a group of associated data in a .NET Framework application by using collections. (Refer System.Collections namespace)

ArrayList class

Collection interfaces

ICollection interface and IList interface

IComparer interface and IEqualityComparer interface

IDictionary interface and IDictionaryEnumerator interface

IEnumerable interface and IEnumerator interface

Iterators

Hashtable class

CollectionBase class and ReadOnlyCollectionBase class

DictionaryBase class and DictionaryEntry class

Comparer class

Queue class

SortedList class

BitArray class

Stack class

 


C- Improve type safety and application performance in a .NET Framework application by using generic collections. (Refer System.Collections.Generic namespace)

Collection.Generic interfaces

Generic IComparable interface (Refer System Namespace)

Generic ICollection interface and Generic IList interface

Generic IComparer interface and Generic IEqualityComparer interface

Generic IDictionary interface

Generic IEnumerable interface and Generic IEnumerator interface IHashCodeProvider interface

Generic Dictionary

Generic Dictionary class and Generic Dictionary.Enumerator structure

Generic Dictionary.KeyCollection class and Dictionary.KeyCollection.Enumerator structure

Generic Dictionary.ValueCollection class and Dictionary.ValueCollection.Enumerator structure

Generic Comparer class and Generic EqualityComparer class

Generic KeyValuePair structure

Generic List class, Generic List.Enumerator structure, and Generic SortedList class

Generic Queue class and Generic Queue.Enumerator structure

Generic SortedDictionary class

Generic LinkedList

Generic LinkedList class

Generic LinkedList.Enumerator structure

Generic LinkedListNode class

Generic Stack class and Generic Stack.Enumerator structure


D- Manage data in a .NET Framework application by using specialized collections. (Refer System.Collections.Specialized namespace)

Specialized String classes

StringCollection class

StringDictionary class

StringEnumerator class

Specialized Dictionary

HybridDictionary class

IOrderedDictionary interface and OrderedDictionary class

ListDictionary class

Named collections

NameObjectCollectionBase class

NameObjectCollectionBase.KeysCollection class

NameValueCollection class

CollectionsUtil

BitVector32 structure and BitVector32.Section structure


E- Implement .NET Framework interfaces to cause components to comply with standard contracts. (Refer System namespace)

IComparable interface

IDisposable interface

IConvertible interface

ICloneable interface

IEquatable interface

IFormattable interface

 


F- Control interactions between .NET Framework application components by using events and delegates. (Refer System namespace)

Delegate class

EventArgs class

EventHandler delegates


Posted by Oscar.SS on sábado, 12 de abril de 2008 10:51
Permalink | Comentarios (0) | Post RSSRSS comment feed

2- Implementando servicios, procesos, y dominios de aplicación en una aplicación de la plataforma .NET.

A- Implement, install, and control a service. (Refer System.ServiceProcess namespace)

Inherit from ServiceBase class

ServiceController class and ServiceControllerPermission class

ServiceInstaller and ServiceProcessInstaller class

SessionChangeDescription structure and SessionChangeReason enumeration

 

 

B- Develop multithreaded .NET Framework applications. (Refer System.Threading namespace)

Thread class

ThreadPool class

ThreadStart delegate and ParameterizedThreadStart delegate

Timeout class, Timer class, TimerCallback delegate, WaitCallback delegate, WaitHandle class, and WaitOrTimerCallback delegate

ThreadState enumeration and ThreadPriority enumeration

ReaderWriterLock class

AutoResetEvent class and ManualResetEvent class

IAsyncResult interface (Refer System namespace)

EventWaitHandle class, RegisterWaitHandle class, SendOrPostCallback delegate, and IOCompletionCallback delegate

Interlocked class

ExecutionContext class, HostExecutionContext class, HostExecutionContext Manager class, and ContextCallback delegate

LockCookie structure, Monitor class, Mutex class, and Semaphore class


C- Create a unit of isolation for common language runtime in a .NET Framework application by using application domains. (Refer System namespace)

Create an application domain.

Unload an application domain.

Configure an application domain.

Retrieve setup information from an application domain.

Load assemblies into an application domain.


Posted by Oscar.SS on sábado, 12 de abril de 2008 10:49
Permalink | Comentarios (0) | Post RSSRSS comment feed

3- Agregando configuración, diagnóstico, gestión, e instalación en una aplicación de la plataforma .NET.

A- Embed configuration management functionality into a .NET Framework application. (Refer System.Configuration namespace)

Configuration class and ConfigurationManager class

ConfigurationElement class, ConfigurationElementCollection class, and ConfigurationElementProperty class

ConfigurationSection class, ConfigurationSectionCollection class, ConfigurationSectionGroup class, and ConfigurationSectionGroupCollection class

Implement ISettingsProviderService interface

Implement IApplicationSettingsProvider interface

ConfigurationValidatorBase class

 

 

B- Create a custom Microsoft Windows Installer for the .NET Framework components by using the System.Configuration.Install namespace, and configure the .NET Framework applications by using configuration files, environment variables, and the .NET Framework Configuration tool (Mscorcfg.msc).

Installer class

Configure which runtime version a .NET Framework application should use.

Configure where the runtime should search for an assembly.

Configure the location of an assembly and which version of the assembly to use.

Direct the runtime to use the DEVPATH environment variable when you search for assemblies.

AssemblyInstaller class

ComponentInstaller class

Configure a .NET Framework application by using the .NET Framework Configuration tool (Mscorcfg.msc).

ManagedInstallerClass class

InstallContext class

InstallerCollection class

InstallEventHandler delegate

Configure concurrent garbage collection.

Register remote objects by using configuration files.


C- Manage an event log by using the System.Diagnostics namespace.

Write to an event log.

Read from an event log.

Create a new event log.


D- Manage system processes and monitor the performance of a .NET Framework application by using the diagnostics functionality of the .NET Framework 2.0. (Refer System.Diagnostics namespace)

Get a list of all running processes.

Retrieve information about the current process.

Get a list of all modules that are loaded by a process.

PerformanceCounter class, PerformanceCounterCategory, and CounterCreationData class

Start a process both by using and by not using command-line arguments.

StackTrace class

StackFrame class

 

 

E- Debug and trace a .NET Framework application by using the System.Diagnostics namespace.

Debug class and Debugger class

Trace class, CorrelationManager class, TraceListener class, TraceSource class, TraceSwitch class, XmlWriterTraceListener class, DelimitedListTraceListener class, and EventlogTraceListener class

Debugger attributes

DebuggerBrowsableAttribute class

DebuggerDisplayAttribute class

DebuggerHiddenAttribute class

DebuggerNonUserCodeAttribute class

DebugeerStepperBoundaryAttribute class

DebuggerStepThroughAttribute class

DebuggerTypeProxyAttribute class

DebuggerVisualizerAttribute class

 

 

F- Embed management information and events into a .NET Framework application. (Refer System.Management namespace)

Retrieve a collection of Management objects by using the ManagementObjectSearcher class and its derived classes.

Enumerate all disk drivers, network adapters, and processes on a computer.

Retrieve information about all network connections.

Retrieve information about all services that are paused.

ManagementQuery class

EventQuery class

ObjectQuery class

Subscribe to management events by using the ManagementEventWatcher class.


Posted by Oscar.SS on sábado, 12 de abril de 2008 10:48
Permalink | Comentarios (0) | Post RSSRSS comment feed

4- Implementando serializacion y la funcionalidad de entrada/salida en una aplicación de la plataforma .NET.

A- Serialize or deserialize an object or an object graph by using runtime serialization techniques. (Refer System.Runtime.Serialization namespace)

Serialization interfaces

IDeserializationCallback interface

IFormatter interface and IFormatterConverter interface

ISerializable interface

Serilization attributes

OnDeserializedAttribute class and OnDeserializingAttribute class

OnSerializedAttribute class and OnSerializingAttribute class

OptionalFieldAttribute class

SerializationEntry structure and SerializationInfo class

ObjectManager class

Formatter class, FormatterConverter class, and FormatterServices class

StreamingContext structure

 

 

B- Control the serialization of an object into XML format by using the System.Xml.Serialization namespace.

Serialize and deserialize objects into XML format by using the XmlSerializer class.

Control serialization by using serialization attributes.

Implement XML Serialization interfaces to provide custom formatting for XML serialization.

Delegates and event handlers are provided by the System.Xml.Serialization namespace.


C- Implement custom serialization formatting by using the Serialization Formatter classes.

SoapFormatter class (Refer System.Runtime.Serialization.Formatters.Soap namespace)

BinaryFormatter class (Refer System.Runtime.Serialization.Formatters.Binary namespace)


D- Access files and folders by using the File System classes. (Refer System.IO namespace)

File class and FileInfo class

Directory class and DirectoryInfo class

DriveInfo class and DriveType enumeration

FileSystemInfo class and FileSystemWatcher class

Path class

ErrorEventArgs class and ErrorEventHandler delegate

RenamedEventArgs class and RenamedEventHandler delegate


E- Manage byte streams by using Stream classes. (Refer System.IO namespace)

FileStream class

Stream class

MemoryStream class

BufferedStream class

 

 

F- Manage the .NET Framework application data by using Reader and Writer classes. (Refer System.IO namespace)

StringReader class and StringWriter class

TextReader class and TextWriter class

StreamReader class and StreamWriter class

BinaryReader class and BinaryWriter class


G- Compress or decompress stream information in a .NET Framework application (refer System.IO.Compression namespace), and improve the security of application data by using isolated storage. (Refer System.IO.IsolatedStorage namespace)

IsolatedStorageFile class

IsolatedStorageFileStream class

DeflateStream class

GZipStream class


Posted by Oscar.SS on sábado, 12 de abril de 2008 10:45
Permalink | Comentarios (0) | Post RSSRSS comment feed

5- Mejorando la seguridad de la aplicación de la plataforma .NET usando las características de seguridad de la plataforma .NET 2.0.

A- Implement code access security to improve the security of a .NET Framework application. (Refer System.Security namespace)

SecurityManager class

CodeAccessPermission class

Modify the Code Access security policy at the computer, user, and enterprise policy level by using the Code Access Security Policy tool (Caspol.exe).

PermissionSet class and NamedPermissionSet class

Standard Security interfaces

IEvidenceFactory interface

IPermission interface

 

 

B- Implement access control by using the System.Security.AccessControl classes.

DirectorySecurity class, FileSecurity class, FileSystemSecurity class, and RegistrySecurity class

AccessRule class

AuthorizationRule class and AuthorizationRuleCollection class

CommonAce class, CommonAcl class, CompoundAce class, GenericAce class, and GenericAcl class

AuditRule class

MutexSecurity class, ObjectSecurity class, and SemaphoreSecurity class


C- Implement a custom authentication scheme by using the System.Security.Authentication classes. (Refer System.Security.Authentication namespace)

May include but is not limited to: Authentication algorithms and SSL protocols



D- Encrypt, decrypt, and hash data by using the System.Security.Cryptography classes. (Refer System.Security.Cryptography namespace)

DES class and DESCryptoServiceProvider class

HashAlgorithm class

DSA class and DSACryptoServiceProvider class

SHA1 class and SHA1CryptoServiceProvider class

TripleDES and TripleDESCryptoServiceProvider class

MD5 class and MD5CryptoServiceProvider class

RSA class and RSACryptoServiceProvider class

RandomNumberGenerator class

CryptoStream class

CryptoConfig class

RC2 class and RC2CryptoServiceProvider class

AssymetricAlgorithm class

ProtectedData class and ProtectedMemory class

RijndaelManaged class and RijndaelManagedTransform class

CspParameters class

CryptoAPITransform class

Hash-based Message Authentication Code (HMAC)

HMACMD5 class

HMACRIPEMD160 class

HMACSHA1 class

HMACSHA256 class

HMACSHA384 class

HMACSHA512 class

 

 

E- Control permissions for resources by using the System.Security.Permission classes. (Refer System.Security.Permission namespace)

SecurityPermission class

PrincipalPermission class

FileIOPermission class

StrongNameIdentityPermission class

UIPermission class

UrlIdentityPermission class

PublisherIdentityPermission class

GacIdentityPermission class

FileDialogPermission class

DataProtectionPermission class

EnvironmentPermission class

IUnrestrictedPermission interface

RegistryPermission class

IsolatedStorageFilePermission class

KeyContainerPermission class

ReflectionPermission class

StorePermission class

SiteIdentityPermission class

ZoneIdentityPermission class

 

 

F- Control code privileges by using System.Security.Policy classes. (Refer System.Security.Policy namespace)

ApplicationSecurityInfo class and ApplicationSecurityManager class

ApplicationTrust class and ApplicationTrustCollection class

Evidence class and PermissionRequestEvidence class

CodeGroup class, FileCodeGroup class, FirstMatchCodeGroup class, NetCodeGroup class, and UnionCodeGroup class

Condition classes

AllMembershipCondition class

ApplicationDirectory class and ApplicationDirectoryMembershipCondition class

GacInstalled class and GacMembershipCondition class

Hash class and HashMembershipCondition class

Publisher class and PublisherMembershipCondition class

Site class and SiteMembershipCondition class

StrongName class and StrongNameMembershipCondition class

Url class and UrlMembershipConditon class

Zone class and ZoneMembershipCondition class

PolicyLevel class and PolicyStatement class

IApplicationTrustManager interface, IMembershipCondition interface, and IIdentityPermissionFactory interface


G- Access and modify identity information by using the System.Security.Principal classes. (Refer System.Security.Principal namespace)

GenericIdentity class and GenericPrincipal class

WindowsIdentity class and WindowsPrincipal class

NTAccount class and SecurityIdentifier class

IIdentity interface and IPrincipal interface

WindowsImpersonationContext class

IdentityReference class and IdentityReferenceCollection class


Posted by Oscar.SS on sábado, 12 de abril de 2008 10:44
Permalink | Comentarios (0) | Post RSSRSS comment feed

6- Implementando interoperabilidad, reflexión, y correos electrónicos en una aplicación de la plataforma .NET.

A- Expose COM components to the .NET Framework and the .NET Framework components to COM. (Refer System.Runtime.InteropServices namespace)

Import a type library as an assembly.

Add references to type libraries.

Type Library Importer (Tlbimp.exe)

Generate interop assemblies from type libraries.

Imported Library Conversion

Imported Module Conversion

Imported Type Conversion

Imported Member Conversion

Imported Parameter Conversion

TypeLibConverter class

Create COM types in managed code.

Compile an interop project.

Deploy an interop application.

Qualify the .NET Framework types for interoperation.

Apply Interop attributes, such as the ComVisibleAttribute class.

Package an assembly for COM.

Deploy an application for COM access.


B- Call unmanaged DLL functions in a .NET Framework application, and control the marshaling of data in a .NET Framework application. (Refer System.Runtime.InteropServices namespace)

Platform Invoke

Create a class to hold DLL functions.

Create prototypes in managed code.

DllImportAttribute class

Call a DLL function.

Call a DLL function in special cases, such as passing structures and implementing callback functions.

Create a new Exception class and map it to an HRESULT.

Default marshaling behavior

Marshal data with Platform Invoke

Marshal data with COM Interop

MarshalAsAttribute class and Marshal class


C- Implement reflection functionality in a .NET Framework application (refer System.Reflection namespace), and create metadata, Microsoft intermediate language (MSIL), and a PE file by using the System.Reflection.Emit namespace.

Assembly class

Assembly attributes

AssemblyAlgorithmIdAttribute class

AssemblyCompanyAttribute class

AssemblyConfigurationAttribute class

AssemblyCopyrightAttribute class

AssemblyCultureAttribute class

AssemblyDefaultAliasAttribute class

AssemblyDelaySignAttribute class

AssemblyDescriptionAttribute class

AssemblyFileVersionAttribute class

AssemblyFlagsAttribute class

AssemblyInformationalVersionAttribute class

AssemblyKeyFileAttribute class

AssemblyTitleAttribute class

AssemblyTrademarkAttribute class

AssemblyVersionAttribute class

Info classes

ConstructorInfo class

MethodInfo class

MemberInfo class

PropertyInfo class

FieldInfo class

EventInfo class

LocalVariableInfo class

Binder class and BindingFlags

MethodBase class and MethodBody class

Builder classes

AssemblyBuilder class

ConstructorBuilder class

EnumBuilder class

EventBuilder class

FieldBuilder class

LocalBuilder class

MethodBuilder class

ModuleBuilder class

ParameterBuilder class

PropertyBuilder class

TypeBuilder class

 

 

D- Send electronic mail to a Simple Mail Transfer Protocol (SMTP) server for delivery from a .NET Framework application. (Refer System.Net.Mail namespace)

MailMessage class

MailAddress class and MailAddressCollection class

SmtpClient class, SmtpPermission class, and SmtpPermissionAttribute class

Attachment class, AttachmentBase class, and AttachmentCollection class

SmtpException class and SmtpFailedReceipientException class

SendCompletedEventHandler delegate

LinkedResource class and LinkedResourceCollection class

AlternateView class and AlternateViewCollection class


Posted by Oscar.SS on sábado, 12 de abril de 2008 10:43
Permalink | Comentarios (0) | Post RSSRSS comment feed

7- Implementando globalización, dibujo, y manipulación de texto en una aplicación de la plataforma .NET.

A- Format data based on culture information. (Refer System.Globalization namespace)

Access culture and region information in a .NET Framework application.

CultureInfo class

CultureTypes enumeration

RegionInfo class

Format date and time values based on the culture.

DateTimeFormatInfo class

Format number values based on the culture.

NumberFormatInfo class

NumberStyles enumeration

Perform culture-sensitive string comparison.

CompareInfo class

CompareOptions enumeration

Build a custom culture class based on existing culture and region classes.

CultureAndRegionInfoBuilder class

CultureAndRegionModifier enumeration

 


B- Enhance the user interface of a .NET Framework application by using the System.Drawing namespace.

Enhance the user interface of a .NET Framework application by using brushespenscolors, and fonts.

Brush class

Brushes class

SystemBrushes class

TextureBrush class

Pen class

Pens class

SystemPens class

SolidBrush class

Color structure

ColorConverter class

ColorTranslator class

SystemColors class

StringFormat class

Font class

FontConverter class

FontFamily class

SystemFonts class

Enhance the user interface of a .NET Framework application by using graphicsimagesbitmaps, and icons.

Graphics class

BufferedGraphics class

BufferedGraphicsManager class

Image class

ImageConverter class

ImageAnimator class

Bitmap class

Icon class

IconConverter class

SystemIcons class

Enhance the user interface of a .NET Framework application by using shapes and sizes.

Point Structure

PointConverter class

Rectangle Structure

RectangleConverter class

Size Structure

SizeConverter class

Region class

 


C-Enhance the text handling capabilities of a .NET Framework application(refer System.Text namespace), and search, modify, and control text ina .NET Framework application by using regular expressions. (Refer System.RegularExpressions namespace)

StringBuilder class

Regex class

Match class and MatchCollection class

Group class and GroupCollection class

Encode text by using Encoding classes

Encoding class

EncodingInfo class

 

ASCIIEncoding class

UnicodeEncoding class

UTF8Encoding class

EncoderFallback class

EncodingFallback class

EncodingFallbackBuffer class

Decode text by using Decoding classes.

Decoder class

DecoderFallback class

DecoderFallbackBuffer class

DecoderFallbackException class

Capture class and CaptureCollection class


Posted by Oscar.SS on sábado, 12 de abril de 2008 10:41
Permalink | Comentarios (0) | Post RSSRSS comment feed