Notice: Undefined index: HTTP_REFERER in C:\Domains\patricky\\wwwroot\index.php on line 3 .NET Programming « Patrick’s Bytes

Patrick’s Bytes

Techie for the past 30 years…

Layered Architecture Sample for .NET

Call it layered of n-tier also can, Serena Yeoh aka Firedancer who now works in Microsoft Consulting Services came out with a sample application based on the whitepaper – Application Architecture for .NET: Designing Applications and Services.

It is hosted at Codeplex and now at its 4th release. Besides demo how to built enterprise level application using .NET, it also features new cutting edge .NET 3.5 technologies such as LINQ, WPF, WCF and WF. By basing on the best practices of the MSDN Architecture whitepaper, this Expense Sample app also showcase and helps you to jumpstart SOA and S+S based architecture.

Again, here is the link

Getting Started with .NET @MCSB, Penang

Using the latest materials from Ervin to teach Getting Started with .NET for Start.NET program today at MCSB training center at Island Plaza, Penang. The first shock early morning is almost all the Visual Studio 2008 installation complain about trial expiration. I taken about 2 hours to figure out actually some itchy hands changed the system date of the training PC back to year 2007, thus triggering the VPC to complain about expiration.

Finished 4 out of 8 labs today and materials from Ervin are generally good and easy to understand but I realize a few places where it will do good to have some extra explanation. So on the spot during the training, I came out with a PPTX of about 7 slides to give examples on Object Oriented programming concept.

You can download it from SkyDrive here.


What’s up? Going to Penang next week.

I am out of KL for this week and will be running some workshops and talks at Penang.

This coming Monday and Tuesday I will conduct a Getting Start with .NET programming workshop at MCSB Training Center at Island Plaza. With the help of my pal Ervin Loh, he updated the content of the workshop to use latest features from .NET Framework 3.5 and hands on labs are using Visual Studio 2008. My colleague Rahimah will also be running similar workshop at Cyberjaya at the same place.


After that on next Thursday I will do a What’s new with Visual Studio 2008 talk at Penang Skills Development Center, expect something cool to be demo.


Got DinnerNow working at last!!

DinnerNow is a cool sample application that is complex and huge enough to showcase all the latest Microsoft Windows Application Platform technologies. It is also a good example on how to put Software plus Service vision to work here. You can download the latest v2.5 version from Codeplex website.

Not I want to do selling here but the technologies includes

  1. .Net Framework 3.5
    • Windows Presentation Foundation
    • Windows Workflow Foundation
    • Windows Communication Foundation
    • Cardspace
  2. Windows Mobile 6
  3. MMC 3.0 shell addin developed using .NET
  4. Poweshell
  5. IIS 7.0
  6. Integration with Windows Live services such as Virtual Earth

Because of IIS 7.0, you will need to install DinnerNow on top of Windows Vista or Windows Server 2008. However since trying this for the past few months, I got no luck of getting it running. There has been quite a few posts on the Codeplex forum with people complaining the same time.

Then checking back all the event logs in the OS, I realize there are a lot of authentication error in the IIS log. This leads me to a creation the self signed SSL cert causes this problem. This is because when you setup the WCF service website of DinnerNow it will installs its own SSL cert as well. So for a change I created a clean Win Server 2008 VPC and during the IIS installation process, I refused to create or install any SSL cert. Just select Choose a certificate for SSL encryption later in the Choose a certificate for SSL encryption screen (as pic below)


Well, do check out whether this work for you or not which I believe there are other environment issues which might pops up for larger application like DinnerNow.

P/S: So to get DinnerNow working on my VPC, I installed the following software

  • Windows Server 2008
  • IIS 7.0
  • Visual Studio 2008 Pro with SQL Server 2005 Express
  • Powershell enabled
  • Desktop Experience enabled for WMDC
  • Windows Mobile Device Center (WMDC)
  • Windows Mobile 6 SDK

.NET Framework 3.5 SP1 Beta and Visual Studio 2008 SP1 Beta out in the wild.

image image

Visual Studio 2008 together with .NET 3.5 was released about 1/2 year ago. However there are a host of planned features not able to make it to the release, for example:

  • ASP.NET 3.5 Enhancement Features
    • ASP.NET MVC (Model-View-Controller) Frameowrk
    • ADO.NET Data Service
    • Dynamic Data
    • Entity Framework
  • SQL Server 2008 CTP support
  • and more! Read up Scott Guthrie’s blog post.

.NET Client Profile

Then not long ago I got news that another new .NET features will make it to this SP1 release which is the .NET 3.5 Client Profile. Well, Windows Vista comes with .NET 3.0 but the world out there is mostly running Windows XP which does not have any.NET Framework installed at all! (unless you are  a geek head). The .NET Framework 3.5 Client Profile (BETA) contains a subset of features contained in the full installation of the .NET Framework. The subset of features are the Common Language Runtime, ClickOnce, Windows Forms, Windows Presentation Foundation and Windows Communication Foundation. Hollay!! Consider the fact that full .NET 3.5 requires .NET 2.0 and 3.0 installed then those 2 package already take up >100mb of downloads. You can check out Scott Guthrie’s blog here.

Web Install Only

The Beta bits is available as a web install but there was ways for you to download everything and save them locally. Check out this knowledge base article.

Update Details

There are a few KB articles out there listing down all the changes

  1. VSTO  |
  2. Visual Studio Team System
  3. C#
  4. Visual Basic
  5. ASP.NET/Visual Web Developer
  6. .NET Framework

Download here!

You can download the bits here

« Newer PostsOlder Posts »