Thursday, October 6, 2011

CRM 2011 Online Vs On-Premise.

In my previous article I have explained about CRM online and establishing connection with CRM 2011 online.

Now, I am going to explain about, Establishing connection with CRM 2011 On-Premise.

There is only one difference is that, here no need to pass device id credentials while creating proxy. Also instead of passing windows live credentials, we have to pass domain login id and password.

So, I have listed some of the basic differences between CRM 2011 online  Vs CRM 2011 On-Premise.

                                            Microsoft Dynamics CRM 2011 Online    Microsoft Dynamics CRM 2011 On-Premise

Robust marketing, sales,
customer service features         Yes                                                   Yes

Integration with MS Office         Yes                                                   Yes

Customizations                        Yes                                                    Yes

Storage limit                            5 GB                                                  Unlimited

Database restore to
 certain date                           Not available                                       Allowed

Full Database export                No                                                     Yes

Offline synchronization with
 Outlook                                Yes                                                     Yes

Mobile device GUI support       Yes                                                     Yes

Maximum amount of custom
entities                                  200                                                  Unlimited

Maximum amount of custom
 workflows                            200                                                   Unlimited

Login Must use                     Windows LiveID                                  Domain Login

Minimal commitment            12 months                                         No

Payment method Monthly by
                                         credit card                                        Based on agreement

Wednesday, October 5, 2011

Claims based authentication(Basic details)

In this article, I am trying to explain some basics about new claims based authentication with live scenario.

Fisrt of all,  What are authentication methods are available?

ASP.NET when launched supported 3 types authentications namely: Windows Authentication(better for Intranet scenarios and credentials are stored inside Active Directory), Passport Authentication (Now Live ID Authentication, can be used via Claims Based Authentication) & FBA(where user data is maintained inside SQL Database). ASP.NET 2.0 provided some tools and classes and made FBA much more simpler. It automatically created required tables, stored procs, UI to manage Users (Membership Providers), their access rules by their roles (Role Provider) and store some more data about users (Profile Provider).

In the Microsoft world, authentication is usually performed by Active Directory. I claim to be Arvind, and i prove this to Active Directory by providing my password. Other systems don’t trust me, they trust Active Directory. Active Directory gives systems a bit of data that says “yeah, I personally know this person. It really is Aravind.”

In single environment Claims based authentication is not needed.

But, Privacy regulations are impacting what kind of information capture and store about user. Because, in some case user don’t want to give his personal info.

And one more case is that, In case of merging two sites, then if both are having different authentication type, then it becomes a mess.

In this case, if claims based authentication has implemented, then it can handle both with a common method.


Suppose, I am having liquor online shop purpose to sell liquor direct to the customer. So my company service is to provide imported liquor to customer’s hand without any intermediate. I am having one website called So customer can place his order over the net. But According to Law of Indian government, liquor should not sell to the people whose age is lesser than 18.

But, I don’t know whether the person who is placing order is eligible or not. So what I will do is, I will ask to government to provide some identity (token) that will ensure about customers age. Consider I will use the voter id login service from the government. So that it can tell the age of a customer.

By doing this, No need to maintain customer’s personal information for me. Also No need to check the age eligibility for me.

Best Example: while using the CRM 2011 online, we have use windows live id. Here CRM online get tokens from windows live.

There are several components to claims authentication. The STS(identity provider) that issues the tokens to entities. An application makes decision by consuming these tokens.

In between, identity provider and application there is a federation provider manages trusts for application and translates token containing claims in such a way that application can understand.

In next article, i will explain how do we set claims based authentication.

Tuesday, October 4, 2011

Style for HTML file control( making fake)

It is very easy to change the HTML  file control.  It is bit difficult make changes  input control style. So i achieved by making fake control inside the div as shown bellow.

div.fileinputs {

position: relative;


div.fakefile {

position: absolute;

top: 0px;

left: 0px;

z-index: 1;


input.file {

position: relative;

text-align: right;

-moz-opacity:0 ;

filter:alpha(opacity: 0);

opacity: 0;

z-index: 2;


Implementation is here...................................

You can set either image  or even button control to invoke click operation.