Visual Studio 2010 window: data sources in an ASP.Net project?

I am trying to add a Sharepoint site as a data source in a web project in VS2010; so I can generate the appropriate DAO code to interact with the site data over REST. However, neither the data source window nor the Add Data Source Wizard seems to be available for the ASP.Net web project. Is there something else I should use instead? I know that I could just create a class library project and add my data source there, or I could just manually make REST requests; but I just want to see what options I have. Any constructive contribution is greatly appreciated.

Thanks Frank

+4
source share
1 answer

If I understand your question correctly, I think you need to right-click on "Web References" in your solution browser and click on "Add Web Link ...". Then you can enter the website URL, and it will be added to your project just like in any other library.

0
source

Source: https://habr.com/ru/post/1313781/


All Articles