
[Caption.iT - Face in Hole]
I am in the Columbus airport heading to the SharePoint Best Practices Conference in San Diego. My first encounter this morning was to log onto my laptop and find that my user profile was corrupt. While not a huge deal, it was rather frustrating. It took about 1/2 hour but it looks like I have everything back in place.
My plan is to use the blog and document my trip and the conference (my mom would be proud). Well… the plane is getting ready to board so I will follow up soon.
WCF is a unified programming model. More robust and flexible then just web services. The model makes Metadata available about a a service which can be consumed by VS20008 (or svcutil.exe) to create proxy client objects.
The ABC's of EndPoints:
A - Address
B - Bindings
C - Contracts
MEX - Metadata exchange
Host Environments - creates endpoints and listens for requests - isolate service instances - start up /shut down stuff
Host Options - Self Hosted Application (windows service) / IIS / WAS (Windows Activation Services - requires IIS7)
Logging/Debugging - Service Trace view tool (Windows SDK)
Logging
Service Level - just before WCF processes the message to channel stack (outbound) or just after it receives messages from channel stack (inbound) - [messages in and out]
Transport Level - bottom of channel stack just before message is passed to transport mechanism (outbound) or just after message is retrieved from transport mechanism (inbound) [before/after across the wire]
Tracing
CallBacks - basically service creates a call back interface and client has to implement that interface
Exceptions = Faults
Default fault gives -> CODE, REASON, DETAIL properties
InstanceContextMode - Per Session (default), Per Call, Single
MTOM - Message Transmission Optimization Mechanism
SECURITY - Claims (new in WCF) : vouched for by a particular issuer (cert)
Web Site - contains multiple assemblies
Web Application - creates .sln file, bin folder with 1 assembly
ASP.Net : Intrinsic Objects - Server, Request, Response, Application, Session, Context, Trace
Page Events: Page_PreInit, Page_Init, Page_PreLoad, Page_Load, Page_unload
New in 3.5:
- AJAX
- ListView Control
- LinqDataSource control
User Control - ascx file - <%@Control - when adding to a page <% Register tagprefix "test" tagname=nametest/> in page <test:nametest - properties
Custom Controls - no markup inherits System.web.ui.webcontrol - override render
Composite Control - inherits from sytem.web.ui.webcontrol.compositecontrol - override create child controls
put in app_code folder and it will precompile