Friday, December 28, 2007

Creating service with Windows Communication Foundation(WCF) - video

Recently i have started delving into WCF as my project demands and so you may find some posts related to WCF as i learn a little and i plan to share with you. TO begin with this video was very helpful to begin with for me to learn the basics of WCF.

http://weblogs.asp.net/dwahlin/archive/2007/02/03/video-creating-a-service-with-windows-communication-service-wcf.aspx

Also, visit Dan Wahlin's blog to see more illustrations, samples and video tutorials here - http://weblogs.asp.net/dwahlin/archive/tags/WCF/default.aspx

Happy learning WCF!
- DJ

CRM 4.0 SDK

With the release of CRM 4.0 offically, microsoft has planned to release the SDK for the same soon in couple of weeks. Check the first week of new year Jan 2008 here - http://msdn2.microsoft.com/en-us/dynamics/crm/bb456482.aspx for CRM 4.0 SDK download.
Happy learning and Happy New Year! Cheers - DJ

Monday, December 17, 2007

CRM 4.0 (Titan) Overview

Senior Program Manager Phil Richardson provides a nice overview of CRM 4.0 on Channel 9 Forums.

View here - http://channel9.msdn.com/showpost.aspx?postid=356796
Happy learning - Dipesh

CRM 4.0 Data Import

New CRM 4.0 Data Import -

Microsoft offers multiple options to import data into your CRM implementation. It used to have in CRM 3.0 as well but with the Release of Titan there are multiple options to explore as listed:

Bulk Import Wizard - The Bulk Import Wizard has been improved in Microsoft Dynamics CRM 4.0. The list of entities to import has been extended with almost all system entities as well as custom entities. Also, the mappings created between the source data and the CRM system can now be saved and reused in subsequent import activities. Another new feature is the ability to see the list of imported records after the import has succeeded. Based on this list actions can be executed like Quick Campaigns and even deleting the records if necessary. The last major improvement is the ability to enrich data which is already in the system.

Data Migration Framework (3.0)/ Manager (4.0) - The second tool which Microsoft offers is the Data Migration Framework. This tool can be used to import data if any of the following scenarios do apply:
A> Migrate data from multiple sources
B> There are records which are related to others within the same or another entity
C> Notes and / or attachments need to be migrated
D> Data needs to be cleansed before importing into the CRM system


There are several third party tools that can do the job as well if this out of box functionality provided by MS does not fit your bill.

CRM Extensions / c360: ImportManager -
http://www.c360.com/ImportManager.aspx
Scribe TOOL (my favourite, you should look into this if you need both ways data conversion - into CRM and from CRM to external interfaces!) -
http://www.scribesoftware.com/microsoft-dynamics-crm.asp

For additional information visit Ronald's blog - he is the man :) Cheers - Dipesh

Understanding what is best for you ..differences between VPC and Vmware

What you need - VPC or VmWare ?

No matter what your needs, it is very likely that either VMware or Virtual PC/Server can do the job. The key to choosing the right product is understanding your needs. What is it that you want to do with virtualization? Do you want to have a test network on your desktop PC? Do you want to do software development? How many servers will you run concurrently? What operating systems will be run in the virtual systems? The answers to these questions will help you choose the right virtualization product!

Choosing the right product -
Once you take a look at your needs, you will be able to better choose the product you need. For example, if you just want to run a test on Windows XP workstation or 2003 server on your local desktop, then you should choose a desktop virtualization product. Examples of these are - VMware Workstation(300$ odd) and MS Virtual PC(free). Both of those applications are designed to be run on a local desktop.

On the other hand, if you need to run more than 1 concurrent servers that required at least 1GB of RAM each, you are no longer talking about a desktop product. You require an enterprise virtualization server product! Not only because of the amount of RAM required but because we said that we would run “multiple servers”. You don’t want to run them on desktop virtualization products.

For further information or understanding their pros and cons refer - http://www.petri.co.il/virtual_vmware_virtualpc_compared.htm
To download Vmware visit - http://www.vmware.com/
To download microsoft VPC 2007 visit - http://www.microsoft.com/downloads/details.aspx?FamilyId=04D26402-3199-48A3-AFA2-2DC0B40A73B6

