Hi Mark,
From your description, you've an old application develped with winform +
WSE 3.0, and now want to migrate it to WCF + .NET 3.5 with VS 2008, correct?
Based on my research, regardless of the VS 2008 IDE support, since .NET
3.0, .NET 3.5 framework is still based on .NET 2.0, your WSE 3.0
application can still run correctly upon the new framework.
If you want to upgrade the project/code and use WCF, I think you will need
to change the configuration (such as those for X509 security) since WCF's
configration schema is different from WSE. However, don't worry that you
will need much change since WCF is also a quite configuration friendly
system which provide simple and complete support for configuring security
and other other service properties declaratively.
x509 certificate based security is included in the Message layer security
in WCF, here are some reference about using x509 message security
#Message Security in WCF
http://msdn.microsoft.com/en-us/library/ms733137.aspx
#How to: Secure a Service with an X.509 Certificate
http://msdn.microsoft.com/en-us/library/ms788968.aspx
#WCF security: How to configure message security with x509 authentication
http://developers.de/blogs/damir_dobric/archive/2006/09/24/931.aspx
In addition, there is also some tips about migrating WSE 3.0 app to WCF
which might also be help ful:
#Migrating WSE 3.0 Web Services to WCF
http://msdn.microsoft.com/en-us/library/ms732008.aspx
You can also find some samples of WCF security from either the .NET 3.0 sdk
samples or the WCF resource site:
#Windows SDK .NET Framework 3.0 Samples
http://www.microsoft.com/downloads/details.aspx?FamilyID=22B58B6C-8F98-40D0-
880D-C3339C5DA01E&displaylang=en
http://netfx3.com/files/76/default.aspx
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "Mark Baldwin" <sWozzi3@community.nospam>
Subject: Migrating to WCF
Date: Wed, 23 Jul 2008 11:07:17 +0100
We have an windows forms app with SQL Server backend and middle tier using
asmx webservices. The web service is secured using x509 certificates.
We need to start migrating this app to .NET 3.5 with the aim of using WF,
WCF and eventually WPF. The first thing is to move to VS2008 but it seems
that ws-Security using x509 isn't supported!
Is there an easy migration path to simply convert our asmx to WCF using the
existing security system so we have minimal impact on the customer base.
Preferrably we would want to keep the existing certificates.
Any help much appreciated...

Signature
Best regards
Mark
Steven Cheng [MSFT] - 30 Jul 2008 09:29 GMT
Hi Mark,
How are you doing?
Have you got any progress on this WCF migration issue or does the
information in previous message help you some?
We're still monitoring the thread and if there is anything else we can
help, please don't hesitate to post here.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: stcheng@online.microsoft.com (Steven Cheng [MSFT])
Organization: Microsoft
Date: Thu, 24 Jul 2008 02:29:49 GMT
Subject: RE: Migrating to WCF
Hi Mark,
From your description, you've an old application develped with winform +
WSE 3.0, and now want to migrate it to WCF + .NET 3.5 with VS 2008, correct?
Based on my research, regardless of the VS 2008 IDE support, since .NET
3.0, .NET 3.5 framework is still based on .NET 2.0, your WSE 3.0
application can still run correctly upon the new framework.
If you want to upgrade the project/code and use WCF, I think you will need
to change the configuration (such as those for X509 security) since WCF's
configration schema is different from WSE. However, don't worry that you
will need much change since WCF is also a quite configuration friendly
system which provide simple and complete support for configuring security
and other other service properties declaratively.
x509 certificate based security is included in the Message layer security
in WCF, here are some reference about using x509 message security
#Message Security in WCF
http://msdn.microsoft.com/en-us/library/ms733137.aspx
#How to: Secure a Service with an X.509 Certificate
http://msdn.microsoft.com/en-us/library/ms788968.aspx
#WCF security: How to configure message security with x509 authentication
http://developers.de/blogs/damir_dobric/archive/2006/09/24/931.aspx
In addition, there is also some tips about migrating WSE 3.0 app to WCF
which might also be help ful:
#Migrating WSE 3.0 Web Services to WCF
http://msdn.microsoft.com/en-us/library/ms732008.aspx
You can also find some samples of WCF security from either the .NET 3.0 sdk
samples or the WCF resource site:
#Windows SDK .NET Framework 3.0 Samples
http://www.microsoft.com/downloads/details.aspx?FamilyID=22B58B6C-8F98-40D0-
880D-C3339C5DA01E&displaylang=en
http://netfx3.com/files/76/default.aspx
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "Mark Baldwin" <sWozzi3@community.nospam>
Subject: Migrating to WCF
Date: Wed, 23 Jul 2008 11:07:17 +0100
We have an windows forms app with SQL Server backend and middle tier using
asmx webservices. The web service is secured using x509 certificates.
We need to start migrating this app to .NET 3.5 with the aim of using WF,
WCF and eventually WPF. The first thing is to move to VS2008 but it seems
that ws-Security using x509 isn't supported!
Is there an easy migration path to simply convert our asmx to WCF using the
existing security system so we have minimal impact on the customer base.
Preferrably we would want to keep the existing certificates.
Any help much appreciated...

Signature
Best regards
Mark