Home Work ASP.NET
ASP.NET
Using SQLite with C# and a GridView in Visual Studio 2010 PDF Print E-mail
Work - ASP.NET
Written by mbrock   
Monday, 09 May 2011 15:24

SQLiteRecently I was experimenting with SQLite. SQLite is a popular, serverless database that is amazingly lightweight and amazingly free. It is the most widely deployed SQL database engine in the world and it's source code is in the public domain. It comes free with no strings attached - do with it what you will. On a whim, I decided to see how involved it would be to incorporate a SQLite database into a simple C# ASP.NET web application. Over the course of an hour or so, I was able to create a table in SQLite and get it's data displayed in a grid view control in a .NET web application.

Read more...
 
Enabling ASP.NET 1.1 in IIS 6.0 PDF Print E-mail
Work - ASP.NET
Written by mbrock   
Wednesday, 20 August 2008 21:16

ASP.NETRecently I found myself trying to load an old .NET 1.1 application onto a virtual machine that I had just set up. I ran into problems getting the application to load. This was because I had installed MS Server 2003 as the operating system on my virtual machine. Server 2003 comes with IIS 6.0 and is set up for .NET 2.0 applications. 

The .NET 1.1 framework is disabled in IIS 6.0 by default. Because who needs .NET 1.1 anymore, right? Well I did... And you may be surprised at how many legacy .NET 1.1 apps are still out there.

It turns out that it is fairly simple to get .NET 1.1 working with IIS 6. You can enable this either by using the Configure Your Server wizard or you can manually enable it through Add or Remove Programs in the Control Panel. This article deals with manually getting the .NET 1.1 framework working with IIS 6.

Read more...
 
XML Comments in Visual Studio PDF Print E-mail
Work - ASP.NET
Written by mbrock   
Sunday, 08 June 2008 21:41

XML CommentsIf you have been programming for any length of time, you know how important commenting your code is. You comment your code so that you will know how it works if someone, including yourself, has to go back and look at it again later.

One of my pet peeves as a professional developer is that every so often you run across code written by someone else that has not been commented - or is commented very poorly. Non-commented or poorly commented code can be a big hassle for a developer. Suppose you need to fix a bug in someone else's code and this person no longer works with you or your company. If the code is not properly commented then you could spend a lot of time - and time is money - trying to figure out what the code does. Unless you are trying to obfuscate code to make it more difficult for someone to understand, there is really no excuse to not properly comment it. It only takes a few seconds to write a some words about what your code does.

Read more...
 
Visual Studio 2008 and non-alphanumeric characters in the path name PDF Print E-mail
Work - ASP.NET
Written by mbrock   
Thursday, 05 June 2008 22:46

C# FolderI recently had an issue with Visual Studio and a pound sign, '#', character in a folder name. It turns out that you need to be careful when you name the folders that you put projects in.

Read more...
 
Writing files with the TextWriter in ASP.NET PDF Print E-mail
Work - ASP.NET
Written by mbrock   
Thursday, 05 June 2008 22:08

ASP.netEvery once in a while you may find yourself needing to write a file to the web server. For instance, I recently had to write an ASP.NET page that would save certain data from an input XML file as a text file on the web server. Thanks to the nifty abilities of C#, saving the new file was a snap. Read on for more...

Read more...
 
<< Start < Prev 1 2 Next > End >>

Page 1 of 2
mbrock.com
Copyright © 2012 mbrock.com. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.