Thanks - Dipesh

Monday, November 05, 2007

Browse CRM entities through CRM browser...

This was one is simple... did you know that you can find out what CRM entities exists on CRM box through IE!
It should be something like - http:///sdk/lists.aspx
…/SDK/lists.aspx
(where … is the root address to your crm web app)


Cheers - Dipesh

Microsoft Commits to November Release Date for Visual Studio 2008 and the .NET Framework 3.5

Microsoft Commits to November Release Date for Visual Studio 2008 -

Today, during the keynote address at Microsoft TechEd Developers 2007, S. “Soma” Somasegar, corporate vice president of the Developer Division at Microsoft Corp., announced that Microsoft will release Visual Studio 2008 and the .NET Framework 3.5 by the end of November 2007.... more
http://www.microsoft.com/presspass/press/2007/nov07/11-05TechEdDevelopersPR.mspx

Cheers - Dipesh

Wednesday, October 03, 2007

Source code for .net framework 3.5 libraries and debugging into it using VS 2008

Now you can download and browse the source code of the .NET Framework libraries (3.5), and easily debug them as well using VS 2008.

Source code (with source file comments included) for the .NET Base Class Libraries include as of now -System, System.IO, System.Collections, System.Configuration, System.Threading, System.Net, System.Security, System.Runtime, System.Text.... etc.
ASP.NET (System.Web), Windows Forms (System.Windows.Forms), ADO.NET (System.Data), XML (System.Xml), and WPF (System.Windows). more will be added in coming months by Microsoft.

You'll be able to download the .NET Framework source libraries via a standalone install (allowing you to use any text editor to browse it locally).

To learn more about our source release plans and how the above debugger integration works, please check out this Podcast that Scott Hanselman and Shawn Burke recently recorded. Shawn (who drove the source project on my team) is also going to be publishing a cool Channel9 video later this week that shows using the VS 2008 integrated debugging support with it.
More on Scott gu's blog .... Cheers - Dipesh

Wednesday, September 19, 2007

CRM import export tool for Roles...

If you are looking for CRM import export tool for Roles for CRM 3.0 here it is -

https://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=E55885A7-85A3-48C7-ABEE-B78F0E3D75AA

Credits to Mitch Fuller for bringing this to attention.
Cheers - DJ

Tuesday, September 18, 2007

Crm code 0x80040217 "The specified object was not found"

I have been faced lot many times by this generic .net error from CRM web service. Everytime it let me spend some time in figuring what this error was about ... and i learnt that this type of errors usually occur because of the mismatch/change of CRM metadata or data (GUID) for that record not matching. This can happen anytime when you are trying to do Insert, Update or Delete against CRM.

Easy Solution - Try catching Soap Exception instead of Generic .net Exception and see InnerXML message and it shows CRM code: 0x80040217 with description like: "Missing field/attribute" or it just says plain "Platform".
  1. If you are doing an insert check that all fields that you are using in the query/fetchXML are not misspelled.
  2. If you are doing an Update or delete check the above and ensure GUID you are using does exist in CRM database.

That should be the catch! Write to me if that does not solve your problem. Thanks - Dipesh

Yahoo mashup

Yahoo mashup at developer yahoo.com -
http://developer.yahoo.com/maps/applications.html

Learn simple "how to use" Yahoo mashups in .net - http://developer.yahoo.com/dotnet/

HOWTO Articles -
Get comfortable using .NET with Yahoo! Web Services
HOWTO: Make Yahoo! Web Service REST calls with C# and VB.NET
HOWTO: Using Returned XML with C# and VB.NET
HOWTO: Cache API Calls Using C# and VB.NET
HOWTO: Access Yahoo! Web Services Using XAML (my favourite)
HOWTO: Browser-Based Authentication Using C# and VB.NET

Regards - Dipesh Joshi

Zimbra and its AJAX-based collaboration suite...

