Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How should I organize common ArcWeb Service objects if I am using .NET?

0
Posted

How should I organize common ArcWeb Service objects if I am using .NET?

0

If you are using the same objects in different ArcWeb Services, you need to include the common classes definitions under a common namespace. Keeping common objects under a common namespace will help prevent the Ambiguous reference error. It is recommended that you do this in a new file, but you can also use an existing reference file. Make sure you include the attribute associated with each class when moving classes, and keep in mind you have to delete the common classes from the reference classes every time you update your Web references. If you have defined them in a new file, include a reference to this common namespace in the reference classes. For .NET quick-start tutorials, see C#.NET With Public Services, C#.NET With Restricted Services, VB.NET With Public Services, VB.NET With Restricted Services, ASP.NET With Public Services, and ASP.NET With Restricted Services.

0

If you are using the same objects in different ArcWeb Services, you need to include the common classes definitions under a common namespace. Keeping common objects under a common namespace will help prevent the Ambiguous reference error. It is recommended that you do this in a new file, but you can also use an existing reference file. Make sure you include the attribute associated with each class when moving classes, and keep in mind you have to delete the common classes from the reference classes every time you update your Web references. If you have defined them in a new file, include a reference to this common namespace in the reference classes. For .NET quick-start tutorials, see C#.NET With Place Finder Sample, C#.NET With ArcWeb Services, VB.NET With Place Finder Sample, VB.NET With ArcWeb Services, ASP.NET With Place Finder Sample, and ASP.NET With ArcWeb Services.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.