|
Rank: Newbie
Groups: Registered
Joined: 4/2/2015 Posts: 4
|
I would like to integrate RapidSpell Web offering in a web site which is not an ASP.NET site. The client side is pure Javascript + HTML. The server side include Web services written in .NET (using WCF). I would like to use your client side offering, and your service for As-You-Type corrections. Would it be possible to receive the details of the .NET API that I can access directly to get the corrections, which is not an ASP page? I would like to use my own web service, with exactly the same input/output but without the ASP packaging.
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
Hi, I want to be sure I understand exactly what you mean, because as it stands you certainly can use our product out of the box with from an ASP page http://keyoti.com/produc.../JSmode/As_you_type.htm
Are you saying that you want to use WCF as the communication mechanism instead of our default aspx based response? Thanks Jim -your feedback is helpful to other users, thank you!
|
|
Rank: Newbie
Groups: Registered
Joined: 4/2/2015 Posts: 4
|
Hi Jim, This is exactly the case. I would like to use the "As You Type" spell checking service from an html page (using standard textarea) and use WCF for communication instead of ASP. From reviewing the ASP code you provide, I think it would be best to use some .NET API directly instead of an ASP tag. Please advise. Thanks, Boaz
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
I'll look into it and get back to you - we may be able to do this. For the record, and for others reading (because I think you know this already) we don't use any legacy ASP stuff, it's all ASP.NET. It's just our server side response is handled by an ASP.NET control. -your feedback is helpful to other users, thank you!
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
Yes, I think we can do it - shouldn't be too much effort and we can have it ready in a few days. To reiterate, we will make it an option to use WCF (a *.svc file on the server) to communicate with the server. The WCF service will respond with a JSON response. The as you type client side script will use a JSON request. You won't need to change anything. The dialog spell checker will continue to work as it already does, using an ASP.NET tag. Please let me know if anything about that is a problem. Jim -your feedback is helpful to other users, thank you!
|
|
Rank: Newbie
Groups: Registered
Joined: 4/2/2015 Posts: 4
|
This sounds great, and using JSON for communication is aligned with what we are doing. I assume we should be able to customize the .svc file if we need it. Thanks, Boaz
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
Quote:I assume we should be able to customize the .svc file if we need it. Customize in what way? Do you mean the spell checker behavior? That would be specified in Javascript. Just want to make sure we're on the same page. Thanks Jim -your feedback is helpful to other users, thank you!
|
|
Rank: Newbie
Groups: Registered
Joined: 4/2/2015 Posts: 4
|
I didn't mean to customize the behavior - only to be able to change service settings so it can run in our app (if it doesn't work out-of-the-box).
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
Just wanted to let you know we're almost their with supporting WCF for communication. Thanks for your patience. -your feedback is helpful to other users, thank you!
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
Ok, sorry about the delay - it wasn't hugely complex but we have just been busy. Now, I can't say that this has been exhaustively tested, but it is straightforward enough that it should be fine. If you do spot anything wrong please let me know. You'll need this new DLL https://www.dropbox.com/...lWeb.ASP.NETv4.dll?dl=0
And add these files to your folder where you have RapidSpell-AYT.js (eg. Keyoti_RapidSpell_Web_Common) https://www.dropbox.com/.../RS-Extensions.zip?dl=0
To use it in WCF mode, add this to your pages (bold) - modifying the path as needed <script src="/Keyoti_RapidSpell_Web_Common/RapidSpell-AYT.js"></script> <script src="/Keyoti_RapidSpell_Web_Common/RapidSpell-Extension.js"></script> <script type="text/javascript"> rapidSpellExtension.serviceProxy.commonFolderUrl = "/Keyoti_RapidSpell_Web_Common"; </script>Best Jim -your feedback is helpful to other users, thank you!
|
|