Yahoo picks up Zimbra and its AJAX-based collaboration suite to compete with Google, Microsoft and IBM: http://www.eweek.com/article2/0,1895,2184226,00.asp?kc=EWKNLNAV09182007STR3) – it’s a pretty interesting messaging & collaboration environment (heavy use of AJAX).

Zimbra offers an AJAX (Asynchronous JavaScript and XML) client that bundles e-mail, contacts, shared calendar, search and VOIP (voice over IP) that can be used both on and offline, will help it expand its presence in universities, businesses and through ISPs. http://www.zimbra.com/demos/zimbra_overview.html

Regards - Dipesh

Monday, September 17, 2007

Reflector that allows you to disassemble entire Silverlight sites...

Check this Reflector plug-in that lets you disassemble entire Silverlight sites with ease. Check out those cool Silverlight sites http://www.tafiti.com/ and diagnoize it!

http://www.codeplex.com/reflectoraddins/Wiki/View.aspx?title=SilverlightBrowser&referringTitle=Home

Happy learning and copying! :) Cheers - Dipesh

Download Silverlight 1.1 here...

Download Silverlight 1.0 here -
http://msdn2.microsoft.com/en-us/silverlight/bb187452.aspx
Install this to enhance browsers on Windows and Macintosh (for Internet Explorer, Firefox and Safari).

Download Silverlight 1.1 Alpha here -
Silverlight 1.1 Alpha September Refresh
Install this developer-only version to enhance browsers on Windows and Macintosh (for Firefox and Internet Explorer).

Download more here on MSDN

Thanks - Dipesh

Wednesday, September 12, 2007

Hanselmean wicked code links - NGenerics

NGenerics - "A class library providing generic data structures and algorithms not implemented in the standard .NET framework." This is cool code because it's not only adding new data structures, but also extending existing ones. They've added an IVisitor interface to add the Visitor pattern to create the VisitableHashTable amongst others.

More ... [1] - http://www.hanselman.com/blog/TheWeeklySourceCode5.aspx
Cheers - Dipesh

Tuesday, September 11, 2007

Tafiti

Check the implementation of cool Silverlight application here - http://www.tafiti.com/
Cheers - Dipesh

Friday, September 07, 2007

Scott Hanselman's 2007 Ultimate Developer and Power Users Tool List for Windows

Scott Hanselman has compiled a great list of .net tools a Developer must have...

It includes few of the ASP.NET Must Haves and Visual Studio add in's like -
UrlRewriting.NET - An open source URL rewriter, implemented as an HttpModule.

Web Development Helper - that allows ASP.NET 2.0 built into a Browser Toolbar.
Blinq - A tool for generating ASP.NET websites for displaying, creating, and manipulating data based on database schema.....and many more Visual studio add in's.

Check for details at his site at: http://www.hanselman.com/tools

Happy programming!

Thursday, July 26, 2007

Visual Studio 2008 Beta 2 and Silverlight RC1...this Friday!

Microsoft announced the availability today of the second beta version of its upcoming Visual Studio 2008 developer tools and the last version of its Silverlight rich media software code before the final version ships.

The second version of VS 2008, which is still scheduled to ship before the end of the year, includes a Silverlight add-in that allows developers to start building Silverlight rich Internet applications in VS 2008 and work with designer colleagues using the new Expression Web design tool, Microsoft said. With this beta release, VS 2008 is 99% complete, according to a Microsoft spokeswoman.

Scott Guthrie, general manager of Microsoft's developer division, noted in a blog post yesterday that one of the biggest features Web developers will discover in this beta version of VS 2008 is a "dramatically improved HTML designer" and rich Cascading Style Sheets (CSS) support. VS 2008 now uses the same Web designer that ships with Microsoft's new Expression Web design tool, he added.

"In addition to providing lots of new functionality, you'll also find that this Web designer is much faster than the VS 2005 version (which was based on a much older code base)," he wrote.

VS 2008 adds "split view" editing so that developers can see both the HTML source and design view at the same time and have changes made in one view be updated in the other, he added. The version also includes a new tool window that shows the CSS and the corresponding rules for the page a developer is editing. It can be used from within the design view or source view of a page.

