473,396 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Namespace Problem Cont..

Is there a way I can have the ASP.NET 2.0 application and my web service in
the same namespace. I'm new to ASP.NET and I can't seem to find the
namepace for the project, I do have a namespace at the top of my web service
class however.

How can i set my aspx pages to a namespace?
Nov 19 '05 #1
2 853
The namespace of your ASP.NET app should be labeled in the code behind
files. I'm not using ASP.NET 2.0 yet, but I imagine it's there.

Have you checked the codebehind file?

Clint Hill
H3O Software
http://www.h3osoftware.com

Mark Thomson wrote:
Is there a way I can have the ASP.NET 2.0 application and my web service in
the same namespace. I'm new to ASP.NET and I can't seem to find the
namepace for the project, I do have a namespace at the top of my web service
class however.

How can i set my aspx pages to a namespace?

Nov 19 '05 #2
Yes, I've checked there. ASP.NET 2.0 does something funny with partial
classes and i can only seem to view part of the code behind.

I guess my problem isn't with namespaces as such.

I have a web service that has a Venue class on it. I also have a client
application running on pocket pc that has the same Venue class on it. The
problem is when i perform use the

[WebMethod]
Venue getVenue( )

from the client application, it maps the return type to
Webservicenamespace.Venue instead of Venue.

Should I be using Proxy classes for this or is there a better way to do it?

"Clint Hill" <cl********@nospamath3osoftware.com> wrote in message
news:%2******************@TK2MSFTNGP14.phx.gbl...
The namespace of your ASP.NET app should be labeled in the code behind
files. I'm not using ASP.NET 2.0 yet, but I imagine it's there.

Have you checked the codebehind file?

Clint Hill
H3O Software
http://www.h3osoftware.com

Mark Thomson wrote:
Is there a way I can have the ASP.NET 2.0 application and my web service
in the same namespace. I'm new to ASP.NET and I can't seem to find the
namepace for the project, I do have a namespace at the top of my web
service class however.

How can i set my aspx pages to a namespace?

Nov 19 '05 #3

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

Similar topics

1
by: John L. Clark | last post by:
I am curious as to the rationale, and effect, of having default namespaces not applying (directly) to attributes (see http://www.w3.org/TR/REC-xml-names/#defaulting). Given an attribute without a...
3
by: Mike Dickens | last post by:
hi, i'm sure this has come up before but havn't managed to find an answer. if i have the following xslt <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet method="xml" version="1.0"...
8
by: Petter Reinholdtsen | last post by:
I ran into a problem on HP-UX 11.00 the other day, where it refused to compile a program using 'using namespace std;' at the top. The reason seem to be that the compiler refuses to accept 'using...
5
by: gelbeiche | last post by:
Is ( cont.begin() == cont.end() ) essentially equivalent to writing ( cont.empty() ) for a STL container ?
7
by: Kevin Newman | last post by:
I've been toying with a namespace manager, and wanted to get some input. So what do you think? if (typeof com == 'undefined') var com = {}; if (!com.unFocus) com.unFocus = {}; ...
20
by: Patrick Guio | last post by:
Dear all, I have some problem with insertion operator together with namespace. I have a header file foo.h containing declaration of classes, typedefs and insertion operators for the typedefs in...
5
by: pneumoconi | last post by:
I've read a lot of posts on this subject each with a slightly different issue and from what I gather my code is fine. But its not. I'm trying to pull out the SQL query from a SQL report document...
14
by: Tiraman | last post by:
Hi , I would like to use nested namespace . I have 3 namespace as dll's : Namespace A Namespace B Namespace C And i want to have some namespace that contain them all , some thing like
5
Atli
by: Atli | last post by:
Hi everybody. After years of C# and PHP, I'm finally returning to Java. My goal is to create a Java program capable of sending images to a PHP Photo Album on my web server. Right now, however,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...

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.