WCF EF code first syncronization best practices - wcf

There is a offline WPF client and WCF server.
Client use SQL-CE or localDB - EF-Code first
For example, for the following scenario - Administrator can edit the common information and to add jobs to Users, and the user can see the lobules added him the job, and synchronize changes made when a connection.
Prompt the best way to synchronize reference data.
Looking toward the "microsoft sync framework" - but it seems that then have to implement your own provider. Maybe there's an easier way?

SQL CE and LocalDB are both supported out of the box in Sync Framework. you can use the same SqlSyncProvider against the LocalDb
no need to write custom sync providers.

Related

What is the purpose of the following service in oracle OracleSchedulerXE

I have a question regarding the purpose of some service in sql. What does the process, the purpose of them.
OracleSchedulerXE
OracleORADB19Home1MTSRecoveryService
OracleOraDB19home1TNSListner
OracleRemExecServiceV2
OracleServiceXE
OracleVSSWriter
I tried to find something about OracleSchedurXE but I did nt find anithing.
Thank you.
If I Google any of the service names, I get back several pages that go into detail about what they do.
OracleSchedulerXE is used by Oracle for the dbms_scheduler package that lets you schedule jobs to run inside the database.
OracleORADB19Home1MTSRecoveryService is used for interacting with the Microsoft Transaction Server. Most commonly, that is used to allow applications to manage distributed transactions that involve Oracle and other Windows services.
OracleOraDB19home1TNSListner is used for the TNS listener.
That's the process that allows users to connect to the database from remote machines.
OracleRemExecServiceV2 is a service used by the Oracle Universal Installer during installation that will be removed once you reboot after a successful install.
OracleServiceXE is the service that actually runs the Oracle database
OracleVSSWriter is a service that interacts with the Windows Volume Shadow Copy service to ensure that backups see files in a consistent state.

Creation and Using of a database during runtime in .NET Core

I have a .NET Core backend that is currently connected to a database via the connection string from appsettings.json. Through a migration, the database can also be created or extended.
Now I have a requirement that the software should connect to additional databases with the same DbContext at runtime and if they don't exist yet create them via migration. Thereby the backend should be restarted. The user should be able to choose via the frontend which database he wants to connect to or if he wants to create a new one.
At the moment I am not clear how to implement this. I hope that one of you has a good idea.

How to call a web service from SQL Server?

I have on scenario which I have to call a web service from SQL Server. Is there any way to accomplish this task?
As GSerg mentioned in comments, this is something you can do within a SQL CLR procedure. This link will walk you through a proof of concept scenario, but the principles are there.
http://blogs.msdn.com/b/spike/archive/2010/11/25/how-to-consume-a-web-service-from-within-sql-server-using-sql-clr.aspx
Depending on what you need to do with it, you can also build an SSIS package. It has an out-of-the-box task for web services.
https://msdn.microsoft.com/en-us/library/ms140114.aspx
I would use SQL Server Data Tools for Business Inteligence (SQL2012+) or Business Inteligence Development Studio (SQL2008[R2]) to create an Integration Services project including Web Service Task:

How to move a windows .net runtime frontend application to the cloud (it uses a local sql server backend database)

I had a engineer design our .net application back in 2009, my guess is that it was coded using visual studio, and all I have is the installer application. We have been using it on our 1 or 2 local client machines very well for the past few years, but now I want to move this front end to the cloud. Instead of installing it as an application on our windows 7 machines.
It is a very simple application used in our small warehouse that keeps track of cargo/shipments etc. It uses Sql Server 2008 Express as a backend which is stored locally.
I know how to get the database in the cloud, their are many options for that, using Amazon or Azure, but how do i get the local client application to the cloud?
I dont have access to the visual studio code, i just have the runtime executable file..
I am sure there is no way to do this, and many of SO users will say i need to re-write the front end.
I have tried to contact the developer and they hav since closed down. Is their anyway i can run this in the cloud?
I welcome all options and solutions!
Thanks.
I believe you have two options for hosting this application:
If you are able to configure the database connection string, you could host the database in the cloud, and distribute the application to your end users. However, you've already stated that you know how to move the database, so I assume this isn't an option.
The only alternative is to run the entire application on a cloud server, and send the user interface to a client using terminal services. This makes it appear as if the application is running locally on the user's computer, while it is actually running on the server.
For an off-the-shelf solution to achieve this, you could consider using Microsoft's RemoteApp Azure service. I'm sure there are other similar offerings available.

Data access in Silverlight 2.0

I'm new to silverlight and I'm porting from asp.net 2.0. I have done many data binding applications in asp.net where I use sql server 2005 and use it's tables and access them via sqlconnection object and perform all kind of database related functions. Can anyone tell does silverlight 2.0 supports such kind of facility. If so can I use any database server, if not is it through web services? can anyone point me some good place to start with.
No you can't connect directly to a database server. You need to use a web service. However to simplify things you can call a data web service such as SQL Server Data Services or Amazon S3. Otherwise use REST.
Silverlight is a client side technology. You can't access a database on the server directly. You have to use a layer in between, like webservices. For a nice tutorial on how to do that, check http://weblogs.asp.net/scottgu/pages/silverlight-2-end-to-end-tutorial-building-a-digg-search-client.aspx