Adding a new web service under 4.5

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

right-click the website name in the solution explorer → add a new element →

cannot find web service .

when you do the same on a website that was created under framework 4.0 , I find a web service .

how did it happen? can someone explain this to me?

+4
source share
2 answers

Step 1:

Add Empty Web Project Using .Net4.5

enter image description here

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

enter image description here

+9
source

What taste do you have in Visual Studio? I see everything

.NET 4.0 and 4.5 enter image description here

0
source

All Articles