Home
About
  • Writing multi-threaded unit tests

    Jan 16, 2011

    In my last blog post I described how I implemented the lock manager in LIFTI. This was pretty straightforward because ReaderWriterLockSlim was leveraged to do all of the really heavy lifting, but the hard part came when I wanted to unit test the code. This post will take you through the thought and implementation …

    Read More
  • Implementing thread safety in LIFTI

    Jan 11, 2011

    I’ve wanted to get a bit of thread-safety going in LIFTI for a little while now because one of the my target scenarios was for the index to be hosted in a website. The index is already thread safe for concurrent reads, but it would definitely be a really bad thing if we started mixing concurrent writes with our …

    Read More
  • LIFTI-Changes ahoy

    Jan 5, 2011

    Happy new year! If anyone has been following the recent check-ins that have been happening over on the LIFTI CodePlex site will have noticed quite a bit of activity over the Christmas period. In this article, I’ll try to summarise what those changes have been and why they were introduced in the way that they …

    Read More
  • Advanced querying with LIFTI

    Dec 24, 2010

    As always, you can find the LIFTI project at its CodePlex home: http://lifti.codeplex.com. Until now, the way in which you can query against LIFTI has been pretty basic. If you searched for “apple orange”, you would only get items back that had words starting with both apple and orange in their associated …

    Read More
  • 401 Unauthorized when Acquiring an Access Token: Windows Live SDK

    Dec 23, 2010

    Working with other people is hard. Working with new SDK documentation is even harder, especially when it’s wrong. If you’re following the Working with OAuth WRAP Windows Live SDK documentation and you get to the Acquiring an Access Token sample you’ll probably encounter a 401 unauthorized error when …

    Read More
  • LIFTI and Porter stemming

    Dec 7, 2010

    Back in the original post where I first introduced LIFTI I wrote: LIFTI will not...: Handle word derivatives, e.g. if “Cats” is searched for, objects containing just the word “Cat” would not be returned. This was always something that I wanted to handle, but felt that it was better to have a …

    Read More
  • Using T4 to generate content at runtime

    Nov 19, 2010

    UPDATE 9 April 2014: The source is also available on GitHub** ** T4 (the Text Template Transformation Toolkit) is slowly becoming more widely known as a way to generate code to be compiled and used alongside hand-written code. Frameworks such as the Entity Framework V4 have adopted it for its code generation, allowing …

    Read More
  • LIFTI: Searching Pascal-cased words

    Nov 18, 2010

    This post will show how LIFTI can be adapted to index and search upon Pascal-cased words, similar to Visual Studio 2010’s Navigate To window. (Or Resharper’s Go to symbol command, if you’re so inclined) The code for this sample can be found in the Lifti solution:* …

    Read More
  • Errors using a custom RIA authentication service (and how to resolve them)

    Jun 30, 2010

    If you’ve created your own authentication service for a Silverlight RIA application, you might encounter the following scenarios: 1) If you get the following errors: GetUser should have returned a single user Logout should have returned a single, anonymous user Then the chances are your implementation of …

    Read More
  • Creating a lightweight in-memory full text indexer

    Jan 29, 2010

    Introduction SQL Server provides a really powerful full text index feature whereby you can run queries along the lines of “find me comments that contain the words ‘success’ and ‘happy’”. That’s all well and good when you are using SQL Server to retrieve data, but what do you do …

    Read More
    • ««
    • «
    • 2
    • 3
    • 4
    • 5
    • 6
    • »
    • »»

Mike Goatly

Like a code monkey, but more goat-like. A code goat, if you like.
Microsoft Certified DevOps Engineer Expert Microsoft Certified Azure Developer Associate
Read More

Featured Posts

Recent Posts

  • Coding With ChatGPT
  • Creating temporary Azure CLI login sessions
  • Custom query parsers in LIFTI
  • Test Your Azure Function Http Trigger Authorization Levels
  • File Globbing in .NET
  • Blog Rebuild
  • Adding Application Insights to an existing Windows Store project using Visual Studio 2013 Update 3
  • Fixing NuGet errors after removing Microsoft.Bcl.Build

categories

CODING 4 AI 1 AZURE 1 BLOG 1 C# 1 CHATGPT 1 OPENAI 1 UNIT TESTS 1

tags

AZURE 3 .NET 1 APPLICATION INSIGHTS 1 AUTHENTICATION 1 AZURE CLI 1 AZURE FUNCTIONS 1 BLOG 1 C# 1 CODING 1 GLOBBING 1 HUGO 1 INDEX 1 LIFTI 1 POWERSHELL 1
All tags
.NET1 APPLICATION INSIGHTS1 AUTHENTICATION1 AZURE3 AZURE CLI1 AZURE FUNCTIONS1 BLOG1 C#1 CODING1 GLOBBING1 HUGO1 INDEX1 LIFTI1 POWERSHELL1 STATIC WEB APPS1 UNIT TEST1 VISUAL STUDIO1 WINRT1
[A~Z][0~9]

Copyright ©  Mike Goatly. All Rights Reserved