Browse by Tags

Tagged Content List
  • Wiki Page: WPF: Tips - Bind to Current item of Collection

    Table of Contents Introduction Explanation What About That Slash? Why Use This? Property List Editing Introduction A little known and hence under-used aspect of WPF Binding is the ability to bind to the " current " item in a collection's view. Broadly speaking, this substitutes...
  • Wiki Page: C#: Practical Poly

    Table of Contents Introduction Intended Audience The Requirement What Code to Share - and How Over Riding What Override Does Process Flow The Visual Aid The Code - Publish Code - Menu Markup CommandVM CommandMessage MainWindowViewModel The Code - Subscribe CrudVMBase CustomersViewModel Summary Alternative...
  • Wiki Page: Document Your Active Directory Organization

    Table of Contents Introduction Assign Managers to Users in ADUC Reveal Hierarchy with a Recursive Function How the Script Works Creating the DirectorySearcher Object The Get-Reports Function is Called the First Time Get-Reports is Called Recursively Output File Created by the Script Code for CSV and...
  • Wiki Page: Data Parallelism (Task Parallel Library)

    The Task Parallel Library (TPL) was introduced in .NET Framework 4 and it is still the preferred way to write multi threaded and parallel code. TPL is a set of public types and APIs in the System.Threading and System.Threading.Tasks namespaces. TPL is mainly categorized into following three categories...
  • Wiki Page: T-SQL: How the Order of Elements in the ORDER BY Clause Implemented in the Output Result

    Table of Contents Introduction Case Study Solution Example 1 Example 2 Conclusion See Also Introduction This article shows that the elements list order in the ORDER BY clause in one SQL query is very important. We will see how changing the order of these elements can change the output...
  • Wiki Page: BizTalk Server 2013 - Perform a Function in Oracle 11g XE using the BizTalk Adapter Pack

    Table of Contents Introduction The Oracle Database Adapter Scenario Prerequisites Building the solution Deploy and configure the solution Test the solution Wrap up See Also Introduction The BizTalk Adapter Pack is an add-on to the out-of the box BizTalk adapters. The first adapter pack was a wrapper...
  • Wiki Page: BizTalk: How to (un)deploy T-SQL scripts with BTDF

    Table of Contents Introduction Store T-SQL scripts in your solution Create variables in the Settings File Enabling a variable in the Deployment project Prepare the 'Master' T-SQL scripts Copy T-SQL scripts to File System Preprocess the ‘Master’ T-SQL scripts Deployment of the T-SQL scripts Undeployment...
  • Wiki Page: BizTalk Server 2013 R2 JSON support and integration with Cloud API's

    Table of Contents Introduction Scenario's Building the BizTalk solution Exposing schema’s as service Create a custom receive pipeline Creating and configuring the Send Port with the Web-Http adapter Test the solutions Wrap up See Also Introduction BizTalk Server 2013 introduced a couple of...
  • Wiki Page: T-SQL: Delete All Rows From a Table Except Top(N) Rows

    Table of Contents Introduction Problem Solutions Huge Table Truncate Table Delete in Chunks Small Table Conclusion See Also Introduction This article is the outcome of an MSDN forum question . The problem is how to delete all rows from a table except the Top (N) rows, for example, leaving...
  • Wiki Page: Windows Store Apps: Invoke ScriptNotify event when we click a button inside a WebView

    Table of Contents Scope Introduction Description Running the application Source Code Files Source Code Scope This article demonstrates how to invoke the ScriptNotify event on clicking the button in a web page hosted by a WebView. Introduction In Windows Store apps it is possible...
  • Wiki Page: WPF: Property List Editing

    Table of Contents Introduction The Usual WPF Approach A List of Them Show Me the Code MainWindow EditRow Dictionary1 Conclusion Other Alternatives Introduction A very common User Interface layout for editing data is a list of labelled fields/properties. The label describes what the field is...
  • Wiki Page: Microsoft OCR Library for Windows Runtime

    Table of Contents Introduction Using the Microsoft OCR Library Step 1: Install the nuget package Step 2: Create and instance of OcrEngine. Step 3: Select which image file to use and open a random-access stream oven the file. Step 4: Create an instance of the image decoder. Step 5: Get the image width...
  • Wiki Page: WPF: Keeping your MVVM Views DRY

    Table of Contents Introduction Sample Requirements A Solution Templating a ContentControl Explaining the Sample In the Window MainWindowViewModel The Template BindingErrorEventArgsConverter ConversionErrorCommand RoutedEventTrigger ErrorToolTip Alternative Solutions Code Behind Base Window Inheriting...
  • Wiki Page: WPF: CollectionView Tips

    Table of Contents Introduction Audience Broad Functionality Particular Advantages Usage Usage Introduction First obtain your CollectionView Sorting Filtering Simple Filtering Slightly more Complicated Complicated Filtering Performance and Repository Programmatic Selection of Record The Good The not so...
  • Wiki Page: WPF ComboBox Binding in DataGrid

    One problem for developers new to XAML is binding a combobox in a DataGrid. This is a fairly common question in the WPF forum so posters are somehow not finding an article which helps them. Maybe they find a resource but it's not clear enough how things work - this is quite a complicated and...
  • Wiki Page: Communicating Between Classes

    Table of Contents Common Use Cases Include The Inelegant solutions The Elegant solution - Messaging Sending and Receiving Messages Sample Solution Explanation of Code ViewModel to Code Behind Example ViewModel Requiring user input A very common question on the MSDN forums is where someone has one...
  • Wiki Page: WPF: Dynamic XAML

    Table of Contents Introduction Loading a Flat File as a Resource Dictionary Introduction to XamlReader Linq to XML Exploring XML Changing the Unchangeable Flexible Composition Awkward Bindings/Data Finally The purpose of this article is to highlight some of the many uses for building XAML dynamically...
  • Wiki Page: WPF: Tips - Lookless Controls

    One of the things which is very difficult to grasp for developers new to WPF is that controls are completely lookless. A new developer can be told this any number of times and it just doesn't take. This definitely applied to the author. There are several reasons this is particularly...
  • Wiki Page: WPF: Tips - Only One Parent

    Table of Contents What's a Visual? What Happens? Experiment One Experiment Two MarkUp Code Behind Left Column Right Column Implications The life of a Visual must be very sad since they can only have one parent. This means you will get an error or unexpected behaviour if you somehow try...
  • Wiki Page: SharePoint Online : Export User Profile Properties using CSOM

    Table of Contents Introduction How does authentication happen Case Statement Approach Prerequisites Implementation Conclusion References See Also Introduction With SharePoint 2013, Microsoft has provided the ability to fetch User Profile information client side using CSOM API’s. User Profiles...
  • Wiki Page: Perform Basic Admin Operations using CSOM in SharePoint Online

    Table of Contents Introduction How does authentication happen Prerequisites Scenarios Scenario 1 : Fetch all available web templates for creating a site collection in SharePoint Online Scenario 2: Create a site collection Scenario 3 : Fetch All Site Collections Scenario 4 : Delete a Site Collection Scenario...
  • Wiki Page: SharePoint Online : Working with People Search and User Profiles

    Table of Contents Introduction Scenario Approach Prerequisites Implementation Fetch All Users Fetch Profile Information Conclusion References See Also Introduction People Search and User Profiles are amongst the popular topics that everyone use in their projects every now and then. With SharePoint...
  • Wiki Page: Entity Framework : Customized Join Table in a Many to Many Relationship

    By default, Entity Framework will create a join table when he sees a many to many relationship. For example let’s take the following example. Let’s say we have two entities named Person and Hobby . Person can have many hobbies. Single Hobby can be used by many persons. If we model that scenario, this...
  • Wiki Page: Custom pipeline optimization using the Virtual Stream class

    Table of Contents Introduction Scenario ReplaceNamespace custom pipeline component Building the custom pipeline Source Code See Also Introduction Performance of pipelines in BizTalk can be enhanced by applying best practices listed in the Optimizing Pipeline Performance article on MSDN. In case...
  • Wiki Page: BizTalk Server 2013 - Invoking a Procedure in Oracle 11g XE using the BizTalk Adapter Pack

    Table of Contents Introduction The Oracle Database Adapter Scenario Prerequisites Building the solution Deploy and configure the solution Test the solution Wrap up Source Code See Also Introduction The BizTalk Adapter Pack is an add-on to the out-of the box BizTalk adapters. The first adapter pack...
Page 1 of 3 (59 items) 123
Can't find it? Write it!