Make Dropbox sync from another folder automatically

A follow-up post to VisualSVN, SyncToy and Dropbox, How you can remove the SyncToy option and make Dropbox think your project root is a subfolder so it syncs it automatically.

Here are the instructions to make it work. 

Thanks to @developerluke for the tip.

Advertisements

ASP.NET 4 Learning Week 3

This weeks learning using Beginning ASP.NET 4 In C# and VB were the following topics:

  • Navigation (Treeview, SiteMapPath)
  • User Controls (how to create, user in your pages, adding coding logic)
  • Validating User Input (built-in validation controls)

Currently I am half way through learning Validation controls, that so far are the same as in ASP.NET 1.1.

VisualSVN, SyncToy and Dropbox

This week I’ve been working on how to implement source control with Visual Studio.  Also I looked at a backup solution for my code incase my hard drive failed or my laptop decided to call it a day.

I first looked into source control.  I decided to opt for VisualSVN Server and VisualSVN for Visual Studio 2010.  The thing I like about it was the setup was really easy to do.  Once installed, uou just need to create your repository on the server, and connect your project to it inside Visual Studio.  While the server part is costs nothing, Visual SVN is $49 after the 30 day trial period finishes.

Here is a useful demo on how to setup VisualSVN.

visualsvn

I then looked at how to backup my code to a remote storage.  I don’t any servers at home, so I looked at a remote solution.  After digging around, I found Dropbox.  I then needed to synch different files and folders to my Dropbox folder.  I found a tool from Microsoft called SyncToy.  Both these tool were set up in minutes.

Now when I needed to backup my code, I would first load up SyncToy, and run the sync, copying all my code to the Dropbox folder.  Dropbox then would automatically copy it remotely to their server.  With 2GB of free space for the free account, it’s a great tool.

dropbox

Other solutions I looked at was Git and Github.  The set up is a bit more complicated, and also you would have to pay for private repositories.  As a standalone developer with just one laptop, the solution above works very well.

Professional ASP.NET 4 in C# and VB

I’m now nearly half way through reading Beginning ASP.NET 4 in C# and VB.  A very enjoyable read so far.  Looking ahead, I’ve jumped the gun and purchase this:

proaspnet4

Seeing Scott’s name on the book, I assume it’s going to be a nice concise read, and should further my knowledge of ASP.NET 4 immensely.

Being Geek

I had to buy it, I tried but couldn’t resist the urge.  Being Geek: The Software Developer’s Career Handbook by Michael Lopp.

It sounds like a book I should be reading now, than wait for the British summertime 2011 to come along.

being_geek

ASP.NET 4 Learning Week 2

To write something technical in this blog, I thought it makes sense to blog about my journey learning ASP.NET 4.

For the record, ASP.NET 4 Learning Week 1 isn’t anywhere to be found on this blog, as there wasn’t much to write about relating to the first couple of chapters of book I was reading.  By the way, the book that I’m reading/learning from is Beginning ASP.NET 4 In C# and VB by Imar Spaanjaars, a Wrox programmer to programmer series.

Beginning-ASP_NET-4-in-C-and-VB

Anyway, this weeks learning was focused on creating a Base Page, Themes, and Skinning.  I never got to learn about Themes before, because I originally programmed in ASP.NET 1.1, Themes got introduced in 2.0.

I remember that was the real problem with 1.1 and Visual Studio .Net 2003.  It wasn’t really suited to developing nice web pages.  I use to have to use Dreamweaver side by side to get the look I wanted.  So I’m really positive about Theme in the new ASP.NET.  Imar wrote a good piece on using Themes with CSS.

I also enjoyed learning about Skins, and I can see the benefits immediately for Developers, and an area I imagine is useful on larger projects.

Lastly – and off topic – I found this book I really want to read, called Being Geek: The Software Developer’s Career Handbook by Michael Lopp.  I’ve still got a big list of books to get through this year, so I probably purchase it around the summertime.

Visual Studio 2010 Professional error: Designer view not showing

This week, I started the journey of learning ASP.NET 4 with C#.  Unfortunately when I opened Visual Studio 2010 Professional (VS 2010), the designer button was not showing, and the option on the View menu produced the following error:

There is no editor available for ‘c:\user\teadrinkinggeek\documents\visual studio 2010\websites\website2\About.aspx’.

Make sure the application for the file type (.aspx) is installed.

I decided to perform a repair, thinking it would solve the problem.  Instead, the above error was replaced with another error:

The Visual Studio HTM Editor Package did not load correctly.

the problem may have been caused by a configuration change or by the installation of another extension.
You can get more information by running the application together with the /log parameter on the command line, and then examining
the file c:\users\teadrinkinggeek\appdata\roaming\microsoft\visualstudio\10.0\activitylog.xml

I made a ‘painful’ decision to uninstall all things related to VS 2010, and reinstall from scratch.  After 6 hours of troubleshooting, reinstalling VS 2010 again, it worked.

Note: I initially run Visual Web Developer side-by-side with VS 2010.  I uninstalled that package too.  Maybe the two packages caused the problem?  However I spoke to one developer on Twitter, he said he had no problem with both packages working side-by-side.  Maybe it was the way I initially installed them.

If you have the same problem, please backup your work, projects etc, before you uninstall, otherwise you might run into more problems.