?
Solved

ASMX trouble - Refactoring web service :(

Posted on 2008-09-30
1
Medium Priority
?
582 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 1000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
The viewer will learn how to count occurrences of each item in an array.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

840 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