Add Forum capabilites to your .NET application

Want to add a cool forum in your .net application?
A forum where users can perform all the functions which are being used in the latest applications available till now?

YetAnotherForum.NET

An opensource project YetAnotherForum.NET is the answer to the questions raised above.

YetAnotherForum.NET (YAF) is a Open Source discussion forum or bulletin board system for web sites running ASP.NET.

Features of YAF

  • 100% C# ASP.NET
  • Microsoft SQL Server 2000/2005 database support.
  • User configurable cultures. See dates and numbers the way you are used to.
  • All dates and times in local time zone for registered users.
  • Unlimited number of categories, forums and messages.
  • Includes private messaging and private messaging notification features.
  • Possibility to hide forums when user has no access.
  • Unlimited user groups, with option to automatically promote users based on number of posts.
  • Access rights based on groups.
  • Polls can be added to posts.
  • Administrators can mass email to all users or specific group.
  • Template for easy integration with your current site design.
  • Web based administration.
  • Member list.
  • Move topics to other forums.
  • Active topics list.
  • Active users list.
  • Print topics.
  • Email topics.
  • Setup moderators with the ability to moderate topics, posts and users signatures.
  • Watch forums or topics for new posts.
  • View and delete subscriptions from the user control panel.
  • Change password in control panel.
  • Recover lost passwords.
  • Supports smileys/emoticons.
  • Quick and easy installation.
  • IP banning.
  • Points for points system.
  • Multiple boards support.
  • Comes with many themes to choose from.
  • Supports common “Rich Text Editors” including FreeTextBox and FCKEditor.

ScreenShot

YetAnotherForum Screen Shot
YetAnotherForum Screen Shot

Just go the the home page of the project , download the setup and install it in your project environment. And enjoy a cool forum capabilities in your application.

kick it on DotNetKicks.com

NAudio: .NET Audio and MIDI library

Want to play MP3 files using C#.NET?
Or want to introduce voice recording in your .net application?

NAudio is the open source answer for these questions.

    OverView

NAudio is an open source .NET audio and MIDI library, containing dozens of useful audio related classes intended to speed development of audio related utilities in .NET.

NAudio Features

  • Play back audio using a variety of APIs
    • WaveOut
    • DirectSound
    • ASIO (not currently working with all soundcards)
    • WASAPI (Windows Vista Core Audio)
  • Decompress audio from different Wave Formats using ACM codecs
  • Record audio using WaveIn
  • Read and Write standard .WAV files
  • Mix and manipulate audio streams using a 32 bit mixing engine
  • Support for reading from a variety of audio file-formats including:
    • MP3
    • OGG
    • SoundFont
    • SFZ
    • MIDI
  • Extensive support for reading and writing MIDI files
  • Full MIDI event model
  • Basic support for Windows Mixer APIs
  • A collection of Windows Forms Controls useful for .NET
  • Some basic audio effects, including a compressor

For more information and downloading the Library please visit NAudio home page on Codeplex.

kick it on DotNetKicks.com

Shout it

pimp it

Code to Send an Email in C#

dotnetlogo
Want to send an email from your .net application?
Just use the following code and don’t forget to put in the valid SMTP server id in the code and your email will be sent.

using System.Web.Mail;
private bool SendEmail(string sFrom, string sTo, string sCC,
string sBCC, string sSubject, string sMessage, int iMailType)
{
try
{
MailMessage Message = new MailMessage();

// If sFrom is blank, system mail id is assumed as the sender.
if(sFrom==””)
Message.From = “[email protected]”;
else
Message.From = sFrom;

// If sTo is blank, return false
if(sTo==””)
return false;
else
Message.To = sTo;

Message.Cc = sCC;
Message.Bcc = sBCC;
Message.Subject = sSubject;
Message.Body = sMessage;
Message.BodyFormat = MailFormat.Text;
SmtpMail.SmtpServer = “Put a valid smtp server IP”;
SmtpMail.Send(Message);

return true;
}
catch(System.Web.HttpException ehttp)
{
// Your exception handling code here…
return false;
}
catch(Exception e)
{
// Your exception handling code here…
return false;
}
catch
{
// Your exception handling code here…
return false;
}
}