Building Intelligent .NET Applications
Scott Forsyth writes "'Building Intelligent .NET Applications' is an excellent primer book into the world of Artificial Intelligence (AI) in the business world, specifically related to Microsoft technologies. It is an introduction to the world of Artificial Intelligence (AI) for .NET programmers. It is the first book I have seen that shows professional .NET developers how to incorporate AI into their daily programming. In this accessible guide, developers learn how to enhance new and existing .NET applications with intelligent agents, data mining, rule-based systems, and speech processing." Read the rest of Scott's review.
Building Intelligent .NET Applications
author
Sara Morgan Rea
pages
269
publisher
Addison Wesley
rating
reviewer
Scott Forsyth
ISBN
0-321-24626-8
summary
An excellent primer book into the world of Artificial Intelligence (AI) in the business world, specifically related to Microsoft technologies.
Sara dives quite deep into four different branches of the vast world of AI with a great balance of conceptual theory, code samples and real world scenarios. She leads the reader though the complete process of obtaining the technologies to full implication with complete code. Both Visual Basic.Net and C# can be downloaded online while the book gives all examples in Visual Basic.Net.
Sara explores four of the most popular AI technologies by building real-world sample applications that readers can use as the basis for their own applications. Some of the more interesting portions include; Applications that talk-critical for companies seeking to automate their call centers, Speech-enabled mobile applications, Multimodal speech applications, Data-mining predictions, which uncover trends and patterns in large quantities of data, Rule-based programming for applications that can be more reactive to their environments, Multiple software agents that are able to keep remote users up to date and sample applications for Windows and the Web.
The book starts out with a one chapter overview called "Instruction" which is exactly that. It introduces the reader to Business Artificial Intelligence and lays the groundwork for the rest of the book. Immediately in chapter two the book dives into Microsoft Speech Server which is the first of four main technologies that are covered in this book. Microsoft Speech Server is covered until Chapter 5 when the book dives into Data-Mining predictions. Chapter 7 gets into Rule-based systems and Chapter 8 into building Agents.
Chapter 9 finishes off the book with an excellent overview of Artificial Intelligence. In fact, for an overview of AI and Microsoft's investment into it now and in the near future, the final chapter of the book was my favorite. Sara painted an exciting picture of what is in store, as well as opening my eyes to things that exist already. AI isn't a thing of the distant future; in fact there is an exciting array of mature technologies in use and available today.
Personally I felt that Chapter 9 would have made a better introduction chapter. I didn't feel that Artificial Intelligent or Business AI was covered in much depth in the first chapter of the book. By the time chapter 2 dove in deep into the first branch of the four topics, I still had some unanswered overview questions in my mind. After reading Chapter 9 though, the need I felt for more general information was met.
Now with Microsoft Speech server, applications that can talk and interact intelligently with a user is not only possible, it's relatively easy and affordable, even for the small business. Developers can create powerful, intelligent applications that are specific to their business. You can create fully database-driven talking applications that understand speech, talk back (not like a rebellious 15-year-old) and respond differently to each unique situation. This can be used for a telephone application, someone sitting in front of a dumb terminal with audio capability or for a fully configured computer application. Dream big, the options are endless, the solutions are within reach.
Running reports against data has been common for decades, but consider intelligent agents that will dig, analyze, determine a new direction to dig by itself, and return relevant patterns and trends in the data that were never discovered before. Sara covers this very topic with theory, code examples, scenarios and clear and precise explanations.
Agents that self perpetuate, learn their new environment and respond accordingly are the way of the future. The most obvious and painfully in-your-face examples are malicious worms and spyware applications. Worms lodge themselves in an environment, take advantage of their new home by finding important information like a list of emails addresses, and then they spread automatically, continuing this vicious cycle. Spyware agents also install themselves in an environment and start interacting with it to get information to send back to their creator. Now, consider the endless possibilities where Agents can be used for good, and are in use today. The author covers this very topic.
I wouldn't say this book is a general overview of Business Intelligent Design, but rather a specific look at four major technologies and a few minor technologies. The Microsoft products covered are Microsoft Visual Studio.Net, Microsoft Speech Server and SASDK, Microsoft SQL Server, Online Analytical Processing (OLAP), BizTalk Server, Microsoft Agent, Background Intelligent Transfer Service (BITS) and I'm sure a couple other smaller technologies that I didn't list. In addition to these, Sara briefly covers SQL Server 2005, Analysis Services 2005, and Longhorn with Avalon, Indigo, and WinFS.
One of the characteristics of a good technical book is making the complex subjects sound simple. The author has done a tremendous job of that in this book. The range of topics that she covers at first glance seems complex, but at no point does she leave the reader overwhelmed. At the same time she doesn't over explain or drag on needlessly.
This book is about the IA (Intelligent Applications) part of AI (Artificial Intelligence). It focuses on Microsoft solutions for Speech solutions, Agents, Data Mining and Rule-Based Systems, and does a great job of it."
You can purchase Building Intelligent .NET Applications from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.
Sara dives quite deep into four different branches of the vast world of AI with a great balance of conceptual theory, code samples and real world scenarios. She leads the reader though the complete process of obtaining the technologies to full implication with complete code. Both Visual Basic.Net and C# can be downloaded online while the book gives all examples in Visual Basic.Net.
Sara explores four of the most popular AI technologies by building real-world sample applications that readers can use as the basis for their own applications. Some of the more interesting portions include; Applications that talk-critical for companies seeking to automate their call centers, Speech-enabled mobile applications, Multimodal speech applications, Data-mining predictions, which uncover trends and patterns in large quantities of data, Rule-based programming for applications that can be more reactive to their environments, Multiple software agents that are able to keep remote users up to date and sample applications for Windows and the Web.
The book starts out with a one chapter overview called "Instruction" which is exactly that. It introduces the reader to Business Artificial Intelligence and lays the groundwork for the rest of the book. Immediately in chapter two the book dives into Microsoft Speech Server which is the first of four main technologies that are covered in this book. Microsoft Speech Server is covered until Chapter 5 when the book dives into Data-Mining predictions. Chapter 7 gets into Rule-based systems and Chapter 8 into building Agents.
Chapter 9 finishes off the book with an excellent overview of Artificial Intelligence. In fact, for an overview of AI and Microsoft's investment into it now and in the near future, the final chapter of the book was my favorite. Sara painted an exciting picture of what is in store, as well as opening my eyes to things that exist already. AI isn't a thing of the distant future; in fact there is an exciting array of mature technologies in use and available today.
Personally I felt that Chapter 9 would have made a better introduction chapter. I didn't feel that Artificial Intelligent or Business AI was covered in much depth in the first chapter of the book. By the time chapter 2 dove in deep into the first branch of the four topics, I still had some unanswered overview questions in my mind. After reading Chapter 9 though, the need I felt for more general information was met.
Now with Microsoft Speech server, applications that can talk and interact intelligently with a user is not only possible, it's relatively easy and affordable, even for the small business. Developers can create powerful, intelligent applications that are specific to their business. You can create fully database-driven talking applications that understand speech, talk back (not like a rebellious 15-year-old) and respond differently to each unique situation. This can be used for a telephone application, someone sitting in front of a dumb terminal with audio capability or for a fully configured computer application. Dream big, the options are endless, the solutions are within reach.
Running reports against data has been common for decades, but consider intelligent agents that will dig, analyze, determine a new direction to dig by itself, and return relevant patterns and trends in the data that were never discovered before. Sara covers this very topic with theory, code examples, scenarios and clear and precise explanations.
Agents that self perpetuate, learn their new environment and respond accordingly are the way of the future. The most obvious and painfully in-your-face examples are malicious worms and spyware applications. Worms lodge themselves in an environment, take advantage of their new home by finding important information like a list of emails addresses, and then they spread automatically, continuing this vicious cycle. Spyware agents also install themselves in an environment and start interacting with it to get information to send back to their creator. Now, consider the endless possibilities where Agents can be used for good, and are in use today. The author covers this very topic.
I wouldn't say this book is a general overview of Business Intelligent Design, but rather a specific look at four major technologies and a few minor technologies. The Microsoft products covered are Microsoft Visual Studio.Net, Microsoft Speech Server and SASDK, Microsoft SQL Server, Online Analytical Processing (OLAP), BizTalk Server, Microsoft Agent, Background Intelligent Transfer Service (BITS) and I'm sure a couple other smaller technologies that I didn't list. In addition to these, Sara briefly covers SQL Server 2005, Analysis Services 2005, and Longhorn with Avalon, Indigo, and WinFS.
One of the characteristics of a good technical book is making the complex subjects sound simple. The author has done a tremendous job of that in this book. The range of topics that she covers at first glance seems complex, but at no point does she leave the reader overwhelmed. At the same time she doesn't over explain or drag on needlessly.
This book is about the IA (Intelligent Applications) part of AI (Artificial Intelligence). It focuses on Microsoft solutions for Speech solutions, Agents, Data Mining and Rule-Based Systems, and does a great job of it."
You can purchase Building Intelligent .NET Applications from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.
...If this topic isn't a trollfest waiting to happen, I don't know what is.
In Soviet Russia, Chuck Norris will still kick your ass.
Because as we all know, AI isn't about theory, it's about implementation.
For my next trick, I'll write a book that shows professional .NET developers how to incorporate sorting technology into their daily programming.
Chapter 1: The Bubble Sort
... .NET Still Ain't Making It Any Faster Or Better
Chapter 2: The Insertion Sort
Chapter nlog(n): Why Coding It In
I work as a business systems analyst, and I'm curious: how exactly does the data mining functionality described here compare with what would be available using a J2EE/Websphere environment?
.Net to support AI initiatives?
Did M$ create some libraries specifically to support AI-esque functions, or is this book specifically about how to use
What's next? Writing easy-to-read Perl programs?
Being a .Net developer I was hoping for some decent conversation about this book and different ideas about design.
/. so all that is here is FUD and trolls.
.Net development, I'd be all for it though!
Unfortunately, this is
If someone would actually enjoy a conversation about data abstraction, business application development, and advanced theory in
-Rick
"Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
.. detect dupes?
Seriously, do we really need 2 reviews of the same book? Especially on the front page?
This sig will make it clear that ANYONE can use this post for ANY purpose WITHOUT the written consent of the NFL.
It's not everyone on Slashdot, only the trolls who stick their noses up at tools they likely haven't ever tried before. I've seen the comments that say .NET is inferior or is a "toy language" because it's generally simple to put apps together quickly, as if that's some sort of negative thing. That sort of spin doesn't come from rational folks, so don't mind it.
.NET trolling is little more than babyfits thrown by fools who don't understand the value in a language like .NET for most Windows development. Sort of silly to write it off like that if you ask me.
Another poster did have a good point, though, and most of what you were talking about (data abstraction and advanced theory) along with the the general topics of AI are much better off in a more theoretical forum that isn't language-specific.
But yeah, the
This exact book was reviewed a couple of months ago on Slashdot. Based on the strength of that review I went out and purchased this book. I was really unimpressed with it. It is much less a primer on how to program "AI" types of apps with .NET, and much more a manual of how to use Microsoft applications like their speech services and data mining. I do .NET for a living, which is to say that I am probably not an expert but am proficient. This book was not really aimed at .NET programming. It was aimed at "look at these cool MS apps" and "here is how to right click to enable data cubes". This book was really sub-par compared to many of the other tech books I have purchased in general. This is not to troll or to be flamebait; IMHO this book just is not very good and I have to wonder why it keeps being posted here.
Great ideas often receive violent opposition from mediocre minds. - Albert Einstein
Is its first sentient action to rewrite itself in another language?
I am interested in how MS Speech Server works, is it hard to program against?
I've played with this out of curiousity the first time about a month ago and was absolutly AMAZED! Now I'd never done any real voice recognition/voice synthisis programming before (unless you count some 1/2 assed playing around with MS Agents which I don't), so maybe it has been this easy for awhile (I really don't know) but I was floored at how easy it was.
It is more or less like developing a normal VB or C# application. If you are just doing really simple stuff, the whole damn thing can basically be done via drag-and-drop. If you need to get more advanced of course you can dig into the code (mostly XML actually) to refine stuff. Another nice this is you do all this right in the VS.NET IDE. So if you are used to that its all pretty easy.
I repeat that I've no real experience in other voice-enabled development environment so perhaps they are all this easy or others are much more powerful. As a first-timer expecting much complexity in VR work, I was completly blown away at how really trivial MS Speech Server and the related tools made it.
"reality has a well-known liberal bias" - Steven Colbert
"An Introduction to the SKY.NET API"
Hasta la vista, baby.
That's "Mr. Soulless Automaton" to you, Bub.
A .NET app is "compiled" to MSIL, the intermediate token language common to .NET (comparable to java bytecode.) Tokens can be smaller than their machine language counterparts simply because they can be used to represent more complex ideas. And, as in java, the .NET libraries are quite extensive, encapsulating lots of functionality available to your application by reference. So MSIL should theoretically be smaller than a .EXE representing the same program, meaning it's not as bloated.
But then there's the 30MB distro of the runtime engine. And it has something like a 10MB footprint on your local machine's RAM, not counting your application. So there's your bloat.
As for speed, the runtime environment is smart. When you install it, it looks around your box and says "Hey, you have an Athlon64 4000+, I have all these optimized instructions here for doing for loops, while statements, etc." So each machine has its own unique runtime environment that is optimized for its CPU, drive resources, etc. The app developer doesn't have to ship "lowest common denominator 80386 code." And he doesn't have to ship "fat binaries" to send optimized code containing the differences between Pentiums, Xeons, or Athlons. The code your machine ultimately executes is going to be very close to optimal for your equipment.
But then again, running a just-in-time compiler means that every single time your application loads up, it's going to dog it until everything's been compiled. JIT is fine for long running apps, but sucks for the transient jobs. Plus, with a giant RAM footprint comes giant amounts of swapping. No matter what you do on a box, it's always slower when it has to swap in some RAM first.
So, is .NET "bloated" or "slow"? I think that decision hinges more on your application and intended usage.
John
The only problem that I have with .Net, and mostly just VS.Net, is that it tries to do everything for you, by holding your hand, and letting you drag and drop to do everything. But, then, it doesn't hold your hand enough, and every text box ends up with a name like textbox1, or something like that. So, instead you have to remember each of the properties that you have to change for each control so that variables are named correctly, and all the proper default values are filled in. Then if all someone knows how to do is drag and drop, which is a good portion of .Net programmers, then they have no idea what to do when something goes wrong. I think that .Net is a great platform, which is very powerful when you write the code yourself. But I think that Microsoft trying to turn programming into something that anybody can do is a big mistake. Programming robust,reliable, scalable systems requires knowledge that not everybody has. I say, leave the programming up to the people that know how, and keep everyone else far, far away.
Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
ok i understand why i want that for some of the core pieces of my OS and drivers and such. but for general business apps does that actually make any sense to you? i code in .NET all the time and the apps respond instantly (or so close that i can't tell the difference anyway).
i never understand people with this attitude. everything is not a nail. i wouldn't code drivers in .NET and i wouldn't build quick business apps in C++. I used java until .NET came out and i hate to say i think the tools for .NET are just that much better. i'm not religious about either. i choose the best tool for a job. i guarantee someone who knows what they are doing in .NET can build a quick windows app way faster than in just about any other language. and no one would ever notice the speed difference.
to me .NET is the greatest example of what many (especially open source) coders just don't get.
-under the hood .NET and java are almost identical. .net only windows. .net development environment costs a lot, java can be gotten for free.
-java runs on just about any OS,
-the
so why is there competition? the only thing left is integration and environment. apparently .NET is so much better that even for free java has serious competition.
microsoft makes lots of really cool tools that can integrate into .NET and give coders even more power and your problem is i'm not writing it in assembly?
with this post you have hit home the point here and just missed it. the development environment has become so powerful that as a coder your job is to arrange the pieces to get the desired results. you don't need to custom code SQL connections, custom sort lists, and manage memory. all those pieces have been written and tested. you just need to put them together to get the results you desire. i'm not going to write a text to speech program. but now i can easily write code that can do it.
it's just going to get more and more like this. your style of coding will always exist for under the hood stuff. the vast majority of coders arent' doing that kind of work. and most coders are never going to see those days again.
What you're describing, with the filling in of default values, is not something new with .NET. I saw it first-hand with earlier versions of VB.
.NET Framework makes things a lot easier. Yes, there's the added danger of "Joe User" now thinking that they're a super programmer, but does that mean language designers are supposed to make it languages difficult to use? That's just absurd. In any case, you could very well have the same thing in a non-.NET language as well (and I'm pretty sure there were some Java IDEs that did something very similar to what VS.NET does, in terms of UI drag-and-drop)
.NET is all about Microsoft trying to bring programming to the masses, I think you need to re-examine what it is about. You can easily argue the same thing with Java, or any other managed language. My take on the goals of these languages is to make development BETTER. "Easier" is a part of it, thanks to the elimination of "difficult-to-comprehend" concepts like pointers, and the addition of automatic garbage collection. Good programmers (and I'd like to think I'm one), could live forever in the C/C++ world, but having the benefits in .NET and Java are just too attractive. I'd rather worry about more difficult problems like concurrency, than worrying (as much) about memory management, pointer arithmetic, etc.
On that note, I can agree that automatically filling in objects with "textbox1" can be dangerous. I worked on a VB project with someone who wasn't a programmer and ran across these default names everywhere. When I had to re-write the code, it was difficult to read. But you know what? Bad coders are going to do bad things, no matter the language or development environment provides. If it wasn't filled in as "textbox1", he would have renamed it after some letter of the alphabet. I'll take "textbox1" over "x" anyday. (And sure enough, any variable that wasn't a UI object was named after letters in the alphabet)
I've worked a lot with UI development in both Java (Swing) and C#. I can definately say that the
If you think
-- jchenx
But, then, it doesn't hold your hand enough, and every text box ends up with a name like textbox1, or something like that. So, instead you have to remember each of the properties that you have to change for each control so that variables are named correctly, and all the proper default values are filled in.
.Net programmers...
.NET, the dragging and dropping is relegated to UI design.
... then they have no idea what to do when something goes wrong.
.NET about this. If these programmers can't handle the simple code that VS generates, they should go back to school. Please don't be deluded enough to think this is is the language's fault, though.
.NET, then do so against .NET and not its IDE.
/. would have you believe.
Well, the "textbox1" thing is annyoing (and I believe it's fixed in 2005), that generally is the only property I have to change on a regular basis. The name of the control too, but I don't think you can really hold that against VS. If you're doing anything else (like making the font bold for the textbox), you can simply copy the control with the bold property set, paste it, then change its name. It will retain the Bold setting.
Then if all someone knows how to do is drag and drop, which is a good portion of
I'm sorry, but these programmers you're talking about are either not actually programmers or you're greatly exhaggerating the ability to make useful applications using only drag and drop. I would also say that there are countless programs that do nearly the exact same thing for Java stuff, but just like
You're dealing with bad programmers then. There is nothing unique to
But I think that Microsoft trying to turn programming into something that anybody can do is a big mistake. Programming robust,reliable, scalable systems requires knowledge that not everybody has. I say, leave the programming up to the people that know how, and keep everyone else far, far away.
if you only know how to drag and drop, you can put together a form, put some pretty widgets on it that do nothing when played with, and run it. That's it. The most complex thing that I can think of that VS does for you is create typed datasets. You can map some of the values in them to controls, but only if you are competent enough to populate the dataset and can either write a for-loop or understand databinding. You can not, even remotely, come close to being able to put together a semi-useful application without knowing how to code.
Then again, and as I said before, the ability to NOT have to code shouldn't be something that's snorted at. VS doesn't generate anything past mundane code that would simply eat up your time. i doubt you could even call writing what it generates as "programming."
It should also be noted that what you've brought up (and that you rightly noted) are all Visual Studio "problems." If anyone wants to argue against the merits of
You might want to give it another chance if you're doing Windows apps and don't need portability. I'm a Java-first kinda guy, but when I do a C# application it's a great and generally refreshing switch-up, not an excercise in pain as others on