Geeks With Blogs
Nilesh Baviskar August 2011 Entries
Using MEF in Service Layer (WCF)
So far I found that MEF is going well with presentation layer with following benefits. 1. DI (Dependency Injection) 2. Third party extensibility (Note that all parties involved should use MEF or need wrappers) 3. Auto discovery of Parts (Extensions) 4. MEF allows tagging extensions with additional metadata which facilitates rich querying and filtering 5. Can be used to resolve Versioning issues together with “DLR and c# dynamic references” or “type embedding” After bit of research I'm concluding ......

Posted On Thursday, August 25, 2011 6:57 PM

Call C# code inside Silverlight application on click of Custom Ribbon Button - Dynamics CRM 2011
Here is the screenshot of final output. Here is what PoC is doing 1. There is Silverlight application hosted in CRM on custom area-subarea. This in-turn needs two web resources 2. There is Custom button added in Ribbon 3. Third web resource is hosting JavaScript function 4. On click of Custom Button on CRM Ribbon function in JavaScript web resource is called which in-turn calls the method in C# code of Silverlight application. String input is passed to this method 5. C# method is converting the input ......

Posted On Thursday, August 25, 2011 3:17 AM

Multi-tenant WCF Services
Requirement was to create Multi-tenant WCF Service for custom development using WCF and Dynamics CRM 2011. There is just one SVC file but multiple URLs to access it e.g. in Dyanamics Organization Org1 have URL http://CRMserver_name/Org1/... and Org2 have http://CRMserver_name/Org2/... I was trying this using URL Routing but problem is, it is creating REST services which we don’t want. We should be able to access these services just like ......

Posted On Wednesday, August 24, 2011 3:56 AM

Copyright © Nilesh | Powered by: