Menu

 

Sunday, January 15, 2012

Hello World (Develop MVC and C#) on Linux

Creating MVC application using C# on Linux Platform.

Prerequsite (what I have used) :-
Ubuntu(11.10)
Mono

Step 1 :-

Installing Mono from Ubuntu Update Center


Step 2 :- Selecting Compnent Required for Mono (Component Which are ticked in green )



Step 3 :- Goto DashBoard and Search for Mono


Step 4 :- Click on Mono developer



Step 5 :- Lanuching of Mono



Step 6 :- Selecting Project Type(asp.net)


Step 7 :- Selecting MVC Project


Step 8 :- Modify Code in Controller using C# as we do in Normal Windows development Enviroment


Step 8 :- Modify Html in View of MVC



Step 9 :- If you see erro (Could not load Asp.net 3.5)



Step 10 :- Go to Projects Options Under Build goto General you will see .Net 3.5

Step 11 :- Change t0 .Net 4.0



Step 12 :- Press F5 or Ctrl-F5