Project DescriptionMicrosoft and Java Technologies using Visual C++, C#, WinForm, WPF and WCF
Software development with embedded COM, Ethernet and Wireless device
Customized large scale software development contractor
Currently working on developing new products using Visual Studio 2010
Design Patterns: List-Based Publish-SubscribeThis sample illustrates the List-based Publish-Subscribe pattern implemented as a Windows Communication Foundation (WCF) program.
http://msdn.microsoft.com/en-us/library/ms752254.aspxANTS Memory Profiler™: Profile the memory usage of your .NET applicationhttp://www.red-gate.com/products/ants_memory_profiler/index.htmMSDN Library Home Mockup to Simplify Finding the Product Docshttp://blogs.msdn.com/b/jmeier/archive/2010/11/22/msdn-library-home-mockup-to-simplify-finding-the-product-docs.aspxData Services Streaming Provider Series-Part 2: Accessing a Media Resource Stream from the Clienthttp://blogs.msdn.com/b/astoriateam/archive/2010/09/08/data-services-streaming-provider-series-part-2-accessing-a-media-resource-stream-from-the-client.aspx
SAMPLE APPLICATIONShttp://www.statusvision.com/sampleapplications.htmhttp://www.statusvision.com/demos/status_auto.htmhttp://www.statusvision.com/demos/status_petrochem.htm
See the Bing Maps Platform in Actionhttp://www.ix-m.com/pelican-racing/http://virtualearth4gov.spaces.live.com/blog/cns!369B39F890CE30C1!377.entry?sa=420307725Expand and Load: Fetching related entities in WCF Data ServiceIn this post, I will show you how to retrieve data from related entities in WCF Data Service.
http://dhananjaykumar.net/2010/08/22/expand-and-load-fetching-related-entities-in-wcf-data-service/DataServiceQuery<T>.Expandvar q = from c in context.Customers.Expand("Orders/Order_Details")
where c.CustomerID == "ALFKI"
select c;
http://blogs.msdn.com/b/stuartleeks/archive/2008/09/15/dataservicequery-t-expand.aspxHosting Office in a WPF ApplicationUpdated on December 17, 2009
The approach described in this article for hosting office documents in WPF is no longer supported. Microsoft has recently pulled the DSO Framer control from its knowledge base.
Please contact Microsoft Developer Support directly if you have questions regarding this decision.
If a new supported solution for hosting Microsoft Office applications within WPF becomes available, I will try to post a sample.
http://drwpf.com/blog/2007/08/24/hosting-office-in-a-wpf-application/Using C# to Program Generic .NET Interfaceshttp://www.informit.com/articles/printerfriendly.aspx?p=25352How to use the WebBrowser control to open Office documents in Visual C# 2005 or in Visual C# .NETYou may want to display or to embed a Microsoft Office document directly on a Microsoft Visual C# form. Microsoft Visual C# 2005 and Microsoft Visual C# .NET do not provide an OLE control that allows you to embed an Office document on a form. If you want to embed an existing document and open it as an in-place ActiveX document object in a Visual C# form, a potential solution for you is to use the Microsoft WebBrowser control.
http://support.microsoft.com/kb/304662tf Command-Line Utility Tool in Team Foundation Serverhttp://tutorial.visualstudioteamsystem.com/details.aspx?item=38Undo checkout or lock by another userhttp://blogs.msdn.com/b/rimuri/archive/2006/03/06/544686.aspxCreate Data-Centric Web Applications With Silverlight 2http://msdn.microsoft.com/en-us/magazine/cc794279.aspxCreating a Silverlight Custom Control - The Basicshttp://www.silverlightshow.net/items/Creating-a-Silverlight-Custom-Control-The-Basics.aspxDependencyProperty ClassRepresents a property that can be set through methods such as, styling, data binding, animation, and inheritance.
http://msdn.microsoft.com/en-us/library/system.windows.dependencyproperty.aspxHow to Add or Remove a Root Certificate from the Trusted Root Storehttp://support.microsoft.com/kb/293819Test-Signing a Driver Filehttp://msdn.microsoft.com/en-us/library/ff553467(VS.85).aspxMakeCert Test Certificatehttp://msdn.microsoft.com/en-us/library/ff548693(v=VS.85).aspxBing Maps Developer Resources: Map SDKs, APIs, Tips, Traininghttp://www.microsoft.com/maps/developers/web.aspxOverview of Microsoft Silverlight 4 Business Application Development: Beginner’s Guidehttps://www.packtpub.com/microsoft-silverlight-4-business-application-development-beginners-guide/bookAn introduction to building enterprise-ready business applications with Silverlight quickly.
Get hold of the basic tools and skills needed to get started in Silverlight application development.
Integrate different media types, taking the RIA experience further with Silverlight, and much more!
Rapidly manage business focused controls, data, and business logic connectivity.
A suite of business applications will be built over the course of the book and all examples will be geared around real-world useful application developments, enabling .NET developers to focus on getting started in business application development using Silverlight.
Based on Silverlight 4, Visual Studio 2010, WCF RIA Services and Expression Blend 3, since Expression Blend 4 was released after publication.
The effects of enabling the "System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing" security setting in Windows XP and in later versions of Windowshttp://support.microsoft.com/kb/811833CA ARCserve Backup r12 - FAQsFile Format: PDF/Adobe Acrobat - Quick View
It uses FIPS-compliant algorithms to back up and restore the data including username and password credentials. Q: Does CA ARCserve Backup support tape ...
www.ca.com/files/technicaldocuments/arcserve_r12_technical_faqs.pdfDeveloping a .NET Application Using Bing Maps SOAP ServicesBing Services
The Bing Maps AJAX Control provides an ideal AJAX enabled component for developing web applications. However, if your business requirements indicate that you need to build a desktop application, you can use the new Bing Maps SOAP Services. This article demonstrates using the Geocode, Imagery, Route, and Search services of the Bing Maps SOAP Services in a desktop application, using Windows Presentation Foundation (WPF) and C#.
http://msdn.microsoft.com/en-us/library/dd221354.aspx Translate Driving directions from Google Maps in XML formathttp://www.c-sharpcorner.com/UploadFile/syedimran06/242/Default.aspxXmlIgnoreAttribute ClassThe XML Schema Definition Tool (Xsd.exe) occasionally generates the XmlIgnoreAttribute when creating classes from a schema file (.xsd). This behavior occurs because value types cannot be set to null, but all XML data types can be. Therefore, the tool creates two fields when it encounters an XML type that maps to a value type: one to hold the value and another special field that takes the form of fieldnameSpecified, where the fieldname is replaced by the name of the field or property. Notice, however, that this special field is generated only when the schema specifies that the element has no minimum occurrence (minOccurs = "0") and that the element has no default value. The XmlSerializer sets and checks this special field to determine whether a value has been set for the field or property. Because the special field must not be serialized, the tool applies the XmlIgnoreAttribute to it.
"The target assembly contains no service types. You may need to adjust the Code Access Security policy of this assembly." annoyancehttp://cs.rthand.com/blogs/blog_with_righthand/archive/2008/03/10/_2200_The-target-assembly-contains-no-service-types.--You-may-need-to-adjust-the-Code-Access-Security-policy-of-this-assembly_2E002200_-annoyance.aspx==> Well, my person experience shows you should include the project for the referenced assembly and this problem will go away. Remove the specific link mentioned in the article does not solve my problem.
Binding a WPF ComboBox to a display source and a binding sourcehttp://www.lhotka.net/weblog/BindingAWPFComboBoxToADisplaySourceAndABindingSource.aspxEntity Framework 4.0 and WCF Data Services 4.0 in Visual Studio 2010http://msdn.microsoft.com/en-us/magazine/ee336128.aspx
How to: Bind Data to Windows Presentation Foundation Elements (WCF Data Services)http://msdn.microsoft.com/en-us/library/ee373846.aspxBinding Data to Controls (WCF Data Services)http://msdn.microsoft.com/en-us/library/ee373844.aspxEntity Framework Quickstart.NET Framework 4 Other Versions
This quickstart illustrates a series of tasks that support the topics in Getting Started (Entity Framework). These tasks are designed to help you become familiar with the ADO.NET Entity Framework .
http://msdn.microsoft.com/en-us/library/bb399182.aspxHow to: Create Lookup Tables in WPF Applicationshttp://msdn.microsoft.com/en-us/library/dd264869.aspxWalkthrough: Binding WPF Controls to a WCF Data Servicehttp://msdn.microsoft.com/en-us/library/dd465161.aspxTreeView in WPF with check boxhttp://www.c-sharpcorner.com/uploadfile/mahesh/wpftreeview08202008231544pm/wpftreeview.aspxhttp://www.codeproject.com/KB/WPF/TreeViewWithCheckBoxes.aspxhttp://www.devexpress.com/Products/NET/Controls/WinForms/Tree_List/Text/Video Multicasting Conferencing Systemshttp://www.socketcoder.com/OnlineArticles.aspx?index=2Chat Application using Web services in C#http://www.codeproject.com/KB/aspnet/ChatApplication.aspxPeer-to-Peer Programming with WCF and .NET Framework 3.5http://msdn.microsoft.com/en-us/library/cc297274.aspx#WCFP2P_topic4Simple Fax Transmission and Status Checkhttp://www.interfax.net/en/dev/webservice/samples/fax_csharp_sendcharfaxC4F Vista Peer-to-Peer Toolkithttp://c4fp2p.codeplex.com/Microsoft Streets & Trips with GPS Locatorhttp://www.microsoft.com/streets/en-us/Products_StreetsGPS.aspxConnecting .NET 2.0 to a GPShttp://blogs.msdn.com/b/coding4fun/archive/2006/10/31/912287.aspxMapping with a GPS and C#http://www.codeproject.com/KB/cs/GpsMapping.aspxHow To Design State Sharing In A Peer Networkhttp://msdn.microsoft.com/en-us/magazine/cc700336.aspxTCP/IP Chat Application Using C#http://www.geekpedia.com/tutorial240_Csharp-Chat-Part-2---Building-the-Chat-Server.htmlhttp://www.codeproject.com/KB/IP/TCPIPChat.aspxWCF Bindings In Depthhttp://msdn.microsoft.com/en-us/magazine/cc163394.aspxProfessional WCF Programming: .NET Development with the Windows Communication Foundationhttp://www.wrox.com/WileyCDA/WroxTitle/Professional-WCF-Programming-NET-Development-with-the-Windows-Communication-Foundation.productCd-0470089849.htmlWindows Communication Foundation Authentication Service OverviewThe Windows Communication Foundation (WCF) authentication service enables you to use ASP.NET membership to authenticate users from any application that can send and consume a SOAP message. This can include applications that do not use the .NET Framework. Users of these different applications therefore do not need separate credentials for each application. Users can provide the same credentials when they use any one of the client applications, and be logged in to the application from all of them.
http://msdn.microsoft.com/en-us/library/bb386582.aspxHow to: Implement a Custom Membership UserProvides an example that illustrates how to extend the MembershipUser class with a custom membership provider.
While the user System.Web.Profile provides a convenient mechanism for storing information per user in a Web application, the design of your application might require that additional user information be stored with the user authentication information in the Membership data store. In this case, you would need to build a custom membership provider to store and retrieve the user authentication information and the additional user values in your data store (for an example of a custom membership provider, see Implementing a Membership Provider). Additionally, you can extend the MembershipUser class to make the added user values available to application code.
http://msdn.microsoft.com/en-us/library/ms366730.aspxWindows Live ID Logon Dialoghttp://code.msdn.microsoft.com/WindowsLiveIDLogonError message after you install the .NET Framework 4.0: "Could not load type 'System.ServiceModel.Activation.HttpModule'" http://support.microsoft.com/kb/2015129Consider the following scenario. You install the .NET Framework 4.0. Then, you install an earlier version of the .NET Framework, or you enable .NET 3.0 WCF HTTP Activation. In this scenario, you may receive the following error message when you when run applications that are hosted on Internet Information Services (IIS):
Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.TypeLoadException: Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Binding ADO.NET Data Service to WPF Client – Building a Master Detail Tree Viewhttp://geekswithblogs.net/ranganh/archive/2009/07/20/binding-ado.net-data-service-to-wpf-client-ndash-building-a.aspxBinding a TreeView to a DataSethttp://joshsmithonwpf.wordpress.com/2007/05/05/binding-a-treeview-to-a-dataset/WCF Peer Channelhttp://msdn.microsoft.com/en-us/library/bb756931.aspxWCF / WPF Chat Applicationhttp://www.codeproject.com/KB/WCF/WCFWPFChat.aspxWCF - The type name ServiceReference1 does not exist in the type Namespace.ClassNamehttp://bursjootech.blogspot.com/2008/06/wcf-type-name-servicereference1-does.htmlWinForm PictureBox ClassRepresents a Windows picture box control for displaying an image.
http://msdn.microsoft.com/en-us/library/system.windows.forms.picturebox(v=VS.90).aspxWCF / WPF Chat Applicationhttp://www.codeproject.com/KB/WCF/WCFWPFChat.aspxDispatcherTimer ClassA timer that is integrated into the Dispatcher queue which is processed at a specified interval of time and at a specified priority.
http://msdn.microsoft.com/en-us/library/system.windows.threading.dispatchertimer.aspxBeginning WF: Windows Workflow in .NET 4.0http://apress.com/book/view/9781430224853Windows Anytime Upgradehttp://windows.microsoft.com/en-US/windows7/products/features/windows-anytime-upgradeWCF RIA Services Code Galleryhttp://code.msdn.microsoft.com/RiaServicesPro Windows Server AppFabrichttp://apress.com/book/view/9781430228172HOWTO:How to set an InputMask for an IP Address in the WinMaskedEdithttp://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=10090Microsoft Contoso BI Demo Dataset for Retail Industryhttp://www.microsoft.com/downloads/en/details.aspx?FamilyID=868662DC-187A-4A85-B611-B7DF7DC909FC&displaylang=enWindows Server AppFabrichttp://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=467e5aa5-c25b-4c80-a6d2-9f8fb0f337d2Windows Workflow Foundationprovides a programming model, in-process workflow engine and rehostable designer to implement long-running processes as workflows within .NET applications.
http://msdn.microsoft.com/en-us/netframework/aa663328.aspxCreate truly compelling map experienceshttp://www.microsoft.com/maps/developers/Bing Map App SDK download site!https://connect.microsoft.com/bingmapsappsWhat Is NUnit?NUnit is a unit-testing framework for all .Net languages. Initially ported from JUnit, the current production release, version 2.5, is the sixth major release of this xUnit based unit testing tool for Microsoft .NET. It is written entirely in C# and has been completely redesigned to take advantage of many .NET language features, for example custom attributes and other reflection related capabilities. NUnit brings xUnit to all .NET languages
http://www.nunit.org/XML Schema Definition Tool (Xsd.exe)http://msdn.microsoft.com/en-us/library/x6c1kb0s(VS.71).aspxMicrosoft Ribbon for WPFhttp://www.microsoft.com/downloads/en/details.aspx?FamilyID=2BFC3187-74AA-4154-A670-76EF8BC2A0B4&displayLang=enLightSwitch Overviewhttp://www.microsoft.com/visualstudio/en-us/lightswitchMicrosoft Visual Studio 2010 LightSwitch is a new flavor of Visual Studio, oriented to building forms-over-data business applications quickly and easy, reducing the code base required for leveraging CRUD operations, without scarifying functionality or extensibility. LightSwitch provides an intuitive designer in which developers and end users will be able to construct their applications, integrating different sources of data, creating relations between these sources, and designing the screens to manage the data in a very simple way.
LightSwitch Advanced features:
LightSwitch allows integrating external data sources and custom controls, providing an extensibility environment you can leverage when building your application. These extensions can be created by more experienced developers, and easily integrated into your application. For example, you could integrate an eBay custom control to sell your products directly from within a LightSwitch application, or a Bing Maps control to display geographical information.
LightSwitch Control Extensions:
In this Hands-on Lab you will be walked through the creation of a LightSwitch custom control. This control will be used to display an address in a Silverlight BingMap control.
Visual Studio LightSwitch Beta 1 Training Kithttp://www.microsoft.com/downloads/en/details.aspx?FamilyID=AC1D8EB5-AC8E-45D5-B1E3-EFB8E4E3EBD1&displaylang=enWelcome to the All-In-One Code Framework!Microsoft All-In-One Code Framework delineates the framework and skeleton of Microsoft development techniques through typical sample codes in three popular programming languages (Visual C#, VB.NET, Visual C++). Each sample is elaborately selected, composed, and documented to demonstrate one frequently-asked, tested or used coding scenario based on our support experience in MSDN newsgroups and forums. If you are a software developer, you can fill the skeleton with blood, muscle and soul. If you are a software tester or a support engineer like us, you may extend the sample codes a little to fit your specific test scenario or refer your customer to this project if the customer's question coincides with what we collected.
http://1code.codeplex.com/Walkthrough: Authoring a Composite Control with Visual C#http://msdn.microsoft.com/en-us/library/a6h7e207.aspxVisual Studio 2008 and Team Foundation Server 2010http://blog.jmedved.com/2009/11/visual-studio-2008-and-team-foundation.htmlSilverShader – Introduction to Silverlight and WPF Pixel Shadershttp://blogs.msdn.com/b/msdnmagazine/archive/2010/05/21/10014965.aspx
DirectShow: Core Media Technology in Windows XP Empowers You to Create Custom Audio/Video Processing ComponentsCore Media Technology in Windows XP Empowers You to Create Custom Audio/Video Processing Components
http://msdn.microsoft.com/en-us/magazine/cc301631.aspxWPF MediaKit - For webcam, DVD and custom video support in WPFhttp://wpfmediakit.codeplex.com/http://jmorrill.hjtcentral.com/WebCam control for WPFhttp://wpfcap.codeplex.com/http://sites.google.com/site/webcamlibrarydotnet/homeWPF Interoperability By Adam Nathan, February 06, 2007Mixing up Windows Presentation Foundation with Win32, Windows Forms, and ActiveX
A Win32 Webcam Control
http://www.drdobbs.com/windows/197003872;jsessionid=GLHHTZ1XSJ1RDQE1GHPCKH4ATMY32JVN?pgno=2Digital Media: Add Video To Controls And 3D Surfaces With WPFhttp://msdn.microsoft.com/en-us/magazine/cc163455.aspxHow to: Use netTcpBinding with Windows Authentication and Transport Security in WCF Calling from Windows Formshttp://msdn.microsoft.com/en-us/library/ff647180.aspxThis how-to article shows you how to use the netTcpBinding binding with Windows authentication and transport security. netTcpBinding is used for communicating with WCF clients in an intranet environment and provides transport security and Windows authentication by default. In this article, the WCF service is hosted in a Windows service.
Windows Presentation Foundation Data Binding: Part 1}*
*{"Windows Presentation Foundation Data Binding: Part 2Using Visual Studio 2010, binding to data source is so easy. But if you are using Visual Studio 2008 SP1, you should still go through the articles above.
http://msdn.microsoft.com/en-us/library/aa480226.aspx
UI Composition QuickStartThe UI Composition QuickStart demonstrates how to build a Windows Presentation Foundation (WPF) user interface composed of different views that are dynamically loaded into regions and that interact with each other in a decoupled way.
http://msdn.microsoft.com/en-us/library/ff649188.aspx
Creating an Internationalized Wizard in WPF By Josh Smith, Karl Shifflett | 17 Dec 2008http://www.codeproject.com/KB/WPF/InternationalizedWizard.aspxPatterns For Building Composite Applications With WPFhttp://msdn.microsoft.com/en-us/magazine/cc785479.aspxPrism Visual Studio Templates (including MVVM)http://blogs.msdn.com/b/devkeydet/archive/2009/07/17/prism-visual-studio-templates-including-mvvm.aspxPrism (Composite Application Guidance for WPF and Silverlight) 2.1 - October 2009http://www.microsoft.com/downloads/details.aspx?FamilyID=387c7a59-b217-4318-ad1b-cbc2ea453f40&displaylang=enWPF Apps With The Model-View-ViewModel Design Patternhttp://msdn.microsoft.com/en-us/magazine/dd419663.aspxMicrosoft SNMP Serviceshttp://technet.microsoft.com/en-us/library/bb726977.aspxC# Network Programminghttp://www.wiley.com/WileyCDA/WileyTitle/productCd-0782141765.htmlSNMP Servicehttp://msdn.microsoft.com/en-us/library/aa379100(VS.85).aspxTen Essential Tools: Visual Studio Add-Ins Every Developer Should Download Nowhttp://msdn.microsoft.com/en-us/magazine/cc300778.aspx.NET Framework Class Library: IDisposable InterfaceDefines a method to release allocated resources.
The primary use of this interface is to release unmanaged resources. The garbage collector automatically releases the memory allocated to a managed object when that object is no longer used. However, it is not possible to predict when garbage collection will occur. Furthermore, the garbage collector has no knowledge of unmanaged resources such as window handles, or open files and streams.
Use the Dispose method of this interface to explicitly release unmanaged resources in conjunction with the garbage collector. The consumer of an object can call this method when the object is no longer needed.
// Implement IDisposable.
// Do not make this method virtual.
// A derived class should not be able to override this method.
public void Dispose()
{
Dispose(true);
// This object will be cleaned up by the Dispose method.
// Therefore, you should call GC.SupressFinalize to
// take this object off the finalization queue
// and prevent finalization code for this object
// from executing a second time.
GC.SuppressFinalize(this);
}
// Dispose(bool disposing) executes in two distinct scenarios.
// If disposing equals true, the method has been called directly
// or indirectly by a user's code. Managed and unmanaged resources
// can be disposed.
// If disposing equals false, the method has been called by the
// runtime from inside the finalizer and you should not reference
// other objects. Only unmanaged resources can be disposed.
private void Dispose(bool disposing)
{
// Check to see if Dispose has already been called.
if(!this.disposed)
{
// If disposing equals true, dispose all managed
// and unmanaged resources.
if(disposing)
{
// Dispose managed resources.
component.Dispose();
}
// Call the appropriate methods to clean up
// unmanaged resources here.
// If disposing is false,
// only the following code is executed.
CloseHandle(handle);
handle = IntPtr.Zero;
// Note disposing has been done.
disposed = true;
}
}
http://msdn.microsoft.com/en-us/library/system.idisposable.aspxImportant
C++ programmers should read Destructors and Finalizers in Visual C++. In the .NET Framework version, the C++ compiler provides support for implementing deterministic disposal of resources and does not allow direct implementation of the Dispose method.
Visual C++: How to: Convert System::String to Standard Stringhttp://msdn.microsoft.com/en-us/library/1b4az623(VS.80).aspx.NET Remoting: Remotable ObjectsRemotable objects are objects that function well in a widely distributed environment. There are two main kinds of remotable objects:
Marshal-by-value objects, which are copied and passed out of the application domain.
Marshal-by-reference objects, for which a proxy is created and used by the client to access the object remotely.
http://msdn.microsoft.com/en-us/library/aa720494(v=VS.71).aspxCLR Inside Out: Large Object Heap Uncoveredhttp://msdn.microsoft.com/en-us/magazine/cc534993.aspxGarbage Collection: Automatic Memory Management in the Microsoft .NET FrameworkGarbage collection in the Microsoft .NET common language runtime environment completely absolves the developer from tracking memory usage and knowing when to free memory.
http://msdn.microsoft.com/en-us/magazine/bb985010.aspxThe first part of this two-part article explained how the garbage collection algorithm works, how resources can clean up properly when the garbage collector decides to free a resource's memory, and how to force an object to clean up when it is freed. The conclusion of this series explains strong and weak object references that help to manage memory for large objects, as well as object generations and how they improve performance. In addition, the use of methods and properties for controlling garbage collection, resources for monitoring collection performance, and garbage collection for multithreaded applications are covered.
http://msdn.microsoft.com/en-us/magazine/bb985011.aspx.NET Framework Class Library GC.Collect MethodForces an immediate garbage collection of all generations.
All objects, regardless of how long they have been in memory, are considered for collection; however, objects that are referenced in managed code are not collected. Use this method to force the system to try to reclaim the maximum amount of available memory.
http://msdn.microsoft.com/en-us/library/xe0c2357.aspxTracing memory leaks in .NET applications with ANTS Profilerhttp://www.simple-talk.com/dotnet/.net-tools/tracing-memory-leaks-in-.net-applications-with-ants-profiler/Description of the update for ADO.NET Data Services Update for .NET Framework 3.5 SP1 for Windows 7 and Windows Server 2008 R2: May 7, 2010http://support.microsoft.com/kb/982307MsmqAuthenticationMode Enumerationhttp://msdn.microsoft.com/en-us/library/system.servicemodel.msmqauthenticationmode.aspx.NET Framework 4 - Windows Presentation Foundation: How to: Implement Property Change NotificationTo support OneWay or TwoWay binding to enable your binding target properties to automatically reflect the dynamic changes of the binding source (for example, to have the preview pane updated automatically when the user edits a form), your class needs to provide the proper property changed notifications. This example shows how to create a class that implements INotifyPropertyChanged.
http://msdn.microsoft.com/en-us/library/ms743695.aspxStreaming Provider (WCF Data Services)http://msdn.microsoft.com/en-us/library/ee960144.aspxSupport the streaming of bitmap images into the Northwind databasefa data service written in C# that implements IDataServiceStreamProvider to support the streaming of bitmap images into the Northwind database. Includes a WPF client that gets and sets image streams. For more information, see Streaming Provider (WCF Data Services)
http://code.msdn.microsoft.com/AstoriaDocSamplesWindows Presentation Foundation Data Binding: Part 2void ShowPhoto()
{
object selected = theCombo.SelectedItem;
DataRow row = ((DataRowView)selected).Row;
// Get the raw bytes of the image
byte[] photoSource = (byte[])row["Photo"];
// Create the bitmap object
// NOTE: This is *not* a GDI+ Bitmap object
BitmapImage bitmap = new BitmapImage();
MemoryStream strm = new MemoryStream();
// Well-known work-around to make Northwind images work
int offset = 78;
strm.Write(photoSource, offset, photoSource.Length - offset);
// Read the image into the bitmap object
bitmap.BeginInit();
bitmap.StreamSource = strm;
bitmap.EndInit();
// Set the Image with the Bitmap
theImage.Source = bitmap;
}
http://msdn.microsoft.com/en-us/library/aa480226.aspxThe WCF Data Services client library enables you to retrieve and update binary data from an Open Data Protocol (OData) feed in one of the following ways:
•As a primitive type property of an entity. This is the recommended method for working with small binary data objects that can be easily loaded into memory. In this case, the binary property is an entity property exposed by the data model, and the data service serializes the binary data as base-64 binary encoded XML in the response message.
•As a separate binary data stream. This is the recommended method for accessing and changing binary large object (BLOB) data that may represent a photo, video, or any other type of binary encoded data. In this method, the binary data is not included in the data service model that is exposed by the OData feed and is requested as a stream directly from the data service.
http://msdn.microsoft.com/en-us/library/ee473426.aspxMicrosoft Silverlight 4 Data and Services Cookbook: Over 85 Practical Recipes for Creating Rich, Data-driven Business Applications in Silverlighthttps://www.packtpub.com/microsoft-silverlight-4-data-and-services-cookbook/bookFiddler Web Debugger - A free web debugging toolhttp://www.fiddler2.com/fiddler2/ADO.NET Data Services Update for .NET Framework 3.5 SP1 for Windows 7 and Windows Server 2008 R2http://www.microsoft.com/downloads/details.aspx?familyid=3e102d74-37bf-4c1e-9da6-5175644fe22d&displaylang=enSilverlight Security: Securing Your Silverlight Applicationshttp://msdn.microsoft.com/en-us/magazine/ff646975.aspxSelf hosting an ADO.NET data servicehttp://blogs.msdn.com/b/rickrain/archive/2009/08/31/self-hosting-an-ado-net-data-service.aspxVisual Studio 2010: Walkthrough: Binding WPF Controls to a WCF Data Servicehttp://msdn.microsoft.com/en-us/library/dd465161.aspxHosting the Data Service (WCF Data Services)http://msdn.microsoft.com/en-us/library/cc668805.aspxSelf-Hosted WCF Services
Because it incorporates a WCF implementation, WCF Data Services support self-hosting a data service as a WCF service. A service can be self-hosted in any .NET Framework application, such as a console application. The DataServiceHost class, which inherits from WebServiceHost, is used to instantiate the data service at a specific address.
Self-hosting can be used for development and testing because it can make it easier to deploy and troubleshoot the service. However, this kind of hosting does not provide the advanced hosting and management features provided by ASP.NET or by Internet Information Services (IIS). For more information, see Hosting in a Managed Application.
How to: Use Certificate Authentication and Transport Security in WCF Calling from Windows Formshttp://msdn.microsoft.com/en-us/library/ff650785.aspxMicrosoft Silverlight 4 Data and Services Cookbook: Over 85 Practical Recipes for Creating Rich, Data-driven Business Applications in Silverlighthttps://www.packtpub.com/microsoft-silverlight-4-data-and-services-cookbook/bookSecurity: Protect Private Data with the Cryptography Namespaces of the .NET Frameworkhttp://msdn.microsoft.com/en-us/magazine/cc301566.aspxThe Cryptography namespace contains a base class called HashAlgorithm and derived classes that support the algorithms MD5, SHA1, SHA256, SHA384, and SHA512. The MD5 algorithm produces a 128-bit hash, while the SHA1 produces a 160-bit hash. The numbers associated with the other versions of SHA indicate the length of their hash. The larger the hash size, the more secure the algorithm and the more difficult it is to break via brute force. These algorithms come in both unmanaged and managed version.
Visual Studio 2010 How to: Use an Assembly from the Web in Visual StudioThis topic shows how to use an assembly that you download from the Web in Visual Studio. For security reasons, Visual Studio blocks you from loading a Web assembly in the Choose Items and Add Reference dialog boxes.
http://msdn.microsoft.com/en-us/library/ee890038(VS.100).aspxFuzzy Lookups and Groupings Provide Powerful Data Cleansing Capabilitieshttp://msdn.microsoft.com/en-us/magazine/cc163731.aspxDevelopment (Integration Services)http://msdn.microsoft.com/en-us/library/bb522537.aspxMicrosoft SQL Server 2008 Integration Services: Problem-Design-Solutionhttp://www.wrox.com/WileyCDA/WroxTitle/Microsoft-SQL-Server-2008-Integration-Services-Problem-Design-Solution.productCd-0470525762.htmlMock-up Windows XP Interface elementsApplies to: Microsoft Office Visio 2007
http://office.microsoft.com/en-us/visio-help/mock-up-windows-xp-interface-elements-HA010119224.aspxEntity Framework 4.0 and WCF Data Services 4.0 in Visual Studio 2010http://msdn.microsoft.com/en-us/magazine/ee336128.aspxEntity Framework 4.0 (EF 4.0) focuses on enabling and simplifying two primary scenarios: domain-centric application development and the traditional data-centric “forms over data.” It introduces features such as model first development, which allows you to create a model and have customized T-SQL generated for you; support for persistence ignorance; foreign keys; lazy loading and custom code generation for entities.
How We Used Data in GiveAQuiz.comhttp://msdn.microsoft.com/en-us/library/ff847451.aspxWe built GiveAQuiz.com using the following data technologies:
SQL Server 2008
Entity Framework 4
WCF Data Services 4
Visual Studio 2010’s SQL Server Database Project
1SQL Server Reporting Services
While using the EntityObject generator builds the same code as the Entity Framework model by default, we wanted to have access to the generator templates to make changes as necessary. In this first revision of the project we ended up not needing to customize the template, but this may come up in subsequent versions of GiveAQuiz.com.
During the use of the entity model in developing the pages, we found that we needed to make changes to the design of our database. The problem was that as we generated our schema changes, we wanted to keep existing data. We had two choices in making schema changes. We could either try and make the schema changes on a live database to preserve the changes or just rebuild the database on every change with some sample data included in the build. We chose the latter choice and aimed to set up a database build that included sample data.
In the GiveAQuiz.com project, we found that we had two separate pieces of functionality that Silverlight would be a good fit for since they were fairly rich in their requirements: Quiz Creation and Taking a Quiz. We were using Silverlight for this part of the project we had to have a way to share our data models (e.g. the Entity Framework model) across the wire. To expose our data model, we decided to use WCF Data Services to provide a REST-based API to access the data from our Silverlight applications.
Create Data-Centric Web Applications With Silverlight 2http://msdn.microsoft.com/en-us/magazine/cc794279.aspxMy goal here has been to show how ADO.NET Data Services is the gateway between Silverlight 2 and server-based models. You should now know how to use ADO.NET Data Services to read and write data from the server without resorting to hand-designed Web services. As you can see, the combination of Silverlight, ADO.NET Data Services, and LINQ lets you build powerful data-driven Web applications with all the advantages of Web 2.0 technologies. For more on these technologies, see the "Further Reading" sidebar.
Send MSMQ Messages Securely Across the Internet with HTTP and SOAPhttp://msdn.microsoft.com/en-us/magazine/cc164041.aspxWhen creating a distributed system you frequently need to provide for communication between two entities that are not in sync. Microsoft Message Queue Server (MSMQ) provides the kind of store-and-forward messaging in a pre-built infrastructure that can help you address these kinds of messaging needs. In the past, MSMQ was accessed using a COM wrapper. Now there's a .NET wrapper that lets you accomplish your messaging goals easily from your Framework-based code. To illustrate the use of the wrapper, the author builds a messaging application, sends MSMQ messages over the Web, and discusses messaging security.
.NET Development (General) Technical Articles: Garbage Collector Basics and Performance HintsToo Many Almost-Long-Life ObjectsFinally, perhaps the biggest pitfall of the generational garbage collector is the creation of many objects, which are neither exactly temporary nor are they exactly long-lived. These objects can cause a lot of trouble, because they will not be cleaned up by a gen0 collection (the cheapest), as they will still be necessary, and they might even survive a gen1 collection because they are still in use, but they soon die after that.
The trouble is, once an object has arrived at the gen2 level, only a full collection will get rid of it, and full collections are sufficiently costly that the garbage collector delays them as long as is reasonably possible. So the result of having many "almost-long-lived" objects is that your gen2 will tend to grow, potentially at an alarming rate; it might not get cleaned up nearly as fast as you would like, and when it does get cleaned up it will certainly be a lot more costly to do so than you might have wished.
To avoid these kinds of objects, your best lines of defense go like this:
1.Allocate as few objects as possible, with due attention to the amount of temporary space you are using.
2.Keep the longer-lived object sizes to a minimum.
3.Keep as few object pointers on your stack as possible (those are roots).
If you do these things, your gen0 collections are more likely to be highly effective, and gen1 will not grow very fast. As a result, gen1 collections can be done less frequently and, when it becomes prudent to do a gen1 collection, your medium lifetime objects will already be dead and can be recovered, cheaply, at that time.
If things are going great then during steady-state operations your gen2 size will not be increasing at all!
http://msdn.microsoft.com/en-us/library/ms973837.aspxANTS Performance Profiler™: How to profile a Windows servicehttp://www.red-gate.com/products/ants_performance_profiler/technical_papers/profiling_windows_service.htmProfessional Microsoft SQL Server 2008 Integration Serviceshttp://www.wrox.com/WileyCDA/WroxTitle/Professional-Microsoft-SQL-Server-2008-Integration-Services.productCd-0470247959.htmlHow to: Attach the Profiler to a .NET Service to Collect Application Statistics by Using the Command Linehttp://msdn.microsoft.com/en-us/library/dd255409(v=VS.90).aspxWCF Essentials: What You Need To Know About One-Way Calls, Callbacks, And Eventshttp://msdn.microsoft.com/en-us/magazine/cc163537.aspxVisual Studio Team System 2008 Team Foundation Server Power Tools - October 2008 Releasehttp://www.microsoft.com/Downloads/details.aspx?FamilyID=fbd14eea-781f-45a1-8c46-9f6ba2f68bf0&displaylang=enHow to: Roll Back a Changesethttp://msdn.microsoft.com/en-us/library/ms194956(VS.80).aspxTransport Security: How to: Configure a Port with an SSL Certificatehttp://msdn.microsoft.com/en-us/library/ms733791.aspxWindows Phone Developer Training Kit – Beta Refreshhttp://windowsteamblog.com/windows_phone/b/wpdev/archive/2010/07/13/windows-phone-developer-training-kit-beta-refresh.aspxWindows Phone Developer Tools Betahttp://www.microsoft.com/downloads/details.aspx?FamilyID=c8496c2a-54d9-4b11-9491-a1bfaf32f2e3&displaylang=enFileSystemWatcher ClassListens to the file system change notifications and raises events when a directory, or file in a directory, changes.
Namespace: System.IO
Assembly: System (in System.dll)
http://msdn.microsoft.com/en-us/library/x7t1d0ky.aspxApplet Caching and Installation in Java Plug-inhttp://java.sun.com/products/plugin/1.3/docs/appletcaching.htmlhttp://download.oracle.com/docs/cd/E17476_01/javase/1.4.2/docs/guide/plugin/developer_guide/applet_caching.htmlDownload and Install Debugging Tools for Windowshttp://www.microsoft.com/whdc/devtools/debugging/default.mspxIDisposable.Dispose MethodPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
http://msdn.microsoft.com/en-us/library/system.idisposable.dispose.aspxFind Application Bottlenecks with Visual Studio Profilerhttp://msdn.microsoft.com/en-us/magazine/cc337887.aspxUI Mockups, User Experience Tips, JavaScript Checker and Morehttp://msdn.microsoft.com/en-us/magazine/ee291539.aspxBalsamiq Mockupshttp://www.balsamiq.com/builds/mockups-web-demo/patterns & practices Improving Web Services Security Guidehttp://wcfsecurityguide.codeplex.com/releases/view/15892http://msdn.microsoft.com/en-us/library/ff650794.aspxCertificate authentication with certificates.
If your clients are partners or mobile clients
connecting over a virtual private network (VPN) in a peer-to-peer authentication
scenario, consider using certificate authentication. If your users have Windows accounts
in your domain, you can map the certificates to the Windows accounts and enable
authorization checks based on Windows roles. Certificate authentication requires that
you manage certificates; however, it allows seamless authentication for clients outside
your firewall. Use transport security to secure the communication channel and protect
your credentials.
How to: Use basicHttpBinding with Windows Authentication and TransportCredentialOnly in WCF from Windows Formshttp://msdn.microsoft.com/en-us/library/ff648505.aspxThis how-to article walks you through the process of using Windows authentication over the basicHttpBinding binding using the TransportCredentialsOnly security mode. The article shows you how to configure WCF, configure Internet Information Services (IIS) for Windows authentication, and test the service with a sample WCF client.
How to: Use wsHttpBinding with Windows Authentication and Transport Security in WCF Calling from Windows Formshttp://msdn.microsoft.com/en-us/library/cc949017.aspx#Step2This how-to article walks you through the process of using Windows authentication over the wsHTTPBinding binding type by using transport security. The article shows you how to configure WCF, create and install the necessary certificate, and test the service with a sample WCF client.
How to Map a Client Certificate to a Windows NT User Accounthttp://support.microsoft.com/kb/203805EMDK for .NET v2.3The EMDK for .NET provides developers with the tools necessary to create C# and VB.NET managed applications for enterprise mobility devices from Motorola. These tools include class libraries, sample applications, and associated documentation. EMDK for .NET allows Microsoft® .NET Compact Framework developers to programmatically access the enterprise mobility features on the devices. This developer kit is designed for use with Microsoft Visual Studio 2003, Visual Studio 2005 and Visual Studio 2008.
http://support.symbol.com/support/search.do?cmd=displayKC&docType=kc&externalId=12623&sliceId=&dialogID=184394008&stateId=0 0 25545591Bar Code Scanners with the .NET Compact Frameworkhttp://msdn.microsoft.com/en-us/library/aa446489.aspxWrite an IM App with the .NET Compact Frameworkhttp://msdn.microsoft.com/en-us/magazine/cc164240.aspxWCF Guidance for Mobile Developershttp://wcfguidanceformobile.codeplex.com/Getting Started with Building Windows Mobile Solutions with Visual Studio and Windows Mobile 6 SDKhttp://msdn.microsoft.com/en-us/library/dd721907.aspxPower Toys for .NET Compact Framework 3.5http://www.microsoft.com/downloads/details.aspx?familyId=c8174c14-a27d-4148-bf01-86c2e0953eab&displaylang=enRemote Performance Monitor and GC Heap Viewer – Provides real time counter data (ranging from Garbage Collector activity to type loading info) on a running NETCF application. The GC Heap Viewer feature allows you to capture the managed heap at any moment your app is running to view live references, and allows you to compare multiple snapshots to find memory leak issues.
NETCF CLR Profiler – CLR Profiler is an instrumenting allocation profiler for NETCF applications. It provides detailed allocation visualizations, allocation callstacks visualizations and useful for diagnosing memory management issues.
App Configuration Tool (NetCFcfg.exe) - On-device tool for specifying what version of the NETCF runtime an application will run against, displaying installed versions of NETCF and displaying info about DLLs in the GAC.
NETCF ServiceModel Metadata Tool – The .NET Compact Framework ServiceModel Metadata Tool (netcfsvcutil.exe) allows you to generate a Windows Communication Foundation (WCF) client proxy to help developers consume WCF services on device. Like svcutil.exe, which is the desktop version of the utility, netcfsvcutil.exe is a command-line tool that generates service model code from metadata documents and generates metadata documents from service model code.
Remote Logging Configuration Tool – The Logging Configuration Tool enables users to easily configure logging options on a NETCF device including: loader, interop, network, error and finalizer logs.
NETCF Network Log Viewer – A utility for viewing NETCF network log data.
Identify And Prevent Memory Leaks In Managed Codehttp://msdn.microsoft.com/en-us/magazine/cc163491.aspx"Leaking" Managed Heap Memory
Now let's turn our attention to "leaking" managed memory. When dealing with managed memory, the GC takes care of most of the work for us. We do need to provide the GC with the information it needs to do its job. However, there are a number of scenarios that prevent the GC from doing its job efficiently and result in higher managed memory use than would otherwise be required. These situations include large object heap fragmentation, unneeded rooted references, and a midlife crisis.
Checking for Leaks
There are a number of telltale signs that an application is leaking memory. Maybe it's throwing an OutOfMemoryException. Maybe its responsiveness is growing very sluggish because it started swapping virtual memory to disk. Maybe memory use is gradually (or not so gradually) increasing in Task Manager. When a memory leak is suspected, you must first determine what kind of memory is leaking, as that will allow you to focus your debugging efforts in the correct area. Use PerfMon to examine the following performance counters for the application: Process/Private Bytes, .NET CLR Memory/# Bytes in All Heaps, and .NET CLR LocksAndThreads/# of current logical Threads. The Process/Private Bytes counter reports all memory that is exclusively allocated for a process and can't be shared with other processes on the system. The .NET CLR Memory/# Bytes in All Heaps counter reports the combined total size of the Gen0, Gen1, Gen2, and large object heaps. The .NET CLR LocksAndThreads/# of current logical Threads counter reports the number of logical threads in an AppDomain. If an application's logical thread count is increasing unexpectedly, thread stacks are leaking. If Private Bytes is increasing, but # Bytes in All Heaps remains stable, unmanaged memory is leaking. If both counters are increasing, memory in the managed heaps is building up.
How To: Use CLR Profilerhttp://msdn.microsoft.com/en-us/library/ff650691.aspx#scalenethowto13_topic2Samples Environment for .NET Framework 4 Chart Controls Released!http://code.msdn.microsoft.com/mschartSerial Communication with the .NET Compact Frameworkhttp://msdn.microsoft.com/en-us/library/aa446565.aspx#serial_com_netcf_topic7http://www.baracoda.com/baracoda/support/compatibility-table-32-Smartphone.htmlSummary: Learn how to make your applications communicate over a serial port and how to handle common issues when implementing serial solutions. After a general discussion about serial communication and a common serial communication standard, this article demonstrates a practical use of the technologies through sample source code written in C#. (35 printed pages)
Bar Code Scanners with the .NET Compact Frameworkhttp://msdn.microsoft.com/en-us/library/aa446489.aspxWrite an IM App with the .NET Compact Frameworkhttp://msdn.microsoft.com/en-us/magazine/cc164240.aspxDebugging with IntelliTracehttp://msdn.microsoft.com/en-us/library/dd264915.aspxhttp://msdn.microsoft.com/en-us/magazine/ee336126.aspxSupported applications and debugging scenarios
IntelliTrace supports debugging Visual Basic and C# applications that use .NET version 2.0, 3.0, 3.5, or 4. You can debug most applications, including applications that were created by using ASP.NET, Windows Forms, WPF, Windows Workflow, and WCF. IntelliTrace does not support debugging C++, script, or other languages. Debugging of F# applications is supported on an experimental basis.
Crystal Consulting on WordPresshttp://crystalconsulting.wordpress.com/Local Security PolicyAudit object access
This security setting determines whether to audit the event of a user accessing an object—for example, a file, folder, registry key, printer, and so forth—that has its own system access control list (SACL) specified. If you define this policy setting, you can specify whether to audit successes, audit failures, or not audit the event type at all. Success audits generate an audit entry when a user successfully accesses an object that has an appropriate SACL specified. Failure audits generate an audit entry when a user unsuccessfully attempts to access an object that has a SACL specified. To set this value to No auditing, in the Properties dialog box for this policy setting, select the Define these policy settings check box and clear the Success and Failure check boxes. Note that you can set a SACL on a file system object using the Security tab in that object's Properties dialog box. Default: No auditing.
http://technet.microsoft.com/en-us/library/dd277395.aspxHow to identify memory leaks in the common language runtimehttp://support.microsoft.com/kb/318263Memory Leak Detection Enabling: The primary tools for detecting memory leaks are the debugger and the C Run-Time Libraries (CRT) debug heap functionshttp://msdn.microsoft.com/en-us/library/e5ewb1h3.aspx#define
CRTDBGMAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
Once you have added the previous statements, you can dump memory leak information by including the following statement in your program, typically immediately before the program exits:
_CrtDumpMemoryLeaks();
When you run your program under the debugger, _CrtDumpMemoryLeaks displays memory leak information in the Output window. The memory leak information looks like this:
Detected memory leaks!
Dumping objects ->
C:\PROGRAM FILES\VISUAL STUDIO\MyProjects\leaktest\leaktest.cpp(20) : {18}
normal block at 0x00780E80, 64 bytes long.
Data: < > CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD
Object dump complete.
If you do not use the #define
CRTDBGMAP_ALLOC statement, the memory leak dump will look like this:
Detected memory leaks!
Dumping objects ->
{18} normal block at 0x00780E80, 64 bytes long.
Data: < > CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD
Object dump complete.
You are creating a tool for the IT department that displays the MAC address and description of every network adapter on a remote computer with the IP address 192.168.1.200. Which of the following code samples does this correctly?ManagementScope ms = new ManagementScope(@"\\192.168.1.200\root\cimv2");
ObjectQuery oq = new ObjectQuery("SELECT * FROM Win32_NetworkAdapterConfiguration");
ManagementObjectSearcher mos = new ManagementObjectSearcher(ms, oq);
ManagementObjectCollection moc = mos.Get();
foreach (ManagementObject mo in moc)
Console.WriteLine(mo["MacAddress"] + ": " + mo["Description"]);}"
*{"RijndaelManaged Class*
This algorithm supports key lengths of 128, 192, or 256 bits.
http://msdn.microsoft.com/en-us/library/3k2d54f8.aspxThread.Suspend MethodNote: This API is now obsolete.
Thread.Suspend has been deprecated. Please use other classes in System.Threading, such as Monitor, Mutex, Event, and Semaphore, to synchronize Threads or protect resources.
http://msdn.microsoft.com/en-us/library/system.threading.thread.suspend.aspxMicrosoft SQL Server 2008 Feature Pack, October 2008Microsoft SQLXML 4.0 SP1
SQLXML enables XML support for your SQL Server Database. It allows developers to bridge the gap between XML and relational data. You can create XML View of your existing relational data and work with it as if it was an XML file. SQLXML allows you to:
Query relational database with XPath
Update relational data as if it was XML
Load XML into SQL Server
Query SQL Server OLEDB/ADO or .NET Framework Managed Classes
http://www.microsoft.com/downloads/details.aspx?FamilyId=228DE03F-3B5A-428A-923F-58A033D316E1&displaylang=enAssemblyVersionAttribute Classhttp://msdn.microsoft.com/en-us/library/system.reflection.assemblyversionattribute.aspxThe version number has four parts, as follows:
<major version>.<minor version>.<build number>.<revision>
Important: All components of the version must be integers greater than or equal to 0. Metadata restricts the major, minor, build, and revision components for an assembly to a maximum value of UInt16.MaxValue - 1. If a component exceeds this value, a compilation error occurs.
You can specify all the values or you can accept the default build number, revision number, or both by using an asterisk (*). For example,
assembly:AssemblyVersion("2.3.25.1") indicates 2 as the major version, 3 as the minor version, 25 as the build number, and 1 as the revision number. A version number such as
assembly:AssemblyVersion("1.2.*") specifies 1 as the major version, 2 as the minor version, and accepts the default build and revision numbers. A version number such as
assembly:AssemblyVersion("1.2.15.*") specifies 1 as the major version, 2 as the minor version, 15 as the build number, and accepts the default revision number. The default build number increments daily. The default revision number is random.
Note: If you specify an asterisk for the build number, you cannot specify a revision number.
The assembly major and minor versions are used as the type library version number when the assembly is exported. Some COM hosts do not accept type libraries with the version number 0.0. Therefore, if you want to expose an assembly to COM clients, set the assembly version explicitly to 1.0 in the AssemblyVersionAttribute page for projects created outside Visual Studio 2005 and with no AssemblyVersionAttribute specified. Do this even when the assembly version is 0.0. All projects created in Visual Studio 2005 have a default assembly version of 1.0.*.
Code Analysis for Managed Code Overviewhttp://msdn.microsoft.com/en-us/library/3z0aeatx.aspxVisual Studio Debugger Memory Leak Detection and Isolationhttp://msdn.microsoft.com/en-us/library/x98tx3cf(VS.80).aspxN_1207: Profiling services basicshttp://msdn.microsoft.com/en-us/vstudio/aa718870.aspxWin32_Process ClassThe Win32_Process WMI class represents a process on an operating system.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
ManagementObjectSearcher.Get MethodInvokes the specified WMI query and returns the resulting collection.
Process.SessionId PropertyGets the Terminal Services session identifier for the associated process
http://msdn.microsoft.com/en-us/library/aa394372(v=VS.85).aspxhttp://msdn.microsoft.com/en-us/library/67a77ef1.aspxhttp://msdn.microsoft.com/en-us/library/system.diagnostics.process.sessionid.aspxVisual Studio Application Lifecycle Management Lock CommandLocks or unlocks a file or folder to deny or restore the right of users to check out an item for edit into a different workspace or to check in pending changes to an item from a different workspace.
http://msdn.microsoft.com/en-us/library/47b0c7w9.aspxMicrosoft® .NET: Architecting Applications for the Enterprisehttp://www.microsoft.com/learning/en/us/book.aspx?ID=12863&locale=en-usHowever, designing a system is far too serious a thing to pretend you can sit down on day one, have a look at standardized requirements, and start producing fully detailed diagrams. As disappointing as it seems, things just don't go this way. In the early stages of development, using UML as a sketch is highly productive because it provides a common, visual, and formal language to express ideas and brainstorm about the design. Getting the specifications of a system is an iterative process, and each iteration might require creating a number of informal and approximate sketches, whether drawn on napkins or saved digitally to a Visio or PowerPoint file.
Polymorphism, Method Hiding and Overriding in C#http://www.akadia.com/services/dotnet_polymorphism.htmlOnly methods in base classes need not override or hide derived methods. All methods in derived classes require to be either defined as new or as override.
TUP900 Line Mode DriverStar Micronics Legacy Printer Status MonitorOS: Win2K SP3, XP 32 Bit, Vista 32 Bit, Windows 7 32 Bit
http://www.starmicronics.com/supports/starlegacydrivers.aspx#TUP900Accelerated C# 2010http://apress.com/book/view/1430225378in most cases, any other managed language can consume managed assemblies. Therefore, you can easily create complex systems developed with multiple managed languages. For example, when creating some low-level types, C++/CLI may be the most natural language to get the job done, but it may make more sense to code the top-level user interface using either C# or Visual Basic and complex arithmetic code using F#. To provide interoperability between the various languages, the CLI defines a subset of the Common Type System (CTS) known as the Common Language Specification (CLS). If you use only CLS-compliant types in your assemblies, you are guaranteed that any managed language can consume them.
MailMessage ClassRepresents an e-mail message that can be sent using the SmtpClient class.
http://msdn.microsoft.com/en-us/library/system.net.mail.mailmessage.aspx
Windows 2008 R2
Overview of the compatibility considerations for 32-bit programs on 64-bit versions of Windows Server 2003 and Windows XPTo start a 32-bit command prompt, follow these steps:
Click Start, click Run, type %windir%\SysWoW64\cmd.exe, and then click OK.
http://support.microsoft.com/kb/896456Running 32-bit and 64-bit Snap-ins in 64-bit WindowsMicrosoft 64-bit operating systems can run both 32-bit MMC (MMC32) and 64-bit MMC (MMC64). MMC64 cannot run 32-bit snap-ins, and MMC32 cannot run 64-bit snap-ins. This topic describes how to determine and control which version of MMC is executed in 64-bit Windows.
MMC can be executed with command-line parameters, such as a console file name. Additionally, the following command-line switches are recognized by MMC64:
-32
-64
http://msdn.microsoft.com/en-us/library/aa815172.aspx
WCF
WCF RIA Services Code Galleryhttp://code.msdn.microsoft.com/RiaServicesendpoint.tv - High Performance WCF .NET Stock Trader with Greg Leakehttp://channel9.msdn.com/shows/Endpoint/endpointtv-High-Performance-WCF-NET-Stock-Trader-with-Greg-Leake/Building Distributed Applications: Principles of Service Design: Service Patterns and Anti-Patterns•When factoring services, model the business processes based upon existing documents and recognized business events.
•While it's important for service interfaces to be flexible, avoid being so flexible that the underlying service contract becomes unclear.
•Don't expect service consumers to "do the right thing." If your service requires consumers to execute a series of steps in a predefined manner look for patterns (such as reservation) to help enforce these steps.
•Never leave the service or its associated resources in an inconsistent state.
http://msdn.microsoft.com/en-us/library/ms954638.aspxWPF Sampleshttp://code.msdn.microsoft.com/wpfsamples/
.NET
Type Library Exporter (Tlbexp.exe)http://msdn.microsoft.com/en-us/library/hfzzah2c(VS.80).aspxExtension Methods (C# Programming Guide)Extension methods enable you to "add" methods to existing types without creating a new derived type, recompiling, or otherwise modifying the original type.
http://msdn.microsoft.com/en-us/library/bb383977.aspx.NET Framework 4 Dynamic Language Runtime Overviewhttp://msdn.microsoft.com/en-us/library/dd233052.aspxPro .NET 1.1 Network Programming, Second Editionhttp://apress.com/book/view/9781590593455
WindowsIdentity::Impersonate Methodhttp://msdn.microsoft.com/en-us/library/w070t6ka.aspxSocket.Send Method (Byte[], SocketFlags)For the embedded device supports the TCP port, you can send the commands over and receive the feedback.
http://msdn.microsoft.com/en-us/library/ms145160.aspx
How to Access Firewall in C# on Visual Studio 2010http://social.msdn.microsoft.com/Forums/en/csharplanguage/thread/3b49656c-0f50-4989-9aed-890aac7573dfAsynchronous Programming Using Delegateshttp://msdn.microsoft.com/en-us/library/22t547yb.aspx
WindowsIdentity ClassCall the GetCurrent method to create a WindowsIdentity object that represents the current user.
http://msdn.microsoft.com/en-us/library/e599ywa6(v=VS.100).aspx
Windows 7
ICredentialProviderEvents::CredentialsChanged MethodSignals the logon or credential UI that the enumerated list of credentials has changed.
http://msdn.microsoft.com/en-us/library/bb776006(VS.85).aspxNetGetJoinInformation FunctionThe NetGetJoinInformation function retrieves join status information for the specified computer.
http://msdn.microsoft.com/en-us/library/Aa370423NetGetDCName FunctionThe NetGetDCName function returns the name of the primary domain controller (PDC). It does not return the name of the backup domain controller (BDC) for the specified domain. Also, you cannot remote this function to a non-PDC server.
http://msdn.microsoft.com/en-us/library/aa370420(VS.85).aspx
Installer
Choosing a Windows Installer Deployment ToolInstallShield 2010 Limited Edition allows you to create a commercial product free within short period of development time
http://msdn.microsoft.com/en-us/library/ee721500.aspx
WinForm
How to: Make Thread-Safe Calls to Windows Forms Controlshttp://msdn.microsoft.com/en-us/library/ms171728(v=VS.100).aspxGetting the Most Out of the .NET Framework PropertyGrid Controlhttp://msdn.microsoft.com/en-us/library/aa302326.aspx
WPF
System.Windows.DependencyObjectYou need to add a property to a System.Windows.DependencyObject that provides support for any or all of the following:
Data bindings
Animation
Setting with a dynamic resource reference
Automatically inheriting a property value from a super-class
Setting in a style
Using property value inheritance
Notification through a callback when the value changes
This could be for a new UI control you are creating or simply a type that descends from DependencyObject.
http://msdn.microsoft.com/en-us/library/system.windows.dependencyobject.aspxApplication.DispatcherUnhandledException EventOccurs when an exception is thrown by an application but not handled. DispatcherUnhandledException is raised by an Application for each exception that is unhandled by code running on the main UI thread.
Exceptions raised on threads other than the main UI thread will not be rethrown on the UI thread by default; thus, DispatcherUnhandledException does not get raised. If this behavior is required, it will need to be implemented by handling the exception on the owning thread, dispatching it to the UI thread and then rethrowing the exception from the UI thread.
http://msdn.microsoft.com/en-us/library/system.windows.application.dispatcherunhandledexception.aspx.NET: .NET 3.5 CD Audio Player: Create a CD Audio Player in .NET 3.5 using WPF and DirectSoundLow-level device I/O to read the disk table of contents
Read audio data, and eject the disk
Socket code to connect to and send and receive disk information from freedb.org
Audio player using DirectSound to play the disk audio data, and a user interface Developed using WPF and XAML.
http://www.wrox.com/WileyCDA/WroxTitle/-NET-3-5-CD-Audio-Player-Create-a-CD-Audio-Player-in-NET-3-5-using-WPF-and-DirectSound.productCd-047028532X.html
Visual C++
ConnectionString, ConnectionTimeout, and State Properties Example (VC++)http://msdn.microsoft.com/en-us/library/ms678277(VS.85).aspxUsing the Strsafe.h Functions•The size of the destination buffer is always provided to the function to ensure that the function does not write past the end of the buffer.
•Buffers are guaranteed to be null-terminated, even if the operation truncates the intended result.
•All functions return an HRESULT, with only one possible success code (S_OK).
•Each function is available in a corresponding character count (cch) or byte count (cb) version.
•Most functions have an extended ("Ex") version available for advanced functionality.
http://msdn.microsoft.com/en-us/library/ms647466(VS.85).aspxINFO: Visual C++ Application Using ServerXMLHTTP or XMLHTTP in Async Mode Must Pump Messageshttp://support.microsoft.com/kb/303326Unreferenced Parameters, Adding Task Bar Commands, and Morehttp://msdn.microsoft.com/en-us/magazine/cc163805.aspxA Small And Fast XML Parser For Native C++http://msdn.microsoft.com/en-us/magazine/cc163436.aspx
Design Pattern
Provider Model Design Pattern and Specification, Part 1http://msdn.microsoft.com/en-us/library/ms972319.aspxProvider Design Pattern, Part 2http://msdn.microsoft.com/en-us/library/ms972370.aspx
The power of the provider design pattern is the ability to dynamically replace or extend the behavior of published APIs without needing source access to the API itself. The provider pattern is not just a data abstraction layer, but a full API abstraction layer. For the ASP.NET team, it means we can create implementations that ship with ASP.NET, but it also in turn means you can extend or replace our implementation with your own while still supporting a public API. Beautiful, isn't it?
Facade patternThe facade pattern is a software engineering design pattern commonly used with Object-oriented programming. (The name is by analogy to an architectural facade.)
A facade is an object that provides a simplified interface to a larger body of code, such as a class library. A facade can:
make a software library easier to use and understand and test, since the facade has convenient methods for common tasks;
make code that uses the library more readable, for the same reason;
reduce dependencies of outside code on the inner workings of a library, since most code uses the facade, thus allowing more flexibility in developing the system;
wrap a poorly-designed collection of APIs with a single well-designed API (as per task needs).
http://en.wikipedia.org/wiki/Facade_pattern
MISC
System.Net.WebRequest ClassMakes a request to a Uniform Resource Identifier (URI). This is an abstract class.
http://msdn.microsoft.com/en-us/library/system.net.webrequest.aspxThe Windows Forms Timer event is not raised in a Windows servicehttp://support.microsoft.com/kb/820639PRB: "Assembly Generation Failed" Error Message When You Try to Build a Managed DLL Without a Strong Namehttp://support.microsoft.com/kb/313666How to: Convert System::String to wchar_t* or char*http://msdn.microsoft.com/en-us/library/d1ae6tz5(v=VS.80).aspxVisual Studio Team System: Creating Unit Testshttp://msdn.microsoft.com/en-us/library/ms182523(v=VS.80).aspxA Unit Testing Walkthrough with Visual Studio Team Testhttp://msdn.microsoft.com/en-us/library/ms379625(VS.80).aspxCreate a system tray icon and a dialog for a Windows Servicehttp://www.codeproject.com/KB/system/SystemTrayIconInSvc.aspxAccessing System Power and Network Status Using SENShttp://msdn.microsoft.com/en-us/library/aa480679.aspxSystem Event Notification Services and WMI Enable Flexible, Efficient Mobile Network Computinghttp://msdn.microsoft.com/en-us/magazine/cc301850.aspxWindows Server 2008 R2 and Windows 7: The subscriber has a maximum of 3 minutes to respond to a notification on the ISensLogon and ISensLogon2 interfaces. After 3 minutes, SENS cancels the call to subscribers and unblocks the notification thread. If a lengthy operation is required to respond to the notification, return from ISensLogon or ISensLogon2 as quickly as possible and open another thread for processing.
Conversion between Unicode UTF-16 and UTF-8 in C++/Win32http://msmvps.com/blogs/gdicanio/archive/2010/01/04/conversion-between-unicode-utf-16-and-utf-8-in-c-win32.aspxMicrosoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security UpdateA security issue has been identified that could allow an attacker to compromise your Windows-based system with Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package.
http://www.microsoft.com/downloads/details.aspx?familyid=766A6AF7-EC73-40FF-B072-9112BAB119C2&displaylang=en#filelistSecurity Practices: .NET Framework 2.0 Security Practices at a Glancehttp://msdn.microsoft.com/en-us/library/aa480479.aspxVisual Studio 2008 Service Pack 1 ATL Security Updatehttp://www.microsoft.com/downloads/details.aspx?familyid=294DE390-3C94-49FB-A014-9A38580E64CB&displaylang=enWindows 7 features: Join Domainhttp://windows.microsoft.com/en-US/windows7/products/features/domain-joinAsynchronous Programming Overviewhttp://msdn.microsoft.com/en-us/library/2e08f6yc(VS.71).aspxhttp://msdn.microsoft.com/en-us/library/h80ttd5f(VS.71).aspxInversion of Control and Dependency Injectionhttp://msdn.microsoft.com/en-us/library/aa973811.aspxHow to: Enable Authentication in RIA Serviceshttp://msdn.microsoft.com/en-us/library/ee707353(VS.91).aspxModel Validation & Metadata in ASP.NET MVC 2http://msdn.microsoft.com/en-us/magazine/ee336030.aspx
MIDI Music in WPF Applicationshttp://msdn.microsoft.com/en-us/magazine/ee336028.aspxIntelliTrace Info : IntelliTrace in Visual Studio 2010 Ultimatehttp://blogs.msdn.com/ianhu/archive/2009/05/13/historical-debugging-in-visual-studio-team-system-2010.aspxIntroducing .NET 4.0: with Visual Studio 2010http://apress.com/book/view/143022455XTest Run - Testing Silverlight Apps Using Messageshttp://msdn.microsoft.com/en-us/magazine/ee336032.aspx
Mutex.WaitOne Methodhttp://msdn.microsoft.com/en-us/library/system.threading.mutex.waitone.aspxMonitor.TryEnter Method (Object, TimeSpan)http://msdn.microsoft.com/en-us/library/zxbdx9xx.aspxAsynchronous Delegates Programminghttp://msdn.microsoft.com/en-us/library/h80ttd5f.aspxActivator::GetObject Method (Type, String)Creates a proxy for the well-known object indicated by the specified type and URL.
http://msdn.microsoft.com/en-us/library/0315hz94.aspxHow To Handle Document Events in a Visual Basic .NET Applicationhttp://support.microsoft.com/kb/311284Tuning a Parallel Ray Tracer in F#http://blogs.msdn.com/visualizeparallel/archive/2010/01/19/tuning-a-parallel-ray-tracer-in-f.aspx
PRACTICAL PARALLEL RENDERINGhttp://www.akpeters.com/product.asp?ProdCode=1799ACCESSING A RMI/IIOP-BASED CORBA OBJECT WITH .NET REMOTINGhttp://iiop-net.sourceforge.net/rmiAdderDNClient.htmlJavaTM RMI over IIOPhttp://java.sun.com/j2se/1.4.2/docs/guide/rmi-iiop/ChannelServices Classhttp://msdn.microsoft.com/en-us/library/system.runtime.remoting.channels.channelservices.aspxRemotingServices.Connect MethodVisualBasic,C The following example demonstrates how to use the Connect method to create a proxy to a well-known object.
http://msdn.microsoft.com/en-us/library/system.runtime.remoting.remotingservices.connect(VS.71).aspxVisual Studio 2008 Service Pack 1 Remote Debuggerhttp://www.microsoft.com/downloads/details.aspx?FamilyID=440ec902-3260-4cdc-b11a-6a9070a2aaab&displaylang=enSolving 11 Likely Problems In Your Multithreaded Codehttp://msdn.microsoft.com/en-us/magazine/cc817398.aspxWalkthrough: Debugging a Parallel ApplicationVisual Studio Debugger
Walkthrough: Debugging a Parallel Application
This walkthrough shows how to use the Parallel Tasks and Parallel Stacks windows to debug a parallel application. These windows help you understand and verify the runtime behavior of code that uses the Task Parallel Library or the Concurrency Runtime. This walkthrough provides sample code that has built-in breakpoints. After the code breaks, the walkthrough shows how to use the Parallel Tasks and Parallel Stacks windows to examine it.
http://msdn.microsoft.com/en-us/dd554943(VS.100).aspxProtect Your Data Via Managed Code And The Windows Vista Smart Card APIshttp://msdn.microsoft.com/en-us/magazine/cc163521.aspxHP ProtectTools security managerhttp://h20331.www2.hp.com/Hpsub/cache/292230-0-0-225-121.htmlThe free Java implementation of the OMG's CORBA standardhttp://www.jacorb.org/'IServiceProvider' : ambiguous symbolC2872 sometimes complains about IServiceProvided by surprise for people doing mixed managed/unmanaged code. The general good-practice rules will resolve it:
http://msdn.microsoft.com/en-us/library/t57wswcs(VS.80).aspxDebugger.Launch MethodLaunches and attaches a debugger to the process. This is especially useful when debugging a Windows Service.
http://msdn.microsoft.com/en-us/library/system.diagnostics.debugger.launch.aspxWebBrowser.ShowPageSetupDialog Method This method displays the Page Setup dialog box, which lets your users specify header and footer values and other page settings prior to printing.
http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.showpagesetupdialog.aspxMonitor::Enter Method // A queue that is protected by Monitor
private Queue<T> m_inputQueue = new Queue<T>();
Monitor.Enter(m_inputQueue);
Monitor.Exit(m_inputQueue);
http://msdn.microsoft.com/en-us/library/de0542zz.aspxCB_FINDSTRING Messagehttp://msdn.microsoft.com/en-us/library/bb775835(VS.85).aspxSendMessage FunctionSendMessage(hPage, WM_GETTEXT, sizeof(sLetter), (LPARAM) sLetter);
SendMessage(hPage, CB_SETCURSEL, 2, 0);
SendMessage(hWnd, WM_COMMAND, IDOK, 0);
http://msdn.microsoft.com/en-us/library/ms644950(VS.85).aspxSCJP Exam for J2SE 5: A Concise and Comprehensive Study Guide for The Sun Certified Java Programmer Examhttp://apress.com/book/view/9781590596975Application.DoEvents MethodWhen you run a Windows Form, it creates the new form, which then waits for events to handle. Each time the form handles an event, it processes all the code associated with that event. All other events wait in the queue. While your code handles the event, your application does not respond. For example, the window does not repaint if another window is dragged on top
http://msdn.microsoft.com/en-us/library/system.windows.forms.application.doevents.aspxThe Common Object Request Broker Architecture (CORBA)It is a standard defined by the Object Management Group (OMG) that enables software components written in multiple computer languages and running on multiple computers to work together, i.e. it supports multiple platforms.
http://en.wikipedia.org/wiki/Common_Object_Request_Broker_ArchitectureIIOP.NETItallows a seamless interoperation between .NET, CORBA and J2EE distributed objects. This is done by incorporating CORBA/IIOP support into .NET, leveraging the remoting framework.
http://iiop-net.sourceforge.net/Visual Studio Team System 2008 Team Foundation Server Power Tools - October 2008 Releasehttp://www.microsoft.com/downloads/details.aspx?FamilyId=FBD14EEA-781F-45A1-8C46-9F6BA2F68BF0&displaylang=enWhat is the difference between “dynamic” and “object” keywords?http://blogs.msdn.com/csharpfaq/archive/2010/01/25/what-is-the-difference-between-dynamic-and-object-keywords.aspxMicrosoft Application Architecture Guide, 2nd Editionhttp://msdn.microsoft.com/en-us/library/dd673617.aspxMicrosoft.Web.UI.WebControls Assembly Referencehttp://msdn.microsoft.com/en-us/library/ms529711(VS.85).aspxCreateProcessAsUser() windowstations and desktopshttp://support.microsoft.com/kb/165194Tuples, Anonymous Types, and Concrete Typeshttp://msdn.microsoft.com/en-us/vcsharp/ee957397.aspxTuples solve a related problem. Tuples are immutable. They are syntactic types: tuples have no behavior described for a specific tuple. There is one advantage tuples have over anonymous types: Tuples are not anonymous types, so they can be used as return values or method parameters. But that advantage comes at a price. Tuples do not have names that carry any meaning to developers. The individual properties on a Tuple are named “Item1”, “Item2” and so on.
How to create threads in Visual C++ .NET or in Visual C++ 2005http://support.microsoft.com/kb/815805 using namespace System::Threading;
private: Thread *trd;
ThreadStart *myThreadDelegate = new ThreadStart(this, repeat);
trd = new Thread(myThreadDelegate);
trd->IsBackground = true;
trd->Start();
Somasegar's Bloghttp://blogs.msdn.com/somasegar/http://blogs.msdn.com/somasegar/archive/2010/01/11/entity-framework-in-net-4.aspxhttp://blogs.msdn.com/somasegar/archive/2009/12/17/visual-studio-2010-and-net-framework-4-beta-period-extended.aspxMSDN magazine 2010 Januar: Discover a New WCF with Discoveryhttp://msdn.microsoft.com/en-us/magazine/ee335779.aspxWindows Driver Kit 7.0http://www.microsoft.com/downloads/details.aspx?FamilyID=2105564e-1a9a-4bf4-8d74-ec5b52da3d00&displaylang=enUSB Complete: The Developer's Guide, Fourth Editionhttp://www.lvr.com/X-CTU downloadhttp://www.digi.com/support/productdetl.jsp?pid=3352&osvid=57&tp=5&s=316Digital Visual Interfacehttp://en.wikipedia.org/wiki/Digital_Visual_InterfaceWindows 7 for Developers - The Windows Bloghttp://windowsteamblog.com/blogs/developers/default.aspxMicrosoft Sysinternals Suitehttp://technet.microsoft.com/en-us/sysinternals/bb842062.aspxWindows 7 Training Kit For Developershttp://www.microsoft.com/downloads/details.aspx?familyid=1C333F06-FADB-4D93-9C80-402621C600E7&displaylang=enWindows 7 Training Kit for Developer: Session 0 Isolation hands-on-labhttp://windowsteamblog.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/developers.CodeSamples.AppCompat/Session-0-Isolation.zipProcess Monitor v2.8http://technet.microsoft.com/en-us/sysinternals/bb896645.aspxWCF Multi-tier Services Development with LINQhttp://www.packtpub.com/wcf-multi-tier-services-development-with-linq/bookCrystal Consulting on Facebook:
http://www.facebook.com/pages/Dix-Hills-NY/Crystal-Consulting/261183333407?ref=tsBeginning SQL Queries: From Novice to Professionalhttp://www.apress.com/book/view/9781590599433Misusing Select Operations to Answer Questions with the Word "not"It is easy to find the people who have entered tournament 36 with the condition e.TourID = 36. It is tempting to try to retrieve the people who have not entered tournament 36 by changing the condition slightly.
Incorrect SQL to Retrieve People Who Have Not Entered Tournament 36SELECT e.MemberID
FROM Entry e
WHERE e.TourID <> 36
Can you figure out what rows the SQL query will retrieve? The query in returns all the people who have entered some tournament that isn't 36 (which is unlikely to be a question you'll ever want to ask!).
This is another type of question that can't be answered with a simple select operation that looks at independent rows in a table. In fact, we can't even do this with a query that involves just the Entry table. Member 138 Michael Stone has not entered tournament 36, but he doesn't even get a mention in the Entry table because he has never entered any tournaments at all.
Microsoft® SQL Server® 2008 Management Studio Expresshttp://www.microsoft.com/downloads/details.aspx?FamilyID=08E52AC2-1D62-45F6-9A4A-4B76A8564A2B&displaylang=enSQL 2008 Service Pack 1http://www.microsoft.com/downloads/details.aspx?FamilyID=66ab3dbb-bf3e-4f46-9559-ccc6a4f9dc19&displaylang=enNorthwind and pubs Sample Databases for SQL Server 2000http://www.microsoft.com/downloadS/details.aspx?familyid=06616212-0356-46A0-8DA2-EEBC53A68034&displaylang=enMicrosoft® Silverlight™ 3 Tools for Visual Studio 2008 SP1http://www.microsoft.com/downloads/details.aspx?FamilyID=9442B0F2-7465-417A-88F3-5E7B5409E9DD&displayLang=enMicrosoft® Silverlight™ 3 SDKhttp://www.microsoft.com/downloads/details.aspx?FamilyID=1ea49236-0de7-41b1-81c8-a126ff39975b&displaylang=enPro ADO.NET Data Services: Working with RESTful Datahttp://www.apress.com/book/view/9781430216148JSON (JavaScript Object Notation) is a lightweight data-interchange formathttp://www.json.org/
ADO.NET Data Services architecture*ADO.NET Data Services serializes messages into either Atom or JSON format.
*Atom is a subset of XML defined by a prewritten XML schema.
*JSON is not XML based defined by a standard contained in RFC 4627.
*Every data item in a Atom or JSON message contains both the data and the type of data being sent or received.
*For SOAP services, types are defined by a separate XML schema rather than being part of the message itself.
ADO.NET Data Services v1.5 CTP2http://www.microsoft.com/downloads/details.aspx?FamilyID=a71060eb-454e-4475-81a6-e9552b1034fc&displaylang=enMSDN Magazine 2009 December: Building a Desktop To-Do Application with NHibernatehttp://msdn.microsoft.com/en-us/magazine/ee819139.aspxSep by Step: Using Microsoft Device Emulator In-Depth in Your Application Development Experiencehttp://msdn.microsoft.com/en-us/library/bb278114.aspx
Programming Windows® Embedded CE 6.0 Developer Reference, Fourth Editionhttp://www.microsoft.com/mspress/companion/9780735624177/
Use Your Nokia Phone As A Modemhttp://www.pctoday.com/editorial/article.asp?article=articles/2007/t0501/20t01/20t01.aspPro WF: Windows Workflow in .NET 3.5
http://www.apress.com/book/view/9781430209751How to: Compile at the Command PromptMSBuild.exe is located in %systemroot%\Microsoft.NET\Framework\version. The system path variable must include this path.
http://msdn.microsoft.com/en-us/library/ms172492.aspxProgramming Windows Services with Microsoft Visual Basic 2008http://www.microsoft.com/learning/en/us/book.aspx?ID=11309&locale=en-us
New Authentication Functionality in Windows Vistahttp://blogs.msdn.com/windowsvistasecurity/archive/2006/08/25/724271.aspxLaunch your application in Vista under the local system account without the UAC popuphttp://www.codeproject.com/KB/vista-security/VistaSessions.aspxStarting an Interactive Client Process in C++http://msdn.microsoft.com/en-us/library/aa379608(VS.85).aspxHow to enable and use the "Run As" command when running programs in Windowshttp://support.microsoft.com/kb/294676Applications Started with AT Are Not Interactivehttp://support.microsoft.com/kb/121562/EN-US/Windows Service: Launch process (application) with current logged on user's credentialhttp://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/6bc5b973-c5e1-4331-ab9c-632d63065dc5Impact of Session 0 Isolation on Services and Drivers in Windowshttp://www.microsoft.com/whdc/system/sysinternals/Session0Changes.mspxWindow Stations and Desktopshttp://msdn.microsoft.com/en-us/library/ms687098(VS.85).aspxInteractive Serviceshttp://msdn.microsoft.com/en-us/library/ms683502(VS.85).aspxParent Control Barhttp://www.wraac.org/Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1Windows 7; Windows Server 2003; Windows Server 2008; Windows Vista; Windows XP
http://www.microsoft.com/downloads/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&displaylang=enNovell Client for Windows VISTA/Windows 7/Windows 2008http://www.novell.com/products/clients/C# 2008 and 2005 Threaded Programming: Beginner's Guidehttp://www.packtpub.com/beginners-guide-for-C-sharp-2008-and-2005-threaded-programming/bookImproving the Start-up Performance of the WPF and Silverlight Designer in Visual Studio 2010 Beta 2http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/4511d43f-c134-4329-a970-e374252a620eParallel Computinghttp://msdn.microsoft.com/en-us/concurrency/default.aspxDispatcher Classhttp://msdn.microsoft.com/en-us/library/system.windows.threading.dispatcher.aspxIn WPF, most objects ultimately derive from System.Windows.Threading.DispatcherObject, and only the thread that created a DispatcherObject may access that object. For example, a background thread cannot update the contents of a System.Windows.Controls.TextBox that was created on the UI thread.

