Best Practice Visual Studio with SVN, VCS and SCM
In my research on what others have of opinions and experience with subversion (SVN) or source control management (SCM) I have collected some good links of various kind – slide shows, red book and just experiences or ideas.
My focus on my research was dealing with Web development and specially ASP.NET development with Visual Studio along with third party CMS software.
The major pain is Visual Studio, when you open up your solution and don’t touch anything your “Solution.suo” file gets modified and with SVN you have a modified state of your project folder and you need to take action either commit the change or revert the file.
My conclusion on ASP.NET development with Visual Studio is
Add the following to your ignore list:
- Solution\Project\bin
- Solution\Project\obj
- Solution\Solution.suo (hidden file)
Have your repository layout like this:
- Project
- branches
- tags
- trunk
Use the trunk for your “main-line”-development. With “main-line” I think of primary development that always stable and never has checked-in code that doesn’t build.
Use your branches for creating testing, experiments and development of larger features that should not break the trunk, but needs to be committed often for backup and history of file changes. Keep your branch in sync with the trunk, remember to regularly merge changes from trunk into your branch, this prevents you from “drifting” to far away from the trunk and that makes it much easier to merge your branch back into the trunk when time comes for that.
Use your tags for creating snapshots of your trunk or branch that goes into releases and is thought of as test solutions or the LIVE beasts that hits the production servers.
If you have questions, suggestions I’d very much like to hear from you and your experience with the subject – thanks in advance.
Subversion Best Practices Links
http://www.slideshare.net/mza/subversion-best-practices
http://electricjellyfish.net/garrett/talks/oscon2004/svn-best-practices/
http://svn.collab.net/repos/svn/trunk/doc/user/svn-best-practices.html
http://www.red-bean.com/fitz/presentations/2006-06-28-AC-EU-Subversion-best-practices.pdf
http://devnulled.com/content/2006/10/guide-and-best-practices-for-subversion-branching/
http://nedbatchelder.com/text/quicksvnbranch.html
http://daptivate.com/archive/2008/08/28/subversion-best-practices-for-web-applications.aspx
Woopra about to go out of beta
I got a Woopra mail the other day telling that Woopra is on its way out of the beta period. If you haven’t had the chance or overlooked the cool webstatistic interactive application Woopra I think you try giving it a chance.
I personally am very curious if it can be kept free of charge.
Web Identity 2.0 – now what?
I ran over www.identity20.com, www.sxip.com, www.sxipper.com and www.sxore.com all of the same family trying to implement global identity management for you on the web. Sxipper have also made a Firefox plugin so you can reuse your identity data easy.
The whole idea from a technial point of view is about having a personal "homesite" this site contains your data. The whole thing takes place when you visit a "membersite". The membersite contacts you provided homesite and gets the data available from your prompted selection.
The management of the data is done at your homesite, this way around your data is managed globally to all your services. Another issue is: what if the membersite requires additional data that is yet not created in your homesite profile? As far as I have understood, it is possible for membersites to add data to your homesite.
How about controlling different types of identities of the same person? This has been a issue that has been dealt with. In your homesite profile you can have multiple identities, say you as an employee, you as a privat person and so on.
It's pretty much complete all though to make it a successfull way of identifying persons we need to have more membersites that supports homesites, Open-ID.
I will sure follow the development of this kind of identity possibilities over almost any kind and type of web-connected profiling.
Try visit www.sxip.org for more information.
Windows Live Writer
Wouw, another service from Windows Live family. Actually this post is written in Live Writer to test it.
![]()
Screenshot (ALT+PRT-SCR) and (CTRL+V) and it's here
It automatically detected my custom installation of my WordPress-blog, and woula ready to post, NICE!
If you want the Live Writer visit the blog for information @
http://windowslivewriter.spaces.live.com/
I'm personally loading down the SDK to see how it can be cusomized.
Untill then
Kevin
IE Developer Toolbar – get if you haven’t already!
It's still en beta though but I haven't discovered any bug yet. To mention a couple of really cool features you can resize your window for testing various screen resolutions, 800x600, 1024x768 and more, it's extremely handy when I develop on my laptop in 1680x1050 - no kinda standard yet ![]()
It can also show you the DOM of the page rendered, and you can disable features like, scripting, cookies, images - like you can with the developer toolbar for Firefox. You can Outline tables, cells, div- and spantags and you also get a funny ruler for measuring on the webpage.
All in all I found this tool the greatest IE invention since IE 3.0
Get it @ microsoft
Happy debugging HTML!