Posts Tagged ‘Microsoft’

SP 2010 : Client Object Model (CLR)

So i wanted to look into the new syntax by SharePoint 2010 to connect to a site and

Retrieve edit data

And i found that great topic that goes through the API step by step and explaining every

Things with code and examples really liked it

Using the SharePoint 2010 Managed Client Object Model

Table of Contents

Using the Managed Client Object Model

How It Works

Creating a Windows Console Managed Client Object Model Application

The Managed Client Object Model

Object Identity

Trimming Result Sets

Creating and Populating a List

Using CAML to Query a List

Filtering the Child Collection returned by LoadQuery using LINQ

Using the LoadQuery Method

Increasing Performance by Nesting Includes in LoadQuery

Filtering the Child Collection returned by LoadQuery using LINQ

Updating Client Objects

Deleting Client Objects

Discovering the Schema for Fields

Accessing Large Lists

Asynchronous Processing

Other Resources

Pasted from <http://blogs.msdn.com/ericwhite/archive/2009/11/20/using-the-sharepoint-2010-managed-client-object-model.aspx>

Other good topics by zimmergren

SP 2010: Getting started with the Client Object Model in SharePoint 2010

And

SP 2010: Programmatically work with External Lists (BCS) using the Client Object Model

But all those topics didn’t give a good explanation on how to Authenticate Users Using client object Model but i found out a good way to do it and will write about it in my next topic

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
 

Resources from Surface Training

I promised you a few items ready for download – these are the links:

  • Administrative guidance: here
  • Specific for remote management: here

  • SDK (if you don’t have it already): here
  • Dev environment setup: here

From this it is quite clear that we could do more complex content – this is noted and although I cannot promise anything on this particular subject, we will try to follow-up via online channels or possibly later sessions.

For those who simply cannot wait, I can highly recommend sessions on Channel 9 and/or attending the MIX conference in Las Vegas in March: www.visitmix.com where WPF, Surface, Silver light and general web design & development are the primary/only topics.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
 

What is New In C# 2.0 , 3.0 , 3.5, 4.0 ( road map)

What is New In C# 4.0

Dynamic lookup

dynamic d = 7;

d = “Abdel-Rahman”;

Named and optional parameters
public void M(int x, int y = 5, int z = 7);

M(1, 2, 3); // ordinary call of M 

M(1, 2); // omitting z – equivalent to 

M(1, 2, 7) 

M(1); // omitting both y and z – equivalent to M(1, 5, 7) 

 

M(1, z: 3); // passing z by name 

M(x: 1, z: 3); // passing both x and z by name 

M(z: 3, x: 1); // reversing the order of arguments

COM specific interop features

This means that you can easily access members directly off a returned object, or you can assign it to a strongly typed local variable without having to cast. To illustrate, you can now say

excel.Cells[1, 1].Value = "Hello"; 

 

// instead of 

 

((Excel.Range)excel.Cells[1, 1]).Value2 = "Hello"; 

 

Excel.Range range = excel.Cells[1, 1]; 

 

// instead of 

 

Excel.Range range = (Excel.Range)excel.Cells[1, 1];

Variance

// ToDo : 1.0 Add Example.

What is New In C# 3.0 , C# 3.5

you can see my old post about C# 3.0 here , but i think i ll write about it here in more details.

Automatic  Properties
public int MyProperty { get; set; }

Implicitly Typed Local Variables
var n = 5;

var s = “LINQ rules”;

var b = new[] { 1, 1.5, 2, 2.5 };

var c = new[] { "hello", null, "world" };

Anonymous Types

var anonType = new {X = 1, Y = 2};

var NewTempClass = new {FirstName = "name" , Age = 32 };

string x = NewTempClass.FirstName;

Object Initializes
Contact contact = new Contact { LastName = “Magennis”, Age = 9 };

Collection Initializers
List<int> digits = new List<int> { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };

List<Contact> contacts = new List<Contact>

{ new Contact {LastName = “Doherty”, DOB =55},new Contact {LastName = “Wilcox”, DOB = 66} };

Extension Methods

They made a new generic methods so you can extend the functionality of any class you want

public static int NewExtensionMethod(this string s) {return Int32.Parse(s); }

Partial Methods
Query Expressions
var result = from item in List.items Where item.Title = ”Abdel”

select item;

Lambda Expressions
IEnuerable <Person> results = People.Where( P => P.LastName ="Abdel");

double Averageage = People.Average(P => P.Age);

Expression Trees

 

What is New In C# 2.0

Generics
class BaseNode { }

class BaseNodeGeneric<T> { }

class NodeConcrete<T> : BaseNode { }

class NodeClosed<T> : BaseNodeGeneric<int> { }

class NodeOpen<T> : BaseNodeGeneric<T> { }

class BaseNodeMultiple<T, U> { }

class Node4<T> : BaseNodeMultiple<T, int> { }

class Node5<T, U> : BaseNodeMultiple<T, U> { }

class SuperKeyType<K, V, U>  where U : System.IComparable<U>  where V : new() { }

static void Swap<T>(ref T lhs, ref T rhs)

class SampleClass<T> 

