Moses Yap
:-) A happy IT Guy

C#: Randomize Sorting the Items inside a Collection

July 30, 2008 05:18 by moses.yap
Recently, I have been doing some simple games for my web site at ChristianPipes.com and one of the games is a multiple choice type game where choices for a particular question has to come out in random placement.  So, if the same question comes out, the choices would not be sorted the same on t... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: .NET | C#
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

C#: Getting a Random Record from a Table inside the SQL Server Database

July 30, 2008 03:56 by moses.yap
I wanted to get a random record from a particular table on the SQL Server database.  For my case, I had a table containing quotes, and I wanted to randomly pick on to show on one corner of my web site.  I am also using LINQ to SQL for this web site, so the solution here will be using LINQ,... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: .NET | C# | SQL Server | Lamda
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Getting SQL Server Management Studio (2008) Object Explorer to list out databases for servers where you don’t have permissions for all databases

July 29, 2008 11:57 by moses.yap
Recently I installed SQL Server 2008 RC0 but was having some difficulty with the SQL Server Management Studio (SSMS) on a server where my login do not have access to all the databases.  This is specially troublesome as I needed to work on some websites at Brinskster which is a shared hostin... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: Windows | SQL Server
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

.NET: Creating your own Custom Configuration Section

July 28, 2008 09:39 by moses.yap
Sometimes its pretty useful to create your own configuration section on the web.config or app.config file.  It makes much cleaner than using the key/value pair on the appSettigns, and you get a strongly typed object with validations for the values. To create our own configuration section, we n... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: .NET | C#
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

The WCF Configuration Tool

July 24, 2008 09:06 by moses.yap
Currently, I am working a lot on creating Web Services using WCF.  I thought it would be good to document some stuff I found out while working with it. WCF allows you to put transport and message behaviors on the configuration files, so the code itself can concentrate on business logic and not... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: .NET
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Getting Logitech MX Revolution and Setpoint to work on Windows Server 2008

July 24, 2008 08:38 by moses.yap
I love Server 2008 as a workstation.  Its much more stable than Vista, does not nag me a with confirmation windows on everything I do, and runs all my development tools well.  The problem with Windows Server OS and SetPoint is all over the logitech forums.  Setpoint just don’t show yo... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: Windows
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Installing Live Writer 2008 on Windows Server 2008

July 24, 2008 08:17 by moses.yap
One problem I have with using Windows Server 2008 as a workstation OS is that its a bit difficult to install any of the Microsoft Live applications whether its Live Messenger or Live Writer.  I am not really sure why Microsoft don’t support it, even if I had no problem once I finally get these ... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: Windows
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed