Erudition

Known facts, ideas, and skill that have been imparted

  • Erudition

    My article on Pex at MSDN

    • 0 Comments
    My article on Pex is now online at MSDN, it provides you with an overview of Pex and how to use it on legacy code. http://msdn.microsoft.com/en-us/magazine/ee819140.aspx
  • Erudition

    SQL server collation setting for TFS 2010

    • 0 Comments
    To work with Visual Studio Team System Team Foundation Server, the collation settings for SQL Server (2005 / 2008) must be: 1. case insensitive (clear the Case - sensitive check box), 2. accent sensitive, 3. and not binary. To avoid problems...
  • Erudition

    Unit testing SharePoint solutions using Pex

    • 0 Comments
    Peli provides a good overview on how you can use Pex Moles to unit test SharePoint applications by mocking away the SharePoint API calls. http://research.microsoft.com/en-us/projects/pex/pexsharepoint.pdf
  • Erudition

    Moles - Pex detour Framework

    • 0 Comments
    Moles is a lightweight mocking framework that provides a mechanism to stub non-virtual methods Static methods, methods in sealed types, constructors Moles is Delegate based, it provides hooks for the developer to provide their own mock implementation...
  • Erudition

    Unit Test v/s PUT

    • 0 Comments
    A unit test is a method without parameters that represents a test case and typically executes a method of a class-under-test with fixed inputs and verifies that it returns the expected result. A parameterized unit test (PUT) is simply a method that...
  • Erudition

    Dowload Microsoft Pex from here!

    • 0 Comments
    You can download the latest version of Pex from here: http://research.microsoft.com/en-us/projects/pex/downloads.aspx
  • Erudition

    Microsoft Pex

    • 0 Comments
    Pex goal is to automatically and systematically produce the minimal set of actual parameters needed to execute a finite number of finite paths. It automatically produces a small test suite with high code and assertion coverage. It has been leveraged by...
  • Erudition

    Benefits of Unit Testing

    • 0 Comments
    Some of the key benefits of Unit Testing include:  Trusted Code : Unit Testing is the best mechanism that a developer can use to make its code rock solid, by creating unit tests for all possible paths in a method the developer can ensure that it will...
  • Erudition

    Design principles for a better life!

    • 1 Comments
    No this is not an “art of living” post where I talk about how you can improve your life with doing more yoga and taking less stress :). I rather wanted to focus on how to reduce the impact of changes in the software system and elaborate the design principles...
  • Erudition

    The PnP architecture meta-frame

    • 1 Comments
    The Application Architecture Guide 2.0 by PnP introduces the concept of “an architecture frame”. It provides guidance on where to start and what key aspects to look for when designing the architecture of a system. At the minimum a good architecture should...
  • Erudition

    Martin Fowler: Who needs an architect

    • 1 Comments
    An all time favorite read: http://martinfowler.com/ieeeSoftware/whoNeedsArchitect.pdf ? The best part I liked about it was this statement: Software is not limited by physics, like buildings are. It is limited by imagination, by design, by organization...
  • Erudition

    Fundamentals to designing your application architecture

    • 1 Comments
    Determine what you are designing for: The first and the most critical part of designing an architecture is to understand what are the objectives of the application. What is it intended to do and what purpose will it solve. While developing a product a...
  • Erudition

    PnP guys ROCK!!!

    • 1 Comments
    Thanks to the Patterns and Practices team for rolling out the Application Architecture Guidance 2.0. I was always been a big fan of their first edition and this one was long awaited version but is surely is worth the wait. The detail and precision...
  • Erudition

    Complexity requirements for Vista Passwords

    • 1 Comments
    When assigning a password in Vista / Win2k8 it should meet the following requirements: 1. Not contain the user's account name or parts of the user's full name that exceed two consecutive characters 2. Be at least six characters in length 3. Contain...
  • Erudition

    The Middle Out approach to SOA

    • 1 Comments
    Microsoft has its own approach to implementing SOA. Termed as the middle out approach, the basics behind it is to provide a balance between the Top down (too much design) and the bottom up (scattered implementations). It suggests that an organization...
  • Erudition

    Microsoft is Service Oriented!!: An analogy

    • 1 Comments
    Ok let's think about it , Microsoft is a software company which provides a huge set of products to solve various business problems, each product is complete by itself but can also be used in conjunction with other products in a loosely coupled manner...
  • Erudition

    interesting analogs to explain design patterns:

    • 2 Comments
    | View | Upload your own
  • Erudition

    XPATH Example

    • 0 Comments
    http://msdn.microsoft.com/en-us/library/ms256086(VS.85).aspx
  • Erudition

    Generating a log for an msi installer

    • 0 Comments
    msiexec /i <path to msi file> /l*vx C:\SomeDirectory\SomeFilename.log
  • Erudition

    List of TCP and UDP Port Numbers

    • 1 Comments
    http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers
  • Erudition

    Code Snippets for common operations

    • 2 Comments
    1. read all the contents of a File string output = File.ReadAllText(<FilePath>); 2. Write contents to a File File.WriteAllText(<FilePath>,Encoding); 3. Convert String to Byte Array byte[] buf = System.Text.Encoding.<Encoding>...
  • Erudition

    Creating a new document in a Document Library

    • 1 Comments
    string _siteUrl = " http://localhost "; using (SPSite _site = new SPSite(_siteUrl)) { using (SPWeb _web = _site.OpenWeb()) { SPFolder _folder = _web.Folders["<Document Library Name>"]; _web.AllowUnsafeUpdates = true; _folder.Files.Add("Contoso...
  • Erudition

    Calling a WCF service from Infopath

    • 2 Comments
    Recently I got into a scenario where I wanted to call a WCF service from within an Infopath Form service, Infopath does not supports configuration files so my service was not able to pick the Binding and Endpoint setting for the Service at the client...
  • Erudition

    Debugging Web parts in WSS

    • 0 Comments
    Although VS 2005 provides awesome support for developing Web parts one of the pain points can be debugging a web part, some tips on how to debug a web part : Two methods: Direct: Attach debugger to the w3wp.exe process that hosts SharePoint...
  • Erudition

    SO Terminology

    • 1 Comments
    Some common confusions (terms :)) with respect to SO Business Process It consists of a sequence of activities that produce a valuable result. Business Activities Business activities or tasks are the units that when combined form the business...
Page 1 of 2 (26 items) 12