Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I presently have a site with Umbraco 7.1.8 running on a web hotel.
I am not too pleased with the web-based editor. Is there any way I can connect my existing Umbraco site to Visual Studio?
(When I google for it, I find material about installing from Visual Studio, I think I am too late for that train?)
You can open your project as web-site in Visual Studio, just download all files and open as web-site. Is it possible for you?
As Alex states, you can open your existing site in Visual Studio (or Visual Studio Code).
See the following thread, which may be of help to you also:
I used File>Open>Website>FTP, that works fine.
Still, Visual Studio does not seem to 'understand' the code. Yellow highlights seem to be Razor markup, but curly red underlining that does not make sense to me:
Sometimes that can be caused missing references... MVC
Does your code still build & run?
My code did run, but small changes caused complaints about unbalanced curly braces.
In the code above, I have used @*Razor style*@ comments inside a code block. Elsewhere I had @Umbraco, when Umbraco would be enough.
After I cleaned out @ from my code blocks, the code became much more robust. And I got rid of the red curly underlines.
Maybe I deserve a compiler error for using @ inside a code block? To me it looks like Razor markup inside a code block is a very bad idea, except in the case of @: ?
In my experience the best way to go is full visual studio or no visual studio.
To get your site in visual studio you have to install the same version of umbraco in visual studio and than overwrite the solution with the files of your website. That way you have all your references.
Yes, probably. Should be an enlightening experience.
Where I really want to go, is probably Umbraco as a Service (a.k.a. Umbraco Cloud?) We'll see.
I agree with Frans
Using VS' integrated FTP feature is perfectly fine if you're only going to alter a few files now and then - and if you have a reliable FTP connection (some servers have a set timeout).
But in terms of productivity, I find that method to be really slow compared to working locally, since it takes a few seconds to upload the file on each save, and if VS har to reconnect to the FTP-server, it's even slower.
My preference is full Visual Studio and working locally then just publishing as an when needed (via FTP, WebDeploy or CI process).
I'm getting there.
Had a hard time finding my database, but found it at \App_Data\Umbraco.sdf .
I notice that I can't open .sdf-files in Management Studio, but I hope I will not make database changes that need much testing. This will probably be a one-way street: Copying the entire database from production to test.
Write your reply to:
Image will be uploaded when post is submitted