Click here to Skip to main content
Click here to Skip to main content

Enterprise ASP.NET Suite

By , 24 Jul 2008
 

Download

Introduction

HoytSoft has released (for free) its suite for web and Windows applications. It provides everything you'll need for enterprise web applications. Designing complex websites with all the whizbang features users have come to expect can be cumbersome and tedious. The provided libraries allow you to forget these details and concentrate on the real needs of your web app. It's a great starter for anyone - the flexibility of the libraries allow you to employ whatever degree of complexity you need for your application. We've used it in small intranet applications up to large web apps with localization, e-commerce, e-mail, and templating needs.

Background

Designing a library that will satisfy both small scale and large scale applications can be difficult. This suite is compatible with most scenarios from a simple app running on a single server to a distributed web app with load balancing, SANs, etc. Making it extensible was also a challenge - the idea was to make it incredibly easy to use (most functions are 1-2 liners), easy to configure (you can choose to centralize or decentralize your configuration), yet able to cope with anything additional a web app developer might need. This is the culmination of several years of independent work and experience. We hope it will make your job easier - to get a better product out the door with more features, configurability, and extensibility than ever before.

Suite Details

  • Windows service library for incredibly easy development and installation of standard Windows services. (see http://www.hoytsoft.org/serviceBase.aspx)
  • Windows UAC (User Account Control) library for easily creating and running tasks that must run with elevated privileges. It's already integrated with the service library for installs, uninstalls, etc.
  • Configuration library that allows you to customize almost anything in the system. It provides much greater control and easier access than the .NET framework configuration library + you can define a default configuration and then override sections on a per-machine basis. This means you don't have to mess with tracking a different configuration for every developer!
  • Payment gateway library for processing credit card or ECH (Electronic Clearing House aka "e-check") transactions. Built using provider model. Am still looking for an authorize.net implementation. If you have that, please e-mail me. (see http://www.hoytsoft.org/linkPointAPI.aspx)
  • Web library with additional configuration options.


    • Easy access to connection strings on a per-machine basis.
    • Provide automatic routing between secure (HTTPS) and unsecure (HTTP) connections.
    • Add listeners to application events on a per-machine basis (equivalent to HTTP modules).
    • Easily add forms authentication or any type of authentication you choose. Authentication points make it easy to customize authentication at any level you choose.
    • Development-only "virtual directories" for file-based resources. Mimic production server setups with the Visual Studio Webdev server.
    • URL rewriting using regular expressions. Add any kind of rule you wish, though.
    • Localization options defined in external XML files yet programatically accessible. Use explicitly defined languages or use the browser-defined languages (in order of client-specified preference) or the server default language.
    • Send out templated e-mail in one line of code! But not only templated, also automatically localized as well. Define as many as you need in as many languages as you need.
    • Use advanced encryption/hmac algorithms in one line of code.
    • Custom error pages, including 404 management.

This library is open source and distributed to the public for free. Any suggestions and fixes are welcome. Let's make this the best ASP.NET web application library available!

Using the code

The solutions and projects target VS 2008, but everything should be compatible with the .NET framework 2.0 and above. You'll have to create your own VS 2005 projects, though.

Check out the examples that are bundled with each library in the suite to discover how to use them. Thank you and best of luck!

Points of Interest

  • Check out the advanced website example in the website library and then compare it to the simple website example. You'll notice the difference in complexity and how the library works with both.
  • Look at the simple service example to see how easy it is to implement a Windows service with UAC. Notice how no Windows installer project is needed! You can test, run, and debug your service completely inside of Visual Studio.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

David Hoyt
Software Developer Lawrence Livermore National Laboratories
United States United States
Member
I'm a recent graduate of Brigham Young University in Provo, UT and now working for Lawrence Livermore National Laboratories (LLNL). I've been programming since I was 14 and did the amazing Hoyt family website with an animated gif of a spinning globe. I've come a long way since then and now actually use pictures of people.
 
I've been interested in website development and Windows programming since and I haven't stopped except for two years spent in El Salvador as a religious representative for my church.
 
I've done lots of work with C#/C/C++/Java/Python/JavaScript/Scheme/T-SQL/PL-SQL/Visual Basic/etc., web services, windows apps, services, and web apps. It's been a lot of fun!

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralSpamming categories? [modified]memberMark Nischalke24 Jul '08 - 9:39 
C# (C# 2.0, C# 3.0, C#), Javascript, XML, XHTML, HTML, Windows (TabletPC, Windows, Win2K, WinXP, Win2003, Vista), .NET (.NET, .NET 3.5, .NET 3.0, .NET 2.0), ASP.NET, Win32, Win64, SQL Server (SQL 2000, SQL 2005, SQL Server), IIS (IIS 6, IIS 7, IIS), Visual Studio (VS2005, VS2008, Visual Studio), ADO.NET, SysAdmin, Architect, Dev
 
Since this is an ASP.NET framework how does it apply to Windows (TabletPC, Windows, Win2K, WinXP, Win2003, Vista) or Win32 or Win64. Seems like you just clicked everything you could to increase the hits.
 

only two letters away from being an asset
modified on Thursday, July 24, 2008 3:57 PM

AnswerRe: Spamming categories?memberDavid Hoyt24 Jul '08 - 15:20 
WTF | :WTF: Read the actual article. It includes a Windows service library that runs on Windows 2000, XP, 2003, Vista, 32-bit and 64-bit. It's also compatible w/ .NET v2.0 and later. It contains a database library as well. It's a suite to let you do everything you might possibly need to do for a web app. For instance, in one of my apps we have a service that needs to periodically run an external web service and then update our database.
 
Check out the links in the article. You shouldn't be spamming articles without actually reading and trying the code given. Sigh | :sigh:
GeneralRe: Spamming categories?memberMark Nischalke24 Jul '08 - 17:19 
Don't get testy son. Show some common courtesy and appreciation for the difficult and thankless job the CP staff have. You know the scope of your article and code don't rely on the CP staff to do your work, choose the categories yourself, don't pick them all.
 

only two letters away from being an asset

GeneralRe: Spamming categories?memberDavid Hoyt25 Jul '08 - 6:54 
I didn't pick them all. Otherwise there would be a lot more in that list. You don't see "Java," "PHP," or "MySQL" in there. I picked the ones I thought were pertinent. When you go to submit an article, it says "Article Attributes: Please select all that apply" not "please select every category you want to put this under." So I put every attribute I thought applied.
 
I do appreciate all the hard work the CP staff do. If they disagree with the attribute selection, that's perfectly fine. I just put everything I thought it had to do with.
 
I'm fine with constructive criticism - but the tone and wording of your posts ("only two letters away from being an asset," "Seems like you just clicked everything you could to increase the hits," "Don't get testy son," "Show some common courtesy") seems demeaning and rude. Frown | :( There's no need for that.
GeneralRe: Spamming categories?memberMark Nischalke25 Jul '08 - 7:28 
David Hoyt wrote:
rude. There's no need for that.

 
Words to take to heart from you as well.
 
David Hoyt wrote:
WTF | :WTF: Read the actual article.
You shouldn't be spamming articles without actually reading and trying the code given. WTF | :WTF:

 
Take some advise, people aren't going to read the code if the article isn't written well, or the title and other visible properties are misleading. Fact of life, get used to it.
 
Sorry if you don't get the joke with the signature, others do. If a signature bothers you, then you have more issues and should not take it so seriously.
 

only two letters away from being an asset

GeneralRe: Spamming categories?memberDavid Hoyt25 Jul '08 - 8:11 
You're right - I apologize for being rude.
 
I didn't know it was a signature and in light of the posts, it seemed derogatory.
 
I explained that there was no intention of being misleading in any way whatsoever. If you want to be constructive, just say something along the lines:
 
"It would be better if you limit the number of article attributes to just a few. Only the ones that have direct correlation with the article."
 
But please stop insulting me. Thank you.
AnswerRe: Spamming categories?memberDavid Hoyt24 Jul '08 - 15:33 
This is still an unedited contribution. The Code Project staff can change the categories to be anything they want. I just put everything I felt pertained to it. If they decide something else, I will, of course, abide by it.
GeneralRe: Spamming categories?memberMarc Leger25 Jul '08 - 3:12 
I think Mark woke up on the wrong side of the bed.
 
Great work. Diving into it now.
GeneralRe: Spamming categories?memberDavid Hoyt25 Jul '08 - 7:00 
Thanks Marc. I'm looking to open source this on CodePlex or SourceForge. Is it okay to just provide a link to the project there so people can always just download the latest and greatest?
GeneralRe: Spamming categories?memberBassam Saoud2 Feb '10 - 11:03 
Calling it spam and asking you not to be rude...

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Permalink | Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 24 Jul 2008
Article Copyright 2008 by David Hoyt
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid