Re: Server-side data to JavaScript

2013-07-10 Thread Shane Nall
Hi Greg, WebAPI and Handlebars. Cheers, Shane On 11/07/2013, at 10:57 AM, Greg Keogh wrote: > Folks, on Tuesday I managed to use jQuery 1.10 in a static html page to > simulate an interactive product picker. As you fiddled controls the price > would adjust accordingly. My price calcul

Re: 3rd party component for sftp

2013-09-09 Thread Shane Nall
I've used SharpSSH before… seems to work fine. Cheers, Shane On 09/09/2013, at 4:57 PM, Tristan Reeves wrote: > Hi List, > Does anyone know of a good 3rd party (free + OS) component that can do > sftp? I was using ftplib for ftp but it seems it can't do anything > with sftp. > > Also I d

Re: out of memory..urgent

2013-09-09 Thread Shane Nall
You should consider working with streams and a fixed buffer size rather than the encoding the whole thing at once. Cheers, Shane On 10/09/2013, at 1:04 PM, wrote: > Getting out of memory exception when I try to > > Dim s as string > Dim b() as Byte > > s=System.Text.Encoding.GetEnco

Re: ASMX vs SVC basicHtpBinding

2013-12-17 Thread Shane Nall
WCF is a lot simpler to configure than it used to be especially now with the new element to define the server side endpoints. Agreed ASMX is legacy but WCF still has a part to play in SOA… I think of Web API is just that an API to expose your services. Consider the scenario where you have mul

Re: HttpWebRequest and client certificates over HTTPS

2010-04-07 Thread Shane Nall
Hi Michael, Your email raises a few questions like why are you sending certs around, and what do really want to achieve? But first I can answer the upload question... because I'm assuming because you're using POST you want to upload from a client to a web server. On the server side you need to h

Re: HttpWebRequest and client certificates over HTTPS

2010-04-07 Thread Shane Nall
Sorry I thought maybe you needed to upload a copy to the server first... anyway... why not try installing the cert into the store where the ASP.Net user account for the web session can retrieve it? Or... yeah... give the ASP.Net user access to that folder. On 8 April 2010 13:19, David Connors w

Re: Secure FTP

2010-11-21 Thread Shane Nall
Hi, FTPS is piece of cake using... System.Net.FtpWebRequest & FtpWebResponse For SSL obviously you need to set the EnableSsl to true... but the trick is that you need to add a callback handler for the Certificate Validation. ServicePointManager.ServerCertificateValidationCallback =

Re: web GPS mapping

2010-11-25 Thread Shane Nall
Hi Anthony, I built a GPS tracking system for Window Mobile devices a couple of years ago... back then I prototyped both Virtual Earth, now called Bing Maps and Google Maps... they were both basically the same and all JavaScript driven back then... more recently I did the mapping for clang.com.au

Re: Anyone using Prism?

2011-08-25 Thread Shane Nall
You might want to look at part 2 http://philipm.at/2011/0819/ On 25 August 2011 13:50, Jake Ginnivan wrote: > Quite good timing actually, here is a post which backs up my point about > staying away from unity if you want a well performing app: > > ** ** > > http://philipm.at/2011/0808/

Re: ASCII to int

2011-10-10 Thread Shane Nall
Hi, If the size of the integer isn't an issue... maybe just concatenate the values together... only problem is if you use ascii to decimal A starts at 65 and z ends at 122... so you’d have to use padding up to 100 to keep all the values the same length... but if you use the Octal values A starts