Can't use WCF templates in Visual Studio Express - c#

I've used the Visual Studio 2010 Express All-In-One to install Visaul C# and Visual Web Developer.
Once I opened Visual C# and tried to create a WCF Application, I couldn't find it.
After looking on internet I found a tip to do it on stackoverflow.
I have done exactly like the guy explained, and now I have WCFServiceProject.
Now everything seems to be correct, but when I try to create a WCF project I get this error
Any ideas ?

Using Visual Studio Express, you have to explicitly start Visual Web Developer Express to create a project of type WCF Service Application.
Visual C# Express even doesn't allow to add existing WCF projects to an existing solution.
If your installation doesn't offer this type of project from the (default) installed project types you should check your installation options.

I don't think you have the option to create a WCF Application in Visual Studio 2010 Express.

Related

Is it possible to create a Windows Service through Visual Studio Code?

In my visual studio code project, I have generated an .exe file for the project and I'm trying create make my .exe as Windows Service.
From here and here, if I'm not mistaken, these solutions look like done by using Visual Studio instead of Visual Studio Code. Is it possible to create a Window Service through Visual Studio Code?
You cant,
Visual Studio Code is a code editor redefined and optimized for
building and debugging modern web and cloud applications. Visual
Studio Code is free and available on your favorite platform - Linux,
Mac OSX, and Windows.
It has no concept of an Windows Service
If you wish to create a Windows service you will have to use Visual Studio or something that can compile standard .net Windows application
Great comment from Ben Voigt
You're correct that Visual Studio Code doesn't have a concept of a
service, but that's because it is an editor not a compiler. The same
C# compiler installed as part of the .NET runtime, can build Windows
Services. And you can edit the windows service code in VS Code

Is it possible for me to create a Windows Service in Visual Studio Web 2013?

I don't know why Visual Studio is such that there are a million different versions (Visual Studio for Desktop, Visual Studio for Web, Visual Studio Code, etc.) and each version has a different set of project templates. Anyhow, the problem I'm having is that I'm creating an ASP.NET MVC application through Visual Studio Web 2013 and I want it to be supported by a Windows Service that is started in my App_Start(). The problem of course is that when I read the instructions on https://msdn.microsoft.com/en-us/library/zt39148a(v=vs.110).aspx there is no Windows Service template on Visual C# when I try to add a new project to my solution.
I understand your web endpoint will be dependent on a Windows Servie, and you want to author that windows service as part of your solution.
Setting aside that VS.net 2015 Community Edition rolls up all the functionality you need. You dont need the project template specifically to create a windows service. It just automatically adds some references and templates into your project. All project templates in VS .net rely on the .net framework - and that isn't any different between one installation and another of VS.net.
In practise you can code a windows service written for .net in Notepad and just call the CSC compiler manually - the version of VS.net just adds some ease-of-use.
There is a set of instructions here https://msdn.microsoft.com/en-us/library/9k985bc9(v=vs.110).aspx from Microsoft which include specific instructions on how to make a windows service without a template.

How to include WCF in Microsoft Visual C# Express 2010

I need to use WCF in Microsoft Visual C# Express. I found the following Link which shows how to copy and use the templates:
How to add WCF templates to Visual Studio Express? . But I have only the express edition of Microsoft Visual C#; I don't have Visual Studio, so I am unable to copy the templates. I tried to install Web Developer Express, but installation fails.
Is there any other way to include the WCF in Microsoft Visual C#?

Can not open mvc4 project in visual studio 2012?

i'm newbie for mvc4 this is my first project (web app)
i get source project from my friends. they work normally.
when i open project VS2012 and then alert
Unsupported This version of Visual Studio does not have the following
project types installed or does not support them. You can still open
these projects in the version of Visual Studio in which they were
originally created.
- B2B.Web, "D:\ServiceClone\ServiceClone-1706\B2B.Web\B2B.Web.csproj"
and in solution explorer i can not load a project. at the project name it says incompatible
How resolve?
PS. I searched in google but I have not find a work solution. Sorry I'm not good at English :P
You need to install MVC4 on that machine first.
To download MVC4 set up Click here.
Did you try to open it in visual studio 2010?
and also try to Uninstall you Visual studio 2012 completely (save your projects if you want to). Then do a clean installation of Visual studio 2012.

Visual Studio Express SOAP functions limited?

I have a SOAP endpoint implemented in Zend Framework.
When I create a C# project with Visual Studio Professional 2008, add a web service reference and use the service, it works like a charm. I can also import the project into Visual Studion Express (C#) 2008 and Visual Studio Express Desktop 2012. Those work too.
If i create the same project in one of the express versions of Visual Studio, they will throw a SoapHeaderException. Same settings and everything.
Apparently the projects created with an Express version of VS can only use Webservices that send primitives and one-dimensional arrays.
WSDL.exe runs through without errors or warnings.
Anybody experienced these problems before?

Categories