December 6, 2016

Installing the Oracle Client In Order To Connect to Banner/ODS

Please use your eID to sign in below to access this post.

November 21, 2016

Sandcastle

Steve and I got to talking about ways of documenting .NET code and it got me thinking.  I really don't know of a great tool to take care of the whole documentation process from generating comments to compiling them into a .chm or .html file.  So, I found out about Sandcastle (via StackOverflow at http://stackoverflow.com/questions/448200/good-asp-net-documentation-tool) [...]
November 21, 2016

NetTiers First Impressions

Ok, so I'm REALLY enjoying .NET development using NetTiers.  I just wish I would have found this sooner, although I'm actually considering re-working some of my major applications using their easy-to-set-up/follow N-Tiered approach to application development.  Anyways, here are some of its benefits (taken verbatim from http://demille.org/post/2008/12/28/Code-generation-with-netTiers-vs-LINQ-to-SQL-vs-Entity-Framework.aspx) So many posts lately about Linq to SQL [...]
November 21, 2016

IIS7 + Routing Webforms

Note to self: Interestingly I haven't had to do this with all web forms projects (no clue why), but on my latest NetTiers project, I had to add  <system.webServer> <modules runAllManagedModulesForAllRequests="true" /> </system.webServer> to my web.config file to get routing to work in IIS7.
November 21, 2016

NetTiers Template Regeneration

At some point you're going to have to change your db schema, and when you do, here are the steps to update your NetTiers projects: Backup your project, but keep it in the same location and use the same name as when you originally generated the NetTiers project.  Keep in mind that any changes you [...]
November 21, 2016

NetTiers Notes After Regeneration

I wanted to add a few notes to myself about some changes I might want to remember the next time I regenerate a NetTiers solution: Steps To Take After Template Regeneration Will need to alter GridViewSearchPanel.cs (under Web solution, around line 525) if you are using an image button: ImageButton cmdSearch = new ImageButton(); cmdSearch.ID [...]
November 21, 2016

Installing ASP.NET Membership Provider from Command Line

No need to install all .net membership services when all you're using is the SQLRoleProvider (which is usually the case for me at CSU, where I'm relying on the ActiveDirectoryMembershipProvider).  So, here's the basic command line syntax for installing the sql role provider: First, switch to the appropriate directory: cd C:WindowsMicrosoft.NETFrameworkv4.0.30319  then aspnet_regsql -S <server> [...]
November 21, 2016

DateTime.MinValue vs SqlDateTime.MinValue

http://www.geekdaily.net/2008/03/26/c-datetimeminvalue-is-not-the-same-as-sqldatetimeminvalue/ Working with non-nullable types in C# can be a bit of a pain. For instance when I have a date as a string and need to parse it into a DateTime what should the value be if the parse fails? I can’t use null because DateTime is not a nullable type. This is exactly [...]
November 21, 2016

NetTiers CodeSmith Fields / Generation

Just a note to myself of what fields you should probably be changing from the default values when doing netTiers development: Required SourceDB (YOUR SQL DB INSTANCE) MappingFile OutputDirectory (LOCATION OF PROJECT) RootNameSpace (YOUR_SITE) Optional, but Strongly Recommended SourceTables (PICK YOUR TABLES WITHIN THE DB) IncludeComponentLayer - ServiceLayer and DomainModel (your business layer) IncludedDatabaseFeatures – [...]
November 21, 2016

Add Style to MojoPortal’s Administration Menu

I cannot speak for the MojoPortal community; but I've always found the Administration menus bland. Yet I never took time to style the Administration menus. After completing a new skin the other day I turned my attention to that utilitarian menu system. With a little CSS and use of Crystal Clear icons you can present [...]
November 21, 2016

Mojo Changes To Make Before Deployment

This morning as I was updating my Java mojoPortal auto-upgrader tool I remember that I hadn't made a note of all the files that need to be changed before upgrading an installation of mojoPortal (in essence, the files that get overwritten every time you do an upgrade).  So, for reference sake, I'm noting the files below that [...]
November 21, 2016

Google Analytics and mojoPortal

Taking inspiration from Steve's nice little improving the administration section within mojoPortal, and from Matt's demonstration of the Google Maps API, I thought I'd try to also improve the admin section a bit by putting together a Google Analytics user control for use in mojo. Here's how I did things in my example (feel free [...]