Sunday, October 10, 2010

wcf Learning from MSDN

ServiceContract
    CallbackContract
    ConfigurationName
    HasProtectionLevel
    Name
    Namespace
Duplex contract.
OperationContract
    Action
    ASynchPattern
    HasProtectionLevel
    IsInitiating  -Session Initializing
    IsOneWay
    IsTerminating -Session Terminating


    System.Transactions (for using transactions in wcf services)

Hosting in Windows Process Activation Service.(WAS)
syndication feeds using WCF Services
UriTemplate  UriTemplateMatch
WebGet and the WebInvoke




WCF security best practices
http://wcfsecurityguide.codeplex.com/
http://wcfsecurity.codeplex.com/

wcf articles/blogs to read

http://www.leastprivilege.com/CategoryView.aspx?category=WCF
http://blogs.msdn.com/b/drnick/archive/2008/08.aspx
http://www.slickit.ca/2009/02/wcf-using-iis-and-windows.html
http://blogs.msdn.com/b/wenlong/archive/tags/wcf+webhost/


WCF: Using IIS and Windows Authentication to Secure WCF Services
http://www.slickit.ca/2009/02/wcf-using-iis-and-windows.html

How to: Use wsHttpBinding with Windows Authentication and Transport Security in WCF Calling from
Windows Forms

http://msdn.microsoft.com/en-us/library/ff648431.aspx


Impersonation with Double Identities
http://blogs.msdn.com/b/wenlong/archive/2006/12/01/impersonation-with-double-identities.aspx

Windows Communication Foundation
http://msdn.microsoft.com/en-us/library/dd560536.aspx

Asp.net WCF 4
A Developer's Introduction to Windows Communication Foundation 4
http://msdn.microsoft.com/en-us/library/ee354381.aspx

Describing Windows Communication Foundation
http://msdn.microsoft.com/en-us/library/ee958158.aspx

Introduction to Windows Communication Foundation
http://msdn.microsoft.com/en-us/library/dd936243.aspx

Creating and Maintaining Service and Data Contracts
http://msdn.microsoft.com/en-us/library/ee922570.aspx

Messaging Patterns tutorial later in this series.

geekSpeak Recording - WCF Extensibility with Scott Reed
http://channel9.msdn.com/shows/geekSpeak/geekSpeak-Recording-WCF-Extensibility-with-Scott-Reed/
http://channel9.msdn.com/Tags/wcf?page=6

WCF RIA Services Code Gallery
http://code.msdn.microsoft.com/RiaServices


WCF MSDN code Gallery         
http://code.msdn.microsoft.com/Project/ProjectDirectory.aspx?TagName=WCF

Sessions, Instancing and Concurrency in WCF Services
http://msdn.microsoft.com/en-us/library/ff183865.aspx



You can use the IsInitiating property of the OperationContract attribute to control whether a method

can start a session. The default value of this property is true, so the first call to any method

starts the session. If you set this property to false for a method, then clients cannot call that

method until after they call a method that starts a session.



Transactions in WCF Services
http://msdn.microsoft.com/en-us/library/ff384250.aspx



To add transaction support to a WCF service, you will take the following actions:

    * Add transaction support to the service contract. This is required.
    * Add transaction support to the code that implements the service contract. This is required.
    * Configure transactions in the implementation code. This is optional.
    * Enable transactions on the binding. This is required.

 To start a transaction in the client application, you must take the following actions:

    * Add transaction support to the proxy class.
    * Enable transactions on the binding.
    * Use the TransactionScope class to start a transaction.


Message Patterns in WCF Services
http://msdn.microsoft.com/library/ff395349.aspx

These are request-reply, one-way (also called datagram), and duplex (also called callback).


The final thing you need to do to configure the service for duplex communication is change the

binding wsDualHttpBinding





Authentication and Authorization in WCF Services - Part 1
http://msdn.microsoft.com/library/ff405740.aspx
http://msdn.microsoft.com/en-us/library/ms731925.aspx
http://msdn.microsoft.com/en-us/library/ms731172.aspx

Programming WCF Security
http://msdn.microsoft.com/en-us/library/ms731925%28v=VS.90%29.aspx

Transport Security Overview
http://msdn.microsoft.com/en-us/library/ms729700(v=VS.90).aspx

Message Security
http://msdn.microsoft.com/en-us/library/ms733137%28v=VS.90%29.aspx

System-Provided Bindings
http://msdn.microsoft.com/en-us/library/ms730879%28v=VS.90%29.aspx

Using Bindings to Configure Services and Clients
http://msdn.microsoft.com/en-us/library/ms733865%28v=VS.90%29.aspx


ServiceModel Metadata Utility Tool (Svcutil.exe) with the /config:filename[,filename] switch to
quickly create configuration files.

http://blogs.msdn.com/b/endpoint/default.aspx?PageIndex=2
 
The .NET Endpoint

Web Service Security Patterns - Community Technical Preview
http://msdn.microsoft.com/en-us/library/aa480545.aspx

Writing Smart Clients by Using Windows Communication Foundation
WCF Concurrency Management

http://msdn.microsoft.com/en-us/library/cc294424.aspx

