About Me

I am a Software Engineer presently working in Microsoft as vendor.The main aim of this blog is to Share my knowledge in Sharepoint,AZURE and Silverlight.

Wednesday 25 November 2009

Azure Design patterns.

Design patterns for azure.

http://azuredesignpatterns.cloudapp.net/AppPatterns.aspx#hostedwebserviceworker

Sharepoint 2010 BETA is availiable now.

good news sharepoint guyssss here is the link to download sharepoint 2010.

http://msdn.microsoft.com/en-us/sharepoint/default.aspx

Download the SDK and start working :)

Thursday 19 November 2009

DB Availability with Failover Database server.

Some times Sharepoint site will be down because of database server.

think if it is a production and u left for the day suddenly database server is down the next day you hav to come and fix the issue. :(

fortunately in sharepoint 2010 we can fix this issue with out doing anything. There is a new thing called Failover Database server.

We have to set this property. Sharepoint automatically picks the other database server automatically if the first or primary server is not available.

The other database which we are talking is a mirror of SQL database.

To set this property we have to do as below:

Central Admin-> Application management-> Manage content Databases-> DB->enter the sqlmirror DB value in "FailOver Database Server".

really a cool feature for Admin guys. :)

Content Recovery from Unattached Databases

Sharepoint 2010 is providing new feature to recover data from a sharepoint backup DB. without attaching the db to site.

Here you go for example I have a document deleted and it is not there in recycle bin as well so to recover that we have to get backup db attach to site and do some extra steps.

Now in sharepoint2010 they are providing an UI where we can attach a backupDB and can dig in to the sitecollections->sites->lists->items.

Here is the steps to do:

Central Admin->Backup and restore->specify the name in unattached content database data recovery-> DBname-> site->list->select export site or list ->specify location in harddrive.



So we can export that content or document to harddrive and can import in to the site.

this is a cool feature. :)

Restarting timer jobs using powershell in sharepoint 2010

This is the single line of powershell script which restarts the timerservice jobs in sharepoint 2010


Get -SPTimerjob | where {$_.name -match "hourly"} | start -sptimerjob.


this line says to get all the sptimerjobs where name mathces hourly and run that job.


still stsadm command works but powershell is rocking :) admin people must learn this powershell.

SSP in 2007 turnedout to Service Applications in sharepoint 2010

SSP(Shared service provider) in sharepont 2007 is turnedout to Service Applications in new sharepoint 2010.

SSP contains all the services in 2007. now each individual service is a stand alone Service application.

Ex: Search service application , People Service application, Metadata Service application...

each of these service applications has its own content DB's.

one application can have many instances of these services.

for example we can create 2 metadata services 1 for enterprise and 1 for bankingdomain

and we can link this service applications to more than one webapplication.

we can configure this service application when we creating the webapplication or we can configure this later by going..

Central Admin-> Manage Service applications -> Select the application (or)Create new -> enter the values for properties or edit the properties.

making services to run independently gives u more performance and more reusability.

Wednesday 18 November 2009

Document Sets in Sharepoint2010.

Sharepoint 2010 is introducing new concept called DocumentSets.

Using this documentsets we can run workflows on set of documents,manage permissions,manage security..

Inherting power of WIKI's in sharepoint 2010.

Now we can edit the sharepoint pages online.

And also we can also use the syntax of WIKI's. which is a good news for WIKI Lovers.

example :
==Section==

[[Article name#Section heading]]

etc...

more info on wiki editings

http://en.wikipedia.org/wiki/Wikipedia:Section

PowerPivot in sharepoint 2010 previously called as GEMINI

PowerPivot is previously called as "GEMINI".

Power Pivot is an inmemory database technology that runs on server or client.

we have
1) SQLServer powerPivot for excel
and
2)SQLServer powerPivot for sharepoint2010.

Using this power pivot we can manage millions of records and we can search in seconds for the data. :)

Opening office files in browser using sharepoint 2010. (Browser enabled documents)

using sharepoint 2007 we can only open the office files using rich clients. like powerpoint , word ,excel.

Using shareoint 2010 we can open the office files in browser as well as client s/w.


select Library Tools(from ribbon) -> Select Library Settings->Advanced settings

u will able to see the section opening documents in browser as below.



default option is to open in the browser. choose the option required and save.

Working Offline using sharepoint workspace.

We can work offline using sharepoint workspace.

for a real scenario if we are working in the plane and want to edit some data in sharepoint lists or documents we can move the data to the sharepoint workspace.

we can work on that and once the network is available we can sync with the sharepoint2010. :)

to do this : Goto SiteActions-> Sync to sharepoint workspace.

Easy Navigation in web administration.

People who uses sharepoint 2007 administration faced trouble in navigation.
administrators moves from page to page and the navigation is not completely done in 2007 where people unable to reach the page which they came from.

This problem got solved in new sharepoint 2010. :)

Easy Administration and customisation of sharepoint 2010 with Powershell

New sharepoint 2010 is coming nearly with 500 powershell cmdlets.

using this cmdlets we can easily do administration and do some customisations.

Visual upgrade from Sharepoint 2007 to Sharepoint 2010

Now we can have the feel of new sharepoint 2010 UI for the existing 2007 sites.
This needs admin priviliges to do.

to do this : go to SiteActions-> select Visual Upgrade option -> save the changes


This will give the new UI look for the sharepoint 2007 sites. :)

Sunday 8 November 2009

Silverlight UI in 2010

Hi I just came to know that sharepoint 2010 is providing non silverlight UI for users who dont have silverlight installed on the machines.


for example : siteactions -> New site currently using silverlight the same will be provided with non silverlight also. u can test this by disabling silverlight in IE and checking the non silverlight UI. :)

to disable the silverlight IE 8 :

go to tools->ie options ->programs->manage add ons ->select all add ons -> select silverlight-> click on disable. :)