appharbor

Get original url without non-standard port (C#)

僤鯓⒐⒋嵵緔 提交于 2019-12-21 03:20:18
问题 First question! Environment MVC, C#, AppHarbor. Problem I am calling an openid provider, and generating an absolute callback url based on the domain. On my local machine, this works fine if I hit http://localhost:12345/login Request.Url; //gives me `http://localhost:12345/callback` However, on AppHarbor where I'm deploying, because they are using non-standard ports, even if I'm hitting it at "http://sub.example.com/login" Request.Url; //gives me http://sub.example.com:15232/callback And this

Pushing an existing svn repository to git

梦想与她 提交于 2019-12-20 04:24:52
问题 I'm using SVN and I'm not planning to migrate to Git for now. I'd like to try out AppHarbor but currently you must use Git to deploy code to AppHarbor. I'd like to continue using SVN but push to AppHarbor's git repository from time to time. Is there an easy way to achieve this? 回答1: You can create a git clone of your SVN repository with: git svn clone --stdlayout <URL-OF-YOUR-SVN-REPOSITORY> ... and keep that up to date by periodically running: git svn rebase ... in the directory created by

AppHarbor Web.config transforms not being applied

本小妞迷上赌 提交于 2019-12-18 07:37:42
问题 I am developing an application in ServiceStack and am trying to sort out deployment on AppHarbor, however for some reason my web.config transforms are not being applied. I had originally a Web.AppHarbor.config file and changed the Environment Setting to "AppHarbor" - once this failed to work after several updates, I gave up and changed the Environment setting to "Release" and copied the desired transformations into the Web.Release.Config file. App gets deployed OK but config settings do not

Task could not find “AxImp.exe”

和自甴很熟 提交于 2019-12-17 20:15:15
问题 I uploaded a .NET 4 C# solution to appharbor, however when appharbor tries to build it, one of the c# class libraries generates this error: Project "D:\temp\cbymsn2u.j0c\input\UI\Tray\Tray.csproj" is building "D:\temp\cbymsn2u.j0c\input\Business\Crawler\Crawler.csproj" (GetNativeManifest target(s)): c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1558,9): warning MSB3084: Task attempted to find "AxImp.exe" in two locations. 1) Under the "C:\Program Files\Microsoft SDKs

How to use ASP.NET MVC view precompilation with App_Code helpers?

荒凉一梦 提交于 2019-12-14 03:46:23
问题 I am trying to enable view compilation to have my ASP.NET MVC3 web site load faster. My web site is hosted on AppHarbor. However, my views make use of MVC3 view helpers, defined in the App_Code folder. When I try to load my web-site, I get: "The directory '/App_Code/' is not allowed because the application is precompiled." How can I stop the App_Code folder being deployed to the web-server, but still have the App_Code helpers pre-compiled? I've tried changing the helpers to Content=None, but

AppHarbor build error with nuget packages

别来无恙 提交于 2019-12-13 21:24:40
问题 I'm getting a build error when deploying to AppHarbor from bitbucket. It's related to one of the projects not being able to resolve a dependency which should come from Nuget. Everything builds and runs fine on my machine. Knowledge - I am very well versed with Nuget and an experienced dev. I probably caused this by shuffling folders around locally and recreating the bitbucket repo. I've checked the bitbucket source and it seems everything is there compared to local. My solution is structured

AppHarbor - ASP.NET Core Support

血红的双手。 提交于 2019-12-13 11:44:44
问题 Does AppHarbor support ASP.NET Core? When I tried to deploy my sample application (From the Visual Studio 2015 RC templates) I got the following build log in AppHarbor: Build started 5/4/2015 2:28:38 PM. 1>Project "D:\temp\g3zdb4oh.rcv\input\ASPNetTest.sln" on node 1 (default targets). 1>ValidateSolutionConfiguration: Building solution configuration "Release|Any CPU". 1>Project "D:\temp\g3zdb4oh.rcv\input\ASPNetTest.sln" (1) is building "D:\temp\g3zdb4oh.rcv\input\src\ASPNetTest\ASPNetTest

How to execute a SQL Server Job on AppHarbor SQL database?

*爱你&永不变心* 提交于 2019-12-13 08:01:30
问题 How to execute a SQL Server Job on AppHarbor database? 回答1: I got the answer to my earlier posted query. SQL server jobs are executed on AppHarbor as Background worker. The process is simple. 1. Create a windows job (any project that outputs an exe). 2. Integrate job with Quartz for scheduling 3. Upload to AppHarbor. 4. If you're already using a web or background worker, you may need to get extra subscription for a background worker. The background worker automatically picks up the exe and

EntityFramework, AppHarbor and configuration variables

点点圈 提交于 2019-12-13 01:04:05
问题 I'm having some trouble with EntityFramework (database first) and AppHarbor. I'm trying to use the configuration string as inserted into the web.config by AppHarbor (I've added the metadata into the Sequelizer config option on the website), and I'm trying to add some additional values using code provided. Currently I'm being a very bad person and embedding the string directly into my apps configuration provider - not good if the hosting provider switch DBs on us, so I'm looking to do it the

AppHarbor NopCommerce running issue

雨燕双飞 提交于 2019-12-11 12:11:38
问题 I uploaded nopcommerce solution to appharbor (using this method Can't build notcommerce project under appharbor) and solution succesfully builded, but I receiving 403 error - Forbidden: Access is denied when trying to open page(Allow write-access to file system is set to true). Thanks and hope for your help 回答1: The problem is that the standard NopCommerce solution contains two Web Projects. AppHarbor only deploys one web project per application, and in this case, we happen to deploy Nop