appharbor

AppHarbor MassTransit CloudAMQP throws Exception None of the specified endpoints were reachable

▼魔方 西西 提交于 2019-12-11 09:15:21
问题 I am trying to use Masstransit with CloudAMQP LEMUR from my AppHarbor application, but I am receiving the exception: "None of the specified endpoints were reachable" This is how Masstransit is configured: Bus.Initialize(sbc => { sbc.UseRabbitMq(); sbc.UseRabbitMqRouting(); sbc.ReceiveFrom("rabbitmq://********-243c-4e49-87fd-ed809c4839f1_apphb.com:EKhooikZAc9SM5t2YW2uc7RGoeFLD7Nv@bunny.cloudamqp.com/7752f6ce-243c-4e49-87fd-ed809c4839f1_apphb.com"); sbc.Subscribe(subs => subs.Handler

Git add . is not adding the current folder to repo

坚强是说给别人听的谎言 提交于 2019-12-11 06:33:48
问题 I want to add a NopCommerce solution to a repository using git. I entered in the folder where the .sln file is stored and used the git add . command . After that I ran the git commit --dry-run and the output was a little odd, this is the output: new file: Nop.Web new file: Nop.Web.Framework/.gitignore The nop.web folder was somehow detected, but the content wasn't. Its sibling was detected and all its files were uploaded successfully. If I go to the nop.web folder and use a git add . or

Apphabor gives 404 on bootstrap.less

安稳与你 提交于 2019-12-11 05:03:42
问题 I have deployed a simple .NET MVC application on appharbor that implements bootstrap and less. The less loads fine on my localhost instance when i run it, however, when i push it to appharbor i get a 404 on bootstrap.less. Has anyone run into this before that might be able to tell me why? I have checked the buildout and the less directory/file structure exists on the deployment. The appharbor url is http://appharbor-bootstrap.apphb.com/ if anyone wants to check out what im seeing. Source can

Starting application in monodevelop vs xsp4

时光总嘲笑我的痴心妄想 提交于 2019-12-11 04:14:43
问题 I build an ASP.Net WebApi project with mono in Linux. When I start (Debug/Release) the Application within Monodevelop. The application runs without errors. Example : I start a (Debug/Release) session. Then I navigate to 127.0.0.1:9000/api/person/ . Then I receive the expected xml output. However, when I execute the xsp4 server from within the "bin" directory. The application starts fine, but when I go to 127.0.0.1:9000/api/person/ . I'm ending with the following exception : Description: HTTP

AppHarbor Environment does not seem to affect web.config transformation

亡梦爱人 提交于 2019-12-11 03:44:25
问题 According to the description, it would appear that you can change the "Environment" in the application settings to apply a different web.config transformation. Environment The environment name affects which configuration transformation we apply. An environment named "Release" will apply "Web.Release.config" to the "Web.config" file. However, after doing so, it appears that it is still trying to transform using the Web.Release.config. **C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11

Can ASP.NET MVC3 Applications Host in cloud without specific code changes?

爷,独闯天下 提交于 2019-12-11 01:35:20
问题 I had created an ASP.NET web app using: ASP.NET MVC 3 Webforms Linq to sql MS SQL Server database WCF What would need to be done to host it on a cloud service? Should i convert it in to Azure application or not. can i directly upload my ASP.Net MVC Web application in a Cloud without specific code changes that would be required before hosting. 回答1: Please understand that there is no need to change your code to host your application in cloud. Cloud hosting is nothing but a traditional hosting

Can't build notcommerce project under appharbor

北城以北 提交于 2019-12-11 00:46:45
问题 I used nopcommerce to create a store. And now I want to deploy it on appharbor. But I have a small issue: nopcommerce hasn't .sln file (which have list of files) and appharbor can't build project. Thank you. 回答1: If your repository contains no solution files, it will be treated as a WebMatrix project and deployed straight up. This works fine for Orchard CMS, for example -- see this guide for more details. There's more on the AppHarbor solution file convention here. You can make the source

Can AppHarbor set a conditional compilation symbol during build?

ぃ、小莉子 提交于 2019-12-10 21:27:55
问题 Can AppHarbor set a conditional compilation symbol during build? Maybe simply: AppHarbor I have some tests that can't run on the server (they rely on test data files). If AppHarbor could set a conditional compilation symbol, then I could add an [Ignore] attribute on the test when that symbol is present. Or, is there a better or different way to ignore specific tests when running at AppHarbor? Or, is there a way for the test code to correctly reference a test data file residing in the project?

Trouble using SendGrid with appharbor

懵懂的女人 提交于 2019-12-10 21:03:11
问题 I am using appharbor, added SendGrid as addon, They provided me smtp host - smtp.sendgrid.com port - 587 user - 32adf793-2cbf-492c-9bb9- * ** * @apphb.com When I use these details and try to send email via my c# code, it says, "Failure Sending Email". Please help. 回答1: AppHarbor injects the relevant SMTP configuration in your application's configuration and you can send emails right off the bat using this snippet: var smtpClient = new SmtpClient(); smtpClient.Send(new MailMessage(...)); There

How to run external executables from an Appharbor application (HTML to PDF generation)?

浪尽此生 提交于 2019-12-10 16:01:51
问题 I have a requirement to produce PDF's for one my .Net web applications currently hosted on Appharbor. Traditionally, I would simply install latex on the machine, and create PDF's on the fly with pdflatex. This requirement is to display sections in HTML to end users, but also have a downloadable PDF - so it's slightly different. I have found several (free) external HTML to PDF converters which may be applicable in this instance. However, I haven't found any libraries allowing me to do this