Click here to Skip to main content
15,891,951 members
Articles / Web Development / CSS

Building a Web Message Board using Visual Studio 2008, Part I - The Basic Message Board

Rate me:
Please Sign up or sign in to vote.
4.90/5 (83 votes)
30 Dec 2007CPOL47 min read 375.9K   3.7K   333  
This article builds a web based message board and uses several new technologies introduced with Visual Studio 2008 such as LINQ, WCF Web Programming, WCF Syndication, ASP.NET ListView, ASP.NET DataPager etc.
SET IDENTITY_INSERT [dbo].[Messages] ON
INSERT [dbo].[Messages] ([Id], [Subject], [Text], [PostedBy], [PostedById], [DatePosted]) VALUES (1, N'This is a test', N'Might be the first test', N'(Anonymous)', N'', CAST(0x9A0800DF AS SmallDateTime))
INSERT [dbo].[Messages] ([Id], [Subject], [Text], [PostedBy], [PostedById], [DatePosted]) VALUES (2, N'Another test', N'Sure', N'(Anonymous)', N'', CAST(0x9A08015A AS SmallDateTime))
INSERT [dbo].[Messages] ([Id], [Subject], [Text], [PostedBy], [PostedById], [DatePosted]) VALUES (3, N'Microsoft Buys Multimap', N'Multimap will operate as a wholly owned subsidiary of Microsoft, as part of the Virtual Earth and Search teams in the Online Services Group. ', N'Satips', N'a27d69da-8471-4d83-92e0-e8fcd7d7f2f8', CAST(0x9A080410 AS SmallDateTime))
INSERT [dbo].[Messages] ([Id], [Subject], [Text], [PostedBy], [PostedById], [DatePosted]) VALUES (4, N'Top-secret US labs penetrated by phishers', N'One of the most sensitive science and technology labs in the US has been hacked as part of what it called "a sophisticated cyber attack that now appears to be part of a coordinated attempt to gain access to computer networks at numerous laboratories and other institutions across the country."
...
"At present we believe that about 11 staff opened the attachments, which enabled the hackers to infiltrate the system and remove data."
 

Sophisticated? A simple email with an executable attachment is sophisticated? That sounds like some huge spin to cover up brain dead stupidity to me. This behaviour I expect from a grandmother who just got on the internet for the first time, but 11 separate staff members at a secure reasearch lab? It boggles the mind.

http://www.channelregister.co.uk/2007/12/07/national_labs_breached', N'John Cardinal', N'51afff73-c57f-4a2e-ac86-6d7e77d104a8', CAST(0x9A080412 AS SmallDateTime))
SET IDENTITY_INSERT [dbo].[Messages] OFF

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions