How to publish site using Visual Studio 2010 FTP - asp.net

I have published my website using VS2010 and then selected FTP Site.
Problem is that it does not show me update status. and takes too much time as compare to other FTP client.
Is there any way or plugin for visual studio 2010 so i can build and directly publish that on FTP server.

Are you using Website|Copy Website? I think the reason it is slower because it compares files on both sides to determine which files are newer.
How often do you have to do that. It's a little slow, but seems to work okay for me.

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.

Web Deployment tools for Visual Studio 2013

I am responsible for supporting a relatively complex Website project written with .NET 3.5.
Previously I was using Web Deployment Project with Visual Studio 2010 to deploy this website but at the moment I have only access to Visual Studio 2013.
As far as I know, there is no longer such a tool to be used for deployment in Visual Studio 2013 and I do want to compile the code before deploying to the production server. As mentioned earlier, the project is a bit complex and this would not be easy to be converted to a Web Application.
Any idea?
Unless I missed it, unsure what the issue is - in VS2013, Publish is what you are looking for (either WebSite or Application).
What exactly do you mean by "none of the (vs 2013 publish) options worked"? What is/was the issue?
In one of your comments, you state you want to "pre-compile" (aka "don't want to upload .cs source files) and that's a setting in Publish.
You can Publish to your local file system: "Custom" -> File System:
This extension still exists for Visual Studio 2013: http://www.iis.net/downloads/microsoft/web-deploy
Little bit confused with the question because you are keep referring about website rather web application.
If you are looking to convert web site to web app then you need to follow this: http://msdn.microsoft.com/en-us/library/vstudio/aa983476(v=vs.100).aspx
Otherwise, if you are referring about the deployment project. Yes, it is no longer available.
I'd a very similar situation like you and Since 2013 I have stopped using any deployment project, instead I have started using Publish that creates a deployment package for you on a Network , FTP, Local Drive or even on Azure.
Here is a nice guide from Microsoft
http://msdn.microsoft.com/en-us/library/dd465323(v=vs.110).aspx
If you still want to go for Deployment Project, then you would need to go for "Installshield" limited edition,which is free (http://samirvaidya.blogspot.com.au/2013/11/how-to-enable-installshield-le-for.html).
http://msdn.microsoft.com/en-us/library/2kt85ked(v=vs.110).aspx

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

Best way to integrate ASP.NET projects written in two different Visual Studio versions

I know this is a strange situation, but consider a situation where two programmers are working on one project. One programmer is working on a database driven website in ASP.NET in Visual Studio 2012, while other programmer is working on Visual Studio 2008 on another part of the same database driven ASP.NET website.
What in your opinion is the best way to integrate the two codes?
PS: Downvoters please explain in comments, before downvoting. :-)
Make the second developer update his VS copy to 2012. If you are working with two disparate versions of VS, you will very simply be unable to have either developer work on any part of the codebase that was built with (or upgraded to) the other version.
Once everyone's working on the same platform, and thus can load and build the same solution, project and source code files without error, "integrating" the two codebases becomes rather trivial. Of course, the conversion process may not be so trivial.
My first step would be to ensure that a reliable backup of the entire codebase has been taken; you can copy the flat files to a file store, or more reliably you can use a centralized VCS like Subversion to make sure a single authoritative copy of the codebase as-is exists and can be easily retrieved. Then, while the 2008 dev is updating his machine to 2012, have the 2012 developer pull the whole codebase and load whatever solution the 2008 dev had been working in, and run through the conversion wizard. This wizard will update the XML behind the project and solution files to support features of the new IDE version.
If you absolutely positively cannot get both devs onto the same IDE version, there's still hope. Have the 2012 developer open a new solution file in his copy, and pull in the 2008 projects. If VS asks to convert them, you're SOL; the other dev will HAVE to upgrade, or the 2012 dev will have to revert. But, if the IDE doesn't complain, the 2012 dev can save the new solution under a different name and work with the projects and their source code using that solution file, while the 2008 dev can continue to use the original one. Understand that as long as this state of affairs continues, the 2012 dev cannot use any features of C# 4.0/4.5, such as dynamic types, covariance/contravariance keywords, optional parameters/named arguments, async/await keywords, etc cannot be used in any source code that must remain usable by the 2008 dev. Language-wise, the 2012 developer is limited to C# 3.0, and the .NET Framework 3.5. This does not solve the problem of the 2008 dev not having access to code written from scratch by the 2012 dev in projects created by that IDE; he simply must upgrade to work in these parts of the codebase.

Load testing an ASP.NET web site

I want to load test an ASP.NET web service. I have Visual Studio 2008 Professional Edition and Visual Studio 2010.
Can either one of these products facilitate load testing? I can't seem to find anything and all Google returns is higher end editions of Visual Studio.
If not, what are some of the alternatives.
Or better yet, is there a product where I can feed it an IIS log and it will essentially replay it?
There is a free Microsoft load testing tool called WCAT. It is a command-line HTTP load generator that replays a test case script. To avoid creating the script manually, you can record your test case in Fiddler and then generate scrip using WCAT Fiddler Extension. This blog has a step-by-step instruction, which I tested, and it works.
On your question about replaying IIS log: check this source. It outlines how to generate WCAT script by querying IIS log using Log Parser. I did not test it though.
Is there a cheaper way to do load testing than upgrading to Visual Studio 2010 Ultimate
and also there was a tool called "MICROSOFT WEB APPLICATION STRESS TOOL" but i couldnt find its download apperantely MS removed it from its official page. check this forum for download link http://forums.iis.net/t/1161284.aspx for usage http://www.west-wind.com/presentations/webstress/webstress.htm
The Microsoft Visual Studio Team System 2008 Test Edition would also give you access to these tools. Unfortunately neither of the tools you mention include any load testing capability.
You may be able to get your licence for 2008 Professional edition changed to Test, but I doubt it now.
Here are a couple of other questions with answers that may help choose a tool.
stress-and-performance-test-on-asp-net-app
best-tool-for-performance-testing-asp-net
how-to-set-up-a-load-stress-test-for-a-web-site

Resources