web-deployment

How can I prevent hidden .svn folder from being copied from the _bin_deployableAssemblies folder?

亡梦爱人 提交于 2019-12-10 09:35:58
问题 I am using the _bin_deployableAssemblies folder to copy over the ASP.NET MVC assemblies to the bin folder after each build. Unfortunately the MSBuild task also copies the hidden .svn folder. First attempt to fix I want to solve this at a project level, so I have added a RemoveDir task to the AfterBuild target in the .csproj file, which works for normal builds. <RemoveDir Directories="@(OutDir).svn" /> But it doesn't seem to work when I publish the site. After publishing the .svn folder is

How to deploy Spring framework backend and Angular 2 frontend application in any online server?

﹥>﹥吖頭↗ 提交于 2019-12-10 07:47:19
问题 Please correct if the way I am doing is wrong. In my web application I am not using jsp pages for developing user interface. Instead I am using html, css and Angular 2 and front-end project structure is separated from back-end. Although I am able to develop a simple project using Angular CLI which is served by SpringMVC back-end. Front-end is using port 4200 and backend is running on port 8080. I have managed to take and serve request from Angular 2 to SpringMVC. In local mode these are

Git receive.denyCurrentBranch updateInstead fails

北慕城南 提交于 2019-12-09 18:16:34
问题 I'm brand new to git and have no experience with any version control system. I develop locally and am looking for a simpler way (than FTP) to deploy files to the (LAMP) web server. I am having a hard time configuring Git (version 2.5 for Windows) to automatically update its current working directory when I push changes. Here is what I've done, after creating a local repo, doing the first commit, and adding the remote location under alias origin : [remote] ssh user@domain [remote] cd testgit

Azure git deployment - missing references in 2nd assembly

断了今生、忘了曾经 提交于 2019-12-09 09:35:33
问题 I'm trying to setup Bitbucket deployment to an Azure website. I successfully have Bitbucket and Azure linked, but when I push to Bitbucket, I get the following error on the Azure site: If I click on 'View Log', it shows the following compile errors: D:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35,

how to add publishing profile to a new sln in vs2012?

时光毁灭记忆、已成空白 提交于 2019-12-09 07:50:10
问题 I have read the publishing profiles have replaced WDP but I cannot find decent tutorial how to add and modify pubxml file to my project any help will be appreciated 回答1: When you right-click a project and select Publish , you get the Publish Web wizard. Using this to create a profile (you don't have to actually publish in order to create a profile) creates the .pubxml, and on the first step of the wizard you can use the Manage Profiles button to rename or delete profiles. Profiles are created

Best way for deploy angular.js application made with yeoman?

我的未来我决定 提交于 2019-12-09 05:29:48
问题 I´m building application SPA using angular.js with yeoman which connect with a API RESTful made in Java using spring-MVC . i´m begginer for deploy web applications in angular and so i want to know some differents alternatives or best practice , for example deploy in http-server as apache, inside war using application-server as tomcat , or another option or suggestions . Thanks a lot for help . 回答1: Then your frontend code is production-ready, just run $ grunt build and serve static resources

Share aspx page between projects

孤街浪徒 提交于 2019-12-09 05:22:16
问题 We have a solution with multiple web projects, and there are some pages that should be present in several of them. So we'd need some sort of a shared project which contains aspx files, and which can be referenced by other web projects. Now there are a few implementations out there: One implementation described by ScottGu which involves building the shared project, and than copying the output aspx into the host project, and referencing the dll of the aspx. This method has the disadvantage that

When deploying MVC app on server ajax cant find action but Localhost it does

ぃ、小莉子 提交于 2019-12-09 03:58:53
问题 I have a MVC5 application. When I run it on my localhost everything works without any errors. When I publish my app then I transfer it to Windows Server 2016, I put the files in wwwroot in the IIS folder and I link everything to create a new website in IIS. I then run the website and it works. I get my javascript code to work, but when I go and run my ‘ajax’ methods I get an 404 error and in the function I cannot find my controller action so the method will work. Here is my actual error: xxx

MVC bundeling : Err 403

二次信任 提交于 2019-12-09 02:24:01
问题 Using VS'12, Asp.net - C# - InternetApplication Template, KendoUI, EF Code First This is my MVC BundleConfig.cs bundles.Add(new ScriptBundle("~/bundles/jquery").Include( "~/Scripts/jquery-{version}.js")); bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/site.css")); // The Kendo CSS bundle bundles.Add(new StyleBundle("~/Content/kendo").Include( "~/Content/kendo/kendo.common.*", "~/Content/kendo/kendo.default.*")); // The Kendo JavaScript bundle// or kendo.all.min.js if you want

How to package synced folder in vagrant box

爱⌒轻易说出口 提交于 2019-12-08 20:46:27
问题 What I want and achieved so far: I want to create a custom vagrant box including a configuration and an application to reuse it in different client or serve environments. Specifically I managed to create vagrant box, based on Ubuntu (precise/64), that has node.js installed, and package it on my dev machine with vagrant package my-box --output filename.box I am able to copy the filename.box to a remote server and vagrant up the box there. Node.js is installed within the vagrant box as expected