This book uses ASP.NET and Visual Basic .NET to develop an intranet application that provides all of the features that users expect.
By basing our intranet on Microsoft's free best practices example, the IbuySpy Portal, we can rapidly create an application that makes good use of the advanced features of ASP. NET.
A full explanation of the IBuySpy Portal architecture is provided, allowing you to get the most out of it. We look at how to customize existing portal modules, as well as building some of our own.
What You Will Learn From This Book
The intranet we build will enable users to:
Publish content
Manage documents
Schedule events
Access human resources information
Hold online discussions
Along the way, you will learn a wealth of techniques for ASP. NET development everything from making effective use of stored procedures through to integrating withWindows security and creating an advanced user interface with ASP. NET Web Controls.
What You Need To Know
This book is for people who understand the basics of ASP. NET and Visual Basic .NET.
The ASP. NET code in this book is presented in Visual Basic .NET.
Introduction
What this book covers
What you need to use this book
Conventions
Style conventions
Customer support and feedback
Chapter1 Intranet concepts
Intranets-a quick history
The role of the intranet
Building an intranet with asp.net
The future of intranets
Summary
Chapter2 the ibuyspy portal architecture
Why use an existing architecture?
What does the ibuyspy portal architecture provide?
A technical look at the ibuyspy portal architecture
Security
Summary
Chapter3 customizing the portal
Portal versioning
Customizing the stylesheet
Customizing the portal code
Building a module
Summary
Chapter4 secruity in the intranet
The importance of security
An overview of ibuyspy security
Authentication
Authorization
Summary
Chapter5 the discussions module
What is the purpose of forums?
The ibuyspy discussion module
Where to go from here
Summary
Chapter6 extending the events module
Features
The database
The business class
User interface
Configuration
Looking ahead
Summary
Chapter7 content management
Features of a content management system
Module design
The database the business component
The presentation layer
Content targeting
Summary
Chapter8:document management
What is document management?
Requlrements for a document management application
Planning our project
Chapter9 human resources information system
What is an hris?
Building an employee information module for our intranet
Adding the hris to the intranet
Ideas on the extension of the hris application
Summary
Appendix A common data access class
The database class
Index
Do you want to know how you can use ASP.NET to build a modular Intranet? An intranet that could be used to share information within a small or medium sized organization? Well, congratulations, you've come to the right place!
Microsoft provides sample architecture for this sort of portal application, available at www. IBuySpy.com. Since they encourage developers to use this as a starting point for their own applications, we decided to take advantage of the functionality it offers. We will be taking this example and extending it to suit our needs, learning some valuable lessons in code reuse along the way.
Just as we used the IBuySpy example as the starting point for our Intranet, readers are encouraged to use the code in this book in their own applications - the modules we have created will slot into any implementation of the IBuySpy architecture, and let's be honest - no-one wants to re-invent the wheel, right?
What This Book Covers
The book starts by discussing general issues of Intranet development:
Chapter 1 looks at why developing Intranet sites is different from building sites for the Internet. There are some considerations that need to be addressed in order for Intranet projects to be successful.
The next three chapters look at the IBuySpy Architecture.
Chapter 2 provides a thorough explanation of the architecture and what it provides. It also explains why we decided to use the existing architecture rather than starting from scratch.
Chapter 3 shows how we can customize the IBuySpy example for our own purposes, creating our own Intranet site.
Chapter 4 discusses the importance of security in the Intranet, explains how security features are implemented in the IBuySpy architecture, and shows how to use two different types of authentication.
We then move on to discuss the modules that provide the actual content and functionality of our Intranet. We can use some of the IBuySpy modules as they are but others need some adjustment to fit our needs. The next two chapters show how to start with existing IBuySpy modules and make improvements and extensions.
Chapter 5 takes us on a walkthrough of the IBuySpy discussions module, showing some improvements that we can make along the way.
Chapter 6 starts with the IBuySpy events module and adds additional functionality to create our own version of the module.
Some of the modules we require for our Intranet differ sufficiently from any of the existing modules that our best route is to start from scratch. The remaining chapters of the book cover how we built these modules.
Chapter 7 looks at how we can build a content management system that allows users of the intranet to add information to be shared with other users
Chapter 8 covers document management - uploading existing documents such as Word files or Excel spreadsheets to the Intranet to be shared.
Chapter 9 describes a Human Resources Information System that stores information about company employees.
Data access is important to all of the modules that we built. It was important to use consistent data access techniques in the code that we wrote, so we created a common data access class to abstract database access.
Appendix A discusses the common data access class