Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I started developing websites using PHP. I have read many times that PHP is free and open source which is an advantage over ASP.net.

However, due to my current job requirements, I had to switch to ASP.net which is pretty good. Now after developing few applications, I am wondering how can I publish them for free. As PHP is free and opensource, it was never an issue for me.

What's bothering me is this.

Suppose I developed a web application using Visual Studio Express (or Professional version or any other version)

  • Do I need any special permission/license from Microsoft to host my application on Internet
  • If I create a desktop application and want to distribute it for free on internet, is any license required.

  • If no, then what are microsoft licenses all about and how is PHP free and ASP is not free

Thanks!

share|improve this question

1 Answer 1

up vote 2 down vote accepted

You are not authorized to distribute (as well as sell, decompile, etc.) Visual Studio itself. This doesn't apply to applications you create with Visual Studio. Those can be licensed under very permissive licenses, like Microsoft Public License (MS-PL), BSD, etc.

The same is true for ASP.NET (note that .NET Framework source code is available from Microsoft publicly, but is copyrighted).

ASP.NET MVC is licensed under Apache License 2.0, so it's a different stuff.

If no, then what are microsoft licenses all about and how is PHP free and ASP is not free

Politics.

If you want a more serious answer:

  • PHP is said free because you can easily setup a free LAMP stack without paying anything to anyone,

  • ASP.NET (because you're talking about ASP.NET, not ASP, are you?) reasonably requires Windows, which is a copyrighted, closed-source application. Proponents of Microsoft would say that Mono exists, but there are no well-known cases of easy industrial-scale deployment of web applications with Mono on Linux.

Free, here, is not about licenses, but about how much do you pay for software in order to deploy a web application to a server. This doesn't take in account neither the cost of hardware, nor the salary of a DBA.

share|improve this answer
    
This is the answer I was looking for. Many Thanks! Just one more thing, If my web-hosting provider supports ASP.net application(most of them say they do) then I will automatically by-pass all other costs such as OS cost etc?? and what about desktop applications, Am I free to distribute the setup of the application I developed over internet? –  imvarunkmr Apr 4 '13 at 8:09
1  
Exactly, the cost of creating an ASP.net application comes from buying visual studio & purchasing hosting (which historically was more expensive than PHP hosting - but that's not the case anymore). There are no further costs regarding distributing your app other than the initial IDE cost and hosting costs. –  Ryan McDonough Apr 4 '13 at 9:06
    
Note, however, that many web hosts charge more for a windows machine than for an equivalent linux machine. This is especially true in the case of cloud hosting. –  Brian Apr 4 '13 at 12:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.