What’s New in WCF 4.5 Ed Jones Grey Guindon.

Slides:



Advertisements
Similar presentations
Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD) ASP.NET 3.5 New Features.
Advertisements

What’s New in Fireware XTM v11.3.4
Ofir Aspis 1/2010 VS 2010 Targets High Level - IDE New Features VS 2010 As Editor and Platform Demo Editor features Extending.
Oct, 26 th, 2010 OGF 30, NSI-WG: Network Service Interface working group Web Services Overview Web Services for NSI protocol implementation
Overview Environment for Internet database connectivity
Server Access The REST of the Story David Cleary
Microsoft Confidential. An incubation effort to: Support client -> server communication in native code with a modern C++ API design Support writing Azure-based.
22 мая 2013, Киев Построение Windows 8 приложений для доступа к SharePoint 2013 Бельский Сергей.
JD Edwards Service JD Edwards Service SAP Service SAP Service Java Appl. Service Java Appl. Service.Net Appl. Service.Net Appl. Service CICS Service.
DevScopeInnovation EventSandro Pereira Azure Service Bus EAI/EDI.
Global Windows Azure Bootcamp Auckland March
Windows Azure for SharePoint people Dennis – Solution Architect Microsoft Windows Azure.
1 WSDL: Web Service Description Language Gary Sharp Mike Breakiron.
DevScopeInnovation EventSandro Pereira Azure Service Bus EAI/EDI.
GETTING STARTED WITH WINDOWS COMMUNICATION FOUNDATION 4.5 Ed Jones & Grey Guindon.
INTRODUCTION TO SIMULATION WITH OMNET++ José Daniel García Sánchez ARCOS Group – University Carlos III of Madrid.
 2004 Prentice Hall, Inc. All rights reserved. Chapter 23 – ASP.NET Outline 23.1 Introduction 23.2.NET Overview NET Framework ASP (Active.
COMOS Mobile Solutions 1.0 Simplified global collaboration
New Release Announcements and Product Roadmap Chris DiPierro, Director of Software Development April 9-11, 2014
31242/32549 Advanced Internet Programming Advanced Java Programming
DB Relay An Introduction. INSPIRATION Database access is WAY TOO HARD The crux.
1 XML Web Services Practical Implementations Bob Steemson Product Architect iSOFT plc.
Web Services Darshan R. Kapadia Gregor von Laszewski 1http://grid.rit.edu.
SOAP Quang Vinh Pham Simon De Baets Université Libre de Bruxelles1.
What’s New in Windows Communication Foundation in Microsoft.NET 4.5 Daniel Roth Senior Program Manager Microsoft Corporation DEV326.
BizTalk Azure The more things change the more they stay the same Bon Jovi Jon Fancey Affinus.
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
 Introduction  WCF Definition  WCF Architecture  Implementation  WCF Demo Overview.
Windows Communication Foundation and Web Services.
Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors.
Getting Started with Windows Communication Foundation 4.5 Ed Jones, MCT, MCPD, MCTS Consultant RBA Inc.
Getting Started with WCF Windows Communication Foundation 4.0 Development Chapter 1.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
A Free sample background from © 2001 By Default!Slide 1.NET Overview BY: Pinkesh Desai.
Creating Business Workflow Using SharePoint Designer 2007 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft SQL Server.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
1 Introduction to.NET Framework. 2.NETFramework Internet COM+ Orchestration Orchestration Windows.NET Enterprise ServersBuildingBlockServices Visual Studio.NET.
Lesley Bross, August 29, 2010 ArcGIS 10 add-in glossary.
©Kwan Sai Kit, All Rights Reserved Windows Small Business Server 2003 Features.
C Copyright © 2009, Oracle. All rights reserved. Appendix C: Service-Oriented Architectures.
Module 14: WCF Send Adapters. Overview Lesson 1: Introduction to WCF Send Adapters Lesson 2: Consuming a Web Service Lesson 3: Consuming Services from.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Microsoft Internet Information Services 5.0 (IIS) By: Edik Magardomyan Fozi Abdurhman Bassem Albaiady Vince Serobyan.
Module 7: Integrating with Adapters. Overview Lesson 1: Introduction to BizTalk Adapters Lesson 2: Configuring a BizTalk Adapter.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
XRules An XML Business Rules Language Introduction Copyright © Waleed Abdulla All rights reserved. August 2004.
DEVELOPING A MESSAGING SOLUTION WITH MICROSOFT BIZTALK 2013 Ed Jones MCT, MCPD, MCTS.
Mahesh Krishnan, Senior Consultant, Readify Slide 1.
Office Business Applications Workshop Defining Business Process and Workflows.
S imple O bject A ccess P rotocol Karthikeyan Chandrasekaran & Nandakumar Padmanabhan.
Getting Started with.NET Getting Started with.NET/Lesson 1/Slide 1 of 31 Objectives In this lesson, you will learn to: *Identify the components of the.NET.
.NET Mobile Application Development XML Web Services.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
BizTalk Damir Dobric Lead Architect. Agenda Microsoft BizTalk RFID Overview Architecture Application models Implementing Event Handlers Sensors.
Redmond Protocols Plugfest 2016 Jinghui Zhang Office Interoperability Test Tools (Test Suites and Open Source Projects) Software Engineer Microsoft Corporation.
Windows Communication Foundation and Web Services
Jim Fawcett CSE681 – SW Modeling & Analysis Spring 2005
Introducing the Windows Mobile development
z/Ware 2.0 Technical Overview
Windows Communication Foundation and Web Services
BizTalk Server 2013 Cloud based Adapters
Microsoft Ignite NZ October 2016 SKYCITY, Auckland
WEB API.
Jon Fancey BizTalk 2016 Server: What’s new
Microsoft Connect /1/2018 2:36 AM
Saranya Sriram Developer Evangelist | Microsoft
WCF Data Services and Silverlight
Windows Forms in Visual Studio 2005: An in-depth look at key features
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Presentation transcript:

What’s New in WCF 4.5 Ed Jones Grey Guindon

What’s New in WCF 4.5 Introduction: Simplify, Simplify, Simplify Throttles, Timeouts, & Quotas Simpler Config Files Config File Tooltips, IntelliSense, &Validation Contract-First Generation HTTPS For Free! OFF-TOPIC (but equally important): What’s Next in BizTalk

“I submit WCF's various reader quotas and limits as irrefutable proof the way to hell is paved with good intentions.” -Tomas Restrepo The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:00:59.4383964'. There is an error in the XML document. The maximum nametable character count quota (16384) has been exceeded while reading XML data. The nametable is a data structure used to store strings encountered during XML processing - long XML documents with non-repeating element names, attribute names and attribute values may trigger this quota. This quota may be increased by changing the MaxNameTableCharCount property on the XmlDictionaryReaderQuotas object used when creating the XML reader. The formatter threw an exception while trying to deserialize the message: Error in deserializing body of request message for operation 'SubmitQuery'. The 'maximum bytes per Read operation' quota (4096) has been exceeded while reading XML data. Long element start tags (consisting of the element name, attribute names and attribute values) may trigger this quota. This quota may be increased by changing the MaxBytesPerRead property on the XmlDictionaryReaderQuotas object used when creating the XML reader. The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas The maximum array length quota (16384) has been exceeded while reading XML data. This quota may be increased by changing the MaxArrayLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader.

Throttles, Timeouts, Quotas Property On Old Value New Value ChannelInitializationTimeout NetTcpBinding 5 sec 30 seconds ListenBacklog NetTcpBinding, SMSvcHost.exe 10 16 * processor count MaxPendingAccepts NetTcpBinding, NamedPipeBinding 1 2 * processor count SMSvcHost.exe 2 4 * processor count MaxPendingConnections 12 * processor count ReceiveTimeout 10 sec READER QUOTAS Name Old Value New Value MaxArrayLength 16384 elements Int32.MaxValue (text) MaxBytesPerRead 4096 bytes MaxDepth 32 nodes deep 128 MaxNameTableCharCount 16384 characters MaxStringContentLength 8192 characters

Contract first utility WCF 4.5 give us the capability to build data contracts and classes directly from XSDs. To use the contract-first tool, the XSD must be downloaded locally. The contract-first tool is integrated into Visual Studio 2012 as a build task. You can configure how the dev environment will create the contracts through the “WCF Options” item in the Project properties.

Contract-first settings Serializer Mode: This setting determines which serializer is used for reading service contract files Reuse Types: This setting specifies which libraries are used for type reuse. Collection Type: This setting specifies the fully-qualified or assembly-qualified type to be used for the collection data type. Dictionary Type: This setting specifies the fully-qualified or assembly-qualified type to be used for the dictionary data type. EnableDataBinding: This setting specifies whether to implement the INotifyPropertyChanged interface on all data types to implement data binding. ExcludedTypes:This setting specifies the list of fully-qualified or assembly-qualified types to be excluded from the referenced assemblies. GenerateInternalTypes: This setting specifies whether to generate classes that are marked as internal. GenerateSerializableTypes: This setting specifies whether to generate classes with the SerializableAttribute attribute. ImportXMLTypes: This setting specifies whether to configure the data contract serializer to apply the SerializableAttribute attribute to classes without the DataContractAttribute attribute SupportFx35TypedDataSets: This setting specifies whether to provide additional functionality for typed data sets created for .Net Framework 3.5.. InputXsdFiles: This setting specifies the list of input files. Language: This setting specifies the language of the generated contract code. NamespaceMappings: This setting specifies the mappings from the XSD Target Namespaces to CLR namespaces. OutputDirectory: This setting specifies the directory where the code files will be generated.

Better Integration with the Host Automatically inherit the security settings for IIS Inherit SSL settings Inherit authentication modes (and will also support multiple authentication modes per end point ) **** previously if you wanted to configure a WCF endpoint that supported a variety of the transport security modes, those were each separate end points and there was one per end point and they would often sit at different addresses - 4.5 will support multiple authentication modes.

Intellisense – tool tips With Intellisense you get context help (Tooltip Text) that helps to define a particular selection

Intellisense – Types of When configuring an <endpoint> you can now reference a dropdown for the contract (Intellisense lists all contracts in your project)

Intellisense – Types of When configuring custom bindings – say wiring up a binding reference type in the definition of your <endpoint> - Intellisense is smart enough to reference those which are (already) defined within your config file…

Clean client configuration Generation

DEMO

Classes from xml You can generate a class from a sample XML document using the “Paste XML as classes” feature of Visual Studio. This is a .NET 4.5 feature (not specific to WCF)

demo

“Reports of my death are greatly exaggerated” –BizTalk Server* *also Mark Twain

What’s next in Biztalk Server (2010 R2) Platform Update: support for Visual Studio 2012, Windows 8 Server, SQL Server 2012, Office 15 and System Center 2012 B2B enhancements to support the latest standards natively HL7 2.5.1, 2.6 SWIFT 2012 Message Pack X12 5030+, EDIFACT D05B+ Better performance Multi-fold improvements ordered send port scenarios Improvements to the performance of dynamic send ports and ESB, via host handler association of send ports MLLP adapter performance

Improved Connectivity Better manageability Visualize BizTalk artifact dependencies in BizTalk Admin console ESB Toolkit as core part of BizTalk setup and product Improved Connectivity Consume REST services directly in BizTalk Simplified SharePoint integration experience Improvements to existing adapters (e.g., HIS, SMTP) Easy connectivity to Azure Service Bus relay, queues and topics and BizTalk running in Azure…

Biztalk 2010 R2 timelines The CTP version is available now as an Azure VM Beta will be released sometime in October RTM will happen about 6 months after Windows Server 2012 releases (April 2013ish?)

References: Daniel Roth, “What’s New in Windows Communication Foundation in Microsoft .NET 4.5” Bala Sriram & Rajesh Ramamirtham, “Application Integration Futures: the Roadmap and What’s Next on Windows Azure” Javed Sikander & Rajesh Ramamirtham, “Building Integration Solutions Using Microsoft BizTalk On- Premises and on Windows Azure” MSDN, “Contract First Tool”, http://msdn.microsoft.com/en- us/library/hh674270.aspx MSDN, “Generating Data Type Classes from XML”, http://msdn.microsoft.com/en- us/library/hh371548.aspx

Thank you! Ed Jones Grey Guindon ed.jones@rbaconsulting.com http://talentedmonkeys.wordpress.com Grey Guindon grey.guindon@rbaconsulting.com