jaysonragasa
jaysonragasa

Reputation: 1076

C# Web Service - Deploy on my website

I have a website and also connected in SQL Server.

How do I deploy my Web Service in my Web Site? Do I have to create a Virtual Directory?

am using HELM

Regards,

Upvotes: 0

Views: 1834

Answers (2)

jaysonragasa
jaysonragasa

Reputation: 1076

ok. I have done it.

I just added this nodes in my Web.Config

<webServices><protocols><add name="HttpGet"/><add name="HttpPost"/></protocols></webServices>

and it worked.

Now I can make a Windows Forms and add Web Reference pointing on .asmx file.

Upvotes: 0

o.k.w
o.k.w

Reputation: 25790

Have you developed the web service or going to develop one?

Generally, you do not need the web service files to be in a dedicated virtual directory, it's an asmx file just like an aspx file with code behind.

Upvotes: 1

Related Questions