January 2007 - Posts

Windows Live Search for Mobile

Last week I made a recommendation (http://drowningintechnicaldebt.com/blogs/shawnweisfeld/archive/2007/01/24/Virtual-Earth-Mobile-1.69.aspx) for mapping software for the Windows Mobile. After I made that post my colleague Rubin recommended another tool, one that I like better. Thanks Rubin

Not only does it do maps but it also has traffic and a cool category drill down for finding businesses.

Check it out at http://wls.live.com/

Posted by sweisfeld | 1 comment(s)
Filed under: ,

Participate in Microsoft Global Research

-How .NET is perceived today – its’ strengths & weaknesses
-How we can best position & communicate .NET in the marketplace (both now & in the future)
-How we can make the way we talk about .NET to customers more compelling
 
We would like to talk to people within organizations that are currently using or evaluating .NET technologies.
 
We would like to talk to two people from the development team, one in an architecting role and another who writes code using .NET.  We would also like to talk to an IT Professional – someone who is responsible for decision making in relation to Development technologies used in the business but is not a ‘hands on’ programmer.
 
Should you decide to participate in this study, it will involve one of our preferred research vendors visiting you at your place of work. They will be onsite for approximately 3 ½ hours & the day will consist of 3, 1:1 sessions with each person followed by a group discussion with all 3 participants.
 
This will provide you with the opportunity for you to communicate openly and directly and provide critical insight and feedback to Microsoft.
 
These discussions will be run by Intrepid, an independent market research agency. Intrepid will share the insights they have obtained from you so you can understand what they are reporting back to us.
 
If you are interested in this study, Intrepid Consultants will contact you to schedule the session. Before scheduling the session, they will go through a short survey which will take approximately 7-8 minutes to go through via phone, to ensure the discussion will be relevant to you
 
We are offering an incentive of $300 USD  per participant as a token of thanks & acknowledgement of the time you spend with us.
 
If you’re interested, please respond to my mail by the end of day 25th January. The case studies will all need to take place from the 1st-14th February to ensure we hit our schedule.
 
We look forward to your participation in this study & thank you in advance for your time.
 
Thanks,
Thom Robbins
Director .NET Platform marketing
Email: mailto:trobbins@microsoft.com?subject=ONETUG
Posted by sweisfeld | with no comments

Virtual Earth Mobile 1.69

Updated http://drowningintechnicaldebt.com/blogs/shawnweisfeld/archive/2007/01/31/Windows-Live-Search-for-Mobile.aspx

For those of you that have a Windows Mobile Device. This application is a must have, providing mapping software for you mobile device. and it is free.

Virtual Earth Mobile is a powerful Windows Mobile-based application that allows you to access and interact with the maps and information provided by the Windows Live Virtual Earth Web Service. The latest version of Virtual Earth Mobile, contains new features including a support for dragging maps with the stylus and a support for text-based directions. This version also includes bug fixes.

http://blogs.msdn.com/windowsmobile/archive/2007/01/02/virtual-earth-mobile-1-69.aspx

Posted by sweisfeld | 1 comment(s)
Filed under: ,

My DataHelper

While I am a firm believer in the Enterprise Application Blocks from Patterns and Practices (http://msdn.microsoft.com/practices) I was recently asked to produce a simple way for people to get data without the EAB. I know there are a million examples on the web but here is mine . . .

 

I start with a class I call DataHelper this guy is nothing more then a wrapper around the command object.

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
    public class DataHelper
{
private SqlCommand _command = null;
/// <summary>
/// The internal command
/// </summary>
public SqlCommand Command
{
get { return _command; }
}
/// <summary>
/// Constructor
/// </summary>
/// <param name="cmdText">The Text of the query</param>
/// <param name="csKey">This is the string value to the name
/// of the connection string in the connectionstrings section
/// of the app/web config</param>
public DataHelper(string cmdText, string csKey)
{
_command = new SqlCommand(cmdText,
new SqlConnection(ConfigurationManager.ConnectionStrings[csKey]
                             .ConnectionString));
}
/// <summary>
/// Add a parameter to the helper
/// </summary>
/// <param name="name">Name of the parameter</param>
/// <param name="value">Value of the parameter</param>
public void AddParameter(string name, object value)
{
_command.Parameters.Add(new SqlParameter(name, value));
}
/// <summary>
/// Get a dataset from the helper
/// </summary>
/// <returns></returns>
public DataSet GetDataSet()
{
DataSet ds = new DataSet();
using (SqlDataAdapter da = new SqlDataAdapter(_command))
{
da.Fill(ds);
}
return ds;
}
}

 

Using the DataHelper is easy. As you can see in the sample code below the constructor takes in the sql statement and the key in the connection strings setting of the config file. This allows me to initialize the command. Next all the needed parameters can be added to the helper using the simplified add parameter method. Finally you call GetDataSet and get yourself some data!

 

1
2
3
4
            string sql = "SELECT HumanResources.Department.* "
                       + "FROM HumanResources.Department WHERE GroupName = @GroupName";
DataHelper dh = new DataHelper(sql, "AdventureWorksConnection");
dh.AddParameter("@GroupName", "Manufacturing");
DataSet ds = dh.GetDataSet();

Posted by sweisfeld | with no comments
Filed under: , , ,

Windows Developer Tools Day

     Earlier today I got a email from some of our friends at O’Rilley about Windows Developer Tools Day (http://www.oreillynet.com/windows/blog/2007/01/announcing_windows_developer_t.html). What a great idea. To that end I would like to add my submissions to the list.
     First of all the Visual Studio Express tools (http://msdn.microsoft.com/vstudio/express/) (Visual Web Developer Express, Visual Basic Express, Visual C# Express, Visual C++ Express, Visual J# Express, SQL Server 2005 Express, and even XNA Game Studio Express). These tools licensed free from Microsoft allow many that are just starting out the power of Visual Studio without the cost! But most important since they are so similar to the Professional versions of the tools they provide a great stepping stone for students. Great job Microsoft!
     Next on my list would have to be MyGeneration (http://www.mygenerationsoftware.com/portal/default.aspx) this is a code generator. I cannot imagine writing any applications today without some form of code generation.
     I urge anyone reading this to join-in with their suggestions. There are so many great tools out there and so little time to try them all out!
Posted by sweisfeld | 1 comment(s)

Certification vs. University Degree

Recently an ONETUG member sent me the following question asking for my opinion. Here are my thoughts, what are yours. Post a comment to this blog entry.

Shawn,
I wanted to get your views about Microsoft Certification vs. a Computer Science degree.  Specifically, do you think it is worth it to get a MCAD for C#.NET?  Do you know of any good training classes or websites?  I’m currently enrolled at XXXX as a CS major but am thinking about just trying to get certified so I can start working faster.

Thank You
An Eager Student

Eager Student.
   Let me start off by saying this is my personal opinion. I welcome everyone to add to this discussion since my opinion is not the only one that counts, unfortunately. That being said I strongly believe that getting your undergraduate degree is of utmost importance. When I received your email I took an informal poll of the job postings that I have posted to the ONETUG website (http://jobs.onetug.org). Looking at the last 2 dozen or so, almost all of them required a bachelor’s degree. In my experience an undergraduate degree shows potential employers some level of problem solving skills while on the other hand a certification shows that you have mastered one particular skill. For example, if you can pass a certification test then you are telling the employer that you know how to program, but that doesn’t comment about any other skill set. Most jobs that I see not only require some level of programming expertise but also require some knowledge of business process or computer hardware or something else. Things that a bachelor’s degree exposes you to, on the other hand a typical degree program graduate will not be as familiar with a particular language as someone that passed a certification exam. Finally where do you want to be 5 years after graduation? This is an important question as now a day many companies are requiring BS degrees, but like Masters Degrees for those employees that want to enter management. I would recommend staying in school and getting that BS degree. Possibly CS is not the best fit for what you want to do, I know that may schools have CIS or MIS programs that are very popular. 
   Now I can get off of my soap box about getting a BS degree and say that I do think certification exams are good. Like I said they do, for lack of a better word, certify that you know the topic. Additionally if you are talking .NET then I would defiantly recommend a Microsoft Certification. Everything you ever wanted to know about MSFT learning can be found at http://www.microsoft.com/learning. Here is a list of MSFT Partners in Orlando offering training (click here). One of them is New Horizons where ONETUG used to have meetings, New Horizons has offered ONETUG members discounts in the past, if you contact them ask for Mickey Talley. Additionally there are online or CD based classes like AppDev (http://www.appdev.com). As for me my plan is to finish my master’s degree in Computer Science and then go for some certifications.
   Just because you are working towards a BS degree doesn’t mean that you cannot start working. There are many internships, co-op programs, and the like available at most schools that can augment your “book learnin” with real world experience, and they are a great way to get your foot in the door, some are even PAID. Additionally there are programs like http://www.nonprofitways.com that are always looking for volunteers that use there skills to produce applications that would be great fodder for your resume, and great for the non-profit organizations they help.

Hope this helps and Good Luck!

Posted by sweisfeld | with no comments
Filed under:

Launch Event - Free Software

Receive your FREE copy of Microsoft Office Professional 2007 and Microsoft Office Groove 2007* when you attend a Windows Vista, 2007 Microsoft Office system, and Microsoft Exchange Server 2007 launch event near you!
At a launch event you’ll be able to:
 - Attend breakout sessions for developers and IT professionals
 - Test drive the products and evaluate their functionality
 - Network with peers, Microsoft, and local technology partners
 - Ask the experts
 - Receive valuable resources to help you take full advantage of this new software
Evaluate new software solutions and see how to build security-enhanced applications and help ensure reliability, create engaging, visually stunning, and highly differentiated user interfaces to make applications more usable and productive, and build applications that connect users to each other and to their data, allowing them to visualize, share, and act on information.
Register today at http://www.microsoft.com/business/uslaunchevent2007.

Additionally from what I was told Folks attending the Tampa Vista Launch Key City Event, or the MSAM events in Orlando / Lauderdale / Miami are going to get a FREE copy of Microsoft Office Pro 2007.

1/18/2007 - Tampa http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032314636&Culture=en-US
1/25/2007 - Orlando https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032316108&culture=en-US

Posted by sweisfeld | with no comments

SSRS Web Services

The other day I was talking to another local developer that was interested in using reporting services, but while the “Report Viewer” control provided by Microsoft is fast and easy it doesn’t necessarily fit into the business requirements that his users have outlined. To that end it is a good thing that Microsoft provided Web Service access to all of the report servers functionality. Since a high level of customization is needed to the UI and the Report Server already provides much if not all of the data you need to build it my recommendation is to build the UI dynamically by queering the report server for information.

I would start by reviewing this article by Marian Dumitrascu. While his implementation is using RS 2000 and looks like the report viewer it should spark the seed to show you what is possible. SQL Reporting Services Viewer Page Using SOAP API (http://www.codeproject.com/sqlrs/SQLRSViewer.asp)

Some general information about the Report Server Web Service can be found here: SQL Server 2005 Books Online - Building Applications Using the Web Service and the .NET Framework (http://msdn2.microsoft.com/en-us/library/ms154699.aspx)

Finally if you want to render the report and return it to the user as a file take a look at this article: How to create a sample application that uses the Reporting Services SOAP APIs to render a report to a selected file format on a Web page (http://support.microsoft.com/kb/875447)

 

Posted by sweisfeld | with no comments

What the C or C++ Programmer Needs to

This free on-line 267-page book is an introduction to C# and the Microsoft .NET Framework for programmers who have experience with C or C++.

Version 1.1 of .NET Book Zero was uploaded on January 1, 2007, and contains numerous minor corrections of typos in version 1.0. Version 1.0 of the downloable code was uploaded on December 4, 2006, and has not changed with the new version of the book.

Download it here: http://www.charlespetzold.com/dotnet/

Thanks to Geert Verhoeven as I found this link in his blog entry FREE Book: Petzold's .NET Book Zero

Posted by sweisfeld | with no comments
Filed under:

2007 Microsoft MVP

As many of you might know I have been very active in the .NET community. Microsoft has recognized my contribution by awarding me the 2007 MVP award. You can read more about the MVP program here (https://mvp.support.microsoft.com/mvpexecsum). I wanted to thank Joe Healy for nominating me (http://www.devfish.net) and everyone else involved in the nomination process.
Posted by sweisfeld | with no comments