Solved

Conecptual question: UNderstanding C# vs. C# + .NET

Posted on 2007-12-04
2
231 Views
Last Modified: 2010-04-15
I tried Java and used it to write desktop apps and compile them. People shouted your mad. See, I just did not get how to get my app on the web? Brain void of the most major kind. Now I write C# desktop apps for Windows with the goal of having them online (i.e. some trendy name like Saap, Web Service, Online tool, etc...). Can someone tell me will I be writing my C# desktop app and clicking the publish to web button as in my dreams? Or.. is it another Java flashback.. the code is different the interface is all wrong and nothing makes sense again... :)

Karl66
0
Comment
Question by:Karl66
2 Comments
 
LVL 29

Accepted Solution

by:
anarki_jimbel earned 250 total points
Comment Utility
OK, basicly there are desctop applications and web applications. Two different things. If yoiu want to write ASP application or , e.g., web service, it is something different from desctop application. These applications may work together but they are different in some a way. In Java and in C# you may create any types: web applications, services desctopp etc.
C# and C# .Net are the same notions. C# language does not exist separately from .Net platform.
0
 
LVL 7

Assisted Solution

by:badbearontour
badbearontour earned 250 total points
Comment Utility
Hi

Your dreams will not come true in this case.....

THe commonality between web and windows application in c# are that they both make use of the .net framework.
The interfaces behave differently between them though. However if you write your application code correctly maybe using some of the many published patterns and practices then you will be able to port your app between the web and windows much more easily.

In particular, I would emphasise that yuo should keep all your data access and business objects/rules in separate classes from both each other and the GUI. That way you will be able to simply skin the GUI onto the web or windows platform, keeping the business logic / dataaccess the same between the 2 platforms.

Heres a good starting point http://msdn2.microsoft.com/en-gb/practices/default.aspx

and if you google patterns and practices then you get lots of help on how to think about your apps.

Remember thats theres no difference between the C# for windows and for ASP.Net. The only difference is that one delivers to the desktop and the other delivers via the web browser.

Hope that helps you

BB

0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now