Wednesday, November 02, 2011

Understanding webtemp*.xml

Understanding webtemp*.xml

ASP.NET Caching

WCF vs. ASMX
Protocols Support

* WCF
o HTTP
o TCP
o Named pipes
o MSMQ
o Custom
o UDP
* ASMX
o HTTP only

Hosting

* ASMX
o Can be hosted only with HttpRuntime on IIS.
* WCF
o A WCF component can be hosted in any kind of environment in .NET 3.0, such as a console application, Windows application, or IIS.
o WCF services are known as 'services' as opposed to web services because you can host services without a web server.
o Self-hosting the services gives you the flexibility to use transports other than HTTP.

WCF Backwards Compatibility

* The purpose of WCF is to provide a unified programming model for distributed applications.
* Backwards compatibility
o WCF takes all the capabilities of the existing technology stacks while not relying upon any of them.
o Applications built with these earlier technologies will continue to work unchanged on systems with WCF installed.
o Existing applications are able to upgrade with WCF
o New WCF transacted application will work with existing transaction application built on System.Transactions

WCF & ASMX Integration

* WCF can use WS-* or HTTP bindings to communicate with ASMX pages

Limitations of ASMX:

* An ASMX page doesn’t tell you how to deliver it over the transports and to use a specific type of security. This is something that WCF enhances quite significantly.
* ASMX has a tight coupling with the HTTP runtime and the dependence on IIS to host it. WCF can be hosted by any Windows process that is able to host the .NET Framework 3.0.
* ASMX service is instantiated on a per-call basis, while WCF gives you flexibility by providing various instancing options such as Singleton, private session, per call.
* ASMX provides the way for interoperability but it does not provide or guarantee end-to-end security or reliable communication.

References:

Migrating ASP.NET Web Services to WCF




Sharepoint Architecture - IIS 6.0, ASP.NET & ISAPI


Handling Sharepoint List Events and Register

Why LINQ

Shared services [Moss 2007]



Create a Page Layout from scratch


Lists and Libraries in the Object Model


MOSS 2007 Tips


Solution Development


Site Columns & Content Types


Web Parts Fundamentals


SharePoint Search

Page_Init vs Page_Load



SharePoint 2007 content types


Gridview hyperlinkfield


Encrypt Web.config


Gridview confirm delete


SharePoint 2007 Libraries & Lists



Web Templates


Client Object Model – Get all lists in a site


Client Object Model : Create a new sub site


Activating a feature using object model


Creating a Folder in List Attachments folder using client object model or Web Service is not allowed


Client Object Model : Delete all sub sites

No comments:

Blog Archive