News

 

Are you ready to connect with the local tech community for a good cause? GiveCamp needs your support. For one weekend in June, we’ll take on the technology wish lists of 20 non-profit organizations, and we’re looking for about 100 volunteers, both technical and non-technical, to help us do it.

A typical GiveCamp draws 75 to 100 volunteers. Individuals can work with their colleagues in company teams, or they can opt to be matched with fellow volunteers who have complementary skill sets. Everyone is welcome to head home for the evenings – but there are always the diehards who work from Friday kickoff straight through Sunday afternoon. Food and drinks, especially of the caffeinated variety, are provided, along with game systems for breaks.

Technical volunteers

We're looking for graphic or UX designers, developers with .NET/Java/LAMP/Open Source/CMS experience, project managers, system/network administrators, DBAs, and non-profit technical consultants and web strategists.

Non-technical volunteers

Beyond the technology, there are many other aspects that make GiveCamp a success. We need non-technical volunteers to run errands, help with setting up and cleaning up, and everything in between. Whether you can offer a couple hours of your time or join GiveCamp for a couple days, your support is needed

Sign up at; http://www.eventbrite.com/event/650615007

Feel free to contact me or Dani Diaz of Microsoft for more information

 


 

It was time to create a new site. I figured VS 2010 is out so I should write it using MVC and Entity Framework. I have been very happy with MVC. My boss has had me making an administration web site in MVC2 but using 2008. I think one of the greatest features of MVC is you get to work with root of the app. It is kind of like being an iron worker; you get to work with the metal, mold it from scratch.

Getting my articles out of my database and onto web pages was by far easier with MVC than it was with regular ASP.NET.

This code is what I use to post the article to that page. It's pretty straightforward. The link in the menu is passes the id which is simply the url to the page. It looks for that url in the database and returns the rest of the article.

 

DataResults dr = new DataResults();
string title = string.Empty;
string article = string.Empty;
foreach (var D in dr.ReturnArticle(ViewData["PageName"].ToString()))
{
title = D.Title;
article = D.Article;
}

public

 

List<CurrentArticle> ReturnArticle(string id)
{
var resultlist = new List<CurrentArticle>();
DBDataContext context = new DBDataContext();
var results = from D in context.MyContents
where D.MVCURL.Contains(id)
select D;foreach (var result in results)
{
CurrentArticle ca = new CurrentArticle();
ca.Title = result.Title;
ca.Article = result.Article;
ca.Summary = result.Summary;
resultlist.Add(ca);
}
return resultlist;}