Is it possible to use Glimpse with a self-hosted web application? Specifically, I'm trying to use Glimpse with Nancy (self-hosted) on Mono.
The only information that I'm able to find is about Glimpse within ASP.NET.
Work is currently underway to make this possible.
Glimpse is getting very close to a v2 RC, when that is released then we will also be ready to push out a release of the Glimpse.Nancy integration being built here https://github.com/csainty/Glimpse.Nancy/tree/glimpse-20
I can't yet comment on Mono support as I have not tried it, but I will make an issue to make sure it is considered.
Related
I've made my first website in ASP.NET MVC 4 for a customer, and he bought a host at 1eurohosting.net. On their website's FAQ it says
"Do you offer Windows based services?
We do not. We only offer Linux based services."
I've read that its still possible to run a MVC4 application on linux using mono, but how would I do this?
What I've tried so far is publish the website by right clicking solution explorer, and following the steps when u click "publish". The publishing works fine, and the files are on the webserver, but it doesn't run, because I think I need to use mono.
I don't know what to do at this point. What do I do next? If I have to use mono, how can I use it?
It seems that I either need a host that supports IIS or Mono. I dont think my current webhost supports Mono, I am still going to try and contact them, though.
I am trying to install a privileged helper tool to perform some elevated work. I am using SMJobBless for the same.
I am able to install the tool fine and also able to communicate with it. I am using Mac OS X 10.8.4 and using NSXPCConnection for the same.
I have added .mach service in the plist which will be installed in /Library/LaunchDaemons. I am using [initWithMachServiceName:options:] in the app as the helper is privileged tool and [– initWithMachServiceName:] in the helper to listen. The communication is working fine.
But the problem is I tried the same communication with another application I created which did not have any codesign at all (the helper tool installer earlier was codesigned). I tried to connect to the mach service of the helper tool and was able to connect easily. This is a problem because anybody can communicate with it then and make it do anything.
I wanted some way to securely communicate between my application and the helper tool.
Thanks a lot.
As you've said that you're not signing the second app, I believe that that is the problem that is allowing a 2nd app from calling the helper application. From the Apple docs and specifically the ReadMe file in SMJobBless, it states: -
The Service Management framework uses code signatures to ensure that the helper tool is the one expected to be run by the main application
This document should be able to assist you in getting the helper app correctly associated with its owner.
Note that it references a python script, which is provided here.
Answering my own question: I had logged a radar bug for the same and Apple said that the behavior was intended:
"It is up to the privileged helper to not expose insecure operations"
I am finding all sorts of general descriptions of no-touch deployment and lots of questions and problems, but I can't figure how to just get started with it. What is the method that makes it happen? I'm working in VB.Net 2005. I think assembly.loadform will suit me best since I know all of my users and will deploy via my intranet.
Appreciate any links or suggestions for starting places (other than googling "no-touch deployment", I already did that).
If it's a web application project that you're deploying, one-click publish with Web Deploy may be what you're looking for. Here's a related link:
How to: Deploy a Web Application Project Using One-Click Publish and Web Deploy
We've got WCF setup to use Windsor. Now I want to start writing some integration tests and I'm running into a problem. I found an article by Ayende http://ayende.com/Blog/archive/2007/06/12/WCF-Windsor-Integration.aspx but I can't find the WindsorServiceHost he mentions. I even went and looked around WcfIntegration in the object browser and no luck.
Does anyone have a more up to date sample or have a short code sample they can share?
You will not find it in standard Windsor installation. It is separate Facility (separate project) which hasn't been released yet but you can download source codes from their repository.
I am running on SP1 beta of 2010... it may or may not related to the beta. But, in general, can adding a project to the codeplex TFS server somehow make WCF break when also inside an Azure project?
Seems to be the pattern for me. Immediately upon launch I get a ServicePoint exception. If I remove the app from source control everything works fine.
My project consists of
Azure WCF hello world application
VS2010 SP1 beta
Adding codeplex TFS reference causes exception
Is it a CommunicationFaultedException? If it is, it is a bug when working with Azure 1.3 SDK projects that are checked into TFS. Make sure you have the Web.config file checked out (writeable).
If not, can you give any other information on on the ServicePoint execption?