ASP.NET 4 Learning Week 7

This week I learnt the following:

  • Working with data – formatting of various data-bound controls, handle events, and caching 
  • Security

ASP.NET 4 Learning Week 6

This week I got down and learnt the following:

  • Display, edit, delete data using controls (GridView, DetailsView, SqlDataSource)
  • LINQ and the ADO.NET Entity Framework

Quite a learning leap from my ASP.NET 1.1 days of using Stored Procedures and DataGrids.

Also this week I’ve been working on getting TortoiseSVN running on my laptop.  With help from a few Devs on Twitter I’ve started to get things running.  Still need to read up a bit more on it.

Will I stick with TortoiseSVN or go back to VisualSVN, I cannot answer until I get a few personal projects up and running.

ASP.NET 4 Learning Week 5

This week I seemed be concentrating more on getting SQL Server 2008 r2 to work with the demo database in the book.

So I just went through 1 chapter this week:

  • All about databases and using Visual Studio Server Explorer and CRUD.

Tomorrow I start using GridView, DetailsView etc.  This is really the heart of programming with ASP.NET.

ASP.NET 4 Learning Week 4

This week has been a bit up and down.  I haven’t been feeling well all week, so my learning using Beginning ASP.NET 4 In C# and VB was limited to this:

  • Validating data
  • ASP.NET Ajax (UpdatePanel, ScriptManager, UpdateProgress, Web Services)
    This weekend I’ll try and pick myself up and get back on track for Monday.

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.

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.