Monday, September 3, 2012

Quick WCF




WCF Basics

WCF Service (Item Template)
 - adds reference to System.ServiceModel
 - adds Interface file IService.cs with ServiceContract and Operation COntract
 - adds app.config file with Service Host EndPoint details that can be declaratively configured. Address, Binding and Contract

A Service must be hosted inside a process that allows it to run inside an Application Domain
 - move the above config file to this project
 - Configure the End Point, either programmatically or declaratively, specify a base address for the host, Meta data binding and make the metadata accessible through HTTP as WSDL


Client-side story:
The published Service gives a WSDL which is accessible on the HTTP
- Either use svcutil.exe to generate a class file and a config file that act as a proxy layer in order for it to consume the service

OR

add the "Web Service Reference" to the client which will automatically generate the proxy

Friday, August 31, 2012

Sharepoint Training (Srinivas Iyer)


Topics

Silverlight (Client Workflow)
Workflow
Sharepoint Service Architecture (Cloud based) (new and exciting)


Silverlight = (copy) Adobe flash
-browser plugin
-both render Vector Graphics
-more powerful than Flash ( Flex + .Net)
- extension (.xap)
-downloaded from the server and played on the client (browser)
- BAML(Binary Application Markup Language) +  DLL + Resources
-clients only need sliverlight Runtime (lightweight .NET)
-GDI32.Dll and User32.dll are windows Grahpics engine but Silverlight uses DirectX (games)
-embedded as <object> tag
- Silverlight app downloaded from a Sharepoint site, can't talk to another sight.

-Cross domain security policy (xml file) allows access to other domains via a silverlight applicaiton
-Can't make DB calls from Silverlight
-Can talk to Sharepoint Services only from which site it's downloaded



     !!Work Flows!!



- There is nothing called Sharepoint WOrk flows
- It uses the Windows Work Flow Foundation (3.0) later upgraded to 3.5 providing addtional tasks
- but because the windows workflow foundation interact with Sharepoint, it's called Sharepoint Workflow


What is a work flow ?

A sequence of tasks(Steps or Activities)
1) it has a start -> set of processes and -> there in an end point
2) Two kinds of Windows Workflows
-Sequential (where steps are unrelated)
-State Machine (same as above, but depends on the state of an object)


3) in Sharepoint you can apply WFs to Lists and Libraries
-Microsoft provides some OOB (just needs configuring)
  -Using Sharepoint designer
  -Can be modeled in Microsoft Visio and exports it as Visio-Workflow-Interchange format and imported into

Sharepoint Designer.
-Visual Studio 2010 to develop any kind of Work flow (It contains design and code surfaces)



4) Types of WFs in Sharepoint
-List WF
-Re-Usable WF
-Site WF


Enterprise Content Management
And Web Content Management


Taxonomy (Terminologies used in an Organization)

Metadata Service has an underlying DB as "Term Store" which are organized in sets called "Term Sets"
Record center : an archive of the the records
"In Place Records Management"
-Document Set


Sandboxed and Farm Solutions
-----------------------------------


Why we need Sandboxed Solutions  ( -scopted at site collection)
(SP User Service needs to be running)

Advantages of Sandboxed Solution
-Hosting sharepoint in the Application service-provider Model
-Site collection admin to control the features
-Can monitor all the features at the Farm Level
-Want to perform testing of the solution without affecting the whole Farm


Themes
Site Branding (consitent styles in all sites)
thmx (styles applied for button etc)


Thursday, November 3, 2011

New Stuff

MVC framework
Microsoft Enterprise Library Logging
MSMQ concept
Unit Testing
Powershell scripting
Sharepoint Object Model

Friday, September 30, 2011

Concepts and Tools

Concepts :
============
HTTP, HTML, CSS, XLST, XML, Javascript, Jquery, JSON,webservices, RESTful Services, VS2010 Unit Test Framework
Tools to explore:
=================
Fiddler
HTTP Watch
IE Web Developer Tool
U2U