Hi,
It is true that you are better off using an HTML web resource to deliver your custom user interface if at all possible. This has many advantages such as:
1. Easier to deploy (part of the CRM solution)
2. Can access the Xrm Client API that gives you access to things like Server URL, User Role and organisation name.
3. You can call the SDK Webservices using the same authentication mechanism as the user is using to access CRM, so no storing of username/passwords or second logins. Since the webresource is hosted under the same domain as crm, authentication is passed through.
4. You can use the REST endpoint to make communication with the server via Javascript easier. Although this can be done via another externally hosted webpage, it is harder due to authentication and cross domain issues.
5. Client side caching is handled for you by the web resource mechanism. When a new version is published, the client side cache of html/javascript is invalidated automatically for you.
6. You can make your custom UI work offline easily.
There of course disadvantages around the fact that it is harder to make code run on the server and you can't use the ASP.NET/MVC style of programming. Custom actions in CRM2013 make it easier to implement server side code.
If you want to make it easier to develop these custom UI's using JavaScript and HTML you can use my open source project -
http://www.sparkleXrm.com.com
Hope this helps,
Scott
Scott Durow
Blog www.develop1.net
Follow Me
Rockstar365
If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"