Programming in different languages is not an easy process, often getting confused at which syntax to use. There are many online code converters
Woops, dropped iPhone
Create SubVersion on an Internet machine via port 80
It’s nice to use SubVersion locally, after seeing that CodePlex now supporting SVN over HTTP, I thought I’d give it ago.
Here all all the steps for allowing you to use SVN via port 80 and SVN:
The subversion server, download the source, not third party application, installer at
http://subversion.tigris.org/project_packages.html
does not include Apache, it includes the subversion modules that work with apache but not apache itself.
After installing the package you will need to set svnserve up to be a service, there are instructions for this at:
http://svn.collab.net/repos/svn/trunk/notes/windows-service.txt
Essentially you need to do:
md c:\subversion-repositories
sc create Subversion binpath= “c:\program files\subversion\bin\svnserve.exe –service -r c:\subversion-repositories” displayname= “Subversion Server” depend= Tcpip
Then
net start Subversion
This sets up the subversion service and starts it, you will then need to create your repository
“c:\program files\subversion\bin\svnadmin” create c:\subversion-repositories\repos
You now have a svn server running with a repository called my-repos available at svn://<server-ip>/repos
At this point the repository will be set to anonymous read access and auth write access but will not have any authentication setup, to set this up go into the c:\subversion-repositories\repos\conf folder and edit authz and passwd files to setup the permissions, they are comments and fairly easy to understand.
I’ve attached two working examples for authentication, to help the configuration.
Simple LINQ 2 SQL example
I’ve been using LINQ to SQL for some time, and each time I come back to the same example, so it’s about time I shared the example:
// Create a DataContext.
Northwind db = new Northwind();
// Retrieve customer LAZYK.
Customer cust = (from c in db.Customers
where c.CustomerID == “LAZYK”
select c).Single<Customer>();
// Update the contact name.
cust.ContactName = “John Smith”;
try
{
// Save the changes.
db.SubmitChanges();
}
// Detect concurrency conflicts.
catch (ChangeConflictException)
{
// Resolve conflicts.
db.ChangeConflicts.ResolveAll(RefreshMode.KeepChanges);
}
January 2009 CTP of the Windows Azure Tools and SDK released
Microsoft have release the January CTP edition of the Windows Azure Tools and SDK Kit
Windows Azure Software Development Kit (January 2009 CTP)
Windows Azure Tools for Microsoft Visual Studio January 2009 CTP
These newly released SDK and Tools include:
- Bug and performance fixes
- Improved integration with Visual Studio
- Performance improvements with execution and debugging scenarios
- Improvements to Storage Client and ASP.Net provider samples
- Added support to debug Silverlight in a web role
Over complicated
How many times have you seen this happen?

Windows 7 available for download
Windows 7
We’ll I’ve not started with Windows 7 yet, but I’d thought I’d kick off with a cartoon

Development software for small startups
Microsoft has released BizSpark, produced for the new start up development businesses that need to get going with all the latests technology. Providing the software, support and visibility required for a small business.
http://www.microsoft.com/bizspark/Default/
What are you waiting for?
Another method for aquiring the latest technology is through the Microsoft Partner Programme, which provides all the software you need to start selling Microsoft products for just £199, it does not however include any development tools.
Tracking Server Logins
It’s nice to know who and when people are logging on to your servers, here is a very simple way of recording someone logging on and logging off the server
Create a file called:
logon.cmd
echo logon %username% %computername% %date% %time% >> “C:\logon.log”
logoff.cmd
echo logoff %username% %computername% %date% %time% >> “C:\logon.log”
Update ther Group Policy, via gpedit.msc
User Configuration-> Windows Settings-> Scripts (Logon/Logoff)-> Logon
User Configuration-> Windows Settings-> Scripts (Logon/Logoff)-> Logoff
When the users log on and off a log file will be updated