SOLVED: Compiler error CS1519: Invalid token 'void' in class, struct, or interface member declaration

Posted on: Wednesday, 23 December 2009 17:00

This one has cropped up a couple of times in my development activities recently, but with just enough of a gap for me to have forgotten the solution and I had to figure it out again.

It happens in situations where the project worked fine a minute ago and then all of a sudden the project wont run. It has also happened in situations where I have made a small update and then some seemingly unrelated part of the site has broken.

Firefox - Clear Recent History

Posted on: Tuesday, 22 December 2009 19:07

I just accidentally stumbled upon a new feature / keyboard shortcut that I didn't know about in Mozilla Firefox. Its called Clear Recent History and it is a way for you to clear only a short range of your recent browser history.

If you press ctrl-shift-del then the following window is displayed:

firefox-clear-recent-history

Reading the ProviderUserKey when using the SqlMembershipProvider

Posted on: Monday, 21 December 2009 21:55

The ProviderUserKey gives access to a unique identifier for each of the members in your membership data store. If you're doing a large amount of lookup's or want to cross link to another table you will find this technique will give you better performance than using the UserName property.

SOLVED: TF31003 error when trying to connect to Team Foundation Server 2010 Beta 2

Posted on: Saturday, 5 December 2009 00:53

Welcome searchers! This post is not exactly light reading for the casual .net enthusiast so I will presume that if you're reading this you have probably landed here via a search engine after having a TF31003 problem crop up.

Installed software / background

  • Vista 64 bit
  • VS 2010 beta 2
  • TFS 2010 beta 2
  • Single server / basic installation
  • No errors on install
  • Cannot log in to the TFS system at all - no combination of user accounts will be accepted

Scenario

At any login point within TFS (such as in the add server dialog, or the Team Foundation Server Administration Console > Application Tier > Administer Group Membership link) you get an error pop up that contains the following message:

TF31003: Your user account does not have permission to connect to the Team Foundation Server at http://yourcomputer:8080/tfs. Ask your server administrator to add the appropriate permissions to your account.

How to automatically track events with Google Analytics and jQuery

Posted on: Wednesday, 2 December 2009 23:04

This article examines a way to use a feature of Google Analytics called Event Tracking. By using jQuery and the Google Analytics JavaScript API we will automatically track events on your site not seen by a standard analytics installation.