16,018,818 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by app1dak (Top 3 by date)
app1dak
2-Jul-10 10:53am
View
Deleted
thanks, this sounds like what I need. I'm implementing now, let you know if this solves my problem.
app1dak
2-Jul-10 10:00am
View
So I have a c#.net System object that contains an IBM activex AS400System object. The activex object can't be created until the first client needing that system makes a call to WCF service. Do I create a pool of the .net System objects without the AS400System initializsed and cache them. Then, when 1st client makes call needing a specific AS400System object, at that time do the expensive initialization?
BTW, thanks for the idea.
app1dak
1-Jul-10 8:37am
View
Are you talking about switching the InstanceContextMode? I have tried InstanceContextMode=Single, with same results. Do I need to do something else to get a singleton service instance? Do I need to move the static data into a singleton class of it's own. I tried that also, but may not have implemented properlty. Dispose was still called.