WTF Next?

Dev ramblings from a master of nothing.

  Home  |   Contact  |   Syndication    |   Login
  136 Posts | 0 Stories | 109 Comments | 0 Trackbacks

News

INETA Community Speakers Program
GeeksWithBlogs.net: WTFNext's hosting!

View Stacy Vicknair's profile on LinkedIn

Twitter







Tag Cloud


Archives

Post Categories

Community Links

User Groups

How-To

From beginner to advanced, this post had you in mind for continued learning.
If you, like me, have ever looked over the MSDN documentation and though how nice it would be to have that type of documentation for your codebase, SandCastle is the tool you’ve been looking for. SandCastle is a Codeplex project initiated by Microsoft in order to provide MSDN-esque documentation for .NET projects or asssemblies. The documentation can come in several formats such as CHM files or a website. GhostDoc and SandCastle Help File Builder To get started with SandCastle for documentation, ......

When testing in ASP.NET MVC3, one of the common elements you might want to test is authorization. Although the framework does most of the heavy lifting for ASP.NET Membership and authorization it is still worthwhile to be able to write a test to show that the proper Authorization tag is in place. You might think that it’s as easy as calling the method on the controller with a proper context, but that’s not the case. When you call the methods directly on the controller the authorizations are skipped. ......

Today I ran into this problem when setting up the SQL Server Management Tools for SQL Server 2005. Like any good little code slinger, I googled (if you are particular to Microsoft, you can read that as “binged”) to see who’s had the problem, because it’s no news that when you aren’t on the crest of the tech wave that someone else has had the same issue. In particular, MSXML 6 would fail and the log would have a message similar to: MSI (s) (40:58) [22:16:00:859]: MainEngineThread is returning 1605 ......

If you’re trying to make a WBS from your suite of 2007 applications, Microsoft Download Center has a Visio add-on that might save you some time. To get a WBS pumped out quickly, just do the following: Download and install Microsoft Office Visio 2007 WBS Modeler. Open Visio, and start from the new WBS Modeler. Open Project and open the project you want to make a WBS for. In Visio, click WBS Modeler, then Import From Microsoft Office Project… Click through a couple more settings and here you have it. ......

For my recent Launcher project, I was constructing a ribbon that would allow the user to search the web via their engines installed in Internet Explorer. The engines themselves are an XML document following the OpenSearch schema. For firefox, these xml documents just get stored locally. What does IE do with theirs? Well, IE sticks them in the registry. Why? Maybe someone else can answer that. Here's a brief look at how to get the search engines out of the registry. The following snippets of code ......

If you haven't seen Google analytics before, you ought to know this: it rocks. You'll get great reports on everything from geographic location to browser to flash version (Why no Silverlight version, eh Google?) See example awesomeness here: Obviously I've only recently set this up. However, since it is up and running and working great, I figured I'd show you how to get yours up and running as well. Firstly, sign up for Google Analytics. Then afterwards, Google will provide a script to monitor the ......

Creating a plugin architecture in .NET can be achieved in a few steps using the .NET framework. All it takes is a little time, a common interface and reflection. In this blog we’re going to look at how to make a simple plugin that performs basic integer calculations. As a disclaimer, this method is not CLS compliant. If that is necessary for you, then stick around and I hope to have a new version that maintains compliance posted. The code in this blog is mostly illustrative, and the full code is ......

Hey guys, Here we are, and I’m taking the time to finish up my first series at my new host geekswithblogs! For this part of the series we’ll be taking a look at a practical example of an XML snippet, namely the snippet to create snippets. I’ve created my own version, but if you’ve toyed with XML snippets before you would know that Microsoft has already included a snippet snippet. This is a good alternative to the “Hard” way described in Part 1, but what if you want a little more of a custom feel ......

Here we are at part two of the Custom Code Snippet Series. In the previous part we covered how to make your own snippet by creating an XML .snippet file and adding to it the necessary content to get a custom snippet up and running. This time around, we’re going to cover the “Easy” method of creating custom code snippets: through a GUI. Thankfully, the MSDN itself has a Code Snippet Editor for both Visual Basic 2005 and 2008 available at the following links. This tutorial will make use of the Visual ......

I mashed together a variety of random web resources on how to make a decent pre tag for code and the output looks like this (ignore how incredibly bad this code is... I was testing SVN and making sporadic changes... Steve McConnell would strangle me): Module Module1 Sub Main() Console.BackgroundColor = ConsoleColor.DarkBlue Console.ForegroundColor = ConsoleColor.White Console.Clear() My.User.InitializeWithWindo... Dim sw As New Stopwatch() sw.Start() Dim username As String = My.User.IsInRole(Applicatio... ......

In this brief series I’m going to go over creating your own custom code snippets for use in Visual Studio 2005 or later. We’ll be using the XML Schema from Visual Studio 2005, but I assure you it works for both. This series will contain three parts: The “Hard” Way The “Easy” Way Practical Example of an XML Snippet The reason we’re going to call this version the “Hard” way is because there are snippet generator apps available, including one made by the teams themselves. So before we begin, I’d like ......

So you’ve got your free fancy express edition for VB or C#, you’ve created your new godlike application that you’ve just got to get out to the world and then the heavens rain all over your parade because you can’t find those other templates necessary to deploy your application. Now is not the time to give up, you can still get the job done with Click Once deployment, and Mary Lee over at the Visual Basic Team’s blog has got the tutorial to show you how. http://blogs.msdn.com/vbtea... ......

Continuing on from what I started in the Part 1 post, I’m going to show you how to get set up with Windows Live mail for your domain (assuming GoDaddy, but correlations will be present). It’s easy, relatively quick, and will result in a free service that ought to minimize your mail frustration. Step 1: Get an account started on domains.live.com To get started, browse over to http://domains.live.com. Towards the bottom of the page, click get started and then enter in your domain information. Leave ......