Patrick's Bytes

29, January 2008

Slides for TechNet MSDN East Malaysia

Filed under: .NET Programming,SQL Server — patrickyong @ 3:00 am

Check out the slides about ADO.NET Tips and Tricks

http://cid-732d1d42507315a3.skydrive.live.com/self.aspx/MsdnRoadShowPG00801/TechNet%20MSDN%20-%20ADO.NET.pdf

Demo website used in Ajax Security Talk

Filed under: Ajax,ASP.NET — patrickyong @ 12:58 am

For those who want to try out the Ajax vulnerabilities I showed in TechNet MSDN road show in Penang, you can download the project here. Note that you must use VS2005 to open it as website.

The zip file is hosted on Live Folder

27, January 2008

Pimp my Live?!

Filed under: Live.com — patrickyong @ 4:35 pm

image

Found this website from MSN UK where you can find downloads of emoticons

http://www.pimpmylive.co.uk/messenger.asp

Create your custom rules for VSTS Code Analysis

Filed under: Visual Studio — patrickyong @ 1:34 am

There was a gentlemen among the audience at TechNet MSDN Roadshow Penang asked me about adding your own rules into Code Analysis. Well who doesn’t want to once they realize the potential of VSTS together with Check in policy in Team Foundation Server. So I did a search on the web and found the below 2 tutorials.

Tim McCarthy’s Blog

Soledad Pano’s Blog

The tutorials are written for VSTS 2005 but it will work as well for VSTS 2008. By the way there is a site within MSDN showing you how to extend Visual Studio’s functionality.

http://msdn2.microsoft.com/en-us/vstudio/aa700820.aspx

26, January 2008

New SharePoint development tool @Codeplex

Filed under: .NET Programming,Sharepoint,Visual Studio — patrickyong @ 5:50 pm

Ted Pattison came out with a new tool known as STSDEV which facilitates SharePoint developers to create projects within the Visual Studio environment.

  1. Creates VS solution and project structure
  2. facilitates building, testing and debugging of .WSP files.
  3. Automates creation and updating of manifest.xml and .ddf file
  4. Adds common SharePoint developer commands into VS

You can download the tutorial videos or the project here. http://www.codeplex.com/stsdev/

24, January 2008

TechNet MSDN Roadshow – Penang

Filed under: Ajax,ASP.NET,Visual Studio — patrickyong @ 10:32 am

There you go, today we wrap up the event in Penang and heading to East Malaysia next week. Has been quite a few tired days so before I blog further, here are the slides

  1. Writing AJAX Secured code
  2. A new hope for reliable and robust software

Coming discussion will include:

  • More AJAX Security link especially links to my hacker friend.
  • Tips and tricks to customize the testing tools in VSTS Development Edition, esp rules about Code Analysis
  • Source codes to the demos

Many thanks for the huge turn up by the Penang folks, this is my 2nd time to present at my hometown and its always heartwarming to meet up old friends at such events.

19, January 2008

Tech.Ed 2008 SEA coming to town!

Filed under: Tech.Ed,Tech.Ed 2008 SEA — patrickyong @ 4:58 pm

 

te08

The mother of all geek conferences in Malaysia (and maybe South East Asia) is coming back to Kuala Lumpur from 11-14 August. This year will focus on new products such as Windows Server 2008, Visual Studio 2008 and SQL Server 2008. So again there will be tonnes of tracks about those products for both IT Pros and developers.

In fact you can register now at the official website as a super early bird price now at RM649. Do take advantage of it because the actual price will be RM 1299.00 and you will be getting huge discount also. Also watch out for upcoming Microsoft events because there might be more goodies if you sign up for Tech.Ed in those events. For instance, you can go to TechNet MSDN Road Show to check out more as I will be speaking there as well.

  1. Penang
  2. Kuching
  3. Kota Kinabalu

MOSS Search : Can’t search terms in languages other than English

Filed under: Sharepoint — patrickyong @ 2:39 am

A friend of mine spent a few weeks on a problem where by users cannot do foreign language (Chinese, French) search on his MOSS installation. In the end they found out it is that they have 2 MOSS servers (one as web the other as search only) but the search server did not install the foreign language pack. After the respective language packs has been installed and he did a crawl on the content again, the search results came out.

17, January 2008

VSTO Reloaded

Today the MSE team did a Tech Preview to fellow developers on Visual Studio 2008 which actually available for MSDN subscribers late last year and is available for sales now.

My session is about Visual Studio Tools for Office (VSTO) 2008 and a lot of productivity enhancements have been put inside the package in this current version. They include but not limited to:

  1. Better UI Development on Office UI
    • Form Regions in Outlook
    • Custom Task Pane
    • Custom Ribbon for Excel, Word and PowerPoint.
    • No relearn, leverage on Windows Form Development skill
    • Windows Form able to host WPF app and extends this capability via Custom Task Pane
  2. SharePoint Workflow development
    • No more manual writing of workflow.xml, feature.xml (both are SharePoint feature config files) and deployment script
    • Streamline development process from 15 steps to 3 steps in VSTO 2008
  3. Word Content Control data binding with VSTO addin
    • Bringing unstructured data from Word documents to a structured world
    • Able to attach custom XML such as RosettaNet or UNeDoc which as industry based XML schema to Word data.
  4. Easy deployment of VSTO – Office Addin via Click Once
    • No more reliant on CASPOL
    • Transparent to end users

vstodemo

I demo a cool VSTO addin for Word 2007 hosting a WPF user control with colossal effect and acting as a client to a WCF services at the back end. The data access is done using LINQ for XML. After that I will publish

It is based on an article in MSDN Dec 2007 issue but the source codes there is not working for RTM version of VS 2008. Many thanks for fellow MS staff Andrew Whitechapel for making it work for VS2008 RTM.

You can download the slides and working version of the source code here. They are hosted on Windows Live Skiydrive/ Folders.

Slides in PDF

Slides in XPS

Source Code in C#

I will come out with a tutorial for the SharePoint Workflow later and also a VB9 version of the source code. So stay tuned. 🙂

14, January 2008

Make Outlook even better!!

Filed under: Office,Outlook — patrickyong @ 9:14 am

Outlook 2007 sits on my desktop all the time and it is really a great application inside the Office suite. Now one startup from California makes it even better, checkout the YouTube video here from xobni (reversal of the word ‘inbox’).

Next Page »

Create a free website or blog at WordPress.com.