Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in _menu_load_objects() (line 579 of /www/webvol38/16/9svvwb3gxs5tmhv/benzzon.se/public_html/includes/menu.inc).

WCF - Windows Communication Foundation

2 posts / 0 new
Last post
benzzon
benzzon's picture
WCF - Windows Communication Foundation
WCF - Windows Communication Foundation
WebServices ingår som del i WCF.
 
 
Intertech WCF Training, part 1, youtube: http://www.youtube.com/watch?v=IUMLWFo4hao
Migrating ASP.NET Web Services to WCF: http://msdn.microsoft.com/en-us/library/ms730214.aspx
 
 
New WCF features in Visual Studio 2008: http://www.geekzone.co.nz/vs2008/4653
 
Web Service Software Factory, Modeling Edition Feb 2008: http://msdn.microsoft.com/en-us/library/bb931187.aspx
(patterns & practices, best practices..)
Using the Web Service Software Factory (video): http://video.google.com/videoplay?docid=6526177287480191460#
 
Windows Communication Foundation (WCF) Service Client: http://www.codeproject.com/KB/WCF/WCFServiceClient.aspx
 
 
Creating a WCF Web Service using Visual Studio 2008
 
 
 
 
All About ASMX 2.0, WSE 3.0, and WCF: http://msdn.microsoft.com/en-us/magazine/cc163674.aspx
 
 

WCF:

  1. WCF is Microsoft recommended direction
  2. WCF was released on January 2006 with Go-Live Licenses, but it will be officially released on November of this year
  3. WCF is a 100% Service Oriented Architecture application development platform
  4. WCF Security Architecture is interoperable, based on WS-* specifications and it’s designed for On-Machine, Cross-Machine, and Cross-Internet scenarios.
  5. WCF Transaction Architecture is full flexible, declarative and has method level granularity
  6. WCF binary messages are smaller and faster than Remoting’s.
  7. Services versioning is better dealt with WCF than with Remoting.

.Net Remoting for .Net Framework 2.0:

  1. Remoting is not recommended by Microsoft
  2. Remoting for .Net Framework 2.0 was released in December 2005
  3. Remoting is tightly coupled Object Oriented technology and not loosely coupled Service Oriented.
  4. It has security limitations, though now it has the new secure TcpChannel
  5. With System.Transactions we can get similar transaction management capabilities but not in a declarative way

What is WCF?
 
Windows Communication Foundation (formerly code-named "Indigo") is a
set of .NET technologies for building and running connected systems.
It is a new breed of communications infrastructure built around the
Web services architecture.
 
in technical terms
 
Windows Communication Foundation is Microsoft's unified programming
model for building service-oriented applications with managed code.
It extends the .NET Framework to enable developers to build secure
and reliable transacted Web services that integrate across platforms
and interoperate with existing investments. Windows Communication
Foundation combines and extends the capabilities of existing
Microsoft distributed systems technologies, including Enterprise
Services, System.Messaging, Microsoft .NET Remoting, ASMX, and WSE
to deliver a unified development experience across multiple axes,
including distance (cross-process, cross-machine, cross-subnet,
cross-intranet, cross-Internet), topologies (farms, fire-walled,
content-routed, dynamic), hosts (ASP.NET, EXE, Windows Presentation
Foundation, Windows Forms, NT Service, COM+), protocols (TCP, HTTP,
cross-process, custom), and security models (SAML, Kerberos, X509,
username/password, custom).

WCF is the Microsoft platform for SOA (Service Oriented Architecture)

 
Designing WCF DataContract using the LINQ to SQL Designer:
 
Developing an Object Oriented Business Component Using WCF and Visual Studio 2008 (VB .Net-kod) 
 
Create DataContract WCF from XSD: svcutil.exe (name of your XSD).xsd /dataContractOnly
 
Tips for LINQ: Fill any generic List from a DataTable
http://www.codeproject.com/KB/linq/FromDataTable2GenericList.aspx
 
 
 
"code-first" versus "schema-first" design: http://msdn.microsoft.com/en-us/magazine/ee335699.aspx
benzzon
benzzon's picture
.
*** Vid problem att anropa "service.svc" från webläsare:
 
"HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration.
If the page is a script, add a handler. If the file should be downloaded, add a MIME map."

To verify that the svc file type is mapped correctly in IIS 7.0

1.Open a command prompt window and type "start inetmgr" to open the Internet Information Services (IIS) MMC snap-in.

2.In the left pane, expand the node with the computer's name, then expand the Web Sites node, and then select the Default Web Site.

3.Double-click Handler mappings in the Features View.

4.In the list of application mappings, verify that the .svc file is mapped to the aspnet_isapi.dll. If the file has not been mapped:

4.1.Click Add Managed Handler.

4.2.Type "*.svc" into the Request path:.

4.3.Type "System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" into the Type textbox.

4.4.Type "svc-Integrated" into the Name: textbox.

4.5.Click OK.

4.6.Click "Add Script Map".

4.7.Type "*.svc" into the Request path:.

4.8.Type "%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" into the Executable: text box.

4.9.Type "svc-ISAPI-2.0" into the Name: text box.

4.10.Using the Move Up/Move Down controls, ensure that the managed handler (svc-Integrated) appears before the aspnet_isapi (svc-ISAPI-2.0) handler in the list.

4.11.Click OK.