win form or web form?

Hi all friends!
I need to know differences between win forms and web forms!my friend told me that web forms are more
usefull,and they have more properties specially
about authentication !!!
so which form is usefull,more properties ...
i want to write program in my local computer...
so or c# windows application!

Who is Participating?
CJ_SConnect With a Mentor Commented:
Your friend is wrong and right at the same time.

Win forms:
you know those. They are plain applications which run at the client.

Web forms:
those are generated and coming from the web. Basically they are HTML pages.

If you write a C# application the end user needs the .net runtime library and some operating system users just cannot use your application.

An application can be accessed by anybody. This is like a webpage which you retrieve on the internet and will work for all users (assuming they have a good browser). Since this application runs on the server and sends it's pages to the client this brings security to the mind, since you may not want all users to connect with your application. So you will need to write additional code for this or make settings to Internet Information Services (which is also needed for an application).

Security can also be an issue for windows applications but that depends totally on your design.

Web forms are all about writing web applications.  Apps that run on an IIS server and are rendered in a browser.  If you're interested in a web app that you and others (multi-user) can run, then this is the way to go.

WinForms is a windows client application.  This is the typical app that you could write with VC++ and VB in previous versions of Visual Studio.  If you're just writing a single user client application, this is your best bet.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.