The DispatcherObject has a method called BeginInvoke, which takes a System.Delegate as one of its parameters. When BeginInvoke is called, the Dispatcher will schedule this delegate for execution in its event queue. When it is due execution, the Dispatcher will execute this delegate on the same thread on which its owner was created. The BeginInvoke method is asynchronous and returns to the caller immediately.
How Do I: Automate Team Build?http://msdn.microsoft.com/en-us/teamsystem/bb905523.aspxHow To: Create Your Source Tree in Visual Studio Team Foundation Serverhttp://msdn.microsoft.com/en-us/library/bb668981.aspxWindows Embedded POSReady 2009 Evaluation CDhttp://www.microsoft.com/downloads/details.aspx?FamilyID=1E077ECE-3F19-4C41-B219-6FCC821FB5FC&displaylang=enCustom Credential Provider for Password Resethttp://blogs.technet.com/aho/archive/2009/11/15/custom-credential-provider-for-password-reset.aspxWhat's New in Visual C# 2010/C# 4.0 LanguageDynamic Support: dynamic
Office Programmability: Named and Optional Arguments, Type Dynamic
Covariance and Contravariance: Covariance enables you to use a more derived type than that specified by the generic parameter, whereas contravariance enables you to use a less derived type.
http://msdn.microsoft.com/en-us/library/bb383815(VS.100).aspxThis guide can help you with the installation of Mac OS X on a Windows PChttp://wiki.osx86project.org/wiki/index.php/Vmware_how_toVisual Studio Conversion Wizardhttp://msdn.microsoft.com/en-us/library/60z6y467.aspxUse this wizard to convert a solution or project to the project file format that is used by the current version of Visual Studio. To automate the conversion of many solutions or projects, you can create a batch file that uses the command-line upgrade tools. For more information, see /Upgrade (devenv.exe).
Fishbowl brings Facebook to your desktophttp://www.fishbowlclient.com/Fully integrated with Microsoft Windows 7 features such as the new taskbar so you can monitor Facebook activity and friends at a glance. Multitouch navigation and image gestures to navigate and view your photos.
Facebook Developer Toolkithttp://facebooktoolkit.codeplex.com/Reactive Extensions for .NET (Rx)Rx is a library for composing asynchronous and event-based programs using observable collections.
http://msdn.microsoft.com/en-us/devlabs/ee794896.aspxMy first Rx App:
ImageMagick® is a software suite to create, edit, and compose bitmap imageshttp://www.imagemagick.org/How to: Create Primary Keys (Visual Database Tools)http://msdn.microsoft.com/en-us/library/ms189039.aspxFailed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closedOne of the solution's to delete the following folder on your hard drive: c:\Documents and Settings\
user\Local Settings\Application Data\Microsoft\Microsoft SQL Server Data\SQLEXPRESS
TS: Microsoft .NET Framework - Application Development Foundationhttp://www.microsoft.com/learning/en/us/exam.aspx?ID=70-536Security Enhancements in the CRT: _CRT_SECURE_NO_WARNINGShttp://msdn.microsoft.com/en-us/library/8ef0s5kh(vs.80,printer).aspxNew Language Features in Visual C++This page is specific to:.NET Framework Version:2.03.03.54.0
http://msdn.microsoft.com/en-us/library/xey702bw(VS.80).aspxWindows 7 BETA Drivers and Utilitieshttp://www-307.ibm.com/pc/support/site.wss/WIN7-BETA.htmlSilverlight 4 Beta Informationhttp://silverlight.net/getstarted/silverlight-4-beta/Visual Studio 2010 can be installed side-by-side with Visual Studio 2008 SP1. For Silverlight 4 development, you will need Visual Studio 2010.
Limitations and Summary:
http://tomasz.janczuk.org/2009/11/wcf-nettcp-protocol-in-silverlight-4.html'
*Initialization of Mixed Assemblies*
[url:http://msdn.microsoft.com/en-us/library/ms173266(VS.80).aspxX-CTU downloadhttp://www.digi.com/support/productdetl.jsp?pid=3352&osvid=57&tp=5&s=316Windows 7 SDKhttp://www.microsoft.com/downloads/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&displaylang=enWindows 7 for Developers - The Windows Bloghttp://windowsteamblog.com/blogs/developers/default.aspxWindows 7 Ribbon Deep Divehttp://channel9.msdn.com/posts/yochay/Windows-7-Ribbon-Deep-Dive/Windows 7 Ribbon Samplehttp://www.microsoft.com/downloads/details.aspx?familyid=141e13e8-b10b-4356-aaa5-609b2981574a&displaylang=enDetecting USB device insertion and removalhttp://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/ea183afd-d070-4abd-8e00-a1784fdfedc5/How to receive notification of CD-ROM insertion or removalhttp://support.microsoft.com/kb/163503Windows 7 Training Kit for Developershttp://www.microsoft.com/downloads/thankyou.aspx?familyId=1c333f06-fadb-4d93-9c80-402621c600e7&displayLang=enhttp://www.microsoft.com/downloads/thankyou.aspx?familyId=1c333f06-fadb-4d93-9c80-402621c600e7&displayLang=en
Dsiable Last Logon User on Windows 7:1. Gpedit.msc
2. Windows settings -> Security settings -> Local Policy -> Security Options -> Interactive Logon -> Do not display last username: Enabled
Disable "Switch Users" on Windows 7:1. Gpedit.msc
2. Local computer policy -> Administrative Templates -> System -> Logon -> Hide entry point for Fast User Switching
3. Enabled
How to apply customized background on Windows 7:1. HKLM\Windows\CurrentVersion\Authentication\LogonUI\Backgroup
OEMBackgroup DWORD 1
2. Copy the customized background into <systemdir>\oobe\info\backgrounds\backgroundDefault.jpg
How to disable "Ctrl+Alt+Del" on Windows 7?HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
DisableCAD REG_DWORD 1
Tweak your Windows 7 Logon UI “button set”:ur:http://www.withinwindows.com/2009/06/13/tweak-your-windows-7-logon-ui-button-setWindows 7 to officially support logon UI background customization:http://www.withinwindows.com/2009/03/15/windows-7-to-officially-support-logon-ui-background-customizationVisual Studio 2010 and .NET Framework 4.0 Beta 2 is available. You should try the WPF Master/Detail Data binding. It is now as easy as using WinForm with DataSet/Entify Framework.http://msdn.microsoft.com/en-us/vstudio/dd582936.aspxCustomizing GINA, Part 1:http://msdn.microsoft.com/en-us/magazine/cc163803.aspxCustomizing GINA, Part 2:http://msdn.microsoft.com/en-us/magazine/cc163786.aspxWindows User Experience Interaction Guidelines (UX Guide) ) for Windows 7 and Windows Vista:http://www.microsoft.com/Downloads/details.aspx?familyid=E49820CB-954D-45AE-9CB3-1B9E8EA7FE8C&displaylang=enWindows 7 Developer Guide:http://code.msdn.microsoft.com/Win7DeveloperGuideWindows XP to Windows 7 (XP2Win7):http://tinyurl.com/ltxfrd.NET Rx Framework: Asynchronous Development with LINQ over Events:http://blogs.msdn.com/innov8showcase/archive/2009/10/04/net-rx-framework-asynchronous-development-with-linq-over-events.aspxHow to: Safely Cast by Using as and is Operators:http://msdn.microsoft.com/en-us/library/cc488006.aspx Windows® API Code Pack for Microsoft® .NET Framework for Windows 7:http://code.msdn.microsoft.com/WindowsAPICodePack C# Screen Saver sample:http://msdn.microsoft.com/en-us/library/ms686421(VS.85).aspx Windows Vista Credential Provider Samples - It is also part of Windows 7 SDK:http://www.microsoft.com/downloads/details.aspx?FamilyID=b1b3cbd1-2d3a-4fac-982f-289f4f4b9300&displaylang=en Create Custom Login Experiences With Credential Providers For Windows Vista:http://msdn.microsoft.com/en-us/magazine/cc163489.aspx Using System.DirectoryServices to Search the Active Directoryhttp://msdn.microsoft.com/en-us/library/ms973834.aspx Silverlight/RIA: Out of browser support
Application using Composition Application Guideline for WPF and Sliverlight/RIA
UML design
Control System UML Design.pptxHow to use ASMX and WCF services.docxSilverlight RIA:
http://blogs.msdn.com/brada/archive/2009/03/17/mix09-building-amazing-business-applications-with-silverlight-3.aspxRIA/Sliverlight: Retrieve data from database through Domain Service hosted on the web server
Get Started with F#
F# is a multiparadigm language that provides support for functional programming as well as traditional object-oriented and imperative (procedural) programming. The Visual F# product provides support for developing F# applications or extending other .NET applications with F# code. F# is a first class member of the .NET family of languages and retains a strong resemblance to the ML family of functional languages.
Cloud Computing - Microsoft Azure
The Azure Services Platform is an internet-scale cloud computing and services platform hosted in Microsoft data centers. The Azure Services Platform includes the foundation layer of Windows Azure as well as a set of developer services which can be used individually or together.
WinForm CAN Monitor Application
This WinForm application can monitor CAN Bus (J1939) in real time. A filter is provided so that you can monitor only messages you would like to monitor. In additon, you can export the data into a Excel.
User Interface Design Guideline
User interface is always the most essential part to the success of your product. It is the 7 seconds rule the end users will simply go away if the product does not have a good user interface. More guidelines, principals and material will be covered here.
The Microsoft Office Fluent user interface overview http://office.microsoft.com/en-us/products/HA101679411033.aspx
http://crystalconsultingny.blogspot.com