.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old September 18th, 2000, 04:55 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
How to set up for the examples? HELP!

<i><b>Originally posted by : Iwan Jahja (ijahja@integratelecom.com)</b></i><br />I tried to run the examples in QuickStart, i.e.<br />- created the xxx.asmx<br />- tested it to display the info, SDL,<br /> and invoke the various methods.<br /> everything OK.<br /> saved xxx.sdl<br />- created xxx.cs using<br /> WebServiceUtil /croxy /pa:xxx.sdl /l:csharp<br /> /n:xxxSpace<br />- compiled to produce xxx.dll using<br /> csc /t:library<br /> /r:system.web.services.dll<br /> /r:system.xml.serialization.dll<br /> xxx.cs<br />- created test.aspx for testing, however<br /> always got error at the first import:<br /> <%@ Import Namespace="xxxSpace" %><br /><br />i tried to place xxx.dll in different places,<br />tried to register it using regsvr32, etc, but<br />to no avail.<br /><br />how should i set it? pls help!<br /><br />thanks,<br />iwan<br /><br />

Reply With Quote
  #2  
Old September 29th, 2000, 12:32 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Adam Stevenson (alstevenson@nadev.com)</b></i><br />Howdy,<br /><br />Ok you went through or are going through the same hell I first did. You first might want to get a copy of CSharpEd (a C# editor that integrates into the compiler, if you do not have VS 7.0/VS.Net) from http://c-point.com. Second, you need to make sure that you put a namespace tag in your code:<br /><br />namespace <b>myNamespace</b> {<br /><br />public class MyClass {<br /> <br />}<br />}<br />If you compile this using /t:library switch, you will be able to create a library with the namespace 'myNamespace' and will contain the class 'MyClass'. Next, create a 'bin' directory in your web application root directory and place this dll in it. Example http://www.myplace.com/bin/. Now if you create a dll and publish it in the dirctory, and then go back to your source code and change the interface, you will have to save the dll as a new name in directory. This is mirosoft way of forcing version control. What I do is create my dlls with files names like myDLL.1.0.0.0.dll<br /><br />Now once you get this far, I would reccommend you look at www.ibuyspy.com. This site is a microsoft example site on aspx and demostrates a full application. It will show you how to use pagelets too.<br /><br />Hope this helps<br /><br />Sincerely,<br /><br />Adam Stevenson<br /><br />------------<br />Iwan Jahja at 9/18/2000 2:55:04 PM<br /><br />I tried to run the examples in QuickStart, i.e.<br />- created the xxx.asmx<br />- tested it to display the info, SDL,<br /> and invoke the various methods.<br /> everything OK.<br /> saved xxx.sdl<br />- created xxx.cs using<br /> WebServiceUtil /croxy /pa:xxx.sdl /l:csharp<br /> /n:xxxSpace<br />- compiled to produce xxx.dll using<br /> csc /t:library<br /> /r:system.web.services.dll<br /> /r:system.xml.serialization.dll<br /> xxx.cs<br />- created test.aspx for testing, however<br /> always got error at the first import:<br /> <%@ Import Namespace="xxxSpace" %><br /><br />i tried to place xxx.dll in different places,<br />tried to register it using regsvr32, etc, but<br />to no avail.<br /><br />how should i set it? pls help!<br /><br />thanks,<br />iwan<br /><br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > How to set up for the examples? HELP!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway