Understanding .NET: A Tutorial and Analysis 292
Understanding .NET: A Tutorial and Analysis | |
author | David Chappell |
pages | 288 |
publisher | Addison-Wesley |
rating | 4 |
reviewer | Benjiboo |
ISBN | 0201741628 |
summary | A summary of the .NET framework |
Firstly, this book doesn't attempt to act as a programming tutorial, and as a result is thin on code examples. Instead, the book takes a highly summative approach to the main technologies of the framework, broadly dividing them into: web services, the CLR and languages, the class library, data access, ASP.net and .NET my services.
Having said this, the central theme through the book is that of XML and web services, accurately reflecting their importance in the .net framework. It frustrates me how web services are often described as revolutionary, when built on technologies such as UDDI and WDSL which in turn are based on relatively mature technologies such as XML and HTTP. This book falls into the same trap of pandering to the hype surrounding web services, without really managing to convince me of what is so revolutionary about them.
The author dedicates a chapter to a summary of the main .NET languages, Visual Basic .NET, C#, and the managed extensions of C++. The author concludes that "Managed C++ adds even more complexity to an already complex language." Some may have reservations with this statement; garbage collection, interfaces, attributes and the managed types are only likely to result in less work for the developer even after a relatively short learning curve. The author appears to come out in favour of C# over the "more complex" Visual Basic. I would like to have seen some discussion on other .NET languages under development.
The chapter on the class libraries makes a relatively good job of summarising the massive .NET libraries. It's a fleeting overview of the most useful and interesting parts of the libraries. Remoting (remote method calls), reflection and the ubiquitous GUI libraries are just a few examples. This is one of the stronger sections of the book in my opinion, though this is coming from a developer's perspective.
There is a concise chapter on ADO .NET. The author acknowledges the fact that this is the latest in a long line of Microsoft data access libraries but fails to indicate why this one is better. The controversial .NET My Services is also detailed. The book doesn't really ponder the politics surrounding My Services, which is surprising as this element was always likely to be its downfall.
In parts, this book is overwhelmingly pro-Microsoft. In a particularly gushing moment, the author implies that COM was successful in its goals of interoperable component software, only failing to reach critical mass due to a failure by other vendors to support it. OMG's corba on the other hand was based on an incomplete standard, destined to failure due to Microsoft's decision not to support this 'doomed' standard. I would whole-heartedly disagree with this. Firstly, the distributed object technologies of CORBA are applicable to a different range of problems. Even overlooking the validity of this comparison, CORBA has seen massive support and is generally considered to be more successful than COM.
On a more positive note however, this book does provide isolated moments of insight. Some of the sidebars, for instance, tend to delve a little deeper, providing a little bit of the insight I was hoping to gain by reading this book. A brief look at the differences between MSIL and Java's VMs for instance led me to research further. Apparently future versions of SQL server are set to host a version of the .NET CLR natively, similarly to how Oracle 9i can run its own Java VM. For me, these insights go beyond the information which I could have picked up on any number of white-papers out there on the net.
In hindsight this book is perhaps too shallow, falling into the trap of using a barrage of acronyms and buzzwords without delving deep enough into any one topic. There is no mention of cross-language interoperability, and more importantly no mention of cross platform interoperability efforts -- which do exist. Also, even with a book so Microsoft oriented, I would expect to see either a distinct section, or at least more comments, on the pitfalls and barriers to takeup of the framework. A more critical and less Microsoft-centric text would for me have made this book more authoritative.
Table Of Contents
Preface
1. An Overview of .NET.
2. Web Services.
3. The Common Language Runtime.
4. .NET Languages.
5. The .NET Framework Class Library.
6. Accessing Data- ADO.NET.
7. Building Web Applications- ASP.NET.
8. .NET My Services.
Conclusion
You can purchase Understanding .NET: A Tutorial and Analysis from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.
well (Score:4, Insightful)
Re:well (Score:5, Interesting)
Re:well (Score:2, Informative)
Re:well (Score:5, Insightful)
What
Re:well (Score:4, Funny)
> won't touch
> once your in, you apparently can't get out.
Hence the name, "dot NET".
I second that... (Score:2, Insightful)
Re:well (Score:3, Insightful)
- Language Independant (although I would agree that C# seems best suited to it for me)
- Potentially Platform Independant (not yet, maybe not soon, but possible - well done to the Mono team)
- Generally runs faster than Java on Windows ('big surprise' you say - but see how Mono goes)
This isn't even mentioning the fact that developers can gather together to work on a software project using
Naturally there's barriers to such a thing actually happenning. For example, imagine reading the source code to a large project developed in such a manner: where My.Namespace.Person is written in C#, My.Namespace.BusDriver is written in J#, My.Namespace.BusinessManager is written in VB.NET and My.Namespace.HospitalityManager is written in Managed C++. In such a scenario, Person would be the base class of BusDriver and BusinessManager, and HospitalityManager would be derived from BusinessManager.
Thus to understand that relatively small section of a project (four classes!) you need to know four separate languages. Obviously, a good design will save a person from having to do such a thing. Unfortunately, good designs are hard to come by. Harder still is following a good design to the letter. Although you can argue otherwise, the fact of the matter is that we haven't yet perfected the art/science of software engineering at its current level of complexity - why make it more complex?
That said, there's nothing to stop you from developing with, for example, C# as your main language then using Python [python.net] or Perl [activestate.com] for handling complex text files.
As previously stated, so far as I'm aware there's no more 'lock-in' to
I think the biggest problem with
It's a simple concept that I feel is hard to convey. How do others feel regarding this?
Anyway I'm rambling now. Outies
Tom L
Re:well (Score:2)
Hmmm, I think that platform independence is a key characteristic of the "write once, run anywhere" (WORA) concept. In fact, I think it's the key characteristic. Java (to some degree) qualifies as WORA; .NET does not yet qualify as WORA, (mono notwithstanding). Anyone who thinks that .NET is a serious competitor to Java for WORA is either delusional or counting on something that doesn't exist yet. Of course, Microsoft has a long history of convincing people to adbandon working technologies in favor of their promised, cheaper solutions. E.G. see the roll-out of windows NT and industry reaction.
Re:well (Score:3, Informative)
--Oh really?
"- Language Independant (although I would agree that C# seems best suited to it for me)"
There are even LISP compilers for Java. If you haven't found what you are looking for, you just haven't looked hard enough.
"- Potentially Platform Independant (not yet, maybe not soon, but possible - well done to the Mono team)"
No it's not. Not as much as Java. Looking at the way MS treated Java (changing the core java.* libraries) I doubt it ever will be. You'll have to excuse me for looking at MS's track record to gauge their future conduct instead of fairy-tale hype told to managers to try to persuade them to buy.
"- Generally runs faster than Java on Windows ('big surprise' you say - but see how Mono goes)"
No it doesn't. As far as I can tell, MS really doesn't want to benchmark this at all. There have been no C# vs anything benchmarks. Not even the falsified for the public kind. There have been benchmarks of 2.5 Tier
Re:Should be named "gotCaught" instead ;-) (Score:2)
What is amazing is the number of fools who will say such things without actually bothering to look at dotNET, relying entirely on what they see others like them post on slashdot. Looks like the pointy haired boss has added in some exclamation points to liven up what would otherwise be a bald and uninteresting narrative.
C# does have some Java like features, but C# is not dotNET, it is merely one language that works on top of the CLI. The dotNET framework is not a straight clone of Java, it copies the stuff that works and tries to fix the stuff that does not work.
Given that Sun is going to sick lawyers on anyone who has the temerity to modify Java against its wishes nobody should be at all suprised that Microsoft won't support Java. So even if C# were simply a straight copy of Java today it is clear that it is going to have a different development path. Moreover unlike Sun which has repeatedly promised to put Java into an open development process and then broken that promise, Microsoft has submitted C# to ECMA.
Re:Slightly Offtopic (Score:3, Interesting)
I may not know enough about their plans, but I don't see the distribution choke point in gaming. The best bet is trying to buy the biggest game developers - which is what Microsoft appears to be trying to do - but even then, a new game developer can come out of nowhere and write a hit game for your competitor's platform. It's just so unpredictable compared to the controlled windows distribution scheme with the OEM's.
I actually think Microsoft has a better chance with the home media market with their close ties to the RIAA and MPAA due to DRM technology. The RIAA is intimately aware of the power of choke points on pricing and profit. There was never a question about whether they and Microsoft would get into bed
Chapter 1: Security (Score:5, Funny)
"Security is job one at Microsoft. Make sure you make secure programs, and don't let anyone see the source code. Access to source code results in insecurity as the viewer may find holes in your application that they can exploit."
Re:Chapter 1: Security (Score:2, Insightful)
Re:Chapter 1: Security (Score:2)
Errr (Score:5, Insightful)
ILDASM is the tool to use to disassemble an assembly, and the result is MSIL in readable form. Nothing i386 to it.
It's as much disassembling as any non-MSIL binary would produce. Has nothing to do with security.
Dave
Re:Chapter 1: Security (Score:3, Informative)
Re:Chapter 1: Security (Score:3, Insightful)
Not having access to Microsoft's source code sure prevented the script kiddies from finding all the holes they've found so far in MS products...
Funny (Score:2)
Now for Chapter 2: Squashing your competitors.
Re:Chapter 1: Security (Score:2)
It makes you wonder if these yo-yos don't even know that compiling source code just makes more software out of it.
Let me get this straight.. (Score:4, Insightful)
Hrm. MS invented the technology, there's no complete "alternative"
I'm just not sure how this couldn't help but be "Microsoft" oriented.
Re:Let me get this straight.. (Score:5, Interesting)
At any rate, this book does sound potentially useful. It's a year (two years?) since .NET was introduced and every .NET story here still has multiple +5 posts asking "Could someone finally explain what the hell .NET is?", each responded to by multiple +5 posts providing barely overlapping explanations. Good for karma, I guess, but so far the only value I've gotten from .NET is the KDE theme copying it.
Re:Let me get this straight.. (Score:3, Insightful)
How long? (Score:2)
Re:How long? (Score:2, Interesting)
I think it's just a ploy to keep the really inexperienced would-be applicants from wasting the employer's time.
Re:How long? (Score:2)
Perhaps what they're really saying is that folks who haven't been with the .NET group at Microsoft from the get go need not apply.
Re:How long? (Score:2)
But I'm glad you've kept up.
Re:Let me get this straight.. (Score:2)
That's what
Once someone does some programming on
* - just yesterday I wanted to write a small app to resize my screen, and the functions to enumerate and change display parameters aren't there. Sounds like a security-paranoid defeature to me. So
Re:Let me get this straight.. (Score:5, Insightful)
Re:Let me get this straight.. (Score:2, Insightful)
The GABBO effect. (Score:2)
Well,
Re:Let me get this straight..My Services (Score:2)
So, a poll... (Score:3, Funny)
No how long SOAP changes... (Score:5, Interesting)
To break Microsoft... actually this is EXACTLY what the next spec does. Microsoft were the only people who went for literal encoding, which is a bit naff. The next SOAP spec does away with literal and enforces the use of RPC encoding.
So actually this standards adherence stuff is already biting MS. But to compete in the enterprise space they have to adhere. Mono however is screwed.
Atticus Finch (Score:2)
read this one so many times, I am going to finally take the bait.
It is basically a true statement. You are much less likely to
get shot if you are not carrying a gun. But it is also basically
a misleading statement, designed to lead the reader to a false
conclusion, specifically, that it is therefore unwise to carry
a gun.
Firstly, if one employs a weapon, and thereby becomes a
combatant, it is because the conclusion has been made that
it is better to assume the risks of combat than to abstain.
Personal safety is not the sole and overriding human value.
In fact, it is one of the basest human values. The quote
appeals to the lowest and most primitive factors in human
nature. Defense of defenseless others is a higher value.
Secondly, it glosses the distinction between open and concealed
carry. While open carry attracts attention and may thereby
entrain combat, concealed carry does not.
I might continue, but for the press of time. I will be
satisfied at least that I have not left the deceptive qualities
of these words entirely unchallenged.
Go scream... (Score:2)
And read this book To Kill a Mockingbird [amazon.com], its a classic. The quote actually appeals to the highest principles that a man can hold. Namely peace in the face of aggression.
And the kicker is that Atticus Finch is the best shot in the whole town... go figure.
Re:So, a poll... (Score:2)
I guess I'll take the CowboyNeal option on that please.
Re:So, a poll... (Score:2)
Why do you think they haven't changed Windows to break Wine? Because they can't. That's not the way it works.
Re:So, a poll... (Score:2)
Right, Microsoft won't do that. It'll just sue.
Well, there's a chance that it's not full of crap (Score:4, Insightful)
Re:Well, there's a chance that it's not full of cr (Score:2)
You mean they were trustworthy till now ? Oh... looks like I slept too much
Re:Well, there's a chance that it's not full of cr (Score:2)
Re:Well, there's a chance that it's not full of cr (Score:3, Informative)
Re:Well, there's a chance that it's not full of cr (Score:2)
Of course Microsoft Press agreed to publish the book under the condition that the author wouldn't follow the practices that he wrote about as they certainly impact the inclusion of nifty marketroid requested features and possibly push back their product delivery dates.
writer (Score:2, Funny)
Web services (Score:5, Insightful)
Except for the minor problem that web services are not a central theme of the .NET framework. They are there, and they are well supported, but the majority of the framework would work unchanged if they didn't exist or are not used.
Author's Name (Score:2)
Attended a Tech Talk on .NET (Score:2)
Too early in the morning (Score:5, Funny)
The following is meant to be humor (Score:3, Funny)
>>...this book aims to cut through the marketing hype....
But that's all I've ever seen on
Re:The following is meant to be humor (Score:2)
If you don't understand that, go back and re-read it with a dictionary in your hand.
It's *humor*. I damn well know what
Re:The following is meant to be humor (Score:2)
So we're even
Great target market! (Score:2)
Probably nothing to users who read this site.
Re:Great target market! (Score:2)
I don't understand, why do you say that?
This is not a critique (Score:2)
.NET? (Score:2)
Comparing .NET to a musical instrument.... (Score:2)
Trouble is, for your company to benefit from it, you need board level "gut instinct" and understanding of how this technology can work for you.
Just reading a
As an analogy, let's say that the chances of your company succeeding in developing a world class information technology platform over the next 10 years were proportional to your board members ability to play the piano.
You cannot attend a seminar luncheon and learn how to play the piano. You might be able to play 3 blind mice, but that's not enough.
Understanding .NET (Score:5, Interesting)
HTH
Re:Understanding .NET (Score:2)
Re:Understanding .NET (Score:2)
Yeah, but [Pepsi] gives me indigestion. Sure, it [tastes] pretty similar to [Coke] but has all this [syntactic] sugar which seems too much like other evil things like [cough syrup]. And when I'm [drinking Coke], I don't feel as much like I'm supporting an evil scofflaw corporation that confuses innovation and litigation.
Re:Understanding .NET (Score:2)
.net (Score:2, Informative)
Re:.net (Score:3, Insightful)
revolutionary (Score:5, Funny)
Remember, revolutionary also means to go in circles.
.Net Framework Essentials (Score:3, Informative)
In a nutshell (Score:5, Insightful)
Java is language centric, platform independent.
Re:In a nutshell (Score:2)
Ximian is working on the port now it is called MONO or something like that.
Re:In a nutshell (Score:3, Informative)
Sorry but Java is actually language and platform independent, however it is not as language independent as the
Re:In a nutshell (Score:2)
Java is language centric
The java bytecode is not language centric. Programming languages for the java virtual machine. [tu-berlin.de] There are 50+ languages listed in the above link. I would bet there are many more languages currently available for the java bytecode than for the .NET bytecode.
People need to realize that .NET and the java VM are just virtual machines that run bytecode and have huge libraries associated with them. The bytecode for either VM can be generated from many different languages.
It is correct to point out that much of .NET's library is not portable while java's library is 100% portable to many different platforms.
Not quite true (Score:2)
1. The only mechanism you can use to implement closures is a class. For functional languages, which make intense use of closures, this is not good enough. The Scheme and Lisp implementations on the JVM, for instance, are substantially less performant than those based on more appropriate VMs.
2. There is no way to optimise tail recursion. Again, functional languages use tail recursion a lot.
Re:In a nutshell (Score:2)
ugh, I don't get why people compare .Net to java, why don't we compare C to J2EE while were at it?
.Net can be compared to J2EE, Java can be compared to C#. Architecture or framework is very seperate from a language utilizing that architecture or framework.
What did you expect? (Score:5, Informative)
Did you read the author's bio--even the short one on bn.com?
David Chappell is Principal of Chappell & Associates and the best-selling author of Understanding ActiveX and OLE (Microsoft Press, 1996) and Understanding Microsoft Windows 2000 Distributed Services (Microsoft Press, 2000). Through his keynotes, seminars, writing, and consulting, David helps IT professionals around the world understand, use, market, and make better decisions about enterprise software technologies.
He's been published by Microsoft, fer chrissakes. He makes a living as a consultant on MS technologies. You can't possibly expect him to be coolly objective about anything coming from Redmond.
Reading the author bio will often give you a clue about his or her technology bias, although it's no guarantee that the book will provide an objective perspective. I wouldn't expect Richard Stallman to write a wholly bias-free book about
Re:What did you expect? (Score:2)
Re:What did you expect? (Score:4, Interesting)
Well, even though even lunch was paid for by the
(Allthough he DID call Linux nothing more than a broken light instead of a real fire, but that was another session.)
But he writes mostly books about Microsoft technologies and not very deep ones at that...
I also don't agree with the reviewer's thoughts on the success of COM. COM was a successful piece of crap, but you wouldn't hear about it if you weren't in the Microsoft camp.
Dave
Re:What did you expect? (Score:2, Informative)
Built on WDSL? (Score:5, Informative)
Acronyms, acronyms... For the unitiated:
WDSL Wireless Digital Subscriber Line
WSDL Web Services Description Language
UDDI Universal Description, Discovery and Integration (not Description and Discovery Interface)
ASP Active Server Page
CLR Common Language Runtime
CORBA Common Object Request Broker Architecture
OMG Object Management Group
XML eXtensible Markup Language
MSIL Micro$oft Intermediate Language
ADO ActiveX* Data Object
.NET ?
* The correct spelling is a skull-and-crossbones character in place of the X but slashdot filters out Unicode 9760
Lots of reasons why I want .NET to fail (Score:5, Interesting)
Lots of reasons why I want
It's benefits a criminal organization. Not one that's been found guilty of crimes once or maybe twice, but lots and lots of times. Those crimes are many and varied, but here's just a few of them: Stac Electronics v. Microsoft, DOJ v. Microsoft, Sun v. Microsoft.
P.S. If you want to split hairs, Stac v. Microsoft isn't a criminal action, it's doesn't stem from a criminal abuse of their monopoly like the other two cases. Instead it was just a case of a small company being driven out of business by willful patent infringement, theft of trade secrets, etc.
Microsoft isn't just one thing anymore. It's too damn big for that. I'm sure even Bill himself knows better than to think that he truly controls the whole ship because it's become big enough that he can't possibly know all the projects, people, etc. anymore. But even a really large company still has a kind of collective personality that it exudes and a large part of the personality both internal and external to Microsoft for many years now is that of a total control freak.
If they don't own it, if they don't control it, if they didn't create it, if it doesn't have a broad stamp from Microsoft on it, then they don't want it. Sometimes it's sufficient for the thing to merely exist and they'll refuse to acknowledge it, other times they need to actively stamp it out because they can't control it.
When was the last time you can remember Microsoft saying they supported a standard? That is, not something they invented and submitted a RFC for, an actual, take it off the shelf and re-implement it without renaming it or "improving" it so it doesn't work with anybody else standard. C++? Basic? HTML? A video or audio codec? Java? Anything?
I'm sure there's something, somebody will point out their excellent support for TCP/IP or something and I'm sure that's true. But if you were to look at Microsoft as a person in your life, you'd wonder what was wrong with him or her such that so much had to be controlled by that person.
When your business is selling the operating systems that 90+% of everybody uses, software development tools should not be a profit center.
Why should I have to plunk down a couple of thousand dollars for a "universal subscription" in order to have access to compilers and basic development information? Sun doesn't have to do that? On this point I'll quote from the
Marketing. Have you been "lucky" enough to catch one of the
So they are going to pull a page out of Intel's bum-bum-buh-bum "Intel Inside" playbook and try to sell the brand like it's sneakers and cola. Trust us, you'll look cool if you use it, and we'll keep hammering the brand on TV so somebody who doesn't have much tech savvy in your organization will ask you if you are using it, or have plans to port to it, or whatever, even if he hasn't got a clue what "it" is in this case.
They don't trust you. They don't like what they can't control and they can't control you. They can try and they always will keep trying but ultimately you are going to see them keep trying to do things and always keep a step towards the door just so they can bolt if they have to. Want to see what I mean? Go visit GotDotNet sometime if you haven't already been there. It's the grassroots community website that Microsoft put up to support
Ever been to SourceForge? Of course you have, everybody has because that's one of the hubs of all open source projects. You can go there and get the source of thousands of cool open source projects and it really serves the community well. There's even hundreds of projects now that list C# among their programming languages. So why did Microsoft feel compelled to create their own GotDotNet Workspaces that is clearly just a ripoff of SourceForge?
A few reasons are fairly clear: First, at many of their workspaces you don't get in unless they know who you are. Ever been stopped at SourceForge and asked for a name and password to look at a project? What about download binaries or source? No? At GotDotNet you will, lots of projects are marked with a lock. Second, forget about all those messy licenses that Microsoft might not approve of, you don't need to worry your little head about BSD vs. GPL vs. LGPL. You've got the one true workspace license that you have to agree to, or else you won't be putting your project there. Lastly, well it's kind of obvious, but it's really all about control isn't it. After all, if you aren't under their thumb, that has to be a bad thing. So a SourceForge that they control is pretty much a requirement, isn't it?
It's a really sad way for a lot of people to waste a whole lot of time rebuilding that which already exists. Wouldn't the whole computing world be a lot better if there wasn't a team of people, maybe a couple of teams of people building complete copies of
In the end, we'll all just be left with another way to do the exact same thing only in a different language. Lord knows the world benefits now from being unable to share media between France, Germany, Italy, Spain, the US, and Japan because we can't all speak the same language. I benefit every day from the fact that I can't read a Japanese manga I might enjoy or understand a TV show from Europe. Once you are done building this tower, go build a few more right beside it using Perl, Python, and Ruby too. They're all trailing behind in certain areas, we need to make sure the same set of stuff is reinvented and rewritten for all of them too.
Re:Lots of reasons why I want .NET to fail (Score:2, Flamebait)
And the patent that was the basis of the lawsuit? Stac bought it as a pre-emptive strike against Microsoft and to protect themselves (since virtually everyone who had implemented fast compression infringed on the patent, including Stac). Stac knew this because they had illegally obtained early info from Microsoft regarding their plans for compression in the OS.
Given your total misrepresentation of the Stac case, I give the rest of your message no credibility.
I read the book, it was very useful as an overview (Score:2, Informative)
The book has "executive overview" summary sentences beside each paragraph, which are obviously aimed at, well, executives. But at the same time, the paragraphs themselves have good solid information about how the CLR works, how the libraries are structured, how VB.NET and C# are similar and where they differ, including actual code examples. It makes you aware of what pieces are out there, so when you need an encryption algorithm (for example), you know there are some standard library routines you can check out before coding one from scratch.
Don't get the book if all you want is a C# reference (get the O'Reilly book for that). As a matter of fact, don't get the book if you want a really in-depth discussion of any particular part.
*DO* get the book (or borrow it from the library, like I did) if you want to know more about the whole
Yawn.... (Score:2)
If you can't figure out what
So there. Now we got that out of the way, can we discuss the review instead of the crippleness of MS' marketing-droids? thanks.
Ya (Score:2)
Re:How many languages? (Score:3, Informative)
Re:How many languages? (Score:2, Interesting)
The executable code is actually generated on demand on the server side by a just-in-time compiler using the
The implications of this structure were that there are no longer any advantages to be gained over coding in C# instead of VB because both compile the same intermediate code from Visual Studio. What could only be done in C# can now be done in VB.
The presenter said (almost an exact quote here): "In the past, programmers said, 'I'm a C guy,' or 'I'm a VB guy.' Now that
Re:How many languages? (Score:3, Insightful)
Of course, you have the minor language features (not used most of the time) like "safe" pointers that makes C# nice to have as well.
So allthough the languages are a lot closer than ever, they still are different languages, and the differences do go beyong curly braces and verbose declarations.
Re:How many languages? (Score:2)
I've found that to be one of the most useful programming features ever.
Re:How many languages? (Score:5, Informative)
Re:How many languages? (Score:4, Informative)
Re:How many languages? (Score:4, Interesting)
Re:How many languages? (Score:2, Informative)
ASP is NOT a language. ASP is a framework for writing web applications. You can write ASP pages in any of the
ASP has never been a language... even before
Re:How many languages? (Score:2)
This is true.
I'm primarily a Java programmer, so I should be forgiven for that blunder. Well, except that right at this particular point in time, I happen to be doing some enhancements on our intranet using ASP (the pre-.NET VB form of it).
:)
Oops.
Re:How many languages? (Score:5, Informative)
The
ASP.net is almost a container to these languages - it highlights a few different classes of the
With
With Perl you learn Perl's syntax and grammer and learn your way around CPAN, with Python you learn Python's syntax and grammer and learn it's framework. Same with other sets of libraries and frameworks.
Re:How many languages? (Score:2, Informative)
The reason there can be more than one language is that each language is compiled to a "Common Language Runtime". Really, there's just that one language, and I suppose if you were insane you could program straight tokenized CLR. But, since each language uses the same framework, it is usually fairly easy to translate between them, if you know the basic syntax.
The benefit of
Re:How many languages? (Score:2)
Re:How many languages? (Score:2)
ASP and VB are the basically the same thing.
When you are writing ASP.NET you can either use VB.NET or C# or both. It is your choice. You do not need to learn both.
Re:So Why .NET? (Score:5, Informative)
ASP.NET makes it easier on developers as well. Traditional ASP, otherwise known as "Spagetti code" was all intermixed with HTML. Now you can write your scripts in a separate file and have your controls reference the code. Also there is a whole ASP.NET community, kind of like open source, which develops controls that you plug into your VS.NET and then are able to take advantage of this new functionality by dragging the control onto your page and setting some properties.
I am still in the "learning curve" of
Re:So Why .NET? (Score:2)
Finally, if you need to be convinced, then by all means, stay away from it. Contrary to popular belief, Microsoft is not forcing you to use .NET. So do everyone a favor and just ignore it.
Re:So Why .NET? (Score:2)
1) A way to write Windows/desktop apps sanely and
2) Competition to J2EE.
Number 1 is imo more important than 2 to MS. You may not know, but writing apps to the raw Win32 APIs is a recipe for insanity. I've done a bit of work on Wine (and hope to do more in future) and the braindamages of that API is incredible. So, .NET is a chance for them to clean things up a lot, for the large number of Windows only apps out there. All this web services garbage is just hype they're churning out.
Re:Confused (Score:2, Informative)
As far as why you should care about XML, .NET, etc., the goal (regardless of whether you think Microsoft helped move towards this goal) is to have programs that can interact with each other. Sure, XML is verbose, but it just might save me some time and heartache when I'm trying to parse through your data that's in a flat text file, or worse yet, locked up as a binary file inside your proprietary database.
Re:Poll: Alternatives? (Score:2)
Not Delphi.NET, SideWinder! (Score:2)
Re:Let's .NOT feed the beast.. -1, Zealot (Score:2, Insightful)
Last time I checked, you were allowed to use Microsoft products AND read Slashdot....
It's comments like these that frighten average people away from Linux. The 'RTFM' and 'Bomb Redmond' attitudes have got to go, or Linux will rot. Linux-nazis are probably more harmful to the promotion of Linux than any of it's technical deficiencies. Don't get me wrong, I love the idea of Linux, and it's come a long way, but the aggressive power trip of some linux zealots makes being a linux newbie really suck.