The ASP Emporium
Free Active Server Applications and Examples by Bill Gearhart
Online since Friday January 7, 2000

 home > code > c# & .net fundamentals

enter a phrase to search: (advanced search)


 h o m e 

 w h a t 's  n e w 

 a l l   c o d e 
  .net:
    • Fundamentals
    • C# Classes
  classic asp:
    • Code Library
    • ASP Apps
  general:
    • Tutorials
    • SQL

 d o w n l o a d s 

 u s e r   f o r u m s 

 l i n k s 

 s e a r c h 

 s u p p o r t 


C# .NET Framework Fundamentals Archive

The code in this section illustrates .NET fundamentals and how to use the framework and C# to get work done. The .NET framework has classes to do most everything you'll need to do for a lot of common tasks... the biggest problem you'll have is that there are so many classes, it's like information bombardment. The goal of this section is to provide short and sweet examples illustrating technique where most of the useful information is in the source code. I would consider everything in this section to be the basics of C# programming with the .NET framework. Most of these code bits can be used in any type of app: ASP.NET, class libraries, GUI or console applications.

Looking for more C#? Try the C# Classes Section.

new code!  HOW TO: enumerate RAS connections on a Windows machine with C#
Determine what active remote access service connections are present on the local machine.
http://www.aspemporium.com/howto.aspx?hid=34

HOW TO: create a reservation in the MS Outlook calendar
Use MS Outlook to create an appointment in the calendar programmatically.
http://www.aspemporium.com/howto.aspx?hid=28

HOW TO: read a file a bunch of different ways using the .NET framework
Read files three different ways using classes in the System.IO namespace
http://www.aspemporium.com/howto.aspx?hid=30

HOW TO: read and write an xml file programmatically with the .NET Framework
The System.XML namespace contains classes allowing you to read and write XML files quickly and easily
http://www.aspemporium.com/howto.aspx?hid=31

HOW TO: roll your own Windows Forms textbox control that offers autocomplete functionality for URLs and file paths
By simply extending the System.Windows.Forms.TextBox control and calling one API, you can have a textbox that autocompletes URLs and/or file paths
http://www.aspemporium.com/howto.aspx?hid=33

HOW TO: use MS Word to spell check a sentence
Use Microsoft Word's spell checker to check your text for spelling mistakes.
http://www.aspemporium.com/howto.aspx?hid=29

HOW TO: use the WinInet API to download a file from an FTP server
Every Windows computer already has the guts to make an FTP client - you just need to call the functions
http://www.aspemporium.com/howto.aspx?hid=32

HOW TO: determine whether or not there is a connection to the Internet present on the local machine
Use the Windows Internet API (WinInet) to determine whether or not the local machine is connected to the Internet
http://www.aspemporium.com/howto.aspx?hid=27

HOW TO: convert a System.Runtime.InteropServices.FILETIME into a System.DateTime and back again
Convert back and forth between managed and unmanaged date structures in a couple of lines.
http://www.aspemporium.com/howto.aspx?hid=26

HOW TO: create and send an email WITHOUT using System.Web.Mail
Learn how to send emails using only a socket and some SMTP commands
http://www.aspemporium.com/howto.aspx?hid=25

  [1]  2  3  4   [next >>]