Service running uncontrollably on IIS - asp.net

newbie developer
I have a restful wcf service. Usually I run it on iis express from visual studio express 2013. I can control it from iis express icon on the toolbar.
But last day i tested it via visual studio express 'local iis' option instead of iis Express (project -> properties -> web).
But after doing that, I have no control on the service. Even after restarting the system the service is still on. How can i control(stop) this service?

Related

How can VS Code be configured to run and debug with IIS Express and ASP.NET core?

I have been able to run ASP.NET core applications with Visual Studio 2017. Visual Studio has the integration of IIS Express and ASP.NET core all setup and it works with F5.
I would like to get this same functionality in VS Code. I have found and tried the IIS extensions for VS code. They serve the files without launching the dotnet.exe process.
How can I configure my VS Code project to provide similar run/debug functionality as Visual Studio 2017?
There is an extension available in visual studio market place which can be used to configure and host web applications in IIS Express from VS Code.
Check it our here.
https://marketplace.visualstudio.com/items?itemName=warren-buckley.iis-express

how to publish VB.NET web app to my Azure Windows 2012 R2 VM

In the build menu > Publish command, which options to I select to simply publish my Visual Basic 2015 VB.NET web app to IIS on my Azure Windows 2012 server R2 VM?
I'm not sure I want to publish to "Microsoft Azure Web Apps". Seems like that would skip my VM. On my VM I have other apps running that my web app will need to share files with.
I tried selecting "Custom", but what do I set "Server" , "Site name" , and Destination URL to?
Do I use my VM Deployment Name of Server?
You need to set up Webdeploy in the azure VM. it is same as an on-premises server.
Web Deploy Installation.. You need to install prerequisites - .net framework.
Configuring IIS 7 with webdeploy / Or with IIS8
Set up endpoints on azure vm to do webdeploy. Port 8172 for Webdeploy.
Then you can create a publish profile in Visual Studio 2012/13 to deploy to this endpoint. http://msdn.microsoft.com/en-us/library/dd465337(v=vs.110).aspx
or You can do it using Powershell scripts. sample- http://gallery.technet.microsoft.com/scriptcenter/Deploy-a-Web-App-to-Two-99f1a3bc
You need to setup web deploy on your VM:
Installing and Configuring Web Deploy on IIS 8.0 or Later.
Also yopu need to open TCP 8172 in Azure for your VM.
After doing this you can use Visual Studio to publish your app using Web Deploy option in wizard.

Possible to debug/run aspnet5 application in IIS via VS2015

Is it possible to debug and run an ASP.Net5 MVC6 application via IIS and VS2015 using the current preview? (CTP5).
When I look at the available project options(project properties/Debug/Debug target) I only have IIS express available in the dropdown list.
Currently ASP.NET 5 hosting for Visual Studio only supports the following:
Hosting with IIS Express
Self host with the web command (or any other command)
Support for IIS is on our backlog but it may not make the initial release. We are likely to specifically target IIS Express until most features are implemented. After that we will add support for IIS.

Visual Studio 2010 (Ultimate): ASP.NET Web Service - Debug Breakpoint does not hit. Not able to Debug

Recently, I've installed VS 2010 on my machine. I also have VS 2008 installed.
Problem I'm facing is - I'm not able to debug the web services hosted on local IIS. Also, VS 2010 do not show message that source code is different.
To start debugging I'm attaching aspnet_wp.exe process. My breakpoint is in a method which is part of a Class Library project which is targeting to .NET v3.5.
Environment Details:
- Windows XP SP3
- VS 2005, 2008 & 2010
- IIS (v5.1) Targeting ASP.NET 2.0
- Web Service Targeting .NET Framework - v3.5
Does anybody have encountered same problem?
First there is an easiest method than attaching, to use the
System.Diagnostics.Debugger.Launch();
Next, go to the IIS and open the properties on you running web and check on "Web Site" tab if the the "HTTP Keep-Alives" is enable or not, and make it not enable.
If still not break, close the vs, and go to the project directory, and delete (first backup it) the xxxxx.suo file of the project. Then start it again and go for debug.

Deploying ASP.net application developed using VS2008express edition on MServer 2008

I want to deploy a Website which i have created using Microsoft Visual Studio 2008 Express Edition onto a server having Microsoft Windows Server 2008.
I dont know anything about deployment. I want to know what are the things required on the Server in order to make the application work.
i had used ajax toolkit VS2008 Express Edition and mysql on my developer machine.
Do you have full access to the server or are you using a hosting provider?
When you say Website, do you mean your project is a Website project or is it a Web Application project?
If it's a website project you should use the WebDeploy project add-in. In fact you'll need this since the Web Deploy project will merge all your pages into one dll. I'm not sure of the limitation of the Express Edition no you'll need to check.
WebDeployment Project post
Deploying a WebSite project
Deploying a Web Application Project

Resources