Skip to main content

Posts

Showing posts with the label asp

Basic asp NET dev environment in Ubuntu 12 04

I recently had to do a small example of integrating the system I am currently working on into an asp.NET application.  Not having a windows machine handy I though I would give Mono a try.  Fortunately setting up a basic dev environment was really simple.  NOTE: this is a very basic dev environment with no IDE or frameworks installed etc, it was perfect for what I needed but may not be appropriate for full blown development. First install xsp2: sudo apt-get install mono-xsp2 then: mkdir -p ~/dotnet cd dotnet gedit Default.aspx Then paste in the following: <%     HelloWorldLabel.Text = "Hello, world!"; %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html > <head runat="server">     <title>Untitled Page</title> </head> <body>     <form id="form1" runat="server">     <div>       ...