Blue Theme Orange Theme Green Theme Red Theme
 
MindFusion's Components
Home | Forums | Videos | Photos | Downloads | Blogs | E-Books | Interviews | Jobs | Beginners | Training
 | Consulting  
Submit an Article Submit a Blog 
 Login Close
User Id:
Password:
 
Forgot Password
Forgot Username
Why Register
 Jump to
Skip Navigation Links
TechnologyExpand Technology
WebsiteExpand Website
World Class ASP.NET Hosting - 3 Month Free Hosting, Click Here!
 Resources  
Close
 Our Network  
Close
Search :       Advanced Search »
Home » Project Management » A Programmer's Guide to Starting a Software Company and Building an Enterprise Application - Article 2

A Programmer's Guide to Starting a Software Company and Building an Enterprise Application - Article 2

This is the second in a series of columns in which I will tell you how I started SplendidCRM Software, Inc.

Technologies: ASP.NET 2.0,Visual C# .NET
Total downloads :
Total page views :  4981
Rating :
 5/5
This article has been rated :  2 times
   Print Read/Post comments Post a comment  Rate  
   Email to a friend  Bookmark  Similar Articles  Author's other articles  
 
Become a Sponsor




A Programmer's Guide to Starting a Software Company and Building an Enterprise Application


This is the second in a series of columns in which I will tell you how I started SplendidCRM Software, Inc. I hope that my entrepreneurial experience will inspire you. In my opinion, the creation of a company can be a wonderful adventure.

Article 2


What does it take to start a company? It takes an idea for a product or service; it takes a programmer (that means you); it takes a computer (you already have one); and it takes some sort of development tools (which you can get for free from Microsoft). But the real point is that starting a company means that you have to start doing something.

Don't bog yourself down with the legalities of the startup process. You don't need a lawyer or an accountant to start a company. You don't even need a name for your company. All you need is the program idea and the hope or desire that it will eventually turn a profit.

I started writing the application that would eventually become SplendidCRM one year before SplendidCRM Software, Inc. was incorporated. I did not incorporate until I reached a point where I believed that I had something unique and marketable. It may seem odd to use the word unique when I have previously established that my product is intended to be visually identical to another product. The point is that my version was an independent creation that targeted developers who had entirely different platform preferences.

If you recall from my first article, I started SplendidCRM by re-implementing an existing open-source application, SugarCRM. The deeper I got into the project, the more I realized that I was creating a better CRM. My implementation was faster; easier to customize; and took fewer man-hours to develop. I finally reached a point where I realized that "I can sell this". At this point, I created a corporation.

The beauty of open-source is that the whole movement is based on inspiring others to contribute, which is a deliberately broad and vague statement. While some may suggest that you must contribute to the same project only by using the same language tools, this suggestion is incorrect. Judging by the number of downloads of SplendidCRM, I believe that my contributions are appreciated.

The funny thing about re-implementing a LAMP-based -- which stands for Linux+Apache+MySQL+PHP -- product in .NET is that the resulting application can run on Linux. While some may claim that a .NET application is "locked" into running on Windows, I had no problem running SplendidCRM on SUSE Linux.

From my first article in this series, I received a few polite comments that the transition from business to programming was rather abrupt. Therefore, let these few sentences prepare you to learn about what it took to get SplendidCRM to run on Linux using Mono. Also, in a token effort to ease this preparation, I am going to start the next section with references to classic literature.

A Tale of Two Operating Systems


It was a dark and stormy night when I decided that I wanted to run SplendidCRM on Linux. If you are a .NET developer, you already know about Mono. Mono is a cross-platform, open-source .NET development framework that allows you to run your .NET application on Linux or Mac. I've been following the progress of Mono for many years and have been consistently impressed with the progress and accomplishments of the Mono developers. The goal of SplendidCRM is analogous to the goal of Mono. Whereas the goal of SplendidCRM is to take a Linux application and to re-implement it for the Microsoft crowd, the goal of Mono is to re-implement the entire .NET framework to run on non-Windows operating systems, which primarily means Linux or MacOS. To find out more about Mono, please visit http://www.mono-project.com.

What does it take to run an ASP.NET application on Linux using Mono? The answer is: not much. If your application is 100% managed code, chances are that your application will run unmodified on Linux. Some of the newer features of .NET 3.0, such as Windows Workflow, Windows Communications and Windows Presentation are not supported in Mono 2.4; therefore, be warned.

