Search Results - VBForums

Search:

Type: Posts; User: sapator

Page 1 of 13 1 2 3 4

Search: Search took 0.07 seconds.

  1. Thread: Add clients

    by sapator
    Replies
    5
    Views
    740

    Re: Add clients

    If you need to have client side validation then you can create a web service that will interact with the membership object(or your custom client management db, if you are using such) and will give...
  2. Re: Very difficult string manipulate due to company stupidity

    @TnTinMN 1) I am not sure as I found out this issue 2 days ago so I am guessing they might have other goof ups 2)Don't think so as this passes through an array of validate values that , as I see they...
  3. Re: Very difficult string manipulate due to company stupidity

    Thank you for the comforting words.
    I'm anxious to try this but since we have a 3 days Holiday,m going for a small first vacation, I won't be at the office till Monday to give it multiple goes....
  4. Re: Very difficult string manipulate due to company stupidity

    Hi.
    can't quite figure how to predict the 8 to 9 chars.I am not sure.
    This is what I am trying:
    (Sorry, started with C# testing):



    originalRowSubStr = seatsData;

    ...
  5. Very difficult string manipulate due to company stupidity

    Hi.
    I am getting a string of seats that looks like this:...
  6. Re: [RESOLVED] WCF service in local IIS and run with Jquery.

    A basic example submitted to codebank so you won't lose you time searching for this:
    http://www.vbforums.com/showthread.php?794763-Using-Ajax-with-WCF-and-CORS-enabled
  7. Replies
    1
    Views
    491

    Re: Using Ajax with WCF and CORS enabled.

    Note that i use HttpContext.Current.Response.AddHeader("Access-Control-Allow-Origin", "*") , "*" should be the server domain that will be allowed but since I had trouble configure this, I used "*"...
  8. Replies
    1
    Views
    491

    Using Ajax with WCF and CORS enabled.

    Had a lot of trouble configuring this so I am writing it out in case anyone wants to do the same.
    This is a WCF - POST-GET enabled WCF service app that will be called through Ajax - Json. This...
  9. Re: [RESOLVED] WCF service in local IIS and run with Jquery.

    I wish i could use simple web services as the configuration takes a lot more than the actual deployment but in order to be using company to company same methodology I am force to use the damn thing....
  10. Re: WCF service in local IIS and run with Jquery.

    Did IT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    GOD DAM##$$# SH#$#$ FUC@##$!#@$@#$@# #$#$ $!!!! !!!!
    Used Access-Control-Allow-Origin", "*" , so it had to allow everything. I know this is...
  11. Re: WCF service in local IIS and run with Jquery.

    I've use Cassini and localhost.
    Use localhost:somenumber, localhost, mydomain. Nothing will bypass the might CORS!
    All hail CORS the mighty firewall!
  12. Re: WCF service in local IIS and run with Jquery.

    I've used this, you can see it on an above example.
    The last example will give me 200ok Method:Options but will give the XMLHttpRequest error. I'm thinking that I am missing 1-2 lines but I have...
  13. Re: WCF service in local IIS and run with Jquery.

    Page error specifies:
    XMLHttpRequest cannot load http://localhost:45156/Service1.svc/GetMedicalHistory. The 'Access-Control-Allow-Origin' header has a value 'http://localhost' that is not equal to...
  14. Re: WCF service in local IIS and run with Jquery.

    OK. This is supposed to work but it does not. It will give 200 ok but will never get to the function, only go to the error clause.
    Maybe I'm using something wrongly. Anyone take a look, at least to...
  15. Re: WCF service in local IIS and run with Jquery.

    Managed to make it use GET! Cannot use POST though. Sap please help! :P


    Public Function GetData() As String Implements IService1.GetData
    'for all cors requests
    ...
  16. Re: WCF service in local IIS and run with Jquery.

    Anyhow the general idea is to call a WCF service from AJAX from a web app (and WCF not being inside your app).
    Probably won't get answers since i think no one has done something like this here but...
  17. Re: WCF service in local IIS and run with Jquery.

    Same but WCF. The IIS is at my job, it's working fine as i can call WCF from with server calls.
    I also have a remote (in the same domain) IIS that is hosting our test websites, so I can use that too...
  18. Re: WCF service in local IIS and run with Jquery.

    A simple example would be the yahoo weather API that i have used.
    You call it with a webservice (not WCF though) and you get the data.
    It's of course on another domain.
  19. Re: WCF service in local IIS and run with Jquery.

    I'm calling this non possible until proven otherwise. There is not one valid and working example anywhere to be found on the web.
  20. Re: WCF service in local IIS and run with Jquery.

    Ok. Can we unmix things here?
    The WCF I am going to use will be on an IIS, somewhere in the domain. So the call should not be myservice/test but http://192.168.100.20/myservice/test . If that is not...
  21. Re: WCF service in local IIS and run with Jquery.

    Ok so how would I go about calling a service from another IIS but the local? Let's say I have the service in IIS on 192.168.100.20 and my computer is 192.168.100.30,
    how would i call the WCF on JS?...
  22. Re: WCF service in local IIS and run with Jquery.

    http://localhost/VSAPIAJAX/vsapiajax.svc/test will show 400 bad request on firebug.
    Fiddler will also show 400 bad request.
    Is this a web.config thing. I have also tried basichttpbinding with no...
  23. Re: WCF service in local IIS and run with Jquery.

    I get not found with your url (seems logical) and with a specified IIS url i get:
    XMLHttpRequest cannot load http://localhost/vsapiajax/vsapiajax.svc/test. No 'Access-Control-Allow-Origin' header is...
  24. Re: WCF service in local IIS and run with Jquery.

    I do not think that this will work for IIS calls. Especially for calls outside of my local PC space,even if the domain is the same. If the WCF is on 192.168.101.20 and I am on 192.168.101.30 then I...
  25. Re: WCF service in local IIS and run with Jquery.

    asp.net web site just to host the javascript and I tried to execute in Local IIS, IIS Express and in asp.net - visual studio self created IIS.
    Hmm, let me clarify better. The WCF application is...
  26. Re: WCF service in local IIS and run with Jquery.

    I'm not sure Szlamany uses WCF at all, he despise it :) I probably need sapator here but as you can see sapator has the issue.
    I can consume WCF with JS in a web site - application that hosts the...
  27. Re: WCF service in local IIS and run with Jquery.

    Hi.
    Have you actually succeed in running a site?
    Nothing seems to work for me.
    I've added - removed and made combinations but nothing works.
    Here is all the stuff i add and remove:

    ...
  28. Re: WCF service in local IIS and run with Jquery.

    get 404 not found with this:


    $(document).ready(function () {


    $.ajax({
    dataType: 'jsonp',
    contentType: "text/json; charset=utf-8",
    ...
  29. [RESOLVED] WCF service in local IIS and run with Jquery.

    Hi.
    Is that so hard? Do i need cross domain stuff???
    I am creating a simple WCF and i want to call it from local IIS. I cannot do it, whatever i try.
    The service will work if i have it inside a...
  30. Re: Pass code from webservice through website without user detection.

    Yep.
    Everything on the client.
    It may ask sql for the key and GUID but it will have to be maintained on the client. Possibly a cookie if we decide to keep it like a shopping cart app.
  31. Re: Pass code from webservice through website without user detection.

    Will think of it but i don't like the application memory space.
    Yes if the user hit refresh then they loose the active sale. Goodbye goodbye my user friend! Since the sale will be initiated on one...
  32. Re: Pass code from webservice through website without user detection.

    Probably since I don't want to put everything in a single page like app but the key+guid is only needed for a specific page and situation, namely when a request for a ticket purchase is clicked.
  33. Re: Pass code from webservice through website without user detection.

    I do not really mind about the GUID. The user- rogue would have 10 minutes to try anything and at best he can order another ticket.
    What i would be better of not show would be the global key that i...
  34. Re: Pass code from webservice through website without user detection.

    Haven't done anything yet (it's a future plan).
    I will probably pass the data with Json and will do it with "POST" so no URL.
    I am not sure about protecting the user going rogue?I don't know what...
  35. Re: Pass code from webservice through website without user detection.

    Yep I have a 10 minutes activity.
    About the SSL. If i do not encrypt the key then won't the client be able to view it? Since they key will be send from the client side.
    OK he would also need the...
  36. Re: Pass code from webservice through website without user detection.

    So what we can do here is have the server init a GUID every time the web app runs on a client computer and the send the p=key + guid , I am thinking, encrypted back on the server.
    After the...
  37. Re: Pass code from webservice through website without user detection.

    Yes. HTTPS and SSL. But remember that this is supposed to be on the website client code (secretly somehow) so it can be passed through the WCF service i have build, through the usual Jquery , POST,...
  38. i need wcf to test for an absolute address.

    197 Points

    737 Posts
    i need wcf to test for an absolute address.

    a few seconds ago|LINK

    Hi.

    i am trying the following:
  39. Pass code from webservice through website without user detection.

    Hi.

    I am thinking on how i can pass a code through a website to a webservice without the user opening the page source and viewing the code.

    Also if i encrypt the code then the user can just...
  40. Re: How to write and run ANY query in MySql?

    What PC are you using?
    I think .NET is installed by default in newer Windows Versions. So you may have it installed.
    VC++ will also install if you want to play some games so you may have that...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.