
dev
Get flash to fully experience Pearltrees
Simplifying the WPF TreeView by Using the ViewModel Pattern
Introduction This article explores how to use the ViewModel pattern to make it easier to work with the TreeView control in WPF. Along the way, we examine why people often have difficulty with the WPF TreeView , what a ViewModel is, and two demo applications that show how to combine a TreeView with a ViewModel. One of the demos shows how to create a searchable TreeView , the other demonstrates how to implement lazy-loading (a.k.a. load-on-demand). Background of TreeView The TreeView control in WPF has gained an undeserved bad reputation.One WPF control that we haven't taken a look at here on SOTC is the TreeView . Well, no more! Today we are going to rectify that, as we build an application that not only uses the TreeView , but also dynamically loads data into it on demand.
WPF Tutorial - Dynamic Data and the TreeView
Méthodologie Model-View-ViewModel avec WPF
Dans cet article, je présente une méthodologie, appelée MVVM pour Modèle-Vue-VueModèle. MVVM permet de tirer partie des bénéfices de la plateforme WPF tout en conservant une application correctement architecturée, maintenable et testable. Vous remarquerez que tout au long de l'article, j'utilise plus le terme méthodologie que design pattern pour parler de MVVM. Ce choix est personnel, et les ressources que l'on trouve sur le sujet, notamment en anglais, utilisent parfois la deuxième terminologie. J'estime que le lecteur connaît les fondamentaux de WPF (XAML, Databinding, Commandes, etc.) et de la plateforme .Net. C'est le langage C# qui sera utilisé dans les exemples de code.Building a DLL with Visual C++
JavaScript RegExp Object - Using Regular Expressions with Client Side Scripting
JavaScript 1.2 and later has built-in support for regular expressions. MSIE 4 and later, Netscape 4 and later, all versions of Firefox, and most other modern web browsers support JavaScript 1.2. If you use JavaScript to validate user input on a web page at the client side, using JavaScript's regular expression support will greatly reduce the amount of code you need to write. JavaScript's regular expression flavor is part of the ECMA-262 standard for the language. This means your regular expressions should work exactly the same in all implementations of JavaScript (i.e. in different web browsers).Perl 5 introduced two very powerful constructs: "lookahead" and "lookbehind". Collectively, these are called "lookaround". They are also called "zero-width assertions". They are zero-width just like the start and end of line , and start and end of word anchors that I already explained.
Regex Tutorial - Lookahead and Lookbehind Zero-Width Assertions
Localisation de vos applications .NET avec Visual Studio
Date de publication : 07/12/2004 , Date de mise a jour : 07/12/2004 Par LEBRUN Thomas (Autres Articles) Dans cet article, vous apprendrez comment rendre vos applications localisables, c'est à dire multi-langues. I. Introduction II. Définition III.Setting up SSL correctly with IIS and ASP.NET - Paul Wilson's .NET Blog
I recently acquired an SSL certificate for my client, and I discovered that while things are not that hard to setup, there are also things that are not really documented anywhere. First, lets assume that you actually want to force SSL, which seems like a good thing in many cases, but you also want to have an automatic and graceful redirect should someone try to use regular http. So what do we do? You could add code to all of your pages, or to your base page, or in the global events, to check if https was used, and if not then issue a redirect to https -- you could, but I wouldn't.gal
veille
devWeb

