Microsoft
Software
Hardware
Network
Question : Offline Application - ADO.NET Sync Framework or Smart Client Offline App Block
I want to develop a windows application that connects to a database over internet and I want it also to work offline.
From my point of view, ADO.NET Sync Framework is the first choice. But I have some requirements that I think Sync Service will not address.
1- Clients can't connect directly to remote database. I have to use web services. I think I read somewhere that I can user WCF Data Service. but I don't know how.
2- Clients have different authorization rules. I mean each client has access to his own set of data from the same table. So I can't download whole table to client PC. When a client requests for a table (changed data from server), only those data who client has access must be returned. I don't know how to do it with Sync Service.
Answer : Offline Application - ADO.NET Sync Framework or Smart Client Offline App Block
Well. since no one is answering, I'll answer myself.
I didn't go around Offline App Block. I found good articles about ADO.NET Sync Framework:
Sync Framework with WCF:
http://www.codeproject.com
/KB/smart/
sync_servi
ces.aspx
Securing WCF:
http://www.theserverside.n
et/tt/arti
cles/showa
rticle.tss
?
id=Securi
ngWCFServi
ce
http://nayyeri.net/custom-
username-a
nd-passwor
d-
authenti
cation-in-
wcf-3-5
To bypass Certificate validation on secure WCF services:
http://webservices20.blogs
pot.com/20
08/12/wcf-
gotcha-
dis
abling-ssl
-validatio
n.html
Random Solutions
Certain websites time out on connecting
APEX Icons
mssql issues with 10.50.1600 & 10.00.1600
Look Up in Query
Delphi - Load Strings from RCData?
How do I remove Office XP and 2003 using Msizap.exe from a command line?
Failed to allocate port error when configuring EM (Oracle 11g)
When does a DBMS become necessary/very useful to use in conjunction with ArcGIS? (rather than doing everything with ArcGIS)
BSOD Windows 2008 R2 Hyper-V
Use xcacls.vbs on \\server\share path