I am trying to move my asp.net website from one computer to another. What would be the best way to do this? I have already downloaded all the correct programs to be able to run the website, I just want to know the best way to actually move the website folder without having any issues.
If you have the option to use git in both computers. Commit from one and clone from another. But I prefer a portable device and move the whole solution folder. Not sure whether it answered your question. :)
It's as simple as copying the files onto a flash drive and dropping them in the new computer's file path of your choice. From there you open Visual studio, Click Open Project/Solution, and go to the file path and choose the Project/Solution you want to use.
Related
Good day,
I have a small application created in Lazarus / Free Pascal. If I run this application located in a folder on my computer, it will start and SQLite will create a temporary file .db-journal in the current directory. Since the application is portable, it will also run from a flash drive. And now comes the problem. Some computers (eg at work) do not allow writing to external media. Therefore, when I start the application, it does not start and an error is displayed that it is not possible to open the database (tested on a locked SD card). And so that the application does not always have to be copied to the computer, I would like to know if it is possible to redirect the creation of a temporary file .db-journal to another directory, for example the "C:\WINDOWS\USERS<user>" user directory. Is it usually possible to write there always?
Of course, I searched the net, but so far I have not found anything that would help me, so I am addressing you here. Thank you for your advice or guidance.
Jirka
Is there a way to open multiple project folders in the side bar of Adobe-Brackets? I've tried Googling but haven't found any answer specific to this question. When I try to open a secondary project folder, the side bar will close the current project folder open and replace it with the newly opened one.
I have exactly the same problem. Was trying to google it, but haven't found anything.
So the only way I found to be able to open multiple projects in one window is to make one Folder and than put all project you are working in that Folder. Than you will be able to open different files from different projects in the same window.
Not sure how it will work with really huge projects, but for me (I'm student) this works.
I couldn't manage to open two folders but I just opened another brackets window and used split screen
I am a new web developer. I am using XAMPP and Dreamweaver CS6. I want to edit and debug my source code on my local computer. Then I want to commit that edit to my web server (shared or vps). Right now I edit files on local computer and then I upload that file to server.
Can anyone suggest any other options.
Thank you in advance.
I suppose you could achieve this in many ways.
For example you can use deployment tools (like Jenkins) and then configure it to hook your commits. In order to do this you need first to install Git in your system (I'm not sure but maybe you can even find some Git plugins for Dreamweaver so that you could work with Git directly from Dreamweaver; if not don't worry there are plenty of Git clients that help to facilitate use of Git, SourceTree is one of them)
If you feel like you have difficulty in configuring Jenkins to hook your commits I'd suggest you to have a look at this answer.
I haven't used Dreamweaver in forever but you can upload on saving which you set in the Site Definition. Go to the Remote definition that you setup and click on the Advanced tab. You can set DW to automatically upload on save there. It's generally not best practice but it's an option.
I am developing an ASP MVC controller that returns a FileResult.
In the browser, I do not want to show the download prompt and download the file to a specific location on he client machine. Is it possible please?
Afraid that's not possible, owing to that would make it really easy to install a virus. What you could do is make an installer .exe that once run would put the files in the correct place, but that would add another step, which might be what you are trying to avoid.
Does anybody have an idea how to use he "publish website" command on VS 2008 and be able to track changes so as to only sent to the hosting server the modified files?
When the command is called, the destination folder files are wiped and replaced with the result of the new build (assembly file are created as well as some marker files).As my website is getting bigger and bigger I have to transfer to the server all the assemblies in my bin directory and keep in mind which other files I may have modified.
Is there a better way of doing this?
ps: I use FileZila to transfer my files to the server.
Publish to a local directory, then use a diff tool (such as WinMerge) to find and copy the modified files to the server.
You can publish locally and use any mechanism of your choice to transfer the files.
Have you tried Website->Copy Website menu item? It seems to know which files are changed.