473,671 Members | 2,419 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Com+ and asp.net?

Dav
From what I know you can use com+ in asp.net via interop. If I convert

these com+ objects to .NET (VB.NET) do I still need MTS or does the
..NET framework handle the object pooling and other features of MTS? So,
instead of a bunch of COM+ objects on MTS that my asp.net can
reference, can I convert them to .NET DLLs and just keep them in the
bin folder?

Basically, if I convert my COM+ objects to .NET do I need MTS for a
high traffic site?

If you can post any thoughts, experiences or links, that would be
appreciated.

Thanks!

Feb 15 '06 #1
5 1520
Thus wrote Dav,
From what I know you can use com+ in asp.net via interop. If I
convert

these com+ objects to .NET (VB.NET) do I still need MTS or does the
.NET framework handle the object pooling and other features of MTS?
So, instead of a bunch of COM+ objects on MTS that my asp.net can
reference, can I convert them to .NET DLLs and just keep them in the
bin folder?

Basically, if I convert my COM+ objects to .NET do I need MTS for a
high traffic site?

If you can post any thoughts, experiences or links, that would be
appreciated.


COM+ in .NET is exposed through Enterprise Services. This is not a pure Managed
Code replacement, just a .NET abstraction layer. You're components will still
be running using the COM+ runtime.

Cheers,
--
Joerg Jooss
ne********@joer gjooss.de
Feb 15 '06 #2
Please do not crosspost questions between .NET and non-.NET groups. The
*.vb.* groups are for VB6 and earlier. .NET groups all have "dotnet" in
their names.
Feb 15 '06 #3
..NET doesn't substitute COM+, it's only expose COM+ functionality in
EnterpriseServi ces namespace.
You don't need to convert existed COM+ components.
The base services of MTS moved together with the COM functionality into COM+
base services (from Win2k).

ASP.net uses COM+ via webservices (call it interop)
From what I know you can use com+ in asp.net via interop. If I convert

these com+ objects to .NET (VB.NET) do I still need MTS or does the
..NET framework handle the object pooling and other features of MTS? So,
instead of a bunch of COM+ objects on MTS that my asp.net can
reference, can I convert them to .NET DLLs and just keep them in the
bin folder?
Basically, if I convert my COM+ objects to .NET do I need MTS for a
high traffic site?
If you can post any thoughts, experiences or links, that would be
appreciated.


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche


Feb 15 '06 #4
in general you do not need MTS if using native .net objects.

with .net objects you should only pay the MTS overhead if you need a MTS
feature.
-- bruce (sqlwork.com)
"Dav" <mu**********@y ahoo.com> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
From what I know you can use com+ in asp.net via interop. If I convert

these com+ objects to .NET (VB.NET) do I still need MTS or does the
.NET framework handle the object pooling and other features of MTS? So,
instead of a bunch of COM+ objects on MTS that my asp.net can
reference, can I convert them to .NET DLLs and just keep them in the
bin folder?

Basically, if I convert my COM+ objects to .NET do I need MTS for a
high traffic site?

If you can post any thoughts, experiences or links, that would be
appreciated.

Thanks!

Feb 15 '06 #5
Hi Dav,

You may wish to look into MSMQ helps handle large bursts of web traffic as
long as immediate answers and actions aren't required. And do please
consider MTS for application-level transactions, MTS can help prevent a
disconnect between what you promise in the forms and what actually happens
in the backend. COM+ bundles both and they are exposed using
EnterpriseServi ces namespace in .NET Framework. These services come free
with most if not all modern Microsoft OSes.

Best personal regards,
-- Li-fan

--
Li-fan Chen
Software analyst/developer, Entrepreneur
Markham, Ontario, Canada
"Dav" <mu**********@y ahoo.com> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
From what I know you can use com+ in asp.net via interop. If I convert

these com+ objects to .NET (VB.NET) do I still need MTS or does the
.NET framework handle the object pooling and other features of MTS? So,
instead of a bunch of COM+ objects on MTS that my asp.net can
reference, can I convert them to .NET DLLs and just keep them in the
bin folder?

Basically, if I convert my COM+ objects to .NET do I need MTS for a
high traffic site?

If you can post any thoughts, experiences or links, that would be
appreciated.

Thanks!

Feb 16 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
1967
by: Bryan Gan | last post by:
Dear all, Can I know is there any improvement if develop COM under .NET comparing to develop COM using VC6? thanks.
8
3024
by: Jaime Rios | last post by:
Hi, I created a COM AddIn for Word that performs the functions that it needs to, but I needed to add the ability for the toolbar created by the COM AddIn to remember it's last position and whether it was docked or not. I added the following code to my "OnConnection" function but it fails with an error, "Run-time exception thrown : System.IO.IOException - Bad file name or number." With applicationObject.CommandBars("SampleToolbar")
3
1974
by: Dmitry | last post by:
Hi, I have defined interface for COM components which inludes an argument being filled with additional error info, if such occurs. If inside I raise COM Error, I populate that parameter. In COM environment this architecture works beautifully -- caller application gets negative HRESULT and error description from IErrorInfo object, and additional "log" information from that "ref" parameter: In .Net it just never returns that paramter...
2
13402
by: brazilnut52 | last post by:
I am going to outline the steps I go through to produce the problem. Hopefully this will help you understand the problem better I have created a simple COM DLL in .NET by using the COM class template and by setting output to a type library (DLL). All the object does is return a string value. At this point I have not checked the option to register for COM interop in Visual Studio So I go into Excel (where I want to use the object). Go to VB...
2
6462
by: pieter.breed | last post by:
Hi All, The company I work for has traditionally used COM/ActiveX for the solutions that it provides. We are in the process of moving to .NET and a few applications have been written in VB.NET up to this point. Some of the applications are class libraries which need to be callable via the COM interface from some of the older applications. Could someone please explain to me the issues involved in deploying such a class library?
7
2303
by: Bradley1234 | last post by:
Hi Im trying to really understand COM and the replacement in the newer .net framework. Coming from an embedded side and not riding the Windows wave in the 90s, COM seems difficult to grasp. The msdn library documentation seems to go in circles, saying: what is com? well its, its sort of like, com is, whats com? its extensible, its versatile, for a better description click <here>. So that click brings up another page, com is unique,...
9
8580
by: Keith Rowe | last post by:
Hello, I am trying to reference a Shockwave Flash Object on a vb code behind page in an ASP.NET project and I receive the following error: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). On the aspx page I have the object tag as follows:
9
3117
by: gulu man | last post by:
Hi, What is the substitute for COM objects in .NET? How can I create something similar to com in .net? Is it still possible? Thank you
1
9015
by: Praveen | last post by:
Hi, I have installed WebSphere Portal on AIX and connected to DB2 on a remote machine, Getting the followin errors when trying to get the values from database thru applications installed on Portal. Any Help Appreciated. Thanks in advance. Praveen Singh
0
8483
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8401
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8603
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8673
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7444
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6236
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4416
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2818
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.