September 2008 Entries

Visual Studio 2010 and .NET 4.0 first news...

Visual Studio 2008 SP1 and .NET Framework 3.5 SP1 are so new, lots of new interesting features for developers were available after their launch and... Microsoft today has unveiled something about Visual Studio 2010 and .NET 4.0. Surprised? Obviously, we'll see more and more about VS 2010 and .NET 4.0 in the next months, but what seems to be clear after the first news is that VS 2010 will be more centered around the Application Lifecycle Management. Also Somasegar explains the future key concepts: We will embrace the needs of all the users in the lifecycle – from...

posted @ Monday, September 29, 2008 7:54 PM | Feedback (0)

WPF or Windows Form?

We're planning to develop a new custom client LOB application and, by making the analysis document, there's the crucial dilemma: should I choose Windows Form (where all my team is great) or should I choose the new Windows Presentation Foundation? When I've submitted this question, I've received also responses like "Windows Form are dead... we've to move to WPF!". I think that our final choice will be to choose WPF for this project (maye with the interesting Composite Application Guidance for WPF Framework), but absolutely I can't agree to say that "Windows Form is a dead technology". Windows Form is...

posted @ Thursday, September 25, 2008 6:01 PM | Feedback (9)

Hello World: Windows Mobile vs Symbian vs Android vs Iphone

First Symbian, than Windows Mobile, than the Iphone, now the Google Android platform... the mobile development world is really on movement. These are all great platforms, each of them with their pros and cons (as usual). What about if you have to develop the classic "Hello World" application on each of this platforms? With Symbian it will be something like this: // HelloWorld.cpp//// Copyright (c) 2000 Symbian Ltd. All rights reserved.#include "CommonFramework.h"// do the exampleLOCAL_C void doExampleL(){_LIT(KHelloWorldText,"Hello world!\n");console->Printf(KHelloWorldText);} You will also need an mmp (HelloWorld.mmp) file which contains: // HelloWorld.mmp//// Copyright (c) 2000 Symbian Ltd. All rights reserved.////...

posted @ Wednesday, September 24, 2008 9:14 PM | Feedback (17)

Sharepoint Development: Object Model vs Web Services

When you've to develop a custom solution based on WSS/MOSS, I see that sometimes there are doubts on what technology to use in order to interop with the Sharepoint platform: should I use the Sharepoint Object Model APIs or should I use Sharepoint Web Services? In general the answer depends on what type of application you've to write. Use the Sharepoint Object Model if your code will be executed on a Sharepoint server farm machine. This is the best way if the final application will run on the Sharepoint server or if you're developing a Sharepoint WebPart.  To...

posted @ Wednesday, September 24, 2008 5:35 PM | Feedback (1)

Exposing Windows Workflow as an XML Web Service: what about persistence?

In these days I was involved on the migration of lots of my services under the new .NET 3.5 platform (WCF and WF). Today I've tryed to expose a Windows Workflow as an XML Web Service and now I've a dilemma... :) OK... let's go from the beginning... With Windows Workflow is quite simple to expose a WF as an XML Web Service. Start Visual Studio 2008, New Project and choose Sequential Workflow Library: Then, exactly like WCF, you need to define an interface that will act as the interface to the workflow (I've used VB.NET in my project): Interface IWS         Function MyMethod(ByVal Input...

posted @ Wednesday, September 17, 2008 5:48 PM | Feedback (0)

WCF or XML Web Service?

In the past we've made lots of services that permits the interoperability between different applications and different clients, and all of them was based on .NET XML Web Services. Now that Windows Communication Foundation is out, I'm involved on a migration of some of these services to this new platform and I'm observing that there's not always a clear idea on what WCF is and what this platform can do. The classic questions I receive are mainly two: if you move your service to WCF, will my application be able to communicate with the service as before? ...

posted @ Wednesday, September 17, 2008 10:24 AM | Feedback (8)

ASP.NET Dynamic Data: marvellous!!

Today I've played for the first time with a new features that comes with the .NET Framework 3.5 SP1, the new ASP.NET Dynamic Data support. My comments about this now? Marvellous!! :) The new ASP.NET Dynamics Data is a feature that (in summary) permits you to quickly build data-driven websites (based on LINQ to SQL or LINQ to Entities) without writing any lines of code. In few minutes you can have a complete data-driven site ready to be extended and customized. How to do this? Here's a quick sample: If you have installed .NET 3.5 SP1 and with Visual Studio...

posted @ Saturday, September 06, 2008 3:25 PM | Feedback (7)