Microsoft also announced the second beta version of the .Net Framework 3.5, which now includes full project template and tools support for many of the .Net Framework 3.0 compatibilities previously provided.

More...

Cheers - Dipesh Joshi

Monday, July 16, 2007

Acropolis July CTP now available for download...

Acropolis July CTP now available for download

The July CTP of Acropolis includes work to improve transition animations, better design time support, simpler support for custom themes, and various bug fixes. Start working with the CTP today.

Check some interesting videos here - http://windowsclient.net/learn/videos.aspx

Learn more - http://windowsclient.net/
Cheers - Dipesh Joshi

Scrum

Over this weekend I came across one more agile development technique called as "Scrum". I watched a video on microsoft site talking about scrum...which was very boring :) However reading wikipedia was fun. I was not aware that scrum is also kind of a group formation in rugby game (because of my lack of knowledge in this game, this term should be used in cricket too :)

However, i am just writing this offtopic because it was fresh in my mind and what i observe in my project. This is more of an agile kind of management but i don't think this seems to be effective for long duration complex projects. My 2 cents! :)

However, it was good to know ... learn more on wiki by typing scrum. Cheerio - Dj

Saturday, July 07, 2007

How do you bring web site down so that users cannot access any page for new patch release or upgradation of release?

How do you bring web site down so that users cannot access any page for new patch release or upgradation of release? There are ofcourse numerous ways to do that but one of the easiest way in .net 2.0 is copying Application offline (app_offline.htm) htm file into the root directory of the web site. Users will not get 404 or other HTML error pages but user friendly HTML (app_offline.htm) page.

Here's quick video which shows the demonstration...


HTH - Dipesh

Friday, July 06, 2007

What is MDM ? Master Data Management

So with the news that Microsoft has acquired MDM expert provider company Stratature there is a whole new thrill in the software and particularly in the SOA market to know how MDM fits into the bigger picture.

Update from Microsoft - www.microsoft-watch.com/content/business_applications/microsoft_bi_goes_mdm.html

So what is MDM ? here's what you find a definition when you search on Wiki -
"Master Data Management (MDM), also known as Reference Data Management, is a sub-discipline of Data architecture within Information Technology (IT) that focuses on the management of reference or master data that is shared by several disparate IT systems and groups. MDM is required to enable consistent computing between diverse system architectures and business functions.

Large companies often have IT systems that are used by diverse business functions (e.g., finance, sales, R&D, etc.) and span across multiple countries. These diverse systems usually need to share key data that is relevant to the parent company (e.g., products, customers, and suppliers). It is critical for the company to consistently use these shared data elements through various IT systems.

Most enterprises have implemented their own special blends of ERP, CRM, Business Intelligence, Financial Reporting, Planning, and other operational systems in order to accommodate unique business requirements. Each of these systems requires the same dimensional information to operate, yet they manage this information independently, which directly affects dimensional synchronization and reconciliation across systems. Master data management software aims to integrate dimensional and master data across BI, data warehouse, financial and operational systems, providing for accurate, consistent and compliant enterprise reporting.

Master data management can go beyond data integration. MDM generally has a data governance component. Data governance means having to define clear data owners and users, having clear business policies regarding what is good master data and what is not. Master data management is also about providing continuous reports and alerts to master data owners and the stewards regarding the health of the master data."



Check more on MDM at Wikipedia site - http://en.wikipedia.org/wiki/Master_Data_Management

More details in MS article - http://msdn2.microsoft.com/en-us/library/bb190163.aspx

MDM doesn't seem to be like a new concept but it's getting more visibility now! Let's see how far this can succeed and fit the SOA bill! Cheers - Dipesh

Thursday, July 05, 2007

Useful Tools (Reflector and addins)

Do you need a -
Tool to analyze .net assembly and show design quality metrics ?
Tool to quickly create class diagram ?
Tool to generate code to write unit tests, stubs and wrappers ?
Tool to draw sequence diagrams ?

Find all addins here at codeplex -
http://www.codeplex.com/reflectoraddins

Download .net reflector here