jgemedina's blog

A blogging framework for hackers.

.NET, Mono & PowerShell

Days ago I was trying to port an .net web application to Mono, everything seemed to be ok since MoMa (The migration analyzer) reported that everything was in place and there was not conflict at all, except that there were some issues when precompiling.

I downloaded also MonoTools since I stopped using MonoDevelop due to some debugging issues I was too lazy to troubleshoot, thought it’d help me to debug the app using Mono but for some reason MonoTools always invokes the .NET 2.0.x aspnet_compiler and there seems to be no way to change this, so it tries to host the app using XSP2.

At the end, tired of looking, since there seems to be no answer or solution for the MonoTools issue, decided the build two small PowerShell scripts for this which I left on my CoderWall Profile.

The first one is very simple, it just invokes xbuild to build the solution:

PowerShell Script to build a solution using XBuild

The second one actually opens Internet Explorer and starts hosting the application using XSP4 instead of XSP2, this gives the sensation of host app then preview.

PowerShell script to host a Web Application using Mono/XSP4

Obviously you need to have the Mono binaries in your User or System Path.

iKnode on the Chrome Web Store

Hi there folks! this last weeks have been pretty exciting since there have been a lot of updates, we updated our SDK for .NET, Java, Android and Javascript and also our SDK for .NET is now available on NuGet, read more about it here.

We decided to submit our own app to the Chrome Web Store so it’ll be easier for the iKnode developers to access iKnode, now just a click away ;) for Google Chrome lovers, so just search for “iknode” on Web Store or click here to go directly to it.

We are working really hard to improve the iKnode experience, enjoy.

Surrender

I am sure I could have post this as tweet, but 140 chars are not always enough, mostly when I feels like expressing myself.

A good friend of mine shared a blogpost about surrender, perhaps it is trite topic and a bit motivational, but if there’s something good about surrender, is that is one of those little things that come before success, one of those little things that we must live and endure to become a better person, better at what we do.

We can’t always expect to do things flawlessly, perfect… we have to accept that surrender will take part of our path at some point in our lives, perhaps just once, or twice… who knows; Although we have to be careful not to get used to give up, sometimes doing so shows our very essence, who we are and sometimes we must surrender because we know something better will come up.

To surrender is not something loosers do, surrender is is most cases, a mature way to handle things cause we can clearly see that, in that moment, we are not worthy of winning or not our time to do so.

Read the article, hope you’ll find it reflexive.

Running IIS Express, Manually…

I do like to blog stuff I learn in a daily basis, yesterday I had to run IIS Express from the command line. I had created the msbuild scripts to clean and rebuild my solution but thought of why having Visual Studio just to run the site and browse it… there had to be a way to do it myself…

You can run IIS Express pointing to either a configuration file or the path where the web applications lives, in my case choosed the second one and additionally indicating the CLR version and port, it looks like this:

Running IIS Express
1
"C:\Program Files\IIS Express\iisexpress.exe" /clr:v4.0 /port:7150 /path:D:\path\to\webapp\root

The command explains itself, we are targeting a .NET 4.0 web app, using the port 7150 and indicating the root directory of the web app. Then just browse locally to that port and you should see your web app.

Interesting Stuff to Come…

Hi there!

Nothing much to tell today, but this has been an interesting and productive week, we’ve released a new version of iKnode (version 1.7) which contains a lot of bug fixes and new and exiting features such as a package manager, and this is the first version where we release the iKnode utilities, which are ready-to-use iKnode apps that just came out of oven! Logging and Notification utilities among them, which you can call in your apps using our hot API. Also another utility under testing is a WordPress importer, yes, you can post to Wordpress from an iKnode app, how fast? 432 news in a matter of minutes.

Curious? don’t know what iKnode is? if you do or have heard… request a invite. Also keep coming here now and then for iKnode updates and apps, reviews and sample apps regarding web technologies out there.

Testing Octopress

Just testing octopress, seems like I am going to have fun for a while… until I get to know this thing better.