{ 

 void Swap(ref T lhs, 

ref T rhs) { } 

}

Iterators
  • An iterator is a section of code that returns an ordered sequence of values of the same type.

  • An iterator can be used as the body of a method, an operator, or a get accessor.

  • The iterator code uses the yield return statement to return each element in turn. yield break ends the iteration. For more information, see yield.

  • Multiple iterators can be implemented on a class. Each iterator must have a unique name just like any class member, and can be invoked by client code in a foreach statement as follows: foreach(int x in SampleClass.Iterator2){}

  • The return type of an iterator must be IEnumerable, IEnumerator, IEnumerable<T>, or IEnumerator<T>.

The yield keyword is used to specify the value, or values, returned. When the yield return statement is reached, the current location is stored. Execution is restarted from this location the next time the iterator is called.

Iterators are especially useful with collection classes, providing an easy way to iterate non-trivial data structures such as binary trees.

Partial Classes
Nullable Types

example int? x = null; int y = x ?? -1;

Use the System.Nullable.GetValueOrDefault

The syntax T?

Anonymous Methods

Del d = delegate(int k) { /* … */ };

Static Classes
Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
 

Over View of MS office Communications

Functions

  • Instant Messaging
  • on-Premise web conferencing
  • Audio/Video conferencing
  • Telephony

Architecture

Editions

  • Standard Edition ( small/ medium )organizations

All scenarios / Functionalities located on the server

  • Enterprise Edition( medium / Big) organizations
    • Consolidated configuration

All functions/Scenarios located on front end servers

  • Expanded configuration

Each Function is configured on a standalone server

Servers

  1. Front End Servers( All functions)
  2. Perimeter servers
  3. Application servers
  4. Active Directory servers.

( telephony and conferencing servers have to be stand alone servers)

 

Telephony

Basic Telephony Components

PSTN is a network of public circuit-switched telephones across the world

ISDN PRI is a voice and data service that provides high-volume access to PSTN

A PBX

A telephony gateway

 

Functionality Of Telephony Solution

  1. Basic call control
  2. Advanced call control
  3. Inbound call options
  4. Call forwarding
  5. Voice mail
Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
 

HTC HD Upgrading to Windows 6.5

So last week end i decided to upgrade my HTC touch HD windows based mobile phone to the new windows 6.5 and the fancy HTC TouchFlo 3D

it took all the week end actually to do it …. not because it is difficult but because i made it wrong ;)

so i am here today to make sure that  ( you ) and me do it right the next time a nice staff shows up …

so first of all you should have a quick over view over the contents of that page HTC BalckStone make sure you have good Understanding Flashing and the Ship

choose one good cooked rom from the rom list , i have used that one

follow up the flashing guide lines and make sure you fully understand every thing and doing it at your own risk

the guide for flashing is here , make sure you download all the attached tools from the topic and not from any where else ( that was my mistake i used and old version of OileNex Tool ) and that made allot of troubles because it was an older version so make sure you get latest OileNex tool attached to the Guide for flashing

it wont take long time finishing the whole thing but make sure before doing any thing to backup your contacts using one of the backing tools , i used PPCPimBackup_2.8 very simple still powerful

after doing every thing in a good way and having your new fancy software up and running may you can start using one of the advanced branding packages provided by Max

i really like the new software specially the part about integrating the Face book profile pictures with you phone contacts and using a tab specially for twitter really meeting my needs as a programmer…. have fun using the touch device : – )

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
 

Documentum Environment

At my company we were trying to configure up documentum integrated with SharePoint 2007

but our main problem was that SharePoint was installed on Windows Server 2008 ( Hyper V) and documentum is only integrated to work on Windows 2003 so that was one of the big issues forced us to reconsider the solution.

but any ways here comes the things required to get the job done and from where to get them.

good resources describing the installation process for the Documentum server I found that link here

It is describing everything still we need to install  SMTP Server .

Also we need “EMC Documentum Archive Services for SharePoint” here

And “EMC Documentum Content Services for SharePoint” here

I hope the installation packages have contains step by step guide for installing them

i know it is very complicated process but still it worth it … but please make sure before proceeding with the steps you have windows server 2003

We had an environment with all DCTM & MOSS integration functionality, unfortunately that environment was based on DCTM 5.3 version. We are at the moment working on a new setup using DCTM 6.5 SP1 & MOSS 2007. The thing is that actual products (Content Services & Repository Services for MOSS) are NOT available yet. Anyway, we got our hands on Content Services for MOSS and that is up and running

more about documentum and SharePoint play together here

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
 

Unified Communication Enviroment

So we need to create a development environment for the UC … and I it will known that it is a bit complicated to start it up and configure it .

I found that good link that explains a step by step to get a working environment with the most wanted features here

the topic is based on modifying a virtual images that can be downloaded from Microsoft here

also Chris explains about the software needed for both the development and the production environments

Development environment

Production environment

More details about that is located in that link here

I also know that the last chapter of the book “Programming for Unified Communications with OCS 2007 R2” the book recommended  by MS explains a lot about configuring the environment in its last chapter here

