473,387 Members | 1,549 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

C# programming for web and application -- differences?

Hi all,

I'm just starting to learn C# so I can write asp.net framework
applications for Sharepoint Portal Server, and I was wondering what the
major difference is between this is?

For example, Microsoft has some tutorials for C# showing how to create
standard toolbars with Open, Save, Copy, Paste, etc, but I assume this
won't carry over to a asp.net application. So is there a Do's and
Don'ts for C# programming for web showing what programming abilities
don't carry over?

Thanks ---

Sam

Nov 17 '05 #1
2 1235
Sam,

The models are extremely different, to say the least. There is a good
deal of work that has to be done to get around the stateless nature of the
HTTP protocol.

There should be sample applications specific to ASP.NET as well. I
recommend you look at those first, as they will be more pertinent to what
you are trying to do.
"Alex" <sa*****@gmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
Hi all,

I'm just starting to learn C# so I can write asp.net framework
applications for Sharepoint Portal Server, and I was wondering what the
major difference is between this is?

For example, Microsoft has some tutorials for C# showing how to create
standard toolbars with Open, Save, Copy, Paste, etc, but I assume this
won't carry over to a asp.net application. So is there a Do's and
Don'ts for C# programming for web showing what programming abilities
don't carry over?

Thanks ---

Sam

Nov 17 '05 #2
There's a whole world of difference between writing desktop applications and
web applications. Web applications use stateless HTTP messaging, which means
that there is no continuity of memory between client and server. They are
network, multi-user applications. The interface is HTML, which is pure text,
interpreted by the browser. ASP.Net relies on a complex set of procedures
that incorporate elements of HTML and JavaScript on the client side, and IIS
services and the ASP.Net process on the server side, as well as
characteristics of the HTTP protocol on both sides, to provide an illusion
of continuity and memory between Page requests. But these present
limitations and conditions that must be understood and dealt with. For
example, the server side has no way to know when the client has navigated
away from the web site. It simply drops the Session memory for a client
after a period of inactivity. It takes a lot of education, and a good
measure of persistence to master.

As for SharePoint, well, that's ASP.Net with an incredibly complex layer of
extra complexity added on top of it. SharePoint webs are not even stored in
files for the most part, but in SQL Server databases. It incorporates a
sophisticated set of web and database services to do things like enabling
collaboration between users, editing of non-web documents, such as Word
files, by client users, versioning, and much more.

You've got your work cut out for you!

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.

"Alex" <sa*****@gmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
Hi all,

I'm just starting to learn C# so I can write asp.net framework
applications for Sharepoint Portal Server, and I was wondering what the
major difference is between this is?

For example, Microsoft has some tutorials for C# showing how to create
standard toolbars with Open, Save, Copy, Paste, etc, but I assume this
won't carry over to a asp.net application. So is there a Do's and
Don'ts for C# programming for web showing what programming abilities
don't carry over?

Thanks ---

Sam

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Carlos Ribeiro | last post by:
Hi, A friend of mine passed me some links about a great concept (not new in fact, only new to me): -- http://www.jpaulmorrison.com/fbp/ -- http://c2.com/cgi/wiki?FlowBasedProgramming I...
13
by: Karl | last post by:
Hi all, I used to be a Delphi progammer and swithed to C# recently. I know c# is a pure OOP language. But my main goal is developing database application. In delphi, I could put some...
18
by: Frankie | last post by:
I have been hired to go to a former client of mine and train their staff programmers on ASP.NET. These guys have only Mainframe, MS Access, SQL Server, and VB6 desktop application development...
27
by: Josh | last post by:
We have a program written in VB6 (over 100,000 lines of code and 230 UI screens) that we want to get out of VB and into a better language. The program is over 10 years old and has already been...
4
by: Volker Hetzer | last post by:
Hi! After messing around for some time with Tcl/Tk and VBScript, we've finally reached the point where we need to put some speed into our applications. So, our typical application looks like...
4
by: da404LewZer | last post by:
i'm starting a programming wiki so we have a one stop place to find source code for all languages. if anyone would like to help check out http://www.coderwiki.com/wiki thanks!
38
by: ifti_crazy | last post by:
I am VB6 programmer and wants to start new programming language but i am unable to deciced. i have read about Python, Ruby and Visual C++. but i want to go through with GUI based programming...
17
Banfa
by: Banfa | last post by:
I felt that this was a good point to start a tutorial on C/C++ programming because clearly we need to have some idea of what we are trying to achieve before we start out. I recently found this...
3
by: Anand | last post by:
Dear All, I have to create one application software using VC++ for Windows socket. I have to use UDP protocol here. What can I do? If any body could guide us I would be pleased to them. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.