Generating a WCF Client from Service Metadata
http://msdn.microsoft.com/en-us/library/aa751905%28v=VS.90%29.aspx

Designing Service Contracts
http://msdn.microsoft.com/en-us/library/ms733070%28v=VS.90%29.aspx
http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/07331239-3ea2-4a79-88af-4e71ef197617

Peer-to-Peer Programming with WCF and .NET
http://msdn.microsoft.com/en-us/library/cc297274.aspx

Windows Communication Foundation Samples
http://msdn.microsoft.com/en-us/library/ms751514%28v=VS.90%29.aspx

Hands on sample for wcf servies
http://msdn.microsoft.com/en-us/library/ms751514%28v=VS.90%29.aspx


Specifying Data Transfer in Service Contracts
http://msdn.microsoft.com/en-us/library/ms732038%28v=VS.90%29.aspx

Using Message Contracts (Specifying message contracts instead of data contracts for secure soap
message )

http://msdn.microsoft.com/en-us/library/ms730255%28v=VS.90%29.aspx

if a type has both a message contract and a data contract, only its message contract is considered
when the type is used in an operation.

Data Transfer and Serialization in Windows Communication Foundation
http://msdn.microsoft.com/en-us/library/ms730035%28v=VS.90%29.aspx

WCF Feature Details
http://msdn.microsoft.com/en-us/library/ms733103%28v=VS.90%29.aspx

Serialization
All public read/write properties and fields of the type are serialized.
Data Member Order(Data Member Order in the following order)

with no oder alphbatically
with lower oreder (alphabatically for same oredr)
with Higher Order
http://msdn.microsoft.com/en-us/library/ms729813%28v=VS.90%29.aspx

WCF Total Refrence
http://msdn.microsoft.com/en-us/library/ms733127%28v=VS.90%29.aspx

Data Contract Versioning (versioning is important aspect.you need to keep in mind it does not break
the existing applications)
http://msdn.microsoft.com/en-us/library/ms731138%28v=VS.90%29.aspx

Forward-Compatible Data Contracts
http://msdn.microsoft.com/en-us/library/ms731083%28v=VS.90%29.aspx

Round-Tripping
IExtensibleDataObject
Round-tripping occurs when data passes from a new version to an old version and back to the new
version of a data contract. Round-tripping guarantees that no data is lost

xml serialization
http://www.dotnetjohn.com/articles.aspx?articleid=173

Using the Message Class
http://msdn.microsoft.com/en-us/library/ms734675%28v=VS.90%29.aspx#

Windows Communication Foundation Transactions Overview
http://msdn.microsoft.com/en-us/library/ms733904%28v=VS.90%29.aspx

Client Architecture
http://msdn.microsoft.com/en-us/library/ms729718%28v=VS.90%29.aspx

URL rewrting
http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx


Callback in wcf
http://idunno.org/archive/2008/05/29/wcf-callbacks-a-beginners-guide.aspx#related-results
http://www.c-sharpcorner.com/UploadFile/john_charles/CallbackoperationsinWindowsCommunicationFoundation.aspx

Add and Remove HTML elements dynamically with Javascript
http://www.dustindiaz.com/add-and-remove-html-elements-dynamically-with-javascript/

Visual Studio 2008 Tips & Tricks for Developers:
http://www.smallworkarounds.net/2008/12/visual-studio-2008-tips-tricks-for.html
http://developer.yahoo.com/performance/rules.html

Best Practices for Speeding Up Your Web Site

Chat application in WCF
http://www.codeproject.com/KB/WCF/WCFWPFChat.aspx#WCF_Call

asp.net resoureces
http://aspnetresources.com/blog/httphandler_code_behind
http://dhananjaykumar.net/page/2/
http://dhananjaykumar.net/page/2/

Quick Review wcf (read all the articles by shivprasad koiralal)
http://www.dotnetspark.com/kb/index.aspx?cid=6
http://www.c-sharpcorner.com/UploadFile/shivprasadk/3564576505262009051128AM/35645765.aspx?ArticleID=182ddccf-a8dc-4796-9357-df7b4750357a

9 simple steps to enable X.509 certificates on WCF

http://www.dotnetspark.com/kb/609-9-simple-steps-to-enable-x509-certificates.aspx#
Step 3 :- Specify the certification path and mode in the WCF service web.config file

great source to learn quick WCF
http://www.dotnetspark.com/CateKB/6-Page-3.aspx

Hosting WCF 4.0 Service on IIS 7.5 with SSL
http://www.dotnetcurry.com/ShowArticle.aspx?ID=487&AspxAutoDetectCookieSupport=1

Building Secure ASP.NET Applications: Authentication, Authorization, and Secure Communication
http://msdn.microsoft.com/en-us/library/aa302411.aspx


tools used by the wcf  (they make our life easier )
scvconfigEditor.exe
WcfTestClient.exe
svcUtil.exe


iisreset
iisreset/stop
iisreset/start

net stop w3svc
net stop iisadmin

net start iisadmin

net start w3svc
http://go.microsoft.com/fwlink/?LinkId=65455

No comments:

Post a Comment