CRM 2015 and Silverlight - silverlight

I've previously created a Silverlight application for CRM-2011 and there has been samples for Silverlight in the CRM-2011 SDK. However, I installed CRM 2015 SDK and I couldn't find any sample codes for Silverlight, does it no longer support silverlight ? If it still supports it, how can i create a connection to the CRM 2015 within my Silverlight application ?

Microsoft abandoned Silverlight a couple of years ago, in favour of HTML5. Silverlight is not supported on all platforms (mobile to begin with) and it does not fit in the cross-platform/execute-anywhere strategy Microsoft follows nowadays.
Microsoft may not say this out loud, but Silverlight can be seen as legacy and therefore should be avoided when possible.
However, Dynamics CRM 2015 still supports Silverlight web resources. You can find documentation in the help-file (.CHM) in the SDK. CRM 2011 examples should still work. (B.t.w, Silverlight sample code appears to have been removed from the CRM 2013 SDK already.)

Related

Will ClickOnce be ported to .NET Core 3 or .NET 5 as well as WinForms?

Now that Winforms is being ported to .NET Core 3, what technology will be used for deploying those apps? Will ClickOnce also be ported?
Many of the properties used by ClickOnce are currently stored in the .csproj file, but those project files change significantly between .NET Framework and .NET Core, so presumably this would require changes to Microsoft's ClickOnce code to make it work?
Has there been any official word from Microsoft on this, I can't find anything in the documentation?
Current status
It appears that ClickOnce won't be ported to .NET core 3, but will be ported to .NET 5 as per Matthew Steeples' answer below.
Original answer relating to .NET Core 3
Microsoft's Scott Hunter addressed this in the comments of the .NET Core is the Future of .NET blog post. He was asked:
What about ClickOnce? Will that be a supported distribution system for
.NET 5 desktop applications?
To which he gave the response:
We are going to recommend MSIX for installation and support for MSIX
will be added for Windows 7 so it should work on all the platforms you
that .NET Core runs on.
More details MSIX can be found in Microsoft's MSIX documentation and in it's GitHub repo.
Other installation frameworks exist too, such as Squirrel.
All other answers answer the question for .NET Core 3, but this is changing for .NET 5. Microsoft are providing support for ClickOnce as described in this GitHub issue (July 20th 2020): https://github.com/dotnet/deployment-tools/issues/9
It's not full support (ApplicationDeployment class will not be available) but it's a start.
It looks like it's going to be available as of RC2 - https://devblogs.microsoft.com/dotnet/announcing-net-5-0-preview-8/
There is no mention of anything about .net core 3 winforms working with Clickonce. The answer provided above had a link that had Scott Hunter who redirected to Microsoft's MSIX technology. Based on my readings the only way to deploy to end users without using the Microsoft store is to "sideload" your application and that seems to involve many steps that may make the user hesitant even if you sign the package it seems that users have to enable sideloading first. Not my idea of user friendly.
As the previous anwers stated, Microsoft is not going to continue Clickonce support but they have provided msix as a replacement. You can deploy a .NET Core application internally in your organization by using an msix package. I'm successfully using it as a Clickonce replacement.
You can check my post explaining how to create an msix package for a .NET Core project. You can even target Windows 7 SP1 and later.
EDIT: Microsoft is going to continue support of ClickOnce in .NET 5.
Update status:
Microsoft Announcing .NET 5.0,
Some of the newly released features also include ClickOnce:
"It’s now supported for .NET Core 3.1 and .NET 5.0 Windows apps."
You can take a look Here

Have there been any changes to the UI of the Lync Client SDK controls?

