Threading in C# Joseph Albahari Last updated: 2011-4-27 Translations: Chinese | Czech | Persian | Russian | Japanese Download PDF Part 1: Getting Started
C# Tutorial - Using The ThreadPool A thread pool takes away all the need to manage your threads - all you have to do is essentially say "hey! someone should go do this work!", and a thread in the process' thread pool will pick up the task and go execute it. And that is all there is to it.
www.dotnet-france.com/Documents/WCF/Hebergement et configuration de services WCF.pdf
.NET et les threads Le multithreading est utilisé un peu partout. Vous voulez faire un application réseau et vous avez besoin de traiter les données de façon parrallèle, ou bien vous voulez parralléliser des traitements de calcul, mettre à jour une interface graphique pendant qu'un traitement se déroule... Lorsque vous faites du multithreading, des "problèmes" apparaissent comme le partage de ressources ou l'interbloquage. Vous trouverez dans ce document comment manipuler les threads et comment gérer les problèmes liés au multithreading.
Hosting EXE Applications in a WinForm project Download demo project and source- 15.6 Kb Introduction Though not a common task, recently I needed to take an existing executable application and embed it into an application I was building. Oddly enough, I did not need any interaction between my application and the existing EXE. As it ends up, this is not a difficult thing to do. To make it even easier, I created a custom C# control that allows you to specify the name of an executable you want embedded into your application.
Preprocessor Directive Conditionally includes source code at compile-time. #IF nExpression1 | lExpression1 Commands [#ELIF nExpression2 | #ELIF lExpression2 Commands... #ELIF nExpressionN | #ELIF lExpressionN Commands] [#ELSE Commands] #ENDIF Parameters #IF nExpression1| lExpression1Commands nExpression1 specifies the numeric expression that is evaluated.
RegExp ASP.NET Cours accéléré Steven A. Smith S'applique à : Microsoft® .NET Framework Microsoft® ASP.NET API d'expression régulière
C# Tutorial - Serialize Objects to a File While storing information in memory is great, there comes a time your users will have to shut your application down. This means (probably) that you will need to write information to a file at some point, because you will want to store whatever data was in memory. Today, we are going to take a look at a feature built into .NET called Serialization that makes writing and reading data structures to and from a file extremely easy. For this example, let's say I want to create a program that keeps track of all the cars my friends own. I'm going to create two objects to achieve this: Car and Owner.
A List can be serialized to the disk. We want to serialize (to a file) a List of objects. The next time the program runs, we get this List straight from the disk. Serialize List Tutorial
Les meilleurs outils pour .NET
.NET Framework 4 The .NET Framework is a development platform for building apps for Windows, Windows Phone, Windows Server, and Windows Azure.
Tray Icon There are many cases when it's advantageous to place an application's icon in the System Tray. For example, firewall/antivirus and instant messaging applications do this so as to run in the background and still be accessible to the user without crowding up the task bar. In this week's installment of my .NET Tips and Techniques series, I'll show you the steps involved in specifying that an application is to be minimized to the Tray, how to allow the user to restore the application by double-clicking the icon and how to create and respond to a System Tray icon's context menu. To get started, open an existing C# Windows form (or create a new one).Open the Visual Studio Toolbox.Drag a NotifyIcon control onto the form. The control will named notifyIcon1 by default and placed below the form because it has no visual representation on the form itself.Set the NotifyIcon control's Text property to the name you want to appear when the user pauses the mouse over the application's icon.
Langages et outils de développement Changer de bibliothèque MSDN Library Le sujet que vous avez demandé est indiqué ci-dessous. Toutefois, ce sujet ne figure pas dans la bibliothèque. BackgroundWorker