Author: jack4it
Scott Guthrie’s shanghai tour…
Luckily I got a chance to attend a small meeting presented by Scott Guthrie at Microsoft’s Shanghai office. I got some photos!
It’s been only one hour for this temporary small meeting, or actually it’s just a discussion with him.
Anyway, it’s excited to meet the REAL Scott here in local Shanghai, and this is my first excitation in 2008!!!
– Jack
Where is the next EXIT for me?
No answer.
Adobe
Adobe finally worked out it’s new home page. Much better than before.
Hibernate In Action
Hibernate In Action is simply one word that incredible.
I have spent a lot of time on NHibernate study before I started to read this book. A lot of blog posts, articles, and even so much time on the help document of NHibernate. However, to be honest, I have never felt like I have mastered this technology. E.g., the entity type and the value type, oh my god, I did not truly understand these things until I read Hibernate In Action.
The .NET port of this book, NHibernate In Action is also on its way to be released. I’m looking forward its coming. I strongly recommend that you should read these two books if you want to learn this incredible ORM technology.
Hope this helps,
Jack Ma
Unicode in Visual Studio
Sometimes people ask me how to let the Visual Studio remember the default text encoding when creating new file or adding new item to the projects. At first, I don’t know. VS always use the system default codepage settings for the new created files/items. After I met with this blog post, I finally got an answer for this question. Check it out!
ASP.NET Resources – Unicode in Visual Studio.NET 2003
If you don’t wanna read through this long post, I pull out the key section for you.
/! TO ALL THOSE ASKING HOW TO CHANGE DEFAULT ENCODING WHILE CREATING NEW FILE IN VISUAL STUDIO /!
Go to C:Program FilesMicrosoft Visual Studio .NET 2003VC#CSharpProjectItems (directory may vary depending on which VS version you have, and which project’s language you target), open the template you need to change (I needed to change JScript.js) in Visual Studio (or any other text editor I suppose?), and save it back to the encoding you want.
=> this will affect files you create while in a project, using Project > Add new item… (or right-clicking on the project tree > Add > Add new item…) (or Ctrl+Shift+A) (i think i said it all didn’t I?)
You can also go to C:Program FilesMicrosoft Visual Studio .NET 2003Common7IDENewScriptItems (or NewFileItems, depends what u wanna do), and to the same (open/save with encoding).
=> this will affect files you create using File > New > File…
VS 2008 Targeting .NET 2.0 AJAX
When you want create an AJAX enabled web application or web site within VS 2008 targeting .NET 2.0, you will find that the corresponding templates missing. This
This could be frustrated for some of us who want to utilize the new features of the new IDE but still want spend much more time in deploying the 3.5 fx.
As mentioned by Brad Abrams, ms has just released these templates. Check it out? Or you can download these templates from this link.
天气
名古屋。
湿度适中的空气,偶尔夹杂的细雨,配合着干净的环境,安静的气氛,让人内心沉静。虽然温度不高,但你不会觉得冷得难受。
上海。
冷风,虽不至于如北方的寒风一样刺骨,但足以让人难以忍受。阴雨霏霏。地铁站工地周围的泥泞。
深圳。
我真想用炎热来形容这个地方。不过想想毕竟是冬天,还是用温暖吧。太温暖。空气浑浊,心情浮躁,让人没有一点好状态。
Anyway,内心里的天气,才是最终感受到的冷暖。
Just a note
名古屋纪行 4
今天下了小雨。一改前几日的好天气,有点阴冷了。不是好兆头,果然得知国内发生了最不希望发生的事情。不过,也算是催促我最终决定什么的动力吧。
下午拿到了新住处的钥匙,开心,晚上终于可以上网了。其实,能不能上网倒不要紧,关键是,没有打法时间的办法很郁闷。
今天有点晚了,赶在 2 点半前睡觉。
希望每个人都开心吧,我一个人郁闷点无所谓。