My company embedded a Lync client into our client using the WPF controls provided by the Lync 2010 SDK. Over the years we have gotten complaints that our embedded Lync client looks dated compared to the UI changes in Lync 2013 and Skype For Business 2015.
I took a look at the Lync 2013 SDK, and the example apps that use those controls appear to still have the same UI as the 2010 version.
While a new web SDK has been released for Skype for Business, it appears that there was no update to the desktop SDK since the 2013 release.
Is there a newer SDK that I should be looking at, or some sort of property or hint that I can set to get a different look to the UI?
A couple examples of the "dated" controls are Microsoft.Lync.Controls.ContactSearchInputBox and Microsoft.Lync.Controls.ContactSearchResultList
The Lync/Skype for Business client SDK has been largely untouched since Lync 2010. (this is evidenced by user control look and features added in Lync 2013 and later have not made it into the SDK)
The latest I've heard from Microsoft (Nov 2015) the Lync SDK works with Skype for Business client (as is) but no updates are planned.

SL 4 Version Hell? The silverlight developer runtime is not installed please install a matching version

I've been developing for and running Silverlight 4 for about a week. A week ago I installed the Silverlight 4 design time components to develop and debug silverlight for VS 2010 - I posted some of these apps and they were used by users running SL4. Today, I went to a website that told me to upgrade my SL (I think it was the MS expression site) - so I did that and all the sudden I get this error when running SL 4 apps within VS 2010.
The silverlight developer runtime is not installed please install a matching version
Installing the latest version of the Silverlight SDK does not correct this. Basically I am stuck and unable to run Silverlight apps from VS2010.
Are versioning problems like this a common theme in SilverLight? The only thing I can think of is that there is a minor version difference between the versions used on the the MS Expression web site and the version (SL4) I installed from MS site a few days ago? However re-installing the latest version of SL4 does not correct this.
Any help?
The developer runtime is a different download than the normal "end user" runtime.
Again quoting from Tim Heur's Blog, you need to look for the link under "getting the updates" that points to the developer runtime. This will allow you to debug etc.

how to setup VS 2010 to allow debugging of Silverlight 3 and Silverlight 4

I have some code which is in Silverlight 3. I am unable to move to SL4 at this time.
I would however like to use VS 2010 to do my SL 3 development... and SL4 development.
The idea of both runtimes coexisting on 1 machine i thought I heard Microsoft got
right this time in VS 2010.
is this correct?
if yes, then Where can I find the instructions how to set this up?
thanks for any help you can provide,
Sincerely,
J
Silverlight is not side-by-side. VS 2010 provides multi-targeting support for the full .NET framework, which is side-by-side, but NOT Silverlight.
There can only be one version of the Silverlight plugin and runtime on the machine.
That said, if you want to build code targeting one or the other, that is possible by checking in the Silverlight versions to your source enlistment. This post is a little outdated but provides an example for doing this for SL2 and SL3.

Out of browser silverlight 4 application with local database that will run and install on windows or mac?

I am researching using silverlight 4 to develop a desktop application that can be installed from a browser window, now the tricky part is that I want a lightweight database embedded into the application. The database should install with the rest of the application and it should ideally work on both windows and mac systems. Originally I was thinking sqlite would be suitable for this but I have learned that it is not compatible with silverlight. Does anyone know of a solution for this?
There are some available silverlight databases such as:
siaqodb - uses LINQ, available for WP7 - commercial.
effiproz - available for WP7 - commercial.
Perst - open source.
These utilizes silverlight local storage, comes with their own database engine.
There is also Ninja Database Pro that works for Silverlight and Windows Phone 7:
http://www.kellermansoftware.com/p-43-ninja-database-pro.aspx
Nowadays SQL Lite is a viable option for SL4 / SL5.
You could also team that up with DevArt LinqConnect product (http://www.devart.com/linqconnect/) that is an EF / Linq-to-SQL like wrapper over SQL Lite.
I've also looked at alternatives Siaqo DB and Ninja DB (as mentioned by others).
While not exactly a database, the upcoming release of the Sync Framework will support offline caching for Silverlight 4 on the desktop/browser, and Silverlight on Windows Phone 7. As Liam Cavanagh mentions in this blog post before TechEd:
I have a TechEd session this week where I will be demonstrating all of this as well as how we will be extending the capabilities of the sync framework for creating offline applications, specifically allowing Silverlight, Windows Phone 7 and even non-MSFT platforms to be used for the clients.
Link

Resources