Today I gave in to all the banners asking me to test MS Expression web 2 demo.
After some setup hickups I fired up the thing and immediately encountered a problem:
How do I make this tool work with my asp.net-mvc projects? Actually, how do I make my websites work with ANY tool but visual studio 2008?
Untill now I did everything with VS2008 / Notepad++.
Does anybody have experience with using asp.net-mvc projects in tools like dreamweaver, expression web etc?
You can use any web tool to edit the HTML+CSS+Javascript side of the site, but you'll need to compile it with VS2008 or MSBuild to run it.
Related
I am debugging an ASP.NET MVC app from Visual Studio 2013. When I start the debug process from Visual Studio, IIS Express where app is hosted gets stuck (my app is not started). It often happens to me. In this situation, I manually stop IIS Express from the tray icon. Even stopping IIS Express from the tray icon I often need to stop manually the debugging from Visual Studio through the stop button. Once debugging is stopped, If I try to debug again it does not work, well, sometimes works and sometimes not, it is random. I have verified that if I clear all browser history and cookies, it works in most cases except for some time. Also I have observed that Visual Studio 2013 takes a long time to boot IIS Express where my ASP.NET MVC app is hosted. Finally, I have observed that my ASP.NET MVC app hosted in IIS Express sometimes is not being displayed correctly when debugging from Visual Studio, I mean, it is displayed without css styles being applied, it seems like css styles are missed. In this case, if I stop debugging and start it again it works.
So How can I improve or solve these kind of weird issues?
IIS Express gets stuck and css styles sometimes not being applied when
debugging an ASP.NET MVC application from Visual Studio 2013
This is a quite strange issue and l suggest you could try these suggestions
Suggestion
1) delete all caches under C:\Users\Administrator\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache, C:\Users\Administrator\AppData\Local\Temp and C:\Users\Administrator\AppData\Local\Microsoft\WebsiteCache.
2) close VS Instance, delete .vs hidden folder,bin,obj folder under the physcial path of the solution and then reopen your project
3) If you have IntelliTrace, please disable Enable IntelliTrace under Tools-->Options-->IntelliTrace-->General.
4) try another port like 56000 by right-clicking on the project-->Properties-->Web--> project url.
5) disable any third party extensions by Tools-->Extensions and Updates or just use devenv /safemode in developer command prompt for vs2013.
6) try to reinstall IIS on the control panel and if your IIS is not 10.0, I suggest you could download and use it.
In addition, VS2013 is too old and Microsoft does not continue to maintain it. So l suggest you could download and use the latest VS2019. It has more optimization and stronger performance than the previous VS and fixes some remaining issues from previous releases.
I was trying to use IIS Express in developing my first ASP.NET MVC.
I searched on the web and found out that I need to check a box in
Tools > Options > Projects And Solutions > Web Projects
The only items under the Projects and Solution node are
General, Build and Run and VB Defaults
Sorry, just a newbie in the field of web development
Thanks
Just to verify, I opened up my version of 2010 Ultimate and everything was there. I would suggest verifying that you have the latest version of MVC installed and IISExpress. This is all that I could think of that would cause it to be missing from the options menu(s).
I have been trying this for some time but could not figure out yet. Is there a way to choose IIS5 as the web server instead of the default Cassini which comes with Visual Studio 2008?
I have web flow(request, response) from my web site to a 3rd party provider and would like to know what I am getting back from the 3rd party.
Right now the Cassini server cannot be open for the world on internet. I have to publish the code in IIS5 and write the response to file to debug. But it would be nice if I could do it in Visual Studio 2008 directly which will save me lot of time.
Thanks in advance.
You can choose IIS in the properties of the web project:
alt text http://learn.iis.net/Content_Cache/387/Properties-Web.png
I'm publishing an ASP.Net MVC as an IIS7 site on my local workstation. Is it possible to get IIS7 to re-compile the project when needed?
No, IIS7 can't do that. There's a bunch of alternatives, I think from easiest to more complicated:
As mentioned: Just use Visual Studio to develop and test by hitting F5 and using VS.net built-in web server for asp.net
Point your IIS web site to where your site code is. When you compile your project the IIS web site should also be compiled since it's pointing to the same code as you development files. This is similar to what you are doing but there is no need to actually publish the site.
Use something like CruiseControl.net and nant to automatically compile and deploy your project to IIS at intervals or as needed.
Files published to IIS shouldn't be source code that needs to be re-compiled.
You could search for "automated build process", "continuous integration" or MSBuild if you want to set up a system that re-compiles and then publishes your site for you whenever you change the source code.
When I create a New Project of type ASP.Net MVC Web Application, I expect the dialog for unit test applications to show up, but it does not. I cannot find the Unit Test App among the product types I can create either. How do I set up my VS so that the dialog shows up?
I have installed Visual Studio 2008, .Net Framework 3.5 SP1 and ASP.Net MVC Framework (Beta).
As #MrJavaGuy says, you need to install at least the Professional, not Express, version of VS2008. Alternatively, you can install nUnit and/or TestDriven.Net and get unit testing capabilities. Info on nUnit can be found at http://www.nunit.org/ and TestDriven.Net at http://www.testdriven.net/. I recommend TestDriven.Net even if you have the testing capabilities of Visual Studio baked in.
Turns out one of the problems were that I hadn't installed Testing Capabilities with my VS installation - running the installer and adding the feature made everything roll smoothly =)
Had the same problem with Visual Web Developer Express, I found this blog.
http://blogs.msdn.com/webdevtools/archive/2008/05/30/asp-net-mvc-preview-3-tooling-updates.aspx
I downloaded
http://www.box.net/shared/zmp0cdxsss
and that worked for me.. Not sure if this will sort your issue though. Best of luck with it.