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

  • Home
  • SEARCH
  • 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 6084801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:33:55+00:00 2026-05-23T11:33:55+00:00

There is an ASP.NET webservice that peforms a LoadLibrary() call to load an unmanaged

  • 0

There is an ASP.NET webservice that peforms a LoadLibrary() call to load an unmanaged .dll on each call to the webservice and then P/Invokes a number of functions in the unmanaged .dll.

Does the threading model used by ASP.NET to service multiple simultaneous requests mean that there can potentially be memory problems whereby the memory allocated inside the unmanaged code is stepped on by subsequent webservice requests?

Are different webservice requests allocated their own memory space within the unmanaged code or are they clashing over the same space?

Thanks!

  • 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-23T11:33:56+00:00Added an answer on May 23, 2026 at 11:33 am

    Where the memory allocated for p/invoke calls depends on the particular call, but overall there shouldn’t be a problem as long as you clean up unmanaged resources properly, because the garbage collector wont. In that sense an ASP.NET application is just like any other multi-threaded application.

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

Sidebar

Related Questions

Using ASP.NET MVC there are situations (such as form submission) that may require a
Are there any tools that will spider an asp.net website and create a static
This question is regarding the ASP.NET webservice that i am creating using the DAL-BLL
I have an asp.net mvc application, phpBB forum and asp.net webservice that I want
I have a webservice that exists in an asp.net website. When I publish the
I have an ASP.NET webservice (.asmx) with a simple method that reads something from
I'm running an ASP.NET WebService on IIS 6.0 that shows a lot of HTTP
Is there an ASP.NET AJAX framework other than just using UpdatePanel & Friends or
What is a good free/open source alternative to WebFOCUS ? Is there an ASP.NET
I know with ASP.NET there's a global handler Application_EndRequest handler where I could change

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.