Solved

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

Posted on 2007-12-04
2
255 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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

831 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