TechBubbles

Archive for October, 2011

Configuring Custom Master Page in SharePoint 2010

This post discusses about configuring custom master page in SharePoint 2010 website. You might have use custom images, custom style sheets to create new master page in SharePoint. Follow the below steps to apply custom master page in SharePoint 2010.

SP2010

1. Place your custom style sheets in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\template\layouts\1033\STYLES this is the default SharePoint Point path where it stores it’s css files.

2.Place your custom images in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\template\layouts\1033\IMAGES

3.Place your custom master page in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\GLOBAL 

4. Navigate to your SharePoint Web site, Click Site Actions and click Site Settings from the menu

image

Read more

Related Posts:

No comments

Impersonation and Delegation in WCF

 

Impersonation is a technique that WCF Services use to authorize the caller’s identity to access to service resources such as files and database tables. Service resources can be located either on local service machine or remotely hosted. The resources are being accessed by WCF Service’s process identity or specific windows identity.

Difference between Impersonation and Delegation in WCF?

Impersonation is used to access the resources when the resources are on the same machine as the service. Delegation is used to access the resources that are remotely hosted.

There are two types of Impersonation in WCF

  • Imperative Impersonation – Perform programmatically at run time
  • Declarative Impersonation – Applied with a static attribute which associated with an operation.

Read more

Related Posts:

2 comments

Application Lifecycle Management in Visual Studio 11

 

This post discusses about new Application Lifecycle Management features in Visual Studio 11. Application Lifecycle Management represents how do you prioritize your requirement, how do you breakdown them into tasks and how do you implement those tasks.

image 

Start with the Requirements, Visual Studio 11 coming up with new tool PowerPoint Storyboarding which you can use for visualise your customer requirements without writing a single line of code.

Read more

Related Posts:

No comments

How to choose right WCF binding?

Binding in WCF defines how clients can connect with your service. The base class for all bindings in WCF is System.ServiceModel.Channels.Binding. A Binding includes definition for WS-* protocols used, the message encoding and the transport protocol.

The available WCF Bindings are

  • wsHttpBinding
  • basicHttpBinding
  • netTcpBinding
  • netNamedPipeBinding
  • netMsmqBinding
  • wsDualHttpBinding

Read more

Related Posts:

1 comment

Transport and Message Security in WCF

This post discusses about transport and message security. In Transport Security user credentials and claims are passed using transport layer. The transport protocols are TCP, HTTP, MSMQ and IPC. Each of these protocols have their own mechanism for passing user credentials. The most common approach is using secure socket layer(SSL) for encrypting the details which sent over HTTPS.

image 

Read more

Related Posts:

No comments

Service Orientation vs Object Orientation

Services are good communication technique to use across application and platform boundaries. Service-oriented approach always preferred when you are building a distributed application. Object orientation approach provides a view of what a system should look and effective for producing logical models. Object based approach can fail to consider real-world factors like physical distribution and network communication. This post compares the two approaches.

Object Orientation Service Orientation
Suitable in a homogeneous platform and
execution environment.
Suitable in a heterogeneous platform and
execution environment.
Shares types, not schemas. Shares schemas, not types.
Runs in cheap and transparent communication. The cost is variable and requires explicit communication.
Life-time of objects is maintained by the infrastructure. Services are autonomous –Security and failure isolation are necessary.
It requires synchronized deployment of both client and server. It allows continuous, separate deployment of client and server.
Provides no guide-lines for state management and ownership. It maintains and uses the reference state.
You can predict the sequence of events, timeframe and outcome of invocations. Message orientation approach and supports asynchronous and long-running communications.
Goal is to transparently use functions and types remotely. Goal is to provide inter-service isolation and interoperability based on standards.


Share this post :

Related Posts:

No comments

SharePoint Built-in List Types–Announcement List

 

Lists provide an easiest way to store information in SharePoint. SharePoint provides different ways to keep your information in predefined lists. SharePoint stores most of its content information in lists. This post discusses about SharePoint Predefined Announcement List. Lists translates themselves and stores it information in SQL Server database. SP2010

Built-in SharePoint List Types-Announcement List

Content & Data Lists

Content & Data list facilitates the collection and display of information on site. View All Site Content is an example of Content & Data Lists. You can get this list by either clicking on Site Actions button or by clicking list in Quick Access menu which appears on left of your page.

Read more

Related Posts:

No comments

Access Denied error message for SharePoint Visitor group members

 

It is likely that your SharePoint 2010 site returns Access Denied error when user in Visitor group accesses the page in site.

image

First reason for the error message:

The page which user trying to access might not have been published to major version.

For example: If your page has image which got minor version and page got published with (Major Version) then server would deny the access to page and ask for credentials.

Solution: At least one major version of the page should exist on your site. Make sure all resources(Images, Documents) are on the page published with Major Version.

image

You can use “draft check” button on page tab of your page’s ribbon to check the unpublished resource on the page that being used.

image


Share this post :

Related Posts:

No comments

WCF 4.5 Features

 

This post discusses the new features in WCF 4.5. There have been significant improvements in WCF 4.5 on configuration.

Simplifying the generated configuration file in client

A client configuration file is generated when you add a service reference in Visual Studio 2010. The configuration files in earlier version of WCF contained the value of every binding property even if it is a default value. In WCF 4.5 Configuration files contain binding properties that are set to non-default value.

  Example of configuration file generated by WCF 3.0

Read more

Related Posts:

No comments

OData and Windows Azure

 

This post discusses about building a service using CLOUD platform that can reach various devices. What is OData and Where it fits in? OData is a specification that makes very easy to exchange and interact with data on the web. So OData is all about connecting up devices to the CLOUD. This post also discuss how to create a OData Service in Visual Studio 2010 and host it on Windows Azure then explains how to consume the service on Windows phone Mango.

What id OData?

A REST based set of patterns for accessing information via services

It is a great protocol for connecting devices to the CLOUD. The REST API’s which you might have developed having the following common requirements

  • Querying the data
  • Ordering the data
  • Paging the data
  • Filtering the data
  • Even CRUD operations on data

OData provides a common way to do the above operations. If you got your web API and if you use OData then you have got a wide range of options to expose of your data to various client libraries and platforms.

image

Read more

Related Posts:

No comments

Next Page »