ads in visual studio web running - asp.net-mvc

I use asp.net mvc with IIS
I've not used any link to other site for script or css
When I Run visual studio my page has a box with ads.
It's not there before
See the images
What is it?

Related

Error when loading an ASP.NET MVC Project

I developed an asp.net mvc 5 web application using VS 2015 community edition. All things worked perfectly, but a few days ago, Visual studio was unable to load the web project, and the below error message is displayed :
error : The Web Application Project elab is configured to use IIS. To access local IIS Web sites, you must run Visual Studio in the context of an administrator account. In addition, you must install the following IIS components: ASP.NET
I tried to run VS as "Administrator" but unfortunately due to our organisation security policy, I don't have this privileges.
Is there a way to overcome of this problem ?
You can try the below solution
In the solution explorer, right click on the project and select "Properties"
Click on "Web" tab
Select "Use Visual studio development Server" radio button
The above steps will help you to Switch from local IIS to IIS Express ie Visual studio development Server
Note : In the same way you can switch back to use local iis at any time you want, but that requires an administration privilege

VS2012 Debugger will not open browser when debugging ASP MVC project

I am trying to debug an ASP MVC 4 project in Visual Studio 2012. However, once the code compiles the debugger stops completely, never bringing up the browser. I am able to run ASP.Net projects just fine from this computer, however this project doesn't seem to want to work.
With this project if i click on IIS Express in Notification area so it shows my website and if i click on it so then it opens up my site on browser but by default on debugging with Visual Studio it doesn't open.
I also tried to set my start up project but this also does not work????
Check this setting in your web project's settings and ensure it's not set to "don't open a page"

how do I attach to my aspnet mvc website running in iisexpress vs 2012

I have a website running in aspnet mvc 4 website and I have detached the debugger and want to reattach, but I cannot locate the process I wish to attach to when I bring up the 'attach to process' dialog.
I am used to attaching to the webserver.exe (with port number) in vs2010 and was expecting it to be a similar experience in 2012 with IISExpress, but I do not see in the list of processes one that relates to my web site.
How does one achieve this in vs2012.
Try AttachTo extension for Visual Studio 2010/2012.

How to create a ASP.NET MVC web application project in VS2012

I am using Windows 8, and Visual Studio 2012. I need to create a ASP.NET MVC web application. But, when i click on Project types --> visual C# i only see windows store and not Web (as seen in VS 2008).
How can i create a MVC web application ? Help
I suspect you are using Visual Studio Express for Windows 8?
If so, you will also need Visual Studio Express for Web in order to create your MVC app.
See the different versions here: http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-products
u can also user WebMatrix to create aps.net mvc project
it's free tool for asp.net from microsoft
u can get WebMatrix from here http://www.microsoft.com/web/webmatrix/
During the install, there should have been options, one of which was Visual Web Developer. Make sure that was installed (that was what it was called in VS 2010).

MVC in Visual Studio Express

I got Visual Studio 2010 Express C# Edition. I'm using WinXP as OS.
How do I get ASP.Net MVC in it? I saw another question that stated that MVC was included automatically, but I cannot find it anywhere. I've also tried by installing MVC3 RC2. Didn't show up either.
Isn't it possible to use MVC with Express edition?
(I've also got VS 2008 Professional on the same computer)
Edit
I needed the Visual Studio Web Developer Edition to get MVC2.
But how do I get MVC3?
Edit 2
I have XP Home edition which is not supported by web platform installer since IIS is not included. I guess that's why MVC3 wont install in Visual Studio 2010 Express (although it installed fine on my computer which is a bit strange)
Isn't it possible to use MVC with Express edition?
Sure is. I installed VS2010 web express edition and when I choose New Project then it shows the MVC2 web application and empty web application project template. Last week I also installed MVC3 RC via the web platform installer and that shows up too.
You need to explicitly download MVC 3 RC2 from here and install it:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=955d593e-cbd1-4ed1-88eb-02ff79dd74d8

Resources