Friday, November 14, 2008

CRM Callouts

One thing i learn the hard way about callous is that if you trying to update the same entity in a call out you should always use the pre callouts instead of post call outs. although using post callouts seems to work nicely you will get in to errors when you go live.

If you are using to update the same entity use pre call outs.
if it's a different entity use post cal outs.

Difference btw an interface and an abstarct class

To tell the truth i new that if we implement an interface or an abstract class we have to implement all the methods in our derived class. although in an abstract class we only have to implement only the abstract methods in an interface we have to implement all the methods that it contains.

But the funny thing is i have been confused about field implementation in interfaces. I Sort of forgotten with time that we cannot implement fields in an interface with time. Recently i read a book about VS 2008 and i was going through this book regarding interfaces i found this again. I was glad about reading that chapter s most of the time when i read a book i don't read the things i think i know. Guess it's time to change that habit also.

So bottom line is interface cannot implement any methods and well as fields.
But an abstract class can.

VS 2008 - WCF

Microsoft have introduced a new way of creating web services. This is called WCF - Windows communication Foundation.

This technology is far advanced then asp.net web services as this contains more security. The fil extension that gets created when you create a project type of this is different also.

I have been looking at this and there are a lot to learn here. hoping to master at least 10% son.

Blogging

I have not blogged for sometime now. was having some hectic time with some projects that we have been doing. Anyways it's always good to work under pressure. But not always..hehehehehehe.

Hoping to start blogging again. Have been researching on VS. 2008. will post some new things i find ASAP.

Wednesday, June 11, 2008

Migrating Data To CRM 3.0

It is possible to migrate data from and existing system to CRM database using SQL statements.

Although microsoft recommends us not to use direct SQL statements, this method is easy as we don't have write code to migrate data. But we need to be very careful when we are doing this as we need to populate the references before migrating data.

I don't know whether CRM 4.0 provide a method to insert data to custom entities. CRM 3.0 doesn't provide us this. That is the reason why we have to choose an alternative.