Fun With Class Libraries

Here I’m going to show how you can use class libraries so you can use the same code across multiple applications. This can save time on typing multiple lines of the same code across different types of applications. For the example I’ll use code from a class library in an ASP form along with a Windows application. Now you might run into some issues along the way. Such as formatting that I ran into going from an ASP application to a WinForm application.

You can find the source code to both the ASP and C# Winforms Downloads section.

Continue reading


Starting To Play Around With ASP (Pre-MVC Stuff)

Sorry for the lack of updates here. I’ve been plugging away with the ASP & MVC work with some courses I’ve been taking. Stay tuned because I’ll be posting the projects I’ve been working on in progression.

This one is the beginning of the ASP stuff I’ve been playing with. This is an older project before I started messing with ASP, MVC, and the Entity framework. Again, those posts will come later. I’ve got the projects done. I just need to post them. So this will eventually lead into more ASP/MVC stuff. I’ve taking a liking to the way things work.. 🙂

There really isn’t much code to post other than the screenshots and a few html pages. Not much meat to this one. So if you want to take look at the source head on over to the downloads page, pull it down, and take a look.


Continue reading

Web Loan Calculator C# ASP Project

This is another test project that does loan amortization. I had to do some quick learning on the loan amount, interest rate, and duration formula. I’m experimenting with different ways to get things done in the back-end code then having the results, work, etc.., display on the webpage. I’ll be getting into creating full sites in the next few posts. However these are just static pages that just display functionality.

I’ve also added conditions to the page that the user has to fill out all of the required fields otherwise errors will display. I’m also playing around with different ways of getting the form data and saving it for later use.

Default.aspx & Error Display Pages

WebLoanCalculatorMainPage WebLoanCalculatorError

Continue reading

Time Of Day C# .ASP Project

Hello, this is my first quick project in my exploration of how the C# .NET programming language can be used to create / use ASP pages. I will have a separate section for ASP code from the regular C# Downloads & Files for organizational reasons.

My first project delving into this is a simple time of day page. You enter the name in the text field and based on the time of day it will display “Good Morning”, “Good Afternoon”, or Good Evening” followed by the name entered. I’ve also added a small condition to make sure something is entered. Otherwise there’s a notification.

Live Page Example.

Main Page & Error Display

TimeOfDayMainPage TimeOfDayMainPageError

Continue reading