Archive for Visual-Studio tag
The guys over on the AnkhSVN team have acquired new members and burnt the midnight oil to deliver a great 2.0 release with:
- Subversion 1.5 merge & tracking support
- Wizards to help step through tasks like merging
- Now a source code control package (SCC) for smoother, faster integration
- Pending changes window providing change summary
- Easier to get up and running with the source
- Property editor
- Automatic update check
Despite all these great features it’s absolutely free and still works with older versions of Subversion and both Visual Studio 2005 and 2008.
What are you waiting for, go download AnkhSVN 2.0 already!
Rob Conery got me thinking about web site maintenance and I put forward a brief comment on the two distinct types and how Visual Studio handles them which I have expanded upon here.
Primarily for working with ad-hoc web sites that have programmed elements. Easily identified by customer-specific content present in aspx files.
No solution or project files are required and the pages and source can reside locally (file system, IIS) or remotely (FTP, WebDev/FrontPage extensions) via the File > Open > Web Site… menu option.
Code-behind and classes are typically stored on the web server which compiles them in-memory on demand. Changes can be made to the files without restarting the application and losing sessions.
|Quick edit, test, deploy cycle
||Syntax errors at runtime
|No need to compile or restart app
||Can’t create an installer
|Source always available
||Source on server useful to hackers
Web application projects were introduced as an add-on for Visual Studio 2005, later rolled in to VS 2005 SP1 and made a full first-class citizen with Visual Studio 2008.
Like the name implies these are primarily for web applications, those times when you have written a product or solution that happens to have a web interface.
Web application projects exist on your local drive and are treated like any other VS project type and can be added to existing solutions are subject to full compilation, validation and build steps.
Deployment is typically via MSI installers however you can also utilise the addition Web Deployment Projects add-in which allows you to deployment directly to servers which is useful for deploying to test environments.
|Controlled build & deploy process
||Deployment causes application restart
|No class files on web server, dll only
||Can’t deploy individual classes
|Syntax errors at compile time
Sander and I were discussing this article and thought an interesting solution might be to use the Web Application model for local development but to use the Publish option to publish all solution files to an intermediate directory.
Then in the intermediate directory just remove the bin/applicationname.dll file and copy to the target. This should prevent an application restart unless the web.config or global.asax/global.asax.vb files have been modified.
The next version of my Envy Code R font especially designed for programming (monospaced, easily distinguishable characters) is nearing completion and represents a very response-driven update to feedback, specifically:
- ReadOnly, Greg Jandl: Comma clarified and change applied to full quotation marks, semi-colons and various accented letters
- Adrian Bool, Greg Jandl: The slash on the zero has been redrawn to be less heavy
- jxp: The Euro symbol has been redrawn from scratch
- Aristotle Pagaltzis: Braces are more curvy and a full set of box-drawing characters have been added
- IRC: Hash sign with longer legs
I have also fleshed out a number of additional symbols and accented letters that has seen the number of code pages supported increase to 12 pages and made a large number of tweaks to the italic version which was a last-minute addition to 0.6 (PR6) and had a number of errors especially round the accented letters.
Of course what you really want to know is how the new version looks in Visual Studio with that lovely Humane theme of mine:
There is still some work to do on the sizes above and below 10 point (again) as well as fleshing out a few more symbols, letters and italicising additional letters such as a curly k and rounder e which I hope will be finished towards the end of this week.
The observant followers may have noticed a pixel has been shaved off the vertical height which now brings it in line with the bitmapped Envy Code B coding font. I had intended on making the change for some time and the box characters practically demanded it to ensure the centres were whole pixels and not off-centre but some people may not like it…
A newer version of Envy Code R is available.
Google’s Android project, an open platform for mobile devices, has been hitting the news a lot in the last couple of days with it’s open APIs, Java-based development platform and optimized virtual machine which includes the lovely set of typefaces from Ascender Fonts known as the Droid family.
Check out previous coverage of the well-known and lesser-known coding fonts.
There are a number of Droid fonts including Droid Sans and Droid Serif but of particular interest for developers is the Droid Sans Mono font that looks great in Visual Studio not only at my favourite 10 point… but from 7 point upwards with either ClearType or standard font smoothing although some might find the fact it smooths at all sizes a little soft (or Mac-like).
Here it is at 9 point with Rob Conery’s Vibrant Ink 2 theme:
Here it is at 11 point with my Humane theme:
And here it is 12 point in Xcode on the Mac:
The only issues are:
- the lack of a bold weight or italic variant which limits the syntax highlighting options
- the 0 is currently not slashed (there could be some other indistinguishable character pairs)
Being that the Droid family is Apache licensed no doubt somebody will fill that gap (okay, okay, I’ll give it a shot when I get some time;-)
Download Droid Sans Mono (TrueType TTF) (79 KB, 10/2011 source)
Try my free scalable coding font Envy Code R (shown below) with Visual Studio italic support, has a bold variant and distinguishable pairs 0O etc: