I am new to .net and I have downloaded VS 2008 trail version today. I was trying to develop a web service.
I added a new project and selected asp.net web service application.Then i wanted to add a new project to the same webservice but i was unable to find solution for my webservice in the solution explorer, to right click on it and add a project. It only shows webservice, then properties and references below it. Do I need to make any changes in the settings?
First of all, why not use Visual Studio 2010? It also has a trial version.
Secondly, you shouldn't be using the "ASP.NET Web Service Application" for new development. That's now a legacy technology. Use the "WCF Service Application" instead.
Finally, the default is to not show the solution if there is only one project. In Tools->Options->"Projects and Solutions", check "Always show solution".
Related
I am trying to find the mvc5 templates for a new project. Others have asked the question but the answers keep saying we are selecting wrong options. That's not it. ..
I started with File> New> Project>
then
Templates> Visual C# > Web
then Select Asp.Net Web Application
click Ok
and the next screen only shows Empty, Web Forms and Azure Mobile Service
I also selected .Net Framework 4.51?
How can I get the mvc5 templates to show up? I don't think my VS2013 is corrupted either.
thanks
Most probably, MVC5 is not installed in your computer.
I am trying to create STS MVC web application in VS2012 and VS2013, but STS web template is not available in template gallery. Is there a way that I can download STS web app template in VS2012 and Vs2013 ?
One more query, We have Identity and Access tool in VS2012 but there is nothing like this in VS2013.
How I can install Identity and Access tool in VS2013 ?
Please help me.
If you read the Q and A for the Identity and Access Tool extension for VS 2012, you will see a post from a member of the team who indicates that it will not be ported to VS 2013. They have added support for claims based authentication directly into the ASP.NET project creation template.
In the post, they admit that they are not 100% equivalent, so they use VS2012 and VS2013 side by side until they achieve parity.
Identity and Access Tool
How to Create Web Application Set up in asp.net ?
I have a web site in a Visual studio.I want to create a single web setup project which should install the web site.So how to create a single web setup project which supports multiple web application installation?
You can use Installshield to do that. When you go to add new project you will see that option under Other Project Types --> Setup and Deployment
http://learn.flexerasoftware.com/content/IS-EVAL-InstallShield-Limited-Edition-Visual-Studio?lang=1033&ver=prem
There are many 3rd party tools that can perform this for you (We use Anthill Pro to deploy between our various environments).
I've used the full version of InstallShield in the past but there was a bit of a learning curve to get it right.
The free alternative is to use the Web Setup Project template in Visual Studio (This uses the 'lite' version of InstallShield I believe). You can also check out this link, which describes many different options for you to deploy your website. Extract from the last link:
Visual Studio, ASP.NET, and IIS provide tools that can help you with
the process of deploying your web application or web site. Some of the
Visual Studio tools work only with web application projects, while
others work only with web site projects. (All MVC projects are web
application projects.)
Hopefully this walkthrough should provide you a good starting point should you choose to go down the Visual Studio route.
has anyone else dealt with this? My ultimate goal is to create a new empty web api project. I've been following tutorials and I've encountered the following issue:
My issue is that when I try to create a ASP.NET Web Application project in Visual Studio Pro 2012 I do not see that template as an option. I go to Installed --> Templates --> Visual C# --> Web
All I see is ASP.NET Empty Web Application. So I selected that and then expected the ASP.Net project window to pop up so that I could select "Web Api". However, that dialog never opened.
Does anyone know how/where I can get the ASP.NET Web Application template?
I came across your question as I had the same problem. When I first installed Visual Studio I didn't tick the box to install the Web Components. Here is how I solved the issue:
Close all your instances of Visual Studio.
Run the Visual Studio Installer (I found mine in the Downloads folder still and was named "vs_professional.exe").
For VS 2013 a grey window appears similar to when first installing VS.
When prompted select "Modify" from the list of options.
Tick the list item which I think was named "Web Development" or something similar.
Click update.
Once the installer has finished running launch Visual Studio.
When selecting New Project in Visual Studio I can now see the required templates.
Try to select Framework 4.5.
The Framework 4.0 don't have :)
Jorge Rocha
If you have ASP.NET MVC 4 Web Application as an option under Web when you select it as a new project the project window pops up and you will be able to select Web API.
kale909's solution worked for me. I just added pics here to make it more clear:
then here:
Is it possible to develop an ASP.NET Web Service using the Visual Web Developer 2010? Or I must use Visual Studio itself for creating the Web Service?
Thanks,
LS Developer
Yes. But for future understanding, please consider these notes:
Creating Web Service actually doesn't need any IDE. You can create a web service (or an entire web site) using Notepad. Therefore, Visual Studio is just a helpful tool for you.
Creating a web service based on .NET Framework actually needs you to compile your code. Therefore, you can again create the web service with notepad, and compile it using C# or VB.NET compiler, deploy it and use it.
Visual Web Developer 2010 (Express) is just an IDE. Web Service on the other hand is an Item Template (which writes the basic infrastructure for you). But even if you don't use that Item Template, you can create a class, inherit from WebService and create your web service.
Good luck.
Yes: http://msdn.microsoft.com/en-us/library/8wbhsy70.aspx