How to connect DB2 (IBM AS400) in .Net 8?

Golftion Alva 0 Reputation points
2024-08-07T15:25:23.9866667+00:00

Hi
For now, I use .Net Framework 4.8.1 to create web APIs (using IBM.Data.DB2.ISeries).

 But I want to use .Net 8 for creating APIs by using data from DB2.   
 Is there a way to connect the database which I don't have to pay for a IBM License?  
```**Thank you**

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,204 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 65,316 Reputation points
    2024-08-07T17:12:01.9366667+00:00

    IBM supplies a nuget package:

    https://www.nuget.org/packages/Net.IBM.Data.Db2/

    in general connecting to any non free database (even Sqlserver) requires a license.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.