472,958 Members | 2,128 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

ASMX and ASPX in same application ?

Hi,

Are there any implications of having ASMX and ASPX in same ASP.NET
application ? Both would share the same global varriables, etc.

Regards

Navin
Dec 14 '05 #1
4 1525
Functionally no. But from a design standpoint, yes.

The whole point of a web service is to have a non-proprietarty,
platform-independant way to do remote procedure calls via http. If the GUI
and the service are on the same box, you don't need what web services offer
and, in fact, would most likely be degrading the overall performance of the
application.

-Scott

"Navin Mishra" <na**********@siemens.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi,

Are there any implications of having ASMX and ASPX in same ASP.NET
application ? Both would share the same global varriables, etc.

Regards

Navin

Dec 14 '05 #2
Thanks for quick response. Could you shed more light on how it could degrade
overall performance ? May be because ASP.NET ThreadPool threads are shared
between the two ? The ASMX need to return actually the URL of ASPX to the
user which user could put in a browser. There may be some data retrieved
from 3rd party which ASPX and ASMX may need to share and that's why I was
thinking of putting them in same application.

Thanks again and regards

Navin

"Scott M." <s-***@nospam.nospam> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Functionally no. But from a design standpoint, yes.

The whole point of a web service is to have a non-proprietarty,
platform-independant way to do remote procedure calls via http. If the GUI and the service are on the same box, you don't need what web services offer and, in fact, would most likely be degrading the overall performance of the application.

-Scott

"Navin Mishra" <na**********@siemens.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi,

Are there any implications of having ASMX and ASPX in same ASP.NET
application ? Both would share the same global varriables, etc.

Regards

Navin


Dec 14 '05 #3
You'll want to create your web services and then wrap it with a
separate ASP.NET page. That's a pretty standard model.

Dec 14 '05 #4
Web services offer platform indepenance and non-proprietary ways of
communicating, but there is a cost - serialization and bandwith. It has
notihing to do with threads and URL's. The data passed to a web service and
the response coming back are done in XML using the SOAP protocol. While
definately an "open" model, no one ever touted web services as the best
performing solution to cross-platform remote procedure calls. As a result,
there is an inherant performance limitation to them.

If you need to call a procedure from the same box as the GUI, then just
create a regular .NET class and call functions of that class. Web Services
are for calling procedures (functions) on other boxes in a non-proprietary,
platform-independant way. Because of this, most applications are built in
"tiers", with different tiers residing on different boxes. This is done for
security and scalability.

-Scott
"Navin Mishra" <na**********@siemens.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Thanks for quick response. Could you shed more light on how it could
degrade
overall performance ? May be because ASP.NET ThreadPool threads are shared
between the two ? The ASMX need to return actually the URL of ASPX to the
user which user could put in a browser. There may be some data retrieved
from 3rd party which ASPX and ASMX may need to share and that's why I was
thinking of putting them in same application.

Thanks again and regards

Navin

"Scott M." <s-***@nospam.nospam> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Functionally no. But from a design standpoint, yes.

The whole point of a web service is to have a non-proprietarty,
platform-independant way to do remote procedure calls via http. If the

GUI
and the service are on the same box, you don't need what web services

offer
and, in fact, would most likely be degrading the overall performance of

the
application.

-Scott

"Navin Mishra" <na**********@siemens.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> Are there any implications of having ASMX and ASPX in same ASP.NET
> application ? Both would share the same global varriables, etc.
>
> Regards
>
> Navin
>
>



Dec 14 '05 #5

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

Similar topics

3
by: !TG | last post by:
I just setup a 2003 ent server. How do I get .Net installed so I can run asmx, aspx, asax, etc?
1
by: Stevenson | last post by:
Hello. If have written a webservice within C# that is called from an aspx and processes incoming data correctly. The problem is that the ASMX runs twice before returning. I have debugged the...
3
by: Sergio Fernandez | last post by:
..asmx not getting parsed. whten I call a page with an .asmx extensionon my machine all I get is the code, it does not get parsed. how can I fix this, can I manually add some ISAPI application...
1
by: Sledge | last post by:
Hello All, I'm completing a web application with .NET using VB Script. I created a ASPX File and I want to call a webserver service ASMX File, but I don't know how to? Can you guys help or...
1
by: Ido Flatow | last post by:
Here's the scenario: - Created a web service project - Added 2 services (asmx files) - Created a custom entity ("Customer") - Created a method in each service which returns/receives the above...
0
by: Sophie PARISOT | last post by:
Hi, I try to create one application and different virtual sub-directories (?) with their own webservices but I have this kind of error : unable to create the type myNamespace Ligne 1 : <%@...
2
by: Steve B. | last post by:
Hi, We have build an ASP.Net 2.0 framework for our corporate sites. This framework add some asmx files that are used by all application. The asmx files only contains the directive <%@...
5
by: =?Utf-8?B?a3Jpcw==?= | last post by:
I created a simple webservice .asmx on Visual Studio 2005. As I plan to deploy it to Sharepoint Portal 2003, I copied asmx to \web server extensions\60\ISAPI directory of the server, where all...
6
by: =?Utf-8?B?a3Jpcw==?= | last post by:
Hi, I created a web service application using ASP. My question is : When i try to create an extra class in the same asmx file,At the time of consuming the web service,its showing me only the...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.