[MonoDevelop] Web Deployment

Petit Eric surfzoid at gmail.com
Sun Nov 16 14:04:18 UTC 2014


thanks Martin and Marcelo


2014-11-16 14:59 GMT+01:00 Marcelo Zabani <mzabani at gmail.com>:

> I wrote a little article on how to get XDT transformations with deployment
> in a script. It has a few caveats but it may be of help:
> http://mzabani.wordpress.com/2013/09/24/mono-asp-net-project-deployment-with-web-config-xdt-transformations/
>
> On Sun, Nov 16, 2014 at 11:18 AM, Petit Eric <surfzoid at gmail.com> wrote:
>
>> hum, why upload an tar file, the web deploy function was to upload the
>> bin/dll dir and the aspx file need to run the web site (Default.aspx, index
>> etc...).
>> also, in the processing class, i see the parsing job, copy, but not tar
>> or scp command.
>> If you are agree, i will use your class (xml job is good :D), to combine
>> with one of my existing class and be more accurate :D
>>
>>
>>
>> 2014-11-16 13:32 GMT+01:00 Martin Thwaites <monoforum at my2cents.co.uk>:
>>
>>> What I do with the directory is tar it up, then push it to the server
>>> with scp...
>>>
>>> tar cf <dir>/ <name>.tar
>>> scp <name>.tar <username>@<host>:<remote location>
>>>
>>> I've been looking at ways to integrate an SSH client into it so I don't
>>> need to do the extra steps, and it looks possible, just not had much time.
>>>
>>> There's also the octopus deploy route which will apparently support
>>> linux at some point (although it keeps being promised and then not
>>> delivered).  I'm also curious as to whether they will add all the things
>>> that MsDeploy gives, like setting up websites etc.
>>>
>>> On 16 November 2014 12:09, Martin Thwaites <monoforum at my2cents.co.uk>
>>> wrote:
>>>
>>>> here you go... https://github.com/martinjt/dotnetappdeployer
>>>>
>>>> Don't know if it will work out of the box, works for me on a few apps.
>>>>
>>>> Thanks,
>>>> Martin
>>>>
>>>> On 16 November 2014 11:56, Petit Eric <surfzoid at gmail.com> wrote:
>>>>
>>>>> yes, agree.
>>>>> i will have this workaround idea too, but not not need to reinvent if
>>>>> you share your little app :D ?
>>>>>
>>>>>
>>>>>
>>>>> 2014-11-16 12:52 GMT+01:00 Martin Thwaites <monoforum at my2cents.co.uk>:
>>>>>
>>>>>> Personally, I'd prefer to make msdeploy available on Linux/Mac.  So
>>>>>> that you can actually deploy to the MsDeploy endpoint on windows, azure,
>>>>>> linux, et al.  That way, all the work that's done in MonoDevelop will be to
>>>>>> call MsDeploy on each platform.
>>>>>>
>>>>>> There would also be work to make the package target for
>>>>>> MsBuild/xbuild work as well.   I'm not sure if the .targets files can just
>>>>>> be copied, as they are not in the reference source that I've seen so far.
>>>>>>
>>>>>> It's been on my list for a while, but as I have a little app that I
>>>>>> can run to copy all the relevant files, it's pretty far down my list.  With
>>>>>> Microsoft open sourcing .NET, I may be to get onto this quicker as the
>>>>>> functionality I was going to implement in mono will be easier (as it's just
>>>>>> a copy).
>>>>>>
>>>>>> On 16 November 2014 10:58, Petit Eric <surfzoid at gmail.com> wrote:
>>>>>>
>>>>>>> thanks for the tip, I'm actually looking at the source code of web
>>>>>>> deploy, there is 2 files for GUI, also, it could be really simple to make
>>>>>>> an little exe for the job, the idea is not to say if Linux use web deploy,
>>>>>>> but more if windows don't use web deploy, because, web deploy work for
>>>>>>> Unix, so Mac os too, wz can also imagine an addin wich check OS to be
>>>>>>> listed in the aviable addin list or check for the installation of the addin.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 2014-11-16 11:44 GMT+01:00 Martin Thwaites <monoforum at my2cents.co.uk
>>>>>>> >:
>>>>>>>
>>>>>>>> I'm sure that is doable, it just needs someone who is interested
>>>>>>>> enough in a solution to actually put the time to do the work.  I doubt it
>>>>>>>> will be a small task.  I don't think anyone would actually want to create
>>>>>>>> something that only works on one platform.
>>>>>>>>
>>>>>>>> In terms of selecting the right files, all you do is look at the
>>>>>>>> csproj file and look for the attribute "Include" and if it has "Content",
>>>>>>>> then use it.  There are a lot more rules I'm sure, but so a simple MVC
>>>>>>>> site, where all other projects are dll's only, you're fine.
>>>>>>>>
>>>>>>>> On 16 November 2014 10:24, Petit Eric <surfzoid at gmail.com> wrote:
>>>>>>>>
>>>>>>>>> If i understand corectly too
>>>>>>>>> http://forums.xamarin.com/discussion/22048/deploy-to-web-is-gone
>>>>>>>>> The bigest problem is windows os, mono and net framework have an
>>>>>>>>> class to detect os, why don't simply use it ?
>>>>>>>>> Le 16 nov. 2014 11:11, "Petit Eric" <surfzoid at gmail.com> a écrit :
>>>>>>>>>
>>>>>>>>> We can also make an script as external tool or an post compil
>>>>>>>>>> action, but i don't know how to select th good files to upload.
>>>>>>>>>> An simple way should be an option to activate or not the Web
>>>>>>>>>> deployement option
>>>>>>>>>> Le 16 nov. 2014 10:58, "Martin Thwaites" <
>>>>>>>>>> monoforum at my2cents.co.uk> a écrit :
>>>>>>>>>>
>>>>>>>>>>> As I understand it, yes, as it was buggy, not maintained and
>>>>>>>>>>> only worked on Linux.  Search this list and you will find a post from Mr
>>>>>>>>>>> Hutchinson about it.
>>>>>>>>>>>
>>>>>>>>>>> All the deployment thing did was copy all files that had
>>>>>>>>>>> "content" in the csproj, and the bin directory, then mount a remote
>>>>>>>>>>> location and copy the files to it.  I created a little console app that
>>>>>>>>>>> does the copy side, then just scp them to remote server, works just as well.
>>>>>>>>>>>
>>>>>>>>>>> Thanks
>>>>>>>>>>> Martin
>>>>>>>>>>> On 16 Nov 2014 09:40, "Petit Eric" <surfzoid at gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Same issue for me with the last gît version
>>>>>>>>>>>> Le 16 nov. 2014 02:08, "xplicit" <svg at ngs.ru> a écrit :
>>>>>>>>>>>>
>>>>>>>>>>>>> Is web deployment removed from the latest versions of
>>>>>>>>>>>>> monodevelop (I look at
>>>>>>>>>>>>> MD 5.5 and MD 5.7) or I missed it?
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> View this message in context:
>>>>>>>>>>>>> http://mono.1490590.n4.nabble.com/Web-Deployment-tp4664646.html
>>>>>>>>>>>>> Sent from the Mono - MonoDevelop IDE mailing list archive at
>>>>>>>>>>>>> Nabble.com.
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Monodevelop-list mailing list
>>>>>>>>>>>>> Monodevelop-list at lists.ximian.com
>>>>>>>>>>>>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Monodevelop-list mailing list
>>>>>>>>>>>> Monodevelop-list at lists.ximian.com
>>>>>>>>>>>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Monodevelop-list mailing list
>>>>>>>>> Monodevelop-list at lists.ximian.com
>>>>>>>>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Monodevelop-list mailing list
>>>>>>> Monodevelop-list at lists.ximian.com
>>>>>>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>> _______________________________________________
>> Monodevelop-list mailing list
>> Monodevelop-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20141116/59a3ad00/attachment.html>


More information about the Monodevelop-list mailing list