Solved

ASMX trouble - Refactoring web service :(

Posted on 2008-09-30
1
540 Views
Last Modified: 2013-11-19
Whilst refactoring a simple old web service , i accidentally  deleted the asmx file by mistake :( . I have looked thoroughly on the net and cant find any information in regards to re creating the BlahBlah.asmx in order to expose BlahBlah.cs's methods  . I am using Visual Studio 2005. Could anybody shed some light on this matter? Or will i have to re create the web service form scratch. Excuse my ignorance :s :)
0
Comment
Question by:steve0743
1 Comment
 
LVL 3

Accepted Solution

by:
R_Janssen earned 250 total points
ID: 22606203
Create a new page outside the project.. give it the same name and copy it back. Though this won't give you -any- of the controls that were on the page it will however use the code.
If you did have a lot of controls on there... well then the option is to build it from scratch and use the code you already had.
 
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question