SplendidCRM was first tweaked to run on Mono in July 2006; the original effort took 5 hours. Three years ago, I had to create my own VisualBasic class to support some simple things such as ControlChars.CrLf, or Information.IsDate. While this took very little effort, it is no longer necessary today.
One area that required a fair amount of effort had to do with the differences between the file systems of the two operating systems. Linux uses a different slash than Windows, so I had to make certain to use Path.Combine() to build paths instead of doing it by hand. Also, file names are case-significant on Linux, so I had to make certain that all references to files matched the file names. For example, on Linux Default.aspx is not the same as default.aspx.

There were a few other small issues, such as the fact that I could not set the CurrentCulture.NumberFormat.CurrencySymbol directly on Mono as it is read-only. The solution was to simply clone the culture and modify the clone. The same was true for the CurrentCulture.NumberFormat.CurrencyDecimalSeparator. Of course, if you are not developing a CRM, then you probably will not be creating an internationalized application, so you will not need to override the currency symbol or separator.

An interesting side-effect of being familiar with Mono was that I was able to leverage some of the Cryptography code from the Mono source code to manage certificates used by Amazon Web Services. AWS requires the use of X509 certificates. While one would think that Microsoft's own framework would provide the ability to work with public and private keys, this is one area where they are lacking. However, by leveraging the Mono source code, I was able to easily convert the Amazon PEM keys directly to the required PKCS12 certificate, without first saving it as a file and without using the OpenSSL tools. The PayPal Service API has a similar requirement with respect to the need to create a PKCS12 certificate.

The conclusion that I hope that you will take away is that adopting .NET does not lock you into Microsoft. There are options to run .NET elsewhere, and Mono is the best option today. In fact, I would go so far as to say that I was able to achieve the "write once, run anywhere" promise that was once Java's reason for being. And, the more platforms that you run on, the higher the potential sales.

I hope that you have enjoyed this second article in the series. Please watch for article 3 within the next two weeks.


Login to add your contents and source code to this article
 [Top] Rate this article
 About the author
 
Paul Rony
Paul Rony is the founder and architect of SplendidCRM.
Looking for C# Consulting?
C# Consulting is founded in 2002 by the founders of C# Corner. Unlike a traditional consulting company, our consultants are well-known experts in .NET and many of them are MVPs, authors, and trainers. We specialize in Microsoft .NET development and utilize Agile Development and Extreme Programming practices to provide fast pace quick turnaround results. Our software development model is a mix of Agile Development, traditional SDLC, and Waterfall models.
Click here to learn more about C# Consulting.
 
Introducing MaxV - one click. infinite control. Hyper-V Hosting from MaximumASP.
Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
Dynamic PDF
ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications.
Go.NET
Build custom interactive diagrams, network, workflow editors, flowcharts, or software design tools. Includes many predefined kinds of nodes, links, and basic shapes. Supports layers, scrolling, zooming, selection, drag-and-drop, clipboard, in-place editing, tooltips, grids, printing, overview window, palette. 100% implemented in C# as a managed .NET Control. Document/View/Tool architecture with many properties&events. Optional automatic layout.
Dundas Software
Dundas Chart for .NET is the most advanced .NET charting package available today.  With an extremely complete feature set, elegant architecture and easy implementation, Dundas Chart can quickly add advanced Charting functionality to enhance and transform ASP.NET and Windows Forms applications.  Whether you are implementing charting into internal projects, or building applications for clients, Dundas Chart offers advanced technology and advanced results to get the most out of data.
Clickatell's SMS Gateway
Clickatell's Developer Solutions allow you to SMS enable any website or application via a range of API's. Learn More about our API connections.
Free access to .NET Memory Management video
Everything you need to know about Garbage Collection, Temporary Objects, Fragmentation, Finalization and common causes of memory leaks in .NET. Watch the video here.
Microsoft Visual Studio 2010
Microsoft Visual Studio 2010 offers more to developers than any other Visual Studio release. Work more productively and collaboratively-with greater control over your work at every step. The Beta 2 can give you a head start on achieving efficiency.
 
   Print Read/Post comments Post a comment  Rate  
   Email to a friend  Bookmark  Similar Articles  Author's other articles  
 
 Post a Feedback, Comment, or Question about this article
Subject:  
Comment:  
Powerful ASP.NET Hosting w/ NO Setup Fees. Click Here!
Become a Sponsor
 Comments

 Hosted by MaximumASP  |  Found a broken link?  |  Contact Us  |  Terms & conditions  |  Privacy Policy  |  Site Map  |  Suggest an Idea  |  Media Kit
Current Version: 5.2009.6.2
 © 1999 - 2009  Mindcracker LLC. All Rights Reserved