How to trigger a cruise control .net build manually? - web-deployment

I am trying to install cruise control on a windows server 2012, but there are some issue with IIS so I can not access the dashboard website.
I have modified the ccnet.config, is there a way to trigger the build without using dashboard website, so I can verify whether my setting is correct. Please help, thank you.

CC.Net "Tray" can be used to pop off builds..without going through the website.
How to get CCTray
however, cctray needs to talk to some kind of service........so you may be in a catch22.

cctray can directly connect to the cruise service via remoting. It does not have to go via the dashboard.

Related

First ASP.NET webpage launches without debugging, doesn't launch with debugging

Did anyone encounter an error with ASP.NET debugging? I've made a really simple, empty MVC page, I've tried returning /Home/Index.cshtml and a string, and each time I get a windows jingle and the browser can't find the server. It doesn't happen when I run it without debugging though, then the website runs just fine.
I've also tried the default MVC template, with Bootstrap etc, and it's the same - runs without debugging, doesn't run with debugging.
It's probably important: I'm running Visual Studio 2017 on up-to-date Windows 10. I've reinstalled the system several weeks ago, really wouldn't want to do that again :/
Generally we could debug an app with the normal user, but sometimes we need to use the admin, for example, as far as I know, if we want to use the attach to process tool for remote debugging, we often run the VS as the admin or others.
This document share us the tasks we need administrator permissions to completeļ¼š
https://msdn.microsoft.com/en-us/library/jj662724.aspx?f=255&MSPPError=-2147217396
If possible, you could refer to it especially "Debugging" area in above link.
Hope it could help you:)

Cannot run webmatrix site

I have created a site with webmatrix. When I try to run it, it says it cannot because it needs admin right to make the connection to port.
I tried to run Webmatrix with admin right it doesn't change anything. What should I do ?
Your question is a bit hard to understand. But I assume you are trying to connect to the site externally meaning from a different computer than the one running webMatrix. If so, there are a couple of things to get right and this post by Vaidy will help you: Serving external traffic with WebMatrix
First thing is that you need to be sure that the port you want to use not used by any application.
the problem is that many time user want to debug application in VS oR VWD and Webmatix. because they use same port so Webmatix not run because VWD already use them.
well first thing is that try to change the port and run if that's not work then they need to run as administator for doing that:-
select webmatix icon open the propety go to advanced and choose tor run as administration.

OpenLayers - dynamic POI example does not work on my machine

OpenLayers has a good example which I would like to reuse:
http://openlayers.org/dev/examples/dynamic-text-layer.html
But when I download it and run on my machine, it does not work.
It also does not work when I download
OpenLayers-2.10.zip from openlayers.org site, unpack it on my machine and run this example.
When I say "does not work" I mean the map is displayed but there are no POIs/markers/popups.
I use windows XP.
It seems this example does NOT use proxy.cgi.
Could you please help me?
What I am doing wrong?
Thank you in advance
Maxim
The example you are trying to run is reading points from a text file(textfile.txt) that is fetched asynchronously. In order to get this work you have to run this code on a webserver. I guess you are running code directly from filesystem, i.e. doubleclick dynamic-text-layer.html file.
You could install Visual Studio 2010 express which is free. It has built in webserver so you will only have to open OpenLayers 2.10 map as a Web Site and push "Run"

Need a GUI based deployment solution for .net

Ok.. I have looked through this site and just can't seem to find the answer I am looking for.
We have a multi server setup for our web sites, typically (DEV/QA/PRODUCTION). Our sites are .net which require some sort of build before being deployed. We are using SVN for source control and are looking for a tool/website/something that will allow our project managers to push button deploy changes to the different environments. It seems there is no silver bullet for this, am I correct in this assumption?
I like the functionality of Springloops but can't find any information regarding its use with .net. Sparing details, it would be nice to see a diagram of sorts on the whole end to end process. What I mean by that is, if multiple different tools are the only answer (no silver bullet), then a diagram that shows where the tools sit in relation to the whole process.
Look at CruiseControl.Net. It'll let you automate your builds and if there are errors it can notify certain people and even flash a big red light in the office.
The other thing it can do is automatically deploy to a chosen region such as Dev/Test/Stage/Prod when there are no errors.
Though you may want to make Prod a manual press of a button. :)
The new on click publishing features in Visual Studio 2010 are pretty easy to set up ans use: http://vishaljoshi.blogspot.com/2009/05/web-1-click-publish-with-vs-2010.html
Supports configuring IIS and deploying SQL packages too.
There is a msdeploy.exe file included in the that you could setup to run with .bat files or some configurable script runner.
Try ClickOnce deployment. Once a update is deployed on the server the client applications are automatically get updated on every client on their next run.

Configuring 'Cassini' (ASP.NET Development server) for CAC cards for testing - How?

I'm developing a new website (ASP.Net, VB codebehind pages, .Net 3.5) to replace a "Classic ASP" site.
Some of the pages are 'public' and the rest require authentication - in this case it's done by reading DoD-issued CAC cards through the keyboard.
Now, for 'production', they configure IIS so that it does the authentication challenge (reading the card and requesting a PIN) when it hits a certain directory (/secure in this case) so that all pages in that tree are secured.
I'm coming ot the point where I need to see some of the information fomr the card - but when I "F5" the website I'm developing, all the Request.Clientcertificate stuff is empty - there's no 'challenge' happening with the Cassini ASP.Net development server.
I see references to "configure IIS to put SSL on the target directory" - but I'm not running IIS on this development PC (nor is the other developer who's going to run into this shortly). The network support people will be doing this when the site is eventually copied into production but I need to test certain security features now.
How can I configure the server that came with VS2008 to read the CAC card and 'load up' the server/session variables that I need to query? Alternatively, is there anything I can put into the .aspx or .aspx.vb pages themselves that can simulate or trigger the security challenge?
Thanks in advance.
Short answer. Cassini doesn't support that kind of security.
I would hope you found a solution to this by now... but just in case, I will tell you that I do similar development and I ran into the same problem. The only "solution" I found was to simply publish the website/webpage to a server with IIS configured to require client certificates, etc...
Of course, this does prevent you from using the "debug" feature in Visual Studio, but there is always the method of injecting debug statements into code [e.g.: response.write() followed by response.end() if necessary]... I also built a page I used for enumerating all the strings available from request.clientcertificate(), and even later expanded it to run a provided regex for searching the entire certificate...
Hope those ideas prove useful!

Resources