Browse by Tags

Tagged Content List
  • Wiki Page: Sort Letters in a Phrase using T-SQL

    Table of Contents Problem definition Introduction Solution Limitations 1. Data Type 2. Data Length See Also Problem definition This article comes up from this MSDN forum post. The problem is how can we sort the letters in a phrase just using T-SQL? To clarify the question, for instance...
  • Wiki Page: Small Basic: Parser Generator

    Table of Contents Overview What's a Parser? What's a Parser Generator Sample Programs Parser Generator 0.4 for Graphics Interpreter Parser Generator 1.4 for Code Block Formatter See Also Overview This article introduces Parser and Parser Generator written in Small Basic. What's...
  • Wiki Page: Using Bulk Insert to import inconsistent data format (using pure T-SQL)

    Table of Contents Introduction The problem Our Case Study The solution: STEP 1: Identify the import's file format Finding the problematic columns and the consistent columns format STEP 2: insert the data into temporary table Step 3: parsing the data into the final table Summary Comments Resources...
  • Wiki Page: Having a Little “Bit” of Fun with C#

    Recently in the forum someone asked about bits in a byte and how it is populated into a bit array http://social.msdn.microsoft.com/Forums/vstudio/en-US/6c3fe986-d347-44e9-b310-cae9c25f1d9d/about-bytes-and-bits The thread originator first populated a byte array and fed that into a bit array…...
  • Wiki Page: Enabling the Failover Clustering Feature on Windows Server 2008 R2 Server Core

    One of the biggest challenges when using Windows Server Core apart from the obvious ones introduced by the reduced graphical interface is to overcome those challenges displayed by its nuances. Tasks that you can perform easily from the command line on a Non-Core edition of Windows might not be possible...
  • Wiki Page: PowerShell Script for Shutdown/Reboot Events Tracker

    Table of Contents Single Server Reboot Report: Multiple Servers Reboot Report: Single Server Reboot Report: 01. Get - WinEvent - FilterHashtable @{logname = 'System' ; id = 1074 } | 02. ForEach - Object { 03. 04. $rv = New - Object PSObject | Select...
  • Wiki Page: How to Attach a Custom Task to an Event on Windows Server 2008

    In an earlier post I talked about how to forward events from one machine to another. That works out quite well, but unless you’re sitting at the log and watching the events go by, you might miss something. You might agree that there are some events that you are more interested in than others. For example...
  • Wiki Page: Singleton or Dependency Injection?

    Singleton or Dependency Injection? Design patterns in software engineering provide a common way of resolving specific problems that share a common context. It only pertains to the approach of solving the problem but not necessarily providing the solution by itself. The pattern can be focused ...
  • Wiki Page: SmallBasic | AutoUpdater - Snippet

    Introduction I created this snippet, because I really missed an option like this in SmallBasic. I never saw something like this in another SmallBasic - program before. This snippet will check if a newer version of your program is avaible for download. And if there is a new version, it...
  • Wiki Page: Shrink SQL Database During Restore

    Table of Contents Case Study: First option: using compressed folder & symbolic link Step 1: Create a compressed folder Step 2: Backup your database Step 3: Create symbolic link to the compressed folder Step 4: Restore your database using the symbolic link. Step 5: Shrink the Database Step 6: Detach...
  • Wiki Page: "For Each" behavior - Custom action in SharePoint Designer 2010

    Introduction Working as a design architect is a biggest challenge, especially when you have SharePoint 2010 bigmouth. We were working on a project with a few existing List with Software Product License and its expiry date. The administrator need to have alerts for all those Licenses which is...
  • Wiki Page: Programmatically getting the Approval start and End date for the OOB approval workflow associated to the custom list

    Step 1) Get the Workflow instance id from the custom list using the Server Object Model Step 2) Build CAML query and pass the below parameters to the Workflow history Custom list 2.a) Workflow instance ID 2.b) Event type = 1 (1 is for completed workflows) 2.c) Primary Item ID (Retrieved by...
  • Wiki Page: Extend your objects with DynamicObject to get a dynamic experience

    What is considered a dynamic experience? If you have ever programmed in a dynamic programming language you know that you can pretty much ask for anything on any object, consider this code in any dynamic programming language: var person = new Person(); person.Name = "Filip"...
  • Wiki Page: BizTalk Server 2010: Grouping and Debatching/Splitting Inbound Messages (TypedPolled) from WCF-SQL Adapter

    Table of Contents How To Group Messages and Split Them What we need to achieve Author See Also How To Group Messages and Split Them We receive Typed Polled message which has details spread across multiple nodes and we want to consolidate the related details to single node and then debatch/split...
  • Wiki Page: SharePoint 2010: Viewing, Sorting, and Filtering SharePoint User Profiles Using PowerShell

    A question was asked in the MSDN forums about listing out all of the user profiles that don't have the PictureURL property set. The answer supplied was a slightly modified version of a script from the blog of Matthew Yarlett , which lists out all of the user profiles without the PictureURL. This...
  • Wiki Page: Avoid “File system redirection” in Visual Studio 2012

    Windows 8.1 comes with a hidden feature called “Slide to Shutdown”, it is like the Slide to shutdown facility in Windows Phone. Every one was busy in making shortcut for the SlideToShutdown.exe on desktop and calling it via shortcut key combinations. Mine was a small application that invoke Process...
  • Wiki Page: Running HDInsight C# Hadoop Streaming Sample

    MapReduce is a programming model designed for processing large volumes of data in parallel by dividing the work into a set of independent tasks. Most of the MapReduce jobs are written in Java. Hadoop provides a streaming API to MapReduce that enables you to write map and reduce functions in languages...
  • Wiki Page: Windows Azure and SQL Database Tutorials - Tutorial 3: Using Windows Azure Blob Service

    Table of Contents Objectives Prerequisites Understanding the Architecture Understanding the Blob Service In this Article Lesson 1: Modify the Application to Use the Blob Service Procedures What did I just do? Next Steps: Lesson 2: Test and Deploy the Application Procedures What did I just do? Next Steps...
  • Wiki Page: SharePoint 2013: Best Practices - Working with Connection Strings in Auto-Hosted SharePoint Apps

    Table of Contents The Code Credits See Also Richard diZerega has a really nice util method for working with connection strings in Auto-Hosted Apps in SharePoint 2013. It goes like this: The Code using Microsoft.SharePoint.Client; using System; using System.Collections.Generic;...
  • Wiki Page: Troubleshooting System Services

    Table of Contents Starting, Stopping, Disabling, and Resuming Services Configuring General Service Properties Using Command-Line Tools to Manage and Configure Services Net.exe SC.exe Windows PowerShell Setting Service Recovery Options Starting, Stopping, Disabling, and Resuming Services ...
  • Wiki Page: Unit Testing Attributes Behavior By Example

    Overview Unit Testing frameworks contains a cluster of unit testing attributes that can be applied at the class or method level. An in-depth understanding of the behaviors of these attributes will significantly improve our day to day interactions with unit testing code. In designing unit test...
  • Wiki Page: Certificate Services Lifecycle Notifications

    Applies to Windows 8 and Windows Server 2012 Table of Contents Overview Event Viewer Task Scheduler Settings for Autoenrollment added to Group Policy Windows PowerShell Script for IIS Binding Scripting considerations Windows PowerShell script security Denial of service potential Do not use CertificateServicesClient...
  • Wiki Page: Using Custom Behaviors with the BizTalk WCF Adapters, Part 2

    Using Custom Behaviors with the BizTalk WCF Adapters, Part 2 Microsoft Corporation Published: January 2009 Author: Michael McKeown Contributors: Hanu Awasthy, Sarathy Sakshi, John Taylor Microsoft Corporation January 2009 Customization of message processing in Microsoft...
  • Wiki Page: How to Configure FIM Portal Tracing

    In the FIM 2010 architecture, the FIM Portal represents the user interface you use to configure your FIM environment. The FIM Portal is implemented as Windows SharePoint Services application and is accessible by using a web browser such as Internet Explorer. Table of Contents Configuring FIM...
  • Wiki Page: How to Generate Readable Alerts Based on SNMP Traps in MOM 2005

    This article describes how to configure a Microsoft Operations Manager 2005 Management Server or a MOM 2005 Agent to generate a readable alert when an SNMP trap is received. This allows you to monitor SNMP-enabled devices and applications by configuring them to send traps to MOM. The article does not...
Page 6 of 45 (1,105 items) «45678»
Can't find it? Write it!