duplex

Deepfake technology can be dangerous

南楼画角 提交于 2019-11-29 08:12:07
It seems like every few days there’s another example of a convincing deepfake going viral or another free, easy-to-use piece of software (some even made for mobile) that can generate convincing video or audio that’s designed to trick someone into believing a piece of virtual artifice is real. But according to The Wall Street Journal, there may soon be serious financial and legal ramifications to the proliferation of deepfake technology. The publication reported last week that a UK energy company’s chief executive was tricked into wiring €200,000 (or about $220,000 USD) to a Hungarian supplier

DevExpress v18.1新版亮点——Reporting篇(三)

微笑、不失礼 提交于 2019-11-29 07:14:21
用户界面套包DevExpress v18.1日前终于正式发布,本站将以连载的形式为大家介绍各版本新增内容。本文将介绍了 DevExpress Reporting v18.1 的新功能,快来下载试用新版本! 点击下载>> WinForms Reporting 增强End-User Report Designer UX Contextual Tabs inspired by Microsoft Office :Contextual Tabs通常显示特定于上下文的命令,因此,它们不需要持续显示(仅在选择特定对象或最终用户执行特定操作时才显示它们)。 Docking Light View Ribbon Style Gallery显示可用的报表样式,最终用户可以为所选控件指定任何样式。 Property Grid的Favorites Tab允许最终用户置顶最喜欢或最常用的属性。 Page Setup Dialog - 自定义Paper尺寸 在此版本中,Page Setup Dialog (Print Preview, Report Designer) 允许您指定之定义paper尺寸。 增强Filter Editor 新版本改进了Filter Editor(在文本模式下构建滤镜条件时)的可用性,新的增强功能包括: 智能代码完成 列和函数工具提示 输入验证和错误指示 Duplex

Progress notification in WCF for long running processes - How?

社会主义新天地 提交于 2019-11-29 03:16:42
问题 I have to design and implement a way to deal with long running processes in a client/server application. A typical long running process would/could take 2-3 minutes. I also need to report progress to the UI in the meantime and keep the UI responsive. Having these in my mind I though of a few solutions: One async request to start the process which starts the server-side process and returns an assigned LRPID (Long Running Process ID) then poll periodically from the client using that LRPID. (

Seeking WCF Duplex “TwoWay” Subscribe+Callback Example

£可爱£侵袭症+ 提交于 2019-11-28 17:37:47
问题 Renewing the bounty AGAIN because I really need to know how to get this to work, or a definitive answer about why it won't. I've added an alternative explanation of the problem here. Having a hell of a time getting a two-way (IsOneWay = false) WCF client-server to work in .Net 3/3.5. After the client successfully enrolls with the service, the service's periodic Announcement() calls-back to the enrolled clients. It is now that either the client or the server hangs until the server's

Printing with advanced options (tray selection, duplex, staple)

為{幸葍}努か 提交于 2019-11-28 10:34:18
We have a project of managing printing documents. At first I wonder why printing options couldn't be set up in single place. For example printer tray selection for first page and for other pages can be done using MS Word automation : var doc = _applicationObject.Documents.OpenNoRepairDialog(FileName: ref sourceFile, ReadOnly: ref readOnly, AddToRecentFiles: ref addToRecentFiles, Visible: ref visible); doc.PageSetup.FirstPageTray = (WdPaperTray) firstPageTrayCode; doc.PageSetup.OtherPagesTray = (WdPaperTray) otherPagesTrayCode; _applicationObject.ActivePrinter = printerPath; doc.Activate();

Handling dropped clients in a duplex binding WCF application

≡放荡痞女 提交于 2019-11-27 13:18:19
问题 We are using a pub-sub model in our WCF application that pretty much follows the Microsoft sample: Design Patterns: List-Based Publish-Subscribe. Whilst the service provides a notion of subscribe() and unsubscribe() , what is the best practice to handle the cleanup in the situation when a client dies or the channel faults? Currently, when a client subscribes I attach to handlers to the current InstanceContext 's Closed and Faulted events (the service users an PerSession instance context mode

How to handle WCF exceptions (consolidated list with code)

左心房为你撑大大i 提交于 2019-11-27 10:08:33
I'm attempting to extend this answer on SO to make a WCF client retry on transient network failures and handle other situations that require a retry such as authentication expiration. Question: What are the WCF exceptions that need to be handled, and what is the correct way to handle them? Here are a few sample techniques that I'm hoping to see instead of or in addition to proxy.abort() : Delay X seconds prior to retry Close and recreate a New() WCF client. Dispose the old one. Don't retry and rethrow this error Retry N times, then throw Since it's unlikely one person knows all the exceptions

Could not find a base address that matches scheme net.tcp

穿精又带淫゛_ 提交于 2019-11-27 08:14:52
I have moved my file transfer service from basicHttpBinding to netTcpBinding as I am trying to set up a duplex mode channel. I have also started my net.tcp port sharing service. I am currently in dev and am self hosting on an xp box until we move the app to a dev server. so, for now, I do not have access to IIS. After configuring my service as such: <service behaviorConfiguration="transferServiceBehavior" name="API.FileTransfer.FileTransferService"> <endpoint name="MyFileTransferEP" address = "" binding = "netTcpBinding" bindingConfiguration="MyFileTransferNetTcpEP" behaviorConfiguration=

Detecting Client Death in WCF Duplex Contracts

好久不见. 提交于 2019-11-27 03:03:47
I'm trying to build a SOA where clients can perform long running queries on the server and the server responds using a callback. I'd like to be able to detect if the client disconnects (through user initiated shutdown, unhandled exception or loss of network connectivity) so that the server can choose to cancel the expensive request. I'm testing a variety of failure cases but I can't seem to get certain event handlers to fire. Tested Failure Cases: Killing the Client Process After the request. Using a program like CurrPorts to close the TCP Connection. Test Code: using System; using System

JAVA push from server to clients

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-26 20:29:56
问题 I would like to have the clients query each other through the server without delay ( = no polling interval ). Example: Server S, clients A and B Client A wants to request Client B. Client A will make a request to the server S, no problem there. Then Server S needs to be able to request Client B but how to do that without polling? All the node.js/APE (for PHP) technos are designed for the web, however I don't use a web server for that. Does Java has something close to a push technology