How to run asp.net project on localhost:xxxx without Visual studio? - c#

I recently installed DevExpress on my machine, when running it's demos
I found that the it was able to run the project on http://localhost:xxxx.
My question is:
What DevExpress is doing behind the scenes to run a project on localhost without Visual studio?
I found this question, however it only clarifies how can the project "run" manually without Visual Studio. DevExpress is programmatically running the demo project without my manual help.
Any idea? Kind folks?

Consider running the below command
iisexpress /path:c:\myapp\ /port:9090

Related

ConfigurationBuilder().AddEnvironmentVariables() not working on Mac

Having this issue with visual studio for Mac - Can't load my configured environment variables.
If i run the app from a Terminal it works, but it doesn't if i run it from Visual Studio for Mac.
I added my variables to:
.bashrc
.bash_profile
I am using Visual Studio v8.7.8
(Yes, i tried restarting visual studio, even restarting the computer).
Any help is useful.
Thanks.
--EDIT--
I created the same post in Microsoft's dev community. Hopefully they fix this on the future. Stick to running VS from a Terminal for now.
So, unfortunately Visual Studio for Mac does not support using environment variables defined via bash or zsh (yet?...).
There is a hacky workaround by launching VS from a Terminal
/Applications/Visual\ Studio.app/Contents/MacOS/VisualStudio &
Launching it this way will allow VS to access user configured variables.
To make it easier to remember, an alias can be created by:
alias vs='/Applications/Visual\ Studio.app/Contents/MacOS/VisualStudio &'
Just remember to add this line to .bash_profile and .bashrc
Here is a Medium article on how to edit these files.
Here is a Blog post describing the VS issue.

In Visual Studio 2019 community which is the procedure to consume a wsdl?

I've installed Visual Studio 2019, created a Console Project and I want to consume a Web Service via an existing WSDL.
I've already followed all the guides that I've found on internet about the previous versione but none of them apply to my situation.
Can you provide me a solution to accomplish this action?
There is some additional installation component that i need to add?
Kindly,
Roberto
I've found the solution. The issue has been generated by the integration of the git repository via Visual Studio IDE which has altered the solution.
I've deleted the project, recreated it, added the service and then, via command line, I've integrated it in git.
Now it all works fine.

Visual Studio 2017 does not working - Always freezing and saying "it's busy"

Every time I trying to create some Xamarin project it freezees and when I try to click anyware in UI, pop ups a notification from Windows saying the the "VS 2017 it's busy" something like that. For task mananger still answers and runs normally. The same happens if go to Tools -> Options and try go to Xamrin category. I tried to explore other functions of the new IDE, same happens when I create a WPF project and try to access the toolbox with UI elements.
I created other kind of projects for test, and console projects and and the integration with Unity seems is working fine too.
I've tried repair the installation too but no success.
I tried to download the SDK and NDK through the VS Installer mentioned in other question but didn't fixed too. And what about the WPF toolbox, why is not working either?
UI is freeze
Try updating Visual studio 2017 from the installer,it worked for me. Thanks.

Visual Studio Code on Linux - How to run a C# application when "app.js does not exist", nor should it

I am running VS Code on Ubuntu 14.04. I am trying to run a C# web application which my team can run just fine in Visual Studio on Windows. The problem is that Code gives me an error message, "/app.js does not exist". No such file exists in our project, and I think I want to run it using "Startup.cs" instead, but despite trying to change the 'launch.json' file accordingly, another file that my team does not have, I still cannot get my project to run. Has anyone experienced a similar problem?
The .NET environment for Linux is currently in a pretty early state. Thus you can't do everything on Linux that you can enjoy on Windows.
If you want to develop an ASP.NET application then you should read this guide on how to setup the environment to work with Visual Studio Code.
If you have a C# application that can already be compiled and run on Linux then you can
create a script file which compiles the project and runs it afterwards
and let this script be executed as the build task in Visual Studio Code. Here is how to do it: How to prepare/configure development environment for C++ projects in Visual Code Editor?
Just for your interest: You can't currently debug C# projects in Visual Studio Code.
Perhaps you can try to open the project with Monodevelop? This is an open source IDE for C# that runs on linux. It is compatible with VS projects.
You will probably need to also install Mono (the open source .net runtime) to run Monodevelop.
You may even be able to run your web app with the Mono runtime, although it has been always a bit behind the official Microsoft .net runtime (you may get 'class not found' exceptions if your code uses libraries that are not yet implemented in the Mono runtime).

Opening a Visual Studios 2015 project with 2013

I was using the trial of Visual Studios 2015 to develop a C# app. Now my trial has expired. I would like to continue developing the app in my licensed version of Visual Studios 2013. However, I can't seem to open the .sln. The file opens, but it say "Incompatible". Aside from copy pasting all of the code and re-configuring everything, is there another way I can open it?
You can use this solution here.
Just change the version VS2015 set on the solution file to the one used by VS2013. In doubt, just create an empty VS2013 project and check which one is it.
Luckily, VS2015 didn't change anything else and it will just work.

Categories