• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 591
  • Last Modified:

ASMX trouble - Refactoring web service :(

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 :)
1 Solution
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now