Why does Visual studio slow Targo bank website? - asp.net

Using Visual Studio and Chrome I have recently started debugging a website at http://localhost:50481 in a project created with the ASP.NET empty website project template. About the same time I noticed that my desktop banking website was running very slowly. In fact the whole https://www.targobank.de/de/index.html web site runs very slowly using Chrome. All other websites are fine. In MS-Edge the targobank site runs fine (sometimes). I believe that the Visual Studio setup is somehow slowing Chrome at my German bank!
Does anybody know why this might be happening? Perhaps other users with similar VS configurations could try the website.
Here is some more detail on my VS setup. In order to use the ASP.NET empty website project template I had to install "Additional project templates (previous ver..)" as shown below and as recommended on the excellent stackoverflow.
Use the ASP.NET empty website project template thus
and then debug my Javascript in Chrome using a website at http://localhost:50481.

Related

Import existing asp.net website on Visual Studio for mac

I'm working as frontend developer in a company which uses asp.net for its website. I usually work on mac and I need to setup my localhost to work on the website, but something's wrong with the project. They provided me the folder with all the files (aspx, aspx.cs, dll etc), and I'm supposed to build my own solution file. Visual Studio for macOS doesn't give me the possibility to create an empty website project (VS for pc does), or maybe I'm selecting the wrong entry. What am I supposed to do?
I tried to select Empty ASP.NET Web project, but It doesn't work, all the vars and methods from aspx pages are not detected in aspx.cs. Same with Web Form. I can't set up anything and the solution is not working.
Everyone at the company uses Windows and they can't help me.
What I have to do to import it in the right way?
I'd like to use VS Code if it's possible. This is the first time with asp.net.
Thanks in advance
The main thing is that ASP.NET Web Forms is obsolete. I guess they stopped to support such type of solution a long time ago, only critical crushes. If you really want to use mac for ASP.NET Web Forms you should install Parallels VM with Windows 10 and Visual Studio on board.

Can Local Build Deployment Settings Be Changed in VS 2013

A Little Background:
My team has a somewhat outdated ASP.NET MVC solution that I have been tasked with upgrading as current as possible. We're migrating up from MVC 2 and WebPages (ASPX/ASCX) to MVC 4. The solution is rather large (20+ projects) and most of it is working properly. We have run into an issue though where some of the aspx pages throw the compiler error:
> "BC30456: 'InitializeCulture' is not a member of 'some_extended_view_name_here'...
Most of the digging I came up with on the issue recommends that when publishing, you unselect "allow this precompiled site to be updatable". Problem is that when running locally via the "Run/Run Without Debugging" buttons, you aren't publishing per-se. So...
TL/DR: Is there any way to change the 'publish' settings when using the run or run w/out debugging buttons for MVC websites in Visual Studio 2012/2013? I have looked and looked, but can't find anything suggesting it's even possible.

How to set up Visual Studio 2013 similar to Dreamweaver

The company I work for has used Dreamweaver CS4 in the past, but we are transitioning to Visual Studio 2013. This is new to me.
In Dreamweaver we would work locally and do edits then when everything was functioning correctly we would manually push an upload arrow to put it on the live site.
In Visual Studio 2013 I notice when we save our edits it automatically saves it directly to the live site.
How can I configure Visual Studio 2013 so that when I work on our clients websites I can first do it locally to be sure everything works fine. Then when everything is functioning I could manually upload to the live site like we did in Dreamweaver.
Thanks for any help. A walkthrough would be best since we don't know Visual Studio very well.
Thank you.
I think you are using the live editing with VS2013. If you using VS2013 just as an HTML editor then its an overkill. VS2013 comes with a publishing wizard where you can setup the publish settings and publish your changes to the remote server.
In most cases remote editing is not good, but for minor cosmetic changes you can use live edit.
http://msdn.microsoft.com/en-us/library/dd465337(v=vs.110).aspx

Visual Studio 2010 Disable Debugging of External Websites

I am improving an ASP.Net website using VS2010. As part of the payment flow I need to redirect to an external website (like Paypal) to process the payment before returning to my website, however this site has an error in their JavaScript that Visual Studio is trying to debug. I have no intention of debugging this third party's website. Is there a way to tell Visual Studio to only debug websites that are part of the project I am working on or just for localhost?
To answer my own question. I ended up using Chrome/Firefox to debug with instead. Visual studio doesn't try debug javascript unless you are using IE.
I could then use the javascript debugger built into Chrome to debug any javascript problems I was having on the site I was actually trying to fix.

ASP.NET Website No Publish Option

I took on a project that was developed by another developer. The client needs a few alterations made to the site so I got the source code and found out it was developed as an ASP.NET Website project (not web application). Looking at the FTP site, each code behind file is complied down to its dll in the bin folder.
I opened up the web site using Web Developer 2012 Express, made the alterations and even successfully debugged the application and everything looks good. The problem is I can not figure out how to publish it! When I build the web site no dlls are generated in the directory structure of the application. Further, there is not Build menu and thus no Build > Publish option to publish the website.
I've build and deployed major applications using APS.NET MVC but I can't for the life of me figure out how to deploy this simple website project as no dlls are being created.
How does one publish or deploy a website project with no Build > Publish option and no dlls created when Building?
I think it's a visual studio express thing. I don't have the build menu here at home on express but at work it shows up fine on projects.
Have you tried right-clicking on the site in Solution Explorer and observing any possible Publish Site options there?
Failing that, you might try copying the files directly to the site's root folder on the webserver.

Resources