Some TypeScript links

TypeScript is like JavaScript on steroids. Giving you the future of JavaScript today.
It’s probably the best thing for front-end developers since Twitter Bootstrap.
In short: it’s a superset of JavaScript that compiles down to regular JavaScript.

It’s brought to you by Microsoft, but it’s open source, like most things MS is releasing lately.
But it’s not just for .NET. You can use it in node.js too, you just need the compiler (via npm).
It’s integrates nicely with Visual Studio, but also with Sublime Text, Vim, etc

Some links to get started with TypeScript:

I’m pretty sure TypeScript is here to stay. I only hope that others communities (non .net) will look past the fact that Microsoft is behind this (the people that brought you IE6 and IE7) and embrace this new wonder in front-end development.

What do you think? Will TypeScript make it to 2013?

Include .pdb files in Web Application Publish for Release mode (VS2012)

While most people want to get rid of the pdb files in release mode, I want to keep them.
They don’t impact the performance of the application. They offer very useful information when exceptions occur. Etc..

In Visual Studio 2012, the .pdb files where excluded when publishing web applications in release mode. The development of these web applications was started in Visual Studio 2010 and I never had this problem. Somehow something changed after the solutions/projects very opened in VS2012. Continue reading

NuGet

NuGet package restore fail TFS Build Server

If you don’t want to check-in packages into your source control system, you can enable package restore. This will automate the download of packages during build, if packages aren’t on the machine yet.

After enabling this for a solution I’m working on, I had no problem running this locally. I removed my original packages folder from disc, and the build succeeded because nuget.exe (reference in the build) was able to download the packages. However… this didn’t work on our tfs build server. Continue reading

IE9 beta – no text-shadow yet

Update:

IE9 = no text-shadow
IE10 = text-shadow supported
What is supported in what browser? 
See the Can I use site: http://caniuse.com/#search=text-shadow 

 

I’m working on a new project which will be released in a few months and I have the luxery to only support the latest version of 4 A-grade browsers:

  • Firefox 4 (beta 6 at this time)
  • Chrome 6 (or 7… who can keep count here?)
  • Safari 5
  • and IE9, which was recently released as a beta and I saw  fully demoed at Microsoft’s Remix event last week

It’s great to be able to use CSS3. Saves a lot of work on having to create a bunch of images for rounded corners in all sorts of dimensions and colors, but also new images for buttons with different text. Now I rely on the new CSS3 properties like background gradients, rounded corners and text shadow.
IE9 is doing a very good job at all this. My application is running fast thanks to the new javascript engine. But there is one thing that looked fishy.

The new CSS3 text-shadow property has not been implemented in IE9 beta.

I found an interesting page on CSS Compatibility and Internet Explorer in which it’s clear that this feature has not been implemented yet by the dev team.
However, it looks like the pixels that are supposed to be the shadow are actually just take the color of the text. This makes it look like the font weight is set to bold.
As far as I know, the text-shadow property is an official CSS3 property, so I’m guessing it will be available in a next release.

PS: If you’re viewing this blog in IE9 beta, you’ll might also miss out on the text shadow I’m using in the current theme of this WordPress blog. Unless I changed my theme again…