I know that the UC environment consist of many servers , exchange server office communicator and others … I am not sure how many virtual server we will need … didn’t go that deep yet … but I know the environment  MS used in its session consist of 3 to 4 servers

Certificates for the UC from Microsoft are  “Microsoft Office Communications Server 2007 – Configuring” and “Microsoft Office Live Communications Server 2005” here

I would really like to have a control of a physical server and configure the environments myself. And then document all the steps I followed up.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
 

Microsoft UC Developer Workshop

So just a quick notes on what I learned in two days at Microsoft development center ,basically it was a big demo of what UC can do and then a small explanation of each step and how was the demo done

The demo was about a wife that is going to buy a sofa from a super market and then the sales person opens a wpf windows application that show he is online from the communicator and then he starts navigation through different type of products and then choose sofa and then opens the customer calendar and choose a good day to deliver the sofa

After that the application chooses a driver that is not busy at the day automatically and books a date with the delivery details in his calendar using his credentials

After that the driver opens his outlook and decide to make the delivery day another day and moves the meeting in the outlook calendar that action triggers an event automatically that makes the office communication server calls the customers and asks him if he want to move the delivery day to the date through a ATM voice of Microsoft young lady

If the customer says yes the date is moved and booked else they search for another date that meets both driver and customers date

After wards the driver arrive the house of the customer and uses OFS to call the customer through his communicator , the OFS calls the customers and notify him that the driver wants to talk with him

And asks if he accepts that

We have seen another example of a big airplane factory that uses the UC to call engineers and share with them 3D plane models and asks in details and change the models through sharing a third party application while still having the ability to talk through web cams

Another example was about a customer visiting a company and he finds on the in trance door a pc with an application asking about his visit and then calls the employee he is visiting on his communicator and then they can start talking through the web cam and then the employee is promoted if he accepts the customer visit , when approves it a visit card is printed out to the customer with a bar code and his image on it

Some fancy staff but quiet powerful, I got all the presentations and soft copy of the recommended book and some good links if we need to get some virtual images up and running

I would really like to have a physical server where we can host those images to play around

About the Training

The Unified Communications Platform Team is excited to provide this intensive developer training to our SI partners to help build UC developer capability in their companies and serve the needs of our mutual customers. This two day event is deeply technical and is geared towards experienced software developers and solution architects that are interested in developing solutions that leverage Office Communications Server 2007 and or Exchange 2007.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
 

Bops look through

About Microsoft Business Productivity Online Suite ( BOPS )

Basically it is a pre configured hosting environments that offers SharePoint online , Exchange servers and unified communications functionalities and it have to types a type where you can get your own servers for you company ( more expensive ) and the other  type will be of course sharing the servers with other clients

and of course they provide a user friendly interface to administrate all the functionalities , you can even subscribe for a free 1 month trial using your live ID

you read for more info here

BOPS Main site

and a very nice demo show how it works and how you can manage the service

some of BOPS main challenges are discussed here

which are basically

  • No control over the search or indexing schedules.
  • No mail enabled lists.
  • No customized work flows (aka Visual Studio work flows)
  • No browser based forms.
  • Since it’s shared hosting there is of course no deployment of custom dll’s,  assemblies, wsp’s, custom features or any files in the 12-hive (is this also valid if you have a “dedicated solution”? I believe they are have 2 different scenarios in the “cloud”)

Backup retention of only 2 weeks

Before I aggressively defend against the BPOS position ;-) let me just point out, that I actually think the BPOS is a really interesting almost sweet MS deal for the right kind of scenario (ie. a rather simple one).

My main cons on the BPOS case:

· If customization is supported/allowed at all…? MS has taken serious exclusions in the SLA´s. So basically You´ll probably be in a very tight spot when accident happens or performance deteriorates.  Agree!

· SharePoint Online is offering MOSS Standard edition, so it doesn’t´t support Excel Services, InfoPath Forms Services, My Sites or Enterprise Data Search. This means no indexing of internal data stores or SharePoint sites. Why internal SharePoint sites…? See next line.

· What about extranet scenarios and Internet scenarios – as far as I can find You´ll still need on-the-premises installations…?

· Functionality is somewhat limited all around (ex. SharePoint Online is offering only the 3p workflow, which might be enough and then again might not…). Note: We need to dig into this in much more detail to get the real picture of what is and what isn’t´t included…

· What about integrations to existing LOB data, applications etc. (as I see it, this is only possible if there is an existing MS package, web part etc that enables the integration .. else we have nothing J)

· What about migrations? Yes, You can probably quite easily transfer your mail-accounts (as a minimum make your existing Exchange forward to the new Exchange online) but what about documents, public folders etc.?

other good resources can be found here

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
 

Microsoft Surface

So here what I got for Microsoft surface

I am very sure i saw a video showing how to make a game to the surface some where in that site

The table official site

The table partner program

The Table for programmers (you have to be a MS partner to get access to the sdk )

Table quick start site

How to buy

Face book competition sponsored by MS

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
 

 

View Abdel-Rahman Awad's profile on LinkedIn

Archives

 

Rss Feed Tweeter button Facebook button Linkedin button Delicious button Digg button