locked
problem of loading a list of sites - aspx and c# RRS feed

  • Question

  • User-458598543 posted

    Hello,

    for my problem (of the day), I want to load a list of sites, internet sites otherwhise a list of W3C sites by a certain type of request.

    I've got the algorithm but probably you can give to me a real code to take this result of a internet (web) sites list.

    in waiting to read to you, truly yours.

    M.A.

    Monday, March 1, 2021 7:49 AM

Answers

  • User753101303 posted

    Hi,

    If you are looking at sending http requests to other sites to get their home page see  https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient?view=net-5.0#examples

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 3, 2021 12:18 PM
  • User475983607 posted

    Rednuts72

    the problem is that i've not got the code otherwhise the method to succeed a list of W3C internet sites (DNS or URL) in end to realize a personal international research motor so, could you send to me the real code to realize this operation to load a list of W3C internet sites (DNS or URL).

    I think you are asking the community to design a search engine for W3C.   

    The W3C site has a search feature and a site map.  The search feature uses is a basic HTTP GET.

    https://www.w3.org/Help/search?q=web+socket&search-submit=

    The next step for you is to come up with a design and write code to accomplish the design.  Share your code once you have logic to share.  Explain how the code is expected to function and how the code actually functions.  

    Also, you should reach out to W3C as they probably have a solution for developers.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 3, 2021 12:40 PM
  • User-458598543 posted

    good night or good day,

    perhaps we were not been on the same wave so I come again to you about my problem of loading a list of internet sites (dns or url). I know that it should be possible to ask a public server of internet network (3WC) to obtain a list of dns or url and it is my work to realize a function that select a certain number of sites by the type of request which asked for example on the <title> page. you gave a request address http://www.w3.org/help/search?q=web+socket&search-submit but this request is wrong for me. is there others public server requests ?

    thanks you for your participate.

    M.A.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, March 4, 2021 5:09 AM

All replies

  • User-939850651 posted

    Hi Rednuts,

    I've got the algorithm but probably you can give to me a real code to take this result of a internet (web) sites list.

    I'm not sure what method you want to use to achieve your requirement, what algorithm are you referring to?

    So I am afraid I cannot provide the real code according to your request.

    If possible, could you provide more details?

    Best regards,

    Xudong Peng

    Tuesday, March 2, 2021 3:56 AM
  • User-458598543 posted

    hello,

    my problem is that i would load a list of dns (domains name server) by a request using c# code (  :)  open heart). this function that i will be abble to used in a personal research motor project. i know that there are several methods but i don't see a real code.

    thanks you for your participate.

    M.A.

    Tuesday, March 2, 2021 4:32 AM
  • User409696431 posted

    This forum is intended to answer specific questions when you have trouble with your own code.  And, since you posted in the Web Forms section, your code would be Web Forms code.  Show us the code you've tried, explain what results you get, and what results you were expecting.

    Wednesday, March 3, 2021 2:07 AM
  • User-458598543 posted

    Hello,

    the problem is that i've not got the code otherwhise the method to succeed a list of W3C internet sites (DNS or URL) in end to realize a personal international research motor so, could you send to me the real code to realize this operation to load a list of W3C internet sites (DNS or URL).

    thanks you for your participate.

    M.A.

    Wednesday, March 3, 2021 11:38 AM
  • User753101303 posted

    Hi,

    If you are looking at sending http requests to other sites to get their home page see  https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient?view=net-5.0#examples

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 3, 2021 12:18 PM
  • User475983607 posted

    Rednuts72

    the problem is that i've not got the code otherwhise the method to succeed a list of W3C internet sites (DNS or URL) in end to realize a personal international research motor so, could you send to me the real code to realize this operation to load a list of W3C internet sites (DNS or URL).

    I think you are asking the community to design a search engine for W3C.   

    The W3C site has a search feature and a site map.  The search feature uses is a basic HTTP GET.

    https://www.w3.org/Help/search?q=web+socket&search-submit=

    The next step for you is to come up with a design and write code to accomplish the design.  Share your code once you have logic to share.  Explain how the code is expected to function and how the code actually functions.  

    Also, you should reach out to W3C as they probably have a solution for developers.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 3, 2021 12:40 PM
  • User-458598543 posted

    hello,

    thanks you for your answers but the problem is always here. the problem is that I'm not totally satisfied by the service of research motors (engines) bing, google and yahoo. the results of requests are oftently wrong so I have the project to build a personal international research motor. I'm certainly that my work could be serve people and the futur adults of tomorrow. I think it is abble to load sites (dns or url) to a public server and execute a code to show the results on a page.

    as microsoft partner, I'm calling to your help responsability to would give to me the real code (the solution, the good http request) to realize this work.

    god with trust or truly yours.

    M.A.

    Wednesday, March 3, 2021 4:23 PM
  • User475983607 posted

    Rednuts72

    thanks you for your answers but the problem is always here. the problem is that I'm not totally satisfied by the service of research motors (engines) bing, google and yahoo. the results of requests are oftently wrong so I have the project to build a personal international research motor. I'm certainly that my work could be serve people and the futur adults of tomorrow. I think it is abble to load sites (dns or url) to a public server and execute a code to show the results on a page.

    as microsoft partner, I'm calling to your help responsability to would give to me the real code (the solution, the good http request) to realize this work.

    The time and effort required to build a search engine is significant and requires teams of developers.  The source code alone is is tens of thousands of lines.  Even if you could get your hands on the source. 

    I think it is great that you want to improve Google, Bing, and Yahoo.  I wish you all the best in your endeavors. 

    If you have an ASP.NET question or require community debugging support then share the source code you are working on.  Explain the expected results and the actual results. 

    Wednesday, March 3, 2021 6:17 PM
  • User-458598543 posted

    good night or good day,

    perhaps we were not been on the same wave so I come again to you about my problem of loading a list of internet sites (dns or url). I know that it should be possible to ask a public server of internet network (3WC) to obtain a list of dns or url and it is my work to realize a function that select a certain number of sites by the type of request which asked for example on the <title> page. you gave a request address http://www.w3.org/help/search?q=web+socket&search-submit but this request is wrong for me. is there others public server requests ?

    thanks you for your participate.

    M.A.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, March 4, 2021 5:09 AM
  • User409696431 posted

    The purpose of this forum is to help you when you have a problem with your own Web Forms code.

    Thursday, March 4, 2021 6:04 AM
  • User-458598543 posted

    thanks you for your contribution.

    Friday, March 5, 2021 2:27 AM