Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

adding new web service under framework 4.5

Tags:

asp.net

file -> new -> website -> asp.net empty website (under .net framework 4.5) ->

right click on the website name in the solution explorer -> add new item ->

cant find Web Service.

when doing the exact same thing on a web site that was built under framework 4.0 i do find Web Service.

how come? can somebody explain it to me Please?

like image 875
E.Meir Avatar asked Jan 15 '23 18:01

E.Meir


2 Answers

Step 1:

Add Empty Web Project with .Net4.5

enter image description here

Step 2:
Then right click your project and Add New Item. Then select template type Web->WebService

enter image description here

like image 99
Elshan Avatar answered Jan 19 '23 00:01

Elshan


What flavour of Visual Studio do you have? I can see everything

.NET 4.0 and 4.5 enter image description here

like image 29
AFD Avatar answered Jan 19 '23 00:01

AFD