MarimerLLC / cslaforum

Discussion forum for CSLA .NET
https://cslanet.com
Other
31 stars 6 forks source link

Http DataPortal Csla version and Client UWP Csla version #226

Open johntco opened 8 years ago

johntco commented 8 years ago

I have a Web App serving my HTTP DataPortal and a UWP App consuming that data portal. All works fine. Now, I want to update the Csla to a current release, but when I do that and deploy the Web App Data Portal, I get issues with UWP clients that are not running the same version of the Csla.dll.

How can I overcome this? Different dlls on clients and the DataPortal/App Server?

rockfordlhotka commented 8 years ago

It is necessary to ensure that all active clients have access to a service endpoint that has matching assemblies.

When you are in a situation where you may have clients running more than one version of your application you need to provide one service endpoint for each active version of your app.

In .NET terms, this means that you need multiple server AppDomains - which translates into multiple ASP.NET web site URLs - one for each version of your app that is currently active.