Solved

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

Posted on 2007-12-04
2
248 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
ID: 20409014
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
ID: 20409732
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Error when loading the database 16 58
VB.Net How to Exit Sub - Exit Form??? 5 51
Error on link 14 40
Code works but it's slow 24 47
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

19 Experts available now in Live!

Get 1:1 Help Now