225025 发表于 2015-12-29 13:30:53

Mono .NET Mac OS X Subvision and TeamServer/VSTS

  Mono provides the necessary software to develop and run .NET client and server applications on Linux, Solaris, Mac OS X, Windows, and Unix.Sponsored by Novell (http://www.novell.com),
the Mono open source project has an active and enthusiastic
contributing community and is positioned to become the leading choice
for development of Linux applications.

http://www.xerocc.cn/blog/wp-content/uploads/2008/04/monoarchitecture.png

Mono consists of three groups of components


[*]Core components(C# compiler, the virtual machine, and the base class libraries)
[*]Mono/Linux/GNOME development stack(Gtk#,
Mozilla libraries for layout, Unix integration libraries, database
connectivity libraries, a security stack, and the XML schema language RelaxNG.)
[*]Microsoft compatibility stack.(ADO.NET, ASP.NET, and Windows.Forms, among others.)

Download Mono Framework for OSX(Leopard)
http://www.xerocc.cn/blog/wp-content/uploads/2008/04/monoframework.png
  Mono Develop ready for fire.
  Try to create a new multi-language web solution(ASP.NET) of .NET framework. SharpDevelop experience will power up now..
http://www.xerocc.cn/blog/wp-content/uploads/2008/04/monosolutioncreate.png

Databases or database engines supported by MONO





Database/ Engine



Namespace



Assemblies to reference with ‘-r’ option



Notes



.NET








MySQL
ByteFX.Data
System.Data.dllByteFX.Data.dll
A third-party package distributed with MONO







ODBC
System.Data.Odbc
System.Data.dll

Yes






Microsoft SQL
System.Data.SqlClient
System.Data.dll
Support for ver. 7 and 2000
Yes






Oracle
System.Data.OracleClient
System.Data.dll System.Data.OracleClient.dll

Yes






PostgreSQL
Npgsql
System.Data.dllNpgsql.dll








Firebird/ Interbase
FirebirdSql.Data.Firebird
System.Data.dllFirebirdSql.Data
.irebird.dll
A third-party package distributed with MONO







IBM DB2
IBM.Data.DB2
System.Data.dllIBM.Data.DB2.dll








OLE DB
System.Data.OleDb
System.Data.dll
Using Gnome DB, i.e., Access
Yes






SQL Lite
Mono.Data.SqlliteClient
System.Data.dllMono.Data.
SqliteClient.dll
Embeddable SQL database engine







Sybase
Mono.Data.SybaseClient
System.Data.dll Mono.Data.SybaseClient.dll




http://www.xerocc.cn/blog/wp-content/uploads/2008/04/monodevide.png

SQL client source code

using System;

using System.Data;

using System.Data.SqlClient;



namespace SQLClient{

class sqlclient{



static void Main(string[] args){

SqlConnection conn;

conn = new SqlConnection();

conn.ConnectionString =

“user id=sa;data source=192.168.89.176;” +

“persist security info=False;

initial catalog=MONOTest”;



SqlCommand sel = new SqlCommand();

sel.Connection = conn;

sel.CommandText =

“SELECT id, Name, Surname FROM people”;



SqlDataAdapter dataAdapter = new SqlDataAdapter();

dataAdapter.SelectCommand = sel;



DataSet ds = new DataSet();

dataAdapter.Fill(ds, “people”);



DataTable table = ds.Tables;

for(int row = 0; row < table.Rows.Count; row++){

System.Console.Write(“{0}:“, row+1);

for(int col = 1; col < table.Columns.Count; col++)

System.Console.Write(“{1}:{2},“,

row+1,

table.Columns.ColumnName,

table.Rows.ItemArray.ToString());

System.Console.WriteLine(““);

}

System.Console.ReadLine();

}

}
http://www.xerocc.cn/blog/wp-content/uploads/2008/04/monodevelopmentide.png

Access TFS(Team Foundation Server and) and Work Item Tracking for Mac OS X - Teampris (Download)
http://www.xerocc.cn/blog/wp-content/uploads/2008/04/teampriselogo.png
http://www.xerocc.cn/blog/wp-content/uploads/2008/04/tfsteamprisemacos.png
  The following features are implemented in the plug-in for Eclipse as well as Teamprise Explorer and work with both TS2005 and TFS2008:


[*]View existing build definitions
[*]Build Explorer
[*]Queue new builds
[*]View build report
[*]Edit Build Quality
[*]Delete build
[*]Manage Build Qualities
[*]Open Drop Folder
[*]New/Edit Build Definition
  The following features are only available against a TFS2008 server:


[*]Edit Retention Policies
[*]Keep Build
[*]Set Queue Priority
[*]Postpone Build
[*]Stop/Cancel Build
[*]Delete Build Definition
  (http://www.woodwardweb.com/teamprise/000406.html)
  MonoRail for Mac OS X is coming, hold on www.xerocc.cn ..(I am also fans of ScottGu, MVC Team by Scott Guthrie)

Some links:


[*].NET Framework/Mono Class Library Reference
[*]http://www.mono-project.com/Database_Access
[*]MONO: an alternative for the .NET framework
页: [1]
查看完整版本: Mono .NET Mac OS X Subvision and TeamServer/VSTS