coffee-cup explorations of bacardi bryant RSS 2.0
 Wednesday, October 15, 2008

.NET Dojo (WCF vs. *.asmx)

Recently I attended the .NET Dojo event here in Houston, where Steven Fulcher talked about WCF and its implementation. Early on, I found myself trying to figure out how I, as an ASP.NET developer already using *.asmx services, would truly benefit from this technology. At first glance, you might take it as a proprietary wrapper SOAP, POX (plain old xml), REST and other web programming models that already exist.  However, as we plowed forward through the examples and hands-on labs, the power and flexibility gained by adding WCF to your distributed architecture becomes prevalent.

I won’t go into a lot of detail but simply point out the feature that stands out to me, WCF Security.

By making simple configuration changes, the data returned by your service can be encrypted, even over http://.

…other stuff here

<endpoint address=""

                                    binding="wsHttpBinding"

                                    contract="MyService.IMyServiceInterface" />

                        </service>

</services>

</system.serviceModel>

By modifying the endpoint configuration in your web.config or app.config , depending on what type of service host you choose, setting its binding to “wsHttpBinding”, you will encrypt the data.  This is something that isn’t possible via the *.asmx services that are currently being used in many applications.

There are many tutorials and labs available at: http://msdn.microsoft.com/en-us/netframework/aa663324.aspx so take a look.

Wednesday, October 15, 2008 5:40:31 PM UTC  #    Comments [0] - Trackback
ASP.NET | WCF
All comments require the approval of the site owner before being displayed.
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview
Categories
Archive
<January 2009>
SunMonTueWedThuFriSat
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2009
Bacardi Bryant
Sign In
Statistics
Total Posts: 10
This Year: 0
This Month: 0
This Week: 0
Comments: 1
All Content © 2009, Bacardi Bryant
DasBlog theme 'Business' created by Christoph De Baene (delarou)