Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6005171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:21:48+00:00 2026-05-23T01:21:48+00:00

I have project in ASP.NET with postgreSQL database. I do not know what of

  • 0

I have project in ASP.NET with postgreSQL database. I do not know what of connection type is better. On one side I in ODBC we have Server Explorer(drag and drop gridview) and on the other side it is not separate application layer from logic layer. Please what of connection type is better ODBC or NpgSQL and why?

Sometging about my project:

  • Application ASP.NET using master.page,
  • database PostgreSQL with 18 tables and 4 m:n constraints (think it is difficult),
  • application have to generate pdf, xml, etc…
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T01:21:49+00:00Added an answer on May 23, 2026 at 1:21 am

    In general, I would choose the pure .NET solution over ODBC. I am not familiar with either of these drivers for PostgreSQL, so take this advice with caution. Some “general” arguments are:

    • Because .NET data providers are a newer technology than ODBC, they will as a general rule get more attention and updates than ODBC drivers. This, of course, may not apply in this case (maybe the PostgreSQL ODBC driver has a thriving developer community behind it). Barring that, though, it is more likely that problems you may encounter would be addressed in a more timely fashion in .NET data providers.
    • The client side stack is going to be a bit smaller if using the pure .NET data provider. I saw that Npgsql is a pure .NET solution. An ODBC driver, on the other hand, will have a deeper stack. A call has to go through the ODBC .NET provider, which then makes an unmanaged call to the ODBC driver manager, which then calls the PostgreSQL ODBC driver. Whether or not this would actually have an impact on performance would depend on the application and usage.
    • A pure .NET provider may be more efficient in that it is typically written specifically for a particular database server. In contrast, the ODBC .NET provider has to work with the ODBC driver manager and cannot make assumptions about the back end.

    I reiterate that the above statements are general ones that may not apply in this specific case but are probably worth considering.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a project (private, ASP.net website, password protected with https) where one of
I have a project in Asp net mvc. An entity called product can not
i need to have one project on asp.net mvc 1 but i want to
I have one project in asp.net using httpModules. But i got one exception while
I have a Silverlight project (with ASP.net MVC web project) Suddenly, when I press
The project is ASP.NET 2.0, I have never been able to reproduce this myself,
I have a project with two silverlight apps (foo1 and foo2) and an ASP.NET
I am in the start up of a project using ASP.NET MVC and have
I have an ASP.net project I'm looking at and they want to use MySQL.
I have a ASP.NET project, in which I have a method with 10 local

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.