My studying notebook

2008/10/08

Tech‧Ed 2008 powerpoint online

10/08/2008 10:41:00 PM Posted by Unknown No comments
Tech‧Ed 2008 was few days ago from 9/23 to 9/25. Now Tech.Ed 2008 powerpoint online release. If you were take part in Tech.Ed 2008. You can login your account and password of Tech.Ed 2008 session singin.

ps. Tech.Ed 2008 (link)

2008/10/03

Tip: Notepad++ Add ASP.NET syntax highlight

10/03/2008 10:02:00 PM Posted by Unknown , 3 comments
Notepad++ is a free source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by GPL Licence. Syntax Highlighting and Syntax Folding is one feature of Notepad++ and it make you read the code easy. It supported many language for example: C#, javascript, XML, HTML etc. If you are a ASP.NET developer and you would find Notepad++ isn't support ASP.NET syntax (aspx, config ect.) But, it is easy to add asp.net syntax highlight by few step.

1. Notepad++ menu bar, click "settings" / "Styler Configurator".
2. In Setting dialog, Under "Language", select "XML" item.
3. Add user defined extension textbox, type in "aspx config master .." (ASP.NET support file extension and base XML well form).
4.Click "Save & Close".
5.Try it.


Ps. Notepad++(link)

2008/09/15

Tip: Visual Studio 2005 Server Explorer Crash

9/15/2008 08:29:00 PM Posted by Unknown , 1 comment

Today. When I decide to use Visual Studio 2005. I find that I cannot open Server Explorer and View the Data Base in Visual Studio 2005 Toolbar View\Server Explorer. And it doesn’t fix the error in Toolbar Window\Reset Window Layout.


And What can i do? After my research, i use the Devenv Command Line Switches to solve this problem and run “devenv /setup” in Visual Studio 2005 Command Prompt.

偽‧蝦米

9/15/2008 08:03:00 PM Posted by Unknown No comments


喜愛偽蝦米的朋友
在3.9b的版本釋出快1年多的時候
終於又有新的版本了(Dev0914)

我各人最期待的是有關於
終於可以輕鬆的在Vista上使用偽蝦米了

偽蝦米萬歲~~~~

2008/09/05

Tip:How append different master page by browser

9/05/2008 08:03:00 PM Posted by Unknown , No comments
We know that we can use master page to reate a consistent layout for the pages in your application. When you assign a master page to the cotent page, you can modify page directive to append different browser.

Usually we assing one master page to cotent page. Now we assign two master page to same content page. And modify MasterPageFile directive

For example:
<%@ Page Language="C#" Mozilla:MasterPageFile="~/FFMasterPage.master"
ie:MasterPageFile="~/IEMasterPage.master" AutoEventWireup="true"
CodeFile="DefaultContent.aspx.cs" Inherits="DefaultContent" %>

2008/08/27

Tip: How To Get Exception Stack in MOSS

8/27/2008 08:38:00 PM Posted by Unknown , 1 comment
Sometime we might get error message when we run moss pages or webparts of we add.
How could we to get more debug messages. We can modify config setting to enable this feature.





Step
  1. Open the Web Application Web.config file
    C:\Inetpub\wwwroot\wss\VirtualDirectories\{Web:Port}
  2. Find the SafeMode section and modify CallStack="ture"
  3. Find the customErrors section and modify mode="Off"
  4. IISReset
We can get Exception Stack when moss page occur error next time.