Tag | MSDN Posts

This is a very irritating issue which has taken me about two days to chase down - and all thanks to an apparently undocumented change between BizTalk 2006 and BizTalk 2006 R2 According to the documentation at MSDN (http://msdn.microsoft.com/... BizTalk maps should not preserve whitespace. However, after a recent upgrade from 2006 to 2006 R2 our test platform started rejecting records which it had previously processed without complaint. Initial analysis showed that it had ...
I've started to use LINQ and feel that query expression are very powerfull. Unfortunately , when in debugger I've tried to Edit and continue, it gave me an error Modifying a 'method' which contains a query expression will prevent the debug session from continuing while Edit and Continue is enabled. The post Orcas - Edit and continued not working when linq used - MSDN Forums explains that "it is a limitation of the environment in which Edit and Continue operates". I've submitted suggession to MS - ...
Recently we spoke about reading radio data in C#, however as in any vehicle we have also CD players. So what can be better, than to have an ability to play CDs while being notified about track name, gathered from CD-Text? So, let’s start. First of all, I want to express my pain with MSDN documentation about CD-ROM structure. Documentation team, please, please, please update it. First of all it is no accurate, then there are a ton of things missing. However, “À la guerre comme à la guerre”, thus I ...
Lately I've had a few people approach me after speaking engagements or conferences and ask for some advice on becoming a .NET developer. Sometimes this has been moving into IT from an unrelated field or other times it's just been a transition of existing development skills into .NET. Now if you have been in this industry for awhile (and had any success) you have apparently demonstrated at least some capability to migrate your skills from one newly released technology to the next. In 2009 it's hard ...
I have been playing with both the iHttpHandler and iHttpAsyncHandler lately, and I came across some interesting information. There are a couple of blog posts out there explaining when to use one over the other (see Mads Kristensen's post here, or Vlad Hrybok's post here) So when does it make sense to use Async? Consensus seems to be that it makes sense to use the iHttpAsyncHandler for long running operations, so while it probably doesn't make sense to use an iHttpAsyncHandler for say, loading images, ...
Day 5 of 2009 was pretty uneventful. I had a decent flight in from Minneapolis to Sioux Falls and drove the rest of the way in (roughly an hour.) The roads were clear and it wasn't overly windy, so that was nice. (Man that wind is a real PITA though, when it gets going.) Shifted gears at work, wrapped up my involvement on the workflow stuff last week and started on some plugin work that looks really interesting. I'm actually pretty psyched about it. The timeline (as usual) is a little aggressive, ...
Honestly, my eyes lit up like it was Christmas all over again when I read the updated MSDN Events RSS on my google reader. Some Louisiana love is finally on its way this month, here is the low down: MSDN EVENTS - AZURE, DEBUGGING AND MOBILITY SESSIONS INCLUDE - Demystifying Azure: An Overview of the Azure Services Platform for Developers - Deepen your Debugging: Tips and Tricks for the Visual Studio 2008 Debugger - Developing for Windows Mobile Devices FREE ADMITTANCE Enhance your coding capabilities ...
Happy New Year everyone, from SilverlightCream! I hadn't decided if I was going to do a retrospective post this year, I've done a couple, and if you haven't read them, they shouldn't be hard to find on my blog :) Going through my blog list, however, I came across a year-ender by Chris Alcock of "The Morning Brew", and taking his lead, I thought I'd put out some metrics on SilverlightCream. I have a list of 210 blogs I scan every day. This is an ever-growing list. As someone submits something to the ...
In the post below I am going to run down a short-list of some of the less-popular performance tips and the reasoning behind them. There are loads of blog postings and articles on asp.net performance enhancements, and I urge you to check those out as well. Onto the good stuff... Session.ReadWrite versus Session.ReadOnly It goes without saying that using the Session object will incur some performance overhead so if possible it should be turned off in the web.config. That said, If you’re using the Session ...
Merry Christmas everyone! As my Christmas gift to you guys, here is a list of random SharePoint Resources and tips and tricks you can use to aide you in your development efforts (not to mention, now I’ll know where to find it and can stop looking through all my bookmarks). Again, Merry Christmas and I hope you all have a wonderful and blessed New Year. Essential Blog Posts and Dev Resources If you are curious what can be done in SharePoint check out the sites listed at SharePoint Public Web Sites ...
Recently, we added a SSN type to our project. I also wanted to make an implicit conversion from a string, so that when using it I could do: 1: SSN mySsn = "111-22-3333"; I came across an msdn page about how to code it and thought I'd post it here for posterity. 1: using System; 2: 3: namespace Examinetics.Core 4: { 5: public class SSN 6: { 7: private readonly string _ssn; 8: 9: public SSN(string ssnString) 10: { 11: _ssn = ssnString; 12: } 13: 14: // implicit string converter 15: public static implicit ...
Tomorrow I'm taking the 070-536 exam. This will be my first Microsoft certification exam, and I'm hopeful to pass but I won't be terribly surprised if I do not. From what I've seen around the forums online and other blogs, this exam is not one that is a breeze. So, here's a look at how I've prepared, and maybe some helpful links for those of you looking to take this exam in the future. After I take the test tomorrow I will review how I could do better, and what might be better advice to those looking ...
Article Source: http://geekswithblogs.net/m... Versioning is one of the more difficult aspects of a BizTalk project mainly because of the ability to deploy side by side versions of the components within a BizTalk application and the fact that often a BizTalk project would require long running processes making it more difficult to do deployments. There are a couple of useful resources available on this area: In his article Versioning and Re-Deploying BizTalk Server 2006 Applications Richard ...
In this issue: Boyan Mihaylov, Jeff Prosise, Tim Heuer, Bryant Likes, Page Brooks, Michael Wolf, Jeff Wilcox, Swiss MSDN Team Blog, Robby Ingebretsen, Anna Wrochna, and Andy Beaulieu. Shoutouts: If ya wanna go to MIX09, and particularly if you're self-funded, I don't know if there's any left, but they're giving away 200 seats at $795... go there fast then come back :) Act Now! Limited Number of MIX09 Conference Passes Available for $795. I also want to say +1 for Thumbtack ... this is filling in ...
I'm currently studying for my first Microsoft certification exam, the 070-536, and during the process I came across this small quirk. Although most object arrays or collections in VB.NET start at 0, the Match.Groups collection starts at 1. This could potentially be a small frustration for those who don't use regex that often (especially with the added need to extract the information instead of just validating it). So, if you are extracting information using regex in the future, keep in mind your ...
*Moved to: Microsoft Answer for the end-userUp until now the only avenue for your average Vista user for support was to trawl the MSDN Forums, Technet Forums and the Support site for some elusive piece of information that is buried among all that technical BS that we teckies like to call help. All that has now changed with the addition of the Answers forum!Read more...Follow my new blog on http://blog.hinshelwood.com ...
In this issue: Michael Washington & Jeff Paries, Lutz Gerhard, Jeff Wilcox, and David Anson. Shoutout: Shawn Wildermuth tells us Don't Forget the MSDN Developers Conference in Atlanta . If you're in that area... don't miss it! Shawn is going to be speaking on Oslo... say hi to him for me! From SilverlightCream.com: Silverlight Dashboard Michael Washington & Jeff Paries have collaborated once more... this time they took Jeff's awesome graphics and put them into a Silverlight app ... it's about ...
This past week I drove up to Orlando to attend the MSDN Developer Conference, socialize and with other user group leaders from around the state, provided staffing at a community table. We had a number of our great Florida speakers there, typically teamed with a great Microsoft person from the area and a keynote with Ron Jacobs. The link for the event is: http://www.msdndevcon.com/P... Some pictures of the keynote, taken with my camera by Bob Suess ...
I know most of you are probably working in places that you can run new tools and toys. Not everyone is so lucky! I find myself working on .NET 2.0, IE6, VS2005, and Office 2003. I am able to run FireFox so that takes some of the sting out of IE6, and I can cope with most everything else in the interests of getting a paycheck every month. But... I would dearly love to be able to run OneNote, they tell me they don't have it for Office 2003, and I've been told that they aren't even going to start looking ...
If you are trying to setup a blog in SharePoint and want to aggregate its feed to a parent site, you’ll find that if you’re using NTLM you’ll get the following error: The RSS webpart does not support authenticated feeds This seems frustrating at first as you begin to wonder why you can create a blog, add RSS feed viewers, but can’t combine the two. Basically this appears to come down to an authentication issue, and NTLM’s lack of ability to delegate credentials. The solution: Kerberos, and what appears ...
Normal 0 false false false EN-GB X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; ...
Thank you to all that came out to see my Tampa Code Camp presentation. SMS Backup 1 – using message interceptor to capture incoming SMS messages and save to SQL Compact DB. Will be posted on: http://www.codeplex.com/SMS... For now get the VS 2005 Version here http://cid-153154d6f7d12177... A “How to” from MSDN on use of MessageInterceptor used in the demo: http://msdn.microsoft.com/e... To simulate SMS Messages and ...
In this issue: Alex Golesh, Bart Czernicki, Matthias Shapiro(3), Michael WOlf, Swiss MSDN Team Blog, Michael S. Scherotter, Jesse Liberty, Chris Carper, Bill Reiss, Jonathan van de Veen, and Jobi. Shoutout: Adam Kinney reports that Project Rosetta turns into a MIX09 workshop From SilverlightCream.com: Silverlight Tip: How to Inject and Execute JavaScript Function(s) on-the-fly from Silverlight Alex Golesh has a post up on injecting JavaScript Functions from Silverlight. He has a nice text-entry front ...
I wanted to install one of the 20 Admin Templates for WSS v3. I was only interested in the in the HelpDesk Template. So i went and downloaded the help desk templates and added the solution. When i tried deploying the solution i get the error: A feature with ID 75a0fea7-97c5-4487-88e4-70f... has already been installed in this farm Use the force attribute to explicitly re-install the feature. So i tried deploying it using the -force option and the error went a way.So i was happy But anytime i ...
Though some of you that were on the fence or have not year head about the MSDN Dev Con, are now more interested in coming out. It’s a tiny price compared to PDC and is coming to a city near you! A good group of local celebrities will be presenting along side proven Microsoft experts at the Orlando event. I will be in the attendance and around any community areas. And any social after event :) Bayer White (Jacksonville), Joe Homnick (Boca Raton), Christopher Bennage (Tallahassee), Rob Eisenberg (Tallahassee) ...
I've been struggling through a Team Foundation Server 2008 install with Sql Server 2008 over the weekend. It seems to be having an especially hard time with the SQL Server Reporting Services. After analyzing a few things, I determined that the configuration tool was having an issue due to some prior installations of software. The report urls were pointing to a SQL Express directory. I went about setting up the virtual directories manually. This required setting up an application pool, and I assigned ...
In this issue: Jonathan van de Veen, Bart Czernicki, Tim Greenfield, Ben Waggoner, Ning Zhang, Jesse Liberty, Jonas Follesø, Jafar Husain, Expression Team Blog, Adam Kinney, and Gerard Leblanc. Also: Jose R. Guay Paz reports Enter the Manning Free Ebook a Day giveaway... free is a definite good deal! Jeff Weber details that the Popfly Game Creator Updating to Silverlight 2. If you want to see what can be done with Popfly, check out the MSDN team blog roll on my blog page. Matthias Shapiro has updated ...
This is a constant battle I fight in my head when I'm designing something. MSDN has an answer: When to use Delegates Instead of Interfaces, but it is nowhere as complete as I thought it should be. Good Object Oriented Design dictates using interfaces to decouple contracts from implementations.The premise is to enable substituting different implementations of an interface.Nothing new here just plain old good design guidelines. With the introduction of delegates in .NET 2.0 and lambdas in .NET 3.5 ...
I was recently following along in a quick tutorial in Microsoft ASP.NET Programming with Microsoft Visual Basic .NET Version 2003 Step By Step by G. Andrew Duthie, when low and behold I came across a fundamental tutorial about ASP.NET authentication that just didn't work. The culprit? authorization forms credentials has a default of SHA1, not Clear that the book assumed. I checked through the MSDN entries to make sure this still applied in 3.5, even though the book was written for ASP.NET 1.1 (which ...
So I was hoping this post would be a glorious review of my first attempt at working with WebParts and Oracle. Alas, the experience has not been so glorious. I am working on a "dashboard" of sorts as a demo for my boss. I spent a few hours on it this afternoon as a spike to see if the approach is feasible. I have to say that I believe it is, but there is one major kink I have to work out. ASP.Net WebParts uses the SqlPersonalizationProvider by default. Unfortunately, we are developing on Oracle. However, ...
Just a quick reminder that the November 2008 meeting is tonight from 6:30 PM - 8:30 PM (ET) at the Microsoft office. We are very pleased to be holding this meeting in cooperation with the Central Florida BizTalk User Group. Since this is a joint meeting, please be sure to register so we have a good idea of how much pizza to order. Our speaker tonight is Danny Del Rio, a Senior Applications Architect specializing in enterprise integration. He brings extensive experience in various fields including ...
Recently I wrote a cheat sheet for pinvoking in .NET. Shortly after I got a question in comments about how to deal with variable arguments, when it's more, then one parameter. Also what to do if those arguments are heterogeneous? Let's say, that we have following method in C: int VarSum(int nargs, ...){ va_list argp; va_start( argp, nargs ); int sum = 0; for( int i = 0 ; i < nargs; i++ ) { int arg = va_arg( argp, int ); sum += arg; } va_end( argp ); return sum; } We can expose this method to C# ...
I received the following email the other day: Jason, We would like to extend our thanks for your participation in the INETA Community Champion program and your commitment to the developer community. You faced some challenging competition yet your accomplishments speak for themselves. The Community Champion team is thrilled to inform you that you are one of our top ten winners for Q3 2008. Congratulations Jason! INETA will be announcing the winners this week in our November INETA Newsletter as well ...
Just before I add lots of files and folders to my PDC attendee's freebie 160GB USB disk I thought I'd list out the contents as sort of like an audit. PDC 2008 160GB USB Disk file directory listing Autorun.inf starthere.cmd StartHere.html Developer\BluePrints\Inside... Developer\BluePrints\Introd... Developer\dotNetFramework\d... Developer\dotNetFramework\d... Developer\dotNetFramework\d... Developer\dotNetFramework\d... ...
One project was put forth that essentially requires creating a MessageBox look-alike, but the text supports rich-format, and we can do it in WPF. It's a pretty neat task, and in this post I'll focus on just the text side; the easiest way possible most probably is to just use a RichTextBox control, make it to have no border, and everything will be fine. However, I'd like to do it efficiently as well. FormattedText can be used; however it's hard to make it generic - essentially code has to be written ...
There's a great line up of some Florida speakers coming to the MSDN Developers Conference next month at the Rosen Hotel across from the Convention Center. The line up includes well known Joe Healy and Russ Fustino speaking along with XNA, Silverlight expert Bill Reiss, my fellow co author of the DotNetNuke book, Stan Schultes, Academic Relations Manager for msft, Dan Waters. There are other Florida pro's like Bayer White , Christopher Bennage, and Joe Homnick that I hope I get to meet as well. Hope ...
Did you miss PDC this year? Don’t want to watch the recorded sessions? Then register today for an MSDN Developer Conference near you! The MSDN Developer Conference (MDC) brings you the best content of the PDC presented by your local field evangelists and community influentials (mostly Microsoft MVPs). The conference is broken down in to 3 tracks: Azure Services Platform Client and Presentation Tools, Languages, and Framework The MDC is a one-day “best of” conference that costs $99.00. If you didn’t ...
As you may have noticed (perhaps on the Visual Studio Start Page), there’s a section of the MSDN reserved for the future of VB. The page is fairly bland at first glance, but there is a great reference to the new features of Visual Basic 10 available in the downloads that I dare say you should investigate. Of the upcoming news, some that stand out are multiline lambda expressions, “implicit line continuation” (AKA goodbye to the underscore, mostly), Auto-implemented properties (one line of code for ...
In this issue: Pencho Popadiyn, Dan Wahlin, Lee, Karl Erickson, Larent Bugnion, Manish Dalal, and Adam Kinney. Jeff Prosise has updated his Enigma Machine: Silverlight Enigma Simulator Updated. Shawn Wildermuth reports he has Updated My Silverlight 2/Astoria MSDN Article. Jesse Liberty is going to be Speaking at Code Mash 2009. David Anson reports he is Shamelessly benefitting from the work of others [Links to Silverlight Airlines and Surface samples for RTW!]... cool ports to SL2. From SilverlightCream.com: ...
I just got the INETA November newsletter and as I'm skimming carefully reading every word of it, I see my name on the awardees list for Community Champion. Not knowing if it was me or another Chris Williams, I dropped a quick email to INETA and sure enough, it was me. Very cool. Once a quarter, INETA will recognize leading contributors as Community Champions. In addition to claiming this prestigious title for twelve months, awardees also receive a letter of commendation, a certificate of achievement, ...
I just read the MSDN article on the Visual Round Trip Analyzer. This tool is awesome for finding bottlenecks in your web applications. It also allows you to see where your expensive download points are. With this tool I discovered that if I put a parameter after my large javascripts, such as JQuery, I can set the content expiration in the headers for 1 year. Then any time I need to change the javascript file (also works with images, css, etc...) the browser will then treat the file as new and redownload ...
1. Create 2 shared assemblies with different versions (1.0.0.0 and 2.0.0.0). 2. For assembly 1 include the following reference in project file. <Reference Include="TestAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=508b5c5f7455... processorArchitecture=MSIL"... <HintPath>..\..\TestA... <Aliases>Test1</Al... <Private>False</Pr... </Reference> Hint Path Vs Reference Path As for the "Referece Path" or ...
In WinForms era it was very simple to autoscroll listbox content in order to select last or newly added item. It become a bit complicated in WPF. However, complicated does not mean impossible. As for me, Microsoft should add this feature to base ListBox implementation as another attempt to be attractive environment for LOB application. See, for example this thread from MSDN forums. I'm really understand this guy. He do not want to implement it with a lot of code, he just want it to be included in ...
In this issue: Joseph Ghassan, Boyan Nikolov, James Bacom, David Justice, Jesse Liberty, Shawn Wildermuth, and Michael Sync. Tim Heuer has an update you should pay attention to: Flickr4Writer Service Pack update. Joel Neubeck updated his RatingControl with Theme support>... it was cool seeing that in action Wednesday night, so great to see him update it so fast... thanks Joel! A couple loyal subjects, Scott Hanselman and Scott Stanfield put together a DeepZoom of Obama Headlines... it seems to ...
Originally, I had used JP's method from this MSDN article for connecting the Views and Presenters. It works very well except it leads to a lot of very similar code. 1: public partial class _default : Page, IDefaultView 2: { 3: private DefaultPresenter _presenter; 4: protected override void OnInit(EventArgs e) 5: { 6: base.OnInit(e); 7: _presenter = new DefaultPresenter(this); 8: } 9: // other properties and methods for the IDefaultView interface 10: } Then I came across David Hayden's article on ...
Guys I was busy in some HLD for past two weeks or so. I'm back now into my favourite blogspace - GWB. Yesterday when our 64 bit porting team is working for the immediate 64 bit release of our product, they came to me for suggestion on a topic which I think worth discussing. While they are happily ported unmanaged C++ code, they were facing some difficulties with porting managed code(which should be easier! right?). In unmanaged C++ world they handled pointer disparity between the platforms with smart ...

One this is for sure, there's plenty of materials on getting ramped on the Microsoft stack.

We now have up on the MSDN Ramp Up center tracks for SharePoint...

Check it out:

http://msdn.microsoft.com/en-us/rampup/default.aspx

www.MyRampUp.com

Get the short introductory part 1 here. After the initial inspection was finished, I was pretty much surprised by looking at the existing assembly unGACing code. The code expects full path of the concerned assembly, create a temporary appdomain, inject following class(Util) into the appdomain and get the full qualified name(strong name) for the assembly, then uninstall with the help of IRegister interface. internal class Util : MarshalByRefObject { internal string FullAssemblyName(string name) { ...
In this issue: David Miles, Shawn Oster, Jeff Weber, Justin Angel, and Nikola Mihaylov. I stand corrected in that the Kongregate tutorials referenced in the Jeff Weber link below are being ported to Silverlight ... the tutorials, NOT Kongregate... sorry for any confusion! The subject was correct, my commentary wrong :( David Anson has made some changes to his ChartBuilder... check out his post: Improving ChartBuilder's cultural sensitivity [ChartBuilder app/source updated!] I've read a bunch here ...
Lets say we want to use reflection to generate a mock test case for this following Nested Class ClientAddress. When we load an assembly from a disk dynamically, we can use GetType to look up a type defined in the assembly. Example: Assembly assembly = Assembly.GetAssembly(typeof... Type type = assembly.GetType("ConsoleAp... object obj = Activator.CreateInstance(ty... But one point to remember here, to get Assembly.GeType working with nested classes a Plus(+) sign ...