I have two projects one is production code (called Main), the other is a unit test project to test the real production code (called Main.Test). Both Main and Main.Test are signed with a strong name key. To expose the internal stuff to the Main.Test project we have to add an item at the bottom of the AssemblyInfo.cs class (in Main, not Main.Test) which looks similar to this: (Note: Names and Public Keys have been changed to protect the innocent, and semi-innocent) [assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Main.Test,...
In the first post in this series, I provided a little info on the HandleError attribute in MVC 1. In case you don’t want to flip back, the HandleError attribute can decorate a method or a class and will push your users to a generic errors view provided customErrors is “On” or “RemoteOnly”. There’s a little more to it, but that’s all the background we need for this post. The out-of-the-box HandleError attribute works well, until you’re in a scenario where you need to do more than hide your errors....
If you know of a better place to take-out of the Deep River at US1, I’d appreciate a note here. :) Yesterday, my buddy Blake and I went out on a kayak adventure on the Deep River. “Kayak”, because we took kayaks with us. “Adventure” because it was very loosely planned and we figured if we ran into any trouble we’d just figure it out and deal with it. Turned out we did run into some trouble and we did deal with it! It was a ton of fun! We knew there was a take-out spot somewhere near the US1 bridge...
This post is the ninth in a series of postings, containing examples of SharePoint WebParts that anybody can build all by themselves. To read all posts in this series, or to get started with the RSSBus WebPart, go here. #9 – Microsoft Dynamics CRM The credit for this particular web part template goes to one of my co-workers Shannon Prue. I asked him if he could put together a MS CRM template example for me, and a few minutes later I had in my inbox a 10 line example template! In the past, integrating...
Microsoft has purchased Teamprise, who created a Team Foundation Server plug-in for Eclipse as well as extensions for doing Java builds with Team Foundation Server. http://www.microsoft.com/presspass/press/2009/nov09/11-09TeamprisePR.mspx This is big news since many of the industry experts from the analyst firms have cited lack of multi-platform support for Team Foundation Server Client as a weakness of the platform. Eclipse is now a fully supported MS environment for ALM. Technorati Tags: TFS,Eclipse,Teamprise,Java...
I’ve made the slide decks I presented at QAI TesTrek 2009 in Toronto available for download here. There is one deck on aspects of testing SOA and another on using VS 2010 test features supporting exploratory testing. My apologies for the delay but I’ve been off battling the flu. Thanks to the TesTrek organizing team and to all the attendees. I had a great conference. Technorati Tags: TesTrek,SOA Testing,Exploratory Testing,VS 2010,MTLM ...
Some EXCELLENT work done by Imaginet Resources is being featured in a Microsoft Ad Campaign. This solution is also a finalist for a Microsoft Impact Award. Check it out here: http://www.imaginets.com/news--events/imaginet%27s-healthcare-software-featured-in-microsoft-ad-campaign.aspx Notice my buddy Steve “Dr. Efficiency” Porter :) He is available for House Call’s :) Technorati Tags: Imaginet,Impact Award...
Thought this may be of interest to some SBUG Members as they will be discussing SQL Server 2008 R2 and SQL Azure at the Edge UG http://edgeug.net/...
TeamPrise – the cross platform “client” for TFS, with Eclipse support (plug-in), command line – has been acquired by Microsoft. So, we’ve been pushing folks to a 3rd parties to get back to the ALM Mothership – which is by far the best Enterprise class ALM platform that can scale from “1” person (see 2010 TFS) to thousands, geo-distributed – now, we can offer it direct resolving client’s concerns. Not that the SourceGear guys are of concern, they’ve been around for quite some time. This is great news....
As promised, here's the slide deck for my SharePoint Saturday presentation: Download Slide Deck Thanks again for attending...
In this Issue: Damian Schenkelman, Jit Ghosh, Jeff Prosise, Jesse Liberty, Victor Gaudioso, and René Schulte Shoutouts: If you can get to Twitter during the day (lucky you), check out Jesse Liberty's Subscribe to 62 Silverlight Twitter’ers.... there's a stellar list of devs on there! Adding to the burgeoning list of sites to check every day, Brad Abrams announced http://silverlight.net/riaservices/ is Live! Timmy Kokke has gathered together links to all the current Silverlight and Expression Tools...
In the first code challenge of its kind, Visual WebGui is offering a $10,000 and giving away prizes valued at thousands of dollars in their call to developers to be the first to submit a Webmail application written by another framework with fewer lines of code. Visual WebGui web/cloud platform's productivity is featured via the "Project Webmail", which is an Outlook-like web application with desktop responsiveness & performance & functionalities that was developed by a single developer in...
Today a colleague ask me to help. On his system all ReSharper menus are grayed out. Also the Visual Studio Add-In Manager does not show this add-in. He tried: a new installation: without success, running with administrative privilegeg: without success, looking in event- and application-logs: no entries. After searching a little bit with old buddy google we found this message: Wild World of Visual Studio -- Mysterious Component We downloaded and installed the latest Microsoft Core XML Services (MSXML)...
We were recently looking at ways to improve the performance of one of our BizTalk Servers, a server which is only using BizTalk Server 2004 Standard Edition. In our scenario, the server was often maxing out the single CPU it had, under peak load this resulted in time outs on the front end system that was calling our BizTalk web services. There did appear to be any design or tuning changes that would make a hude difference to this busy system, so we started looking into licensing costs and the idea...
Some cool guys (all working in ITWorx I guess, one of the biggest Egyptian Software houses) have created a new website: http://www.sharepoint4arabs.com The website, as the name implies, is dedicated for ARABIC resources related to SharePoint. It originally contained the technical blogs of the site founders (Founders' Blogs) which are very useful for posts about SharePoint, then very recently they have also lunched Screencasts (Also in Arabic) that start from the very beginning until further advanced...
The following BizTalk naming guidlines are heavily based on those proposed by Scott Colestock over at Trace Of Thought. As you can see from the link, Scott wrote his naming conventions for BizTalk Server 2006, whereas I am still using BizTalk Serevr 2004. In reality these guidlines are pretty much universal across any version of BizTalk you may wish to apply them to. Although the general principles for these guidlines are the same as Scott's, I have made some changes based on personal preference...
BACKGROUND Recently, I have been working on Windows Workflow Foundation. We are trying to create a custom host for workflow, and this workflow host is supposed to have a facility, such that it shold be able to provide a way to resume from the exact point where a workflow failed from the Admin UI. Something similar to the Biztalk HAT. Well, having said that the question how can something like this can be achieved ? What I am going to present here is one of the ways of achieving it. There would be...
You remember the previous post on dynamic. We will today look into it in a bit more detail. Yeah, let's ILDASM it and try and identify what is going on under the hood. But for the context of the post let's look at a simpler tale. namespace Coderslog.Net4.Samples { public class SimpleDynamic { public void CallDoSomething() { var instance = GetDoSomething(); instance.DoSometing(); } private dynamic GetDoSomething() { return new BehaviourA(); } } } A very basic class, hmmm which roughly translates to...
Lets examine the dynamic key word introduced in .Net 4.0. It can keep an instance of any type. Then what is the difference between it and System.Object. Well the essential difference between them is the dynamic method dispatching which enables lazy binding, i.e. it allows you to write method, operator and indexer calls, property and field accesses, and even object invocations which bypass the normal static binding of C# and instead gets resolved dynamically. It provides a unified approach to selecting...
To change the text of a softkey menu item, all you have to do is pretend that they are buttons. Well, they are specialized buttons in any case. So in order to change its property (in this case the 'text') you will have to use the TBBUTTONINFO structure along with TB_GETBUTTONINFO and TB_SETBUTTONINFO messages. Lets dive into the code: Note: Error checking is omitted for obvious reasons. TCHAR szText[128] = TEXT(""); TBBUTTONINFO tbi; ZeroMemory(&tbi, sizeof(tbi)); tbi.cbSize = sizeof(tbi); tbi.dwMask...
The tech influencers’ Twitter streams have been all aflutter this weekend, with talk of the Motorola Droid. Verizon Wireless launched its version this phone on Friday, and the techies are swooning. They love the screen, the Google Maps-based turn-by-turn navigation and the thinness of the phone, which still manages to sport a physical, slide-out keyboard. Most of all they love the Verizon network, which offers resilient service and ubiquitous 3G coverage. There seems to be something else though....
My wife and I have been working on a new site for the past couple of weeks. This is our second project since we re-launched our home business. ReleaseWeek.com The site lists major new releases of movies and television on DVD and Blu-Ray, video games, music and books. All of this is put into a simple current week format. This is our first project released as part of the Microsoft WebsiteSpark program. We built everything in ASP.NET Web Forms 3.5. I’m working on a new article on how to create public...
From time to time (and when there's room for it, of course), I'm doing a so-called Code Kata, a small to mid-size programming exercise that usually originates from some seminar or meeting. (Kata collections can be found here or here, for example.) What I especially like about them is the level of professional self-knowledge that they provide: When working on a Kata, you can experience how you deal with things without the usual business pressure. Lately, I did the KataPotter (you can download my solution...
I just got through interviewing Atif Aziz (@raboof on twitter – foobar spelled backwards!) probably most known (at least to me) for his ELMAH (Error Logging Modules and Handlers) contribution. We discussed ELMAH, ELMAH’s Veracode Application Security Rating which made OWASP top 10 in 2007 and SANS-CWE top 25, Fizzler, Jayrock, BackLINQ, LINQBridge, and MoreLINQ. Atif is a very smart guy and you can truly hear his passion for sharing with the development community when speaking with him. This was...
Hi All, The most awaited RIA services is live. You can check the below blog post. http://blogs.msdn.com/brada/default.aspx Thanks, Thani...
During my Building Line of Business Applications with Silverlight 3 presentation I walk through the creation of a sample application. The complete code for that sample application is available for download on the TakeNote Technologies website. Scroll down to the bottom of the homepage and you’ll find the Presentations section. If you have any trouble getting it running please let me know. Have a day. :-|...
The crew over at Microsoft have been working on putting together a RIA Services Community site where everyone can contribute resources and engage in discussions about .NET RIA Services. It’s live now and ready for you to check out. You’ll find downloads, overview documentation, blog post references, and other resources. Have a day. :-|...
Tibi and I are winding down after a hectic few days at the ØreDev conference in Sweden. It was a great conference, with a lot of international speakers and attendees, and a good mix of technologies and tracks. One of the highlights was Ze Frank, who was delivering his stand up comedy routine, which was targeted just right for the attendees. I laid down the gauntlet to Tibi by challenging him to get an interview with Ze, and he accepted and delivered the goods, thanks to Herbjörn Wilhelmsen for chatting...
Many people I know want to someday start their own businesses, including myself. We look at all the famous entrepreneurs of the world and dream of someday to be able to be the same. We are fascinated by their life stories, about how they started in their garage and built a multi-million dollar business. Some of us even might have innovative ideas for new businesses as well. In our work place sometimes we are given the responsibility to lead a project or lead a new product development. But how do...
I don’t think it’s fully hit me yet. This past Thursday was the last user group meeting of the year and the last meeting with me present as leader. Next week I am meeting with about 4 or 5 people to hand over the KC Office Geeks. Every so often I look back and reflect on where I have come in the past few years and how I got to this point in time. We have 177 people on the mailing list and an average from 15-20 people at each meeting. When Jeff handed off the group to me we were average 3 people per...
The next Winnipeg SharePoint UG event will be on Tuesday, November 24th at 5:30 PM. Same location as always: 17th floor conference room at the Richardson Building (One Lombard Place). Pizza will be provided. Presentation abstract is below, and to register please visit our registration site here. Architecting SharePoint Solutions Presenter: Juan Larios During the last year or so, Juan Larios has been working for a local client and has had a chance to architect solutions to common problems that many...
In an effort to continually improve as a developer, one of the things I do is read lots of books. Recently I read ASP.NET MVC in Action by Jeffrey Palermo, Ben Scheirman, and Jimmy Bogard. In short, I consider this a “must read” for anyone who is serious about developing with the ASP.NET MVC framework. I’ve heard some people say that this should not be your first MVC book because it is more advanced than other MVC books available. While I can understand that logic to a degree, I think it would be...
Thanks to everyone who attended my “MVC in the Real World” presentation at CMAP Code Camp today. The code as well as the PowerPoint can be downloaded here: MVC in the Real World Download I also had a few other requests during the talk. First, I had a request to post the code as it looked at the very beginning of my talk before I modified anything. You’ll find that link on the download page above as well (file name: PersonalInfoManager-ReadlWorldMVC-Begin.zip). Second, I was asked about a couple of...
Hey all. I wanted to let you know who was slated for the next interview - Javier Lozano. Javier is a .NET consultant in Des Moines, Iowa. He's an ASP.NET MVP and MCSD specializing in ASP.NET, system architecture, and training. Javier is also a co-founder of the Iowa .NET Users Group. On his blog you can find posts on ASP.NET, architecture, design patterns, .NET, XML and Indigo (WCF). Javier enjoys giving back to the community by speaking at user groups, local/regional .NET events, being active in...
As I am digging more into SQL Azure, it seems choices for auditing will become a little bit more restricted. Generally speaking there are four ways to audit SQL Server statements; these mechanisms are used by various software vendors to deliver auditing capabilities for compliance mandates and for security reviews. However as we will see, many of the products will stop from working for SQL Azure due to some limitations imposed by the database. At a high level, the four auditing mechanisms are: Server-side...
Hey all. I wanted to let you know who was slated for the next interview - Javier Lozano. Javier is a .NET consultant in Des Moines, Iowa. He's an ASP.NET MVP and MCSD specializing in ASP.NET, system architecture, and training. Javier is also a co-founder of the Iowa .NET Users Group. On his blog you can find posts on ASP.NET, architecture, design patterns, .NET, XML and Indigo (WCF). Javier enjoys giving back to the community by speaking at user groups, local/regional .NET events, being active in...
Hey all. I wanted to let you know who was slated for the next interview - Javier Lozano. Javier is a .NET consultant in Des Moines, Iowa. He's an ASP.NET MVP and MCSD specializing in ASP.NET, system architecture, and training. Javier is also a co-founder of the Iowa .NET Users Group. On his blog you can find posts on ASP.NET, architecture, design patterns, .NET, XML and Indigo (WCF). Javier enjoys giving back to the community by speaking at user groups, local/regional .NET events, being active in...
I met Philippe Schutz at the TechDays in Geneva early this year, and have been following him on Facebook since then. He does amazing work with logos and icons, and it is only natural that I have thought of him when I decided to get a new logo and icons for the MVVM Light Toolkit. A brand identity is quite important to me even in private projects. This is why I created the site GalaSoft (www.galasoft.ch) years ago, and started using this “brand” consistently as well as the cat logo (more about that...
Tools and Techniques for the Windows CE developerI’m opening this blog after two presentations at TechEd EMEA, one in 2008 in Barcelona called “Go embedded!” which was presenting some specific challenges encountered in embedded projects – and another one this year in Berlin called “Windows CE Tools and techniques to face the embedded challenge”. These two talks have a logical articulation, first the “what” and then the “how”.I decided to cover the “Tools and Techniques” subject after several recent...
Ive had a few people ask recently about getting the source code for the BizTalk Light and Easy videos I did about testing and build. The code is all on Codeplex where everyone should be able to easily get a copy. http://biztalklaealm.codeplex.com/ Enjoy Mike...
I gave an iPhone app presentation yesterday. It turned out well, but I wasn't pleased with my projector options. I went with the webcam aimed at the device solution. Glare sucked, my fingers got in the way, but it was generally viewable and allowed me to show iPhone features that are not supported on the simulator. Still it lacked the quality and polish I was looking for. When I do this presentation to a group of 100 or 500, or to the CEO or the founder of my company I'd prefer something slicker....
In this Issue: XamlNinja, Zoltan Arvai, Alan Mendelevich, Dimitris - Ilias Gkanatsios, Chris Klug, Pete Brown, Fons Sonnemans, Tim Heuer, Jeff Prosise, and Mark Miller Shoutouts: Corey Miller posted a User Experience Review post that's a good read. Jeff Wilcox announced The Silverlight Toolkit - now in the Microsoft Web Platform Installer Andrew Duthie blogged about the Freescale Sensor Badge - Fun Gadget! ... get yours! Laurent Bugnion announced another early release of his MVVM Light Toolkit V3...
On Saturday November 21st the Dutch .net usergroups SDN, VBCentral and my own dotNed will host the third annual CodeCamp. This time it will take place in Rotterdam. As with all CodeCamps, attending the event is free provided you register first at the http://www.codecamp.nl site. on this day Freena Eijffinger (from NSquared) and myself will present a session on development on Surface. I am currently hard working on the content of it, but now it looks like Freena and I will split up the talk in two...
Hello Guys, I have sample here on how to create a simple Create, Read, Update, and Delete on Database. This sample created on Visual Studio 2010 Beta 2 using C# and Asp.Net. I did'nt include a validation on this sample. I only want to show on how to Select, Insert, Update, Delete on Database. For those who beginners I hope it will help. You can now download my Sample File at this Link...
My team is going to start using the Manual Testing functionality available in VS 2010 for one of our larger projects. We started today to migrate some of our manual test scripts over to Test Cases/Test Plans in Test and Lab Manager. We ran into a problem immediately that almost prevented us entirely from continuing to use the product. If you have a Test Case with a lot of Test Steps the scrolling in the Test Case editor in Test and Lab Manager is broken. When you get enough Test Steps so that you...
OK, I’ve been remiss in my duties as a blogger I know. Can you forgive me? Both of you? C’mon! It was only a couple of weeks. I promise to be more diligent in my posts in the future. So… we cool? Ok. I am really posting to let you both know that I will be speaking at Iowa Code Camp tomorrow. I have two talks. One on BDD, of course, and one on The Opinionated Web Solution. This is a new talk that is about arranging web projects in a solutions. If you happen to be in the Des Moines area, drop by. ~Lee...
So you have stored procedure and it’s having issues. When you run it, it returns really fast. When .NET runs it, its like a dog. The first thing you learn about SQL Server is that it has something called ARITHABORT and it is turned on in SQL Management Studio and OFF in ADO.NET. Yeah you heard that right. OFF. So when you find this out, your first thought is WTF, mate?! Why do we have to make this hard on ourselves? Reference post: http://sqladvice.com/blogs/gstark/archive/2008/02/12/Arithabort-Option-Effects-Stored-Procedure-Performance.aspx...
If you are in Des Moines, IA, tomorrow for Iowa Code Camp, I’m speaking on “Automated Builds: How to UppercuT your Code” at 3:45. If you are going to be there and we’ve only met on Twitter before, I’m looking forward to meeting you...
As far as I have seen content controls in Office 2007 render to either a SdtRun or SdtBlock object. The nice thing is that both of these inherit from SdtElement. This allows you to take the query from my earlier post and replace SdtBlock with SdtElement and now you have a universal retrieval. Of course as with any tool you need to be careful you don’t take it too far. Depending on the structure of you document this may not do what you need. Technorati Tags: office Open XML,OOXML,LINQ,.NET...
I’ve been using ASP.NET MVC Release 1 for a bit now, and while it’s definitely not for every application, I happen to like it quite a bit. There has been a lot of activity on MS-centric blogs regarding MVC, but there are still some really mundane tasks that there could be more information on. So, this series of posts isn’t going to be anything crazy; it will, however, illustrate what options you have to do centralized error-handling using MVC 1. We’ll start at the beginning… The System.Web.Mvc.dll...
Geekswithblogs Gets a Facelift
Celebrating the five year anniversary of the first post on Geekswithblogs, the GWB team has launched a new look and functionality for the community designed to help the community continue to grow and increase interaction amongst bloggers.
The new design offers bloggers and readers the ability to quickly check recent posts, popular posts, Twitter users from the community, community news, and featured bloggers.
The redesign also makes it easier for bloggers to find tutorials on how to get the most from their blogs, support information, and a community-wide tag cloud.
We hope that you will enjoy the new features and look. Here’s to another five years and to everyone that makes up Geekswithblogs!
GWB Goes to PDC ’08 – Let Us “Tag Your Top”
Geekswithblogs is proud to be a Silver Media Sponsor for the upcoming PDC ’08! This will be a great opportunity for face-to-face interaction with the developer community.
If you happen to be going to Los Angeles for the PDC, and we highly suggest you do, make sure to swing by the Geekswithblogs booth (#100) in the Expo Hall to say hi! We will have some amazing looking Geekswithblogs stickers hot off the press ready to “tag your top” – so bring your laptop by to take it from drab to fab!
GWB Podcasting from PDC ‘08
Make sure to look for fellow Geekswithbloggers Chris Williams and D’Arcy Lussier roaming around the floor. They will be playing the part of on-site GWB ambassadors and roving reporters; stop and chat with them!
We’d like to know what you think about the upcoming podcast. We are thinking of firing PodcastStudio.net (the official podcast of GWB) back up after the event and would like to hear your thoughts and suggestions.
GWB and PDC ’08 – We’ll Make You Famous!
A major part of our display at our PDC booth is going to include a video featuring none other than the Geekswithblogs community members! We’re proud to have you as contributors to a large, healthy blogging community and want to give you some additional exposure.
Here’s what to do; record yourself saying “I’m a geek with a blog, and I…”. Simply fill in the rest with something interesting about yourself. It could be anything from what technology you love, what you like to do in your spare time, where you live, etc.
Examples include:
- I’m a geek with a blog, and I rock at ASP.NET.
- I'm a geek with a blog, and I support my development community by presenting at user groups.
- I'm a geek with a blog, and I love playing guitar.
- I’m a geek with a blog, and I volunteer to help the homeless.
- I’m a geek with a blog, and I chug energy drinks.
First 30 bloggers that send in a video with at least 5 statements get a ultra-stylish Geekswithblogs t-shirt with their blog URL on the back!
Stay tuned for FTP information for uploading your files!