hi all,
I have a task to write a webservice and to deploy it.
I started it today. After 1.5h the programming of the webservice was done and in debug mode it works very good.
The only thing that was left was to deploy it. This
part is driving me crazy. i have tried a lot of ways to deploy it but never succesfull.
In my root of the project folder i have 2 subfolders and 2 files: the 2 folders are App_Data and App_Code. App_Data is empty and in App_Code is my service.cs with the actual code
the 2 files in the root folder are the web.config and the Service.asmx. In my service.asmx there's only one markup line with following code :
<%@ WebService Language="C#" CodeBehind="~/App_Code/Service.cs" Class="Service" %>
I have tried to publish it from vs2005 menu (build/publish)
but this didn't work. I have also copied files manually to production server, also not good.
Has anyone have the right detailed steps or tips to do something like this?
thx in advance
grtz
GSharp
I have a task to write a webservice and to deploy it.
I started it today. After 1.5h the programming of the webservice was done and in debug mode it works very good.
The only thing that was left was to deploy it. This
part is driving me crazy. i have tried a lot of ways to deploy it but never succesfull.
In my root of the project folder i have 2 subfolders and 2 files: the 2 folders are App_Data and App_Code. App_Data is empty and in App_Code is my service.cs with the actual code
the 2 files in the root folder are the web.config and the Service.asmx. In my service.asmx there's only one markup line with following code :
<%@ WebService Language="C#" CodeBehind="~/App_Code/Service.cs" Class="Service" %>
I have tried to publish it from vs2005 menu (build/publish)
but this didn't work. I have also copied files manually to production server, also not good.
Has anyone have the right detailed steps or tips to do something like this?
thx in advance
grtz
GSharp