This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sub getPeople() | |
| Dim req As MSXML2.ServerXMLHTTP60 | |
| Dim Parsed As Dictionary | |
| Dim i As Integer | |
| Dim Results As Collection | |
| Dim Value As Dictionary | |
| Set req = New MSXML2.ServerXMLHTTP60 | |
| api_url = "https://swapi.dev/api/people/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class ConnectionFactory { | |
| public static DbConnection GetOpenConnection() { | |
| var connection = new SqlConnection("MyConnectionString"); | |
| connection.Open(); | |
| return connection; | |
| } | |
| } |