SVN access from local and remote computers with Visual Studio plug-ins - visual-studio

I'm new to the Version Control topic. I have a few computers on my home network and a remote computer, each having Visual Studio installed. I want to set up SVN server running on one of my local computers; then I want to get access to repository from all the local computers and remote one with Visual Studio plug-ins such as VisualSvn. Can this be done (concerned about remote machine) ? Thanks!

Another option is to use Subversion in file repository mode. Basically this lets you create a repository in a LAN folder location.
This mode lets other SVN clients connect to the shared LAN repository.
This is the repositroy mode I use with the Agent SVN Visual Studio plug-in and it works well.

Yes, it can be done providing that you have connectivity and firewall clearance between the remote and your network. You can either port forward through your router to your SVN server, and access remotely in VisualSVN using the external IP address, or setup a VPN link to your network and access remotely through that.

Related

how to set up visual studio for a remote project

Can Visual studio 2019 be used as a local IDE for a solution running on a remote server? specifically i want to create a node.js application on a remote server hosted / provided by my ISP using Vstudio that's running on my local windows machine. I'd like the builds to run on the remote server. Is this possible?
To date, I have been connecting via ssh and just using VIM to create my apps. But I see that VStudio is free and has a lot of support for different types of apps so wanted to give a try.
I launched VStudio and created a new node.js application. Gave it a name (it was pointing to a local folder)
But then when I tried to do was go under Tools -> options ->Cross platform-> connection manager.
I successfully added a connection to my remote server. I know the connection worked because it detected that the remote server is running Ubuntu.
I must be still missing a step because when I try to build, instead of running the build against the remote server, it tries to build locally.
Maybe I can't do this. Maybe I need a local dev environment... build local and then copy the js files over to the target machine.
But jut thought I'd check
Thanks.

How to speed up TortoiseSVN to VisualSVN server through SSH tunnel?

This is our current setup: Windows Server 2008 with Visual SVN Server. On the client side we use tortoise svn.
Inside the company (internal network), the access speed(checkout,update,commit) is good.
When we access from outside the company via our SSH tunnel, it becomes really slow.
I read that there could be a few possibilities:
usage of HTTPS vs SVN (VisualSVN doesnt support SVN protocol :( )
antivirus (did not test it yet)
Any other suggestions ? Thank you

Visual Studio 2010 Remote Debug across domains

I'm trying to set up remote debugging across domains. My Windows 7 workstation running Visual Studio 2010 is on one domain and I'm trying to debug an ASP.NET app running in IIS 7 on a Widows 2003 server box in another domain. I have found many instructions on how to set this up, this being the best, most clearly written one: http://blogs.interknowlogy.com/2011/11/16/remote-debugging-from-visual-studio-2010/
However, I can only seem to connect to the remote debugging monitor on the server if Visual Studio is being run as the local user on my workstation, not as the domain user. This creates a number of challenges, such as loss of source control connectivity. When I try to connect using the domain user I get the following error: "Unable to connect to the Microsoft Visaul Studio Remote Debugging Monitor named 'username#servername'. The specified account does not exist." (I have substituted a generic username#servername for the actual values)
I have found a number of sources suggesting this will work with the domain user running VS2010 but have had no luck. Any idea what I might be missing?
Solved
First, i've read #KyleMit's answer on the same question and done all steps.
But, for across domain debugging also need to edit C:\Windows\System32\drivers\etc\hosts file on local computer.
Just add remote computer's ip address like this:
172.172.172.172 SRV-TEST-ADRESS
Where:
172.172.172.172 - ip address of your remote server
SRV-TEST-ADRESS - Server's name from Visual Studio Remote Debugger
Monitor on remote computer
You can know your server's ip address by ipconfig in cmd
After that, i could attach to proccess on remote computer across domain.

How do I run (debug) WCF REST Service application on local IIS7 server

As the question says, I have a problem running the web app on local IIS.
Here is my situation:
WIndows over Oracle VM VirtualBox running on Linux Ubuntu.
Bridged Adapter so that Windows box gets local IP from my router.
Visual Studio 2010 + sp
WCF REST Service application plugin for project template
The application runs when using visual studio development server (on localhost).
Target framework is v4.0
What I need is that the application runs on IP instead on localhost (so I can consume it on remote computer in LAN), so I configured IIS7.
Here is IIS configuration:
I created a website with target framework v.4.0
I binded the site to my local IP on port 80
Path to the site is /inetpub/wwwroot iisstart.htm as default document
IIS runs ok. If I open "http://my_local_ip" I get the welcome logo.
The problem is in visual studio.
When I go to project properties "Web" section and select local IIS over vsd server is where I get lost. If I set "Project URL" to "http://my_local_ip/some_name" visual studio complains that it cannot find IIS server and so it was unable to create the virtual directory. I tried manually adding virtual directory in IIS manager, but no effect. If I use "http://localhost/some_name" as the "Project URL" the virtual directory gets created, but it makes no sense does it?
Could some one please enlighten me?
If I use "http://localhost/some_name" as the "Project URL" the virtual directory gets created, but it makes no sense does it?
I think you are mixing two different things here. When you ask VS to use localhost as the IIS Server for your project, it will connect to the local IIS to perform configuration tasks. If you ask VS to use "my_local_ip" you are telling VS that you IIS Server is remote, and therefore VS will use remote administration to configure IIS (VS can't know that my_local_ip is the local computer).
But remote IIS admin isn't enabled on a default WinServer box. Furthermore, it would require some additionnal network config. You should therefore tell vs to use the local server.
In fact, IIS site bindings and VS deployment parameters are too completely different things. So, deploy your site on http://localhost/your_site.
However, I don't really like the prospect of using VS debugging deploy to deploy a real app. The directory will contain all your project files... You should:
create your site on IIS manager and setup a virtual directory.
Either
ask VS to publish the site to a directory (your virtual directory)
ask VS to publish a WebDeploy package, then ask IIS manager to import the package.

Visual Studio with a Remote Server

The site that I am working on is at a remote server. I want to work on it locally. Are there any tools better then that in Visual Studio for working with a remote website?
Rather than deal with the quirkiness of VS remoting, what about using Remote Desktop to drive VS on a machine local to your target (behind VPN for example)?
If you can set up a subversion server on the remote site you could use that to sync changes between locations. This would be really helpful in other areas as well such as allowing multiple people to mess with your code and to keep track of every change you make. It would also be the best in the area of performance.
If its a windows share, just set up the repository where it is right now then use:
svn checkout file:///project/trunk
Or if its over a web server you can set up SVN to be served though that as well.
There are plenty of free/not free plugins for VS that make working with SVN very easy.

Resources