Tag | MSDN Posts

Check out "A talk with James Kovacs on Agile Development", a great little webcast from MSDN Canada's community initiative.

You can watch it here.

D

I have seen posts like this floating around and then the other day I listened to Hanselminutes where Scott and Carl discussed the subject. I figured my enthusiasm has been lacking lately and maybe this would be a good way to bump it up a notch. I need to find a new way to get Microsoft products to learn on. One of the clients I used to work for had been paying for my MSDN subscription. With that gone and my current company being a miser with the developer tools I need to come up with a new plan. ...
I've been through almost all sorts of Timeout related issues with Asp.net web service development. I’d like put a check list here to remind myself and hopefully save some headache of yours. If use database, you may get ‘System.Data.SqlClient.SqlE... Timeout expired’: a: Check your connection string setting for ‘Connect Timeout’: I.e. connectionString="Data Source=SNYC14D11511;Initial Catalog=d_dbivt003;Persist Security Info=True;User ID= user;Password= Password;Connect Timeout=4200 b:Check ...
The second gem from the Analysis Services MSDN forum is also by Adrian Dumitrascu and deals with what the second "CleanUp" argument of the Measures.Remove() method does. MeasuresCollection.Remove() Method The 'cleanUp' boolean argument specifies if the dependent objects will be removed. For a Measure, the dependents include the PerspectiveMeasure objects. For a DimensionAttribute, the dependents include the CubeAttribute objects. If you do not specify the 'cleanUp' parameter, the dependents are removed. ...
Here is another gem from the Analysis Services MSDN forum by Adrian Dumitrascu from the product team. The one from this thread deals with what exactly the .Update() method does. And was in the context of talking about creating new roles in a database. MajorObject.Update() Method Even if you create the role as new, it's still not needed to call database.Update(). Calling role.Update() is enough. The .Update() method only saves the minor properties and collections (thus not the major children) of an ...
Take a look at my recent MSDN blog post to see how you can get around the common issues related to .NET development of Vista Sidebar gadgets. Don't want to write registry access code in javascript? Can't figure out how to uninstall your .NET based gadget? Read on... http://blogs.msdn.com/markh... ...

I was looking for some info on the background compiler, and found an old article on MSDN that gives a good, basic explanation. Thought I'd throw a quick link up to it, as much so I can find it when I want it as anything. :-)

btw, I love the title of that page......

While writing practice programs for my 70-536 exam I encountered interesting problem of writing custom IFormatter implementation. .NET offers many classes that can fit most of ours serialization tasks, yet sometimes it might happen that we would like to do something differently. As I was looking for sample implementation of this interface, I noticed that there was very little about it in internet. One of the most interesting articles was "Run-time Serialization" by Jeffrey Richter found in april ...
Last week we went through a "fire drill" when users of one of our web applications started receiving "Gateway Timeout" errors (HTTP Error 504). This error indicates that a gateway "server" (any host that forwards the HTTP request, including a router or web server) did not receive a timely response from a server that is supposed to respond. Naturally we didn't have a clue as to which host in the connection chain from users' browsers to our web farm was reporting the error, but the leading candidate ...

Please find the information about downloading & updating sql-server 2005 books online in the below mentioned msdn website.

http://msdn2.microsoft.com/en-us/library/ms166018.aspx

My daily Silverlight 'Pick of the Litter' from the web, and sometimes even things NOT Silverlight, I will add on as I come across others Streamed Template Processing for Data Binding in Silverlight Joshua Allen took Laurence Moroney's MSDN Article and extended it in Silverlight 1.1 -- with code (although you may have to convert the font on the 2nd half of the article -- I got windings!) LINQ Cookbook from the VB Team Not exactly Silverlight, but if you're doing 1.1 and hitting data, you probably ...
I was recently writing a small practice application for learning pursposes. The task was to read windows log file: %windir%/WindowsUpdate.log and find "exit code" numbers. The problem I encountered was to actually open properly file. I was receiving exception: System.IO.Exception with message: "Additional information: The process cannot access the file 'C:\WINDOWS\WindowsUpdate.log' because it is being used by another process." my code looked something like that: string windir = System.Environment.GetEnvir... ...
If you didn't get a chance to attend the Raleigh Code Camp this past Saturday, you missed a fantastic event! I was fortunate enough to be selected as a speaker and presented my Write Better Code Using the Refactoring Tools in Visual Basic 2005 session. You can find more information about Refactor! on the MSDN site and find a great whitepaper on using it as well. I want to be sure I thank everyone involved starting with all the volunteers from the Triangle .NET User Group, the other speakers, and ...

More of a convenient place to stick this so I can find it later.....

My programming partner and I recently were trying to get one of our custom types to use implicit conversion using reflection. It didn't work. We couldn't get to the conversion code no matter what we did. We found out that we can't use reflection that way. So, we used the suggestion in this great MSDN forum post.
I personally hate to open blogs, that just have list of links without more useful information. But as I wrote in Ways to store bookmarks/favorites post, blog is a convinient way to save favorites. So I will just save links for now, and hopefully will add more comments about them later. FIDDLER supports HTTPS, ensure that "Capture HTTPS Connects" and "Decrypting HTTPS traffic" are ticked in in "Fiddler options". However running Fiddler in "https mode" can have side effects, e.g. my connection to TFs ...
The Microsoft Office Interactive Developer Map is a Windows Presentation Foundation (WPF) application that helps developers visualize the different programs, servers, services, and tools that will help them build solutions. It allows them to drill down to each product and technology and learn about new features, objects, Web services, namespaces, and schemas required to extend Microsoft Office and build custom Office Business Applications (OBAs). The map is a living document that provides links to ...
I will put a few links related to ASP.NET unit testing. WATIN Initially I saw reference to WATIR from Scott Hanselman's post Integrating Ruby and Watir with NUnit . Recently I've found WatiN Web Application Testing In .Net, including articles WatiN - Web Application Testing In .Net - The Code Project - ASP.NET and WatiN Test Recorder - The Code Project .(The home page for WatiN Test Recorder is here) There is interesting article by Jeremy D. Miller with comment from ScottGu recommending WatiN . Using ...
Lately I’ve spent a lot of time playing with VS.NET “Orcas” Beta 1 and focusing on the language enhancements to C# in the new compilers. As an instructor who teaches the languages and as a developer of large frameworks for clients, the first thing I’m interested is the language enhancements. Then I dive into the addition “add-on” type features (read: WPF/XAML, WCF, Workflow, etc…) So far I’ve found some really intriguing features (like LINQ) that I like and think have some value but which won’t dramatically ...
We've got a custom control that consists of 2 radio buttons, a "normal button", and a text box, all on a single line. Internal to the control, I have all 4 of member controls lined up so that all the text is on one line. So far, so good. Except for one thing. When I put my control on my form, I can not get the text on my form to line up with the text on my label, and I end up manually futzing it into something that resembles "it's place". Where are my alignment functions? I guess it's off to google. ...
I just got done with a long afternoon of implementing a Windows Service to self-host my WCF service. It was a bit trickier than I thought it would be so if I can save you the headache I'll be happy. A good place to start is by reading these two MSDN articles: http://msdn.microsoft.com/m... http://msdn.microsoft.com/m... Next, you'll want to understand these support articles: http://msdn2.microsoft.com/... ...
Hot in the heals of Fridays beta release of Channel 9 version 4 are rumors that there will be a new MSDN channel 9 style forum called Channel 8 but this site will perhaps be aimed more specifically at students. Students do not particular get a rough ride on Channel 9 as many make a great contribution but it can't be all that cool for students to hang-out with a bunch of old techies like us, perhaps the reason for the site? Attracting more students in an effort to support them better, why not! After ...
Yeah, the new release of SQL Server shipped it's first public CTP already. To download the bits you need to register with the Microsoft SQL server 2008 CTP Program on Microsoft Connect, then go to the CTP main page, and watch for the links at the right bar (If you plan to share the links beware that they will give "Page Not Found" error to any one who's not in the CTP MS connect program). More links to check out: CTP Main Page CTP @ Microsoft Connect CTP Overview Whitepaper CTP Samples (At Codeplex ...
I got the following email from fellow MVP Greg Linwood on behalf of the Melbourne SQL Server User Group this morning which was taken from a posting by Ed Lehman from Microsoft in the private MVP newsgroup. I have not read any other feeds yet, but I imagine this news will be all over the web today. There will probably be a flood of information on Katmai, now that a release is publicly available. Enjoy! E D L E H M A N'S P O S T I N G This coming Monday, June 4, we will release the June CTP of Katmai. ...
I tried to find Tools to generate WSDL from SOAP Sample, but wasn't successful. I've started to use WSCF - Web services Contract-First to generate WSDL from XSD, that I've created manually , but I have the next problem. The SOAP example uses collections vector (with apache namespace) and I am not sure how specify them in WSDL to generate expected SOAP messages. Someone suggested "specify a struct in your wsdl file that contains whatever information your vector objects contain, and return an array ...
The latest MSDN Canada Flash newsletter announced a new Microsoft program where they are attempting to get Charities/Non-Profit groups who have technical work to be done, and match them with local IT workers who want to give back to their community. I'm not sure when it launched but there's a almost a couple hundred people signed up and at the moment 25 organizations with 10 job postings. I'd say that even if you're not interested at least let some of your local NPOs know about this site and I know ...
Heard on radio last week: Adobe is selling their "Creative Suite 3" 40% to 100% more expensive here in Europe than in the US. Swiss netizen Danielle Libine is gathering signatures to petition Adobe to change this. While I have my doubts about the power of such a petition against software giants, I also remember that Microsoft decided to include Expression Blend in MSDN after users asked (and asked and asked) them to do so on the web and on usenet. So maybe it'll work if enough people sign the petition ...
This week we need to choose the most appropriate communication technology for one of our projects. The project constraints are the following: .NET on both client and server client and server on same LAN A lot of information to be passed from server to client and vice-versa Performance is important Typed DataSets will be used on server side Presentation layer is developed with WPF Security is needed (sensitive or confidential data) The options we have are the following: ASMX Web Services .NET Remoting ...
The Windows Vista UAC exploit I recently published has garnered some attention as well as some criticism. I wanted to take a moment to reply to some of what I've seen in the press, in comments around the web, as well as the response from Microsoft. On some of the PC World/PC Magazine and their affiliates' web sites, there was a comment that "Pac-Man" should never require elevation (I use a Pac-Man clone as an example of what would otherwise be innocuous software in the whitepaper). This is true, ...
Roy Osherove did the final UG event of his Canadian tour tonight in Winnipeg, speaking to a very attentive crowd about Agile development. Roy had been talking at Dev Teach in Montreal last week, and had presented at the Edmonton .NET User Group last night. We were very grateful that he was willing to do the tour, so a big thanks to Roy for taking the time to stick around in Canada for an extra week! This tour wouldn't have been possible without the generous support of MSDN Canada and Dev Teach, both ...
Needing to learn MOSS "fast" - Tim points me to a bunch of nice videos on MOSS features. Kinda like the MSDN nuggets on MSDN UK site. http://www.microsoft.com/do... ...
Here are few lessons learnt from playing with the BDC on a project 1. Even though the BDC can crawl associated entities in your database schema, the search results will not show related entity instances for the item you searched. 2. In case of mapping 'complex' db schemas specially ones that contain m:n relationships between entities, sometimes it might be advisable to show un-normalized relationships via stored procedures or views, but this approach provides the following roadblocks Un-normalized ...
I was holding an ArcCouncil meeting in St. Louis last week and one of the attendees expressed their frustration with the seemingly 43 places you have to go to download and use the Visual Studio "Orcas", the Silverlight tools and Expression Blend. So, I'll try to clarify this right here and now: Visual Studio "Orcas": Here is the URL for the public download site: http://www.microsoft.com/do... Unfortunately, this site ...
If you're having issues downloading from MSDN Subscriptions the following steps cleared it up for me. I had the issue over the past several days. So, I tried MSDN support and in the end they were of no help. First they said I was the only person with the problem. Then, after I pushed them, the support person contacted her supervisor who confirmed that others were having the issue. So, these steps cleared it for me: 1. Control Panel -> Uninstall -> FTM File Transfer manager 2. In IE -> Tools ...
I have the ASP.Net application, that uses SqlTransaction.BeginTransac... before the call to Update SP and commit after the call.If any exception would happened, transaction should be Rollback. The code snippet is the following: conn.Open(); using (SqlTransaction trans = conn.BeginTransaction()) { try { ds = SqlHelper.ExecuteDataset(tr... CommandType.StoredProcedure, SPName); trans.Commit(); } catch (Exception ex) { trans.Rollback(); //Log the error } } We noticed that during update of web.config ...
i found this excellent code, that tells me how can i invoke external routine easily , using C#. The purpose of the following is to set a desktop image , on button click calling a routine from user32.dll using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Runtime.InteropServi... using System.Windows.Forms; namespace wallpaper { public partial class Form1 : Form { [DllImport("user32.dll", CharSet = CharSet.Auto)] ...
In the latest installment of MSDN Magazine "Toolbox", Scott Mitchell wrote a few paragraphs about how a developer can add to his applications/websites the ability to accept online credit card payments. The process does seem complex and a bit intimidating at first, but with the right tools it can be pretty easy. Scott points his readers to Authorize.Net (Internet payment gateway through which one can process the charges), and also mentions the availability of some third-party shopping cart products ...
Because the name, Interop Forms Toolkit 2.0, really doesn't tell you anything about it, I'd re-name it the "How to extend an established VB6 application with .NET code Toolkit". Yeah, my title might be a bit wordy and all but at least you'd know what it does! The goal is simple, provide a path to VB 2005 for VB6 developers without requiring them to completely rewrite their VB6 applications. There are plenty of VB6 applications out there that are still working exactly as they were designed. The problem ...
I was a new user of Groove 2007 so I used it a few times without obtaining a product key from my MSDN subscription. Created a couple of worksites, all was good. Once I realized I would be using Groove more often I obtained the product key. This time when Groove asked, I entered the product key. That's when strange things began to happen. Every time I tried to create a workspace in Groove it now began the configuration wizard and asked for the product key. Ok, fine. (I had been smart and saved it ...
In a recent post I mentioned having a problem getting the product key for SharePoint Designer 2007 to work. Welllll, I did some extensive research, ok, well not extensive but research nonetheless, and found this post on the MSDN forums. A couple people had encountered the exact same problem and the solution was kind of strange. The solution is to re-download the .iso image to make sure you have the latest. Ok, makes sense. The strangeness comes in when you look at the date posted for the en_office_sharepoint_design... ...
Last week I was searching for a solution to generate a complicated XML straight away out of the SQL Server. Actually, I had huge data scattered in few tables that I wanted to map to an XML with several attributes n elements with multiples levels of hierarchy, I was trying to generate this XML with the FOR XML Explicit mode. Doing things with this was really really complicated n terrible. So, I started to look around for new XML features introduced with SQL Server 2005 (as I was using SQL Server 2005 ...
Mix07 is live and lots of awaited stuff has come . Silverlight has a couple of new releases, Silverlight 1.0 BETA, and 1.1 ALPHA. Why 1.1 while 1.0 is not fully released yet? No idea . (See update below) What matters here is that 1.1 ALPHA targets developers more than anyone else. It also has a GoLive license . You should be just fine by installing it, and the SDK, and then start playing. (maybe also download the pre-release expression products). Silverlight Homepage (Has cool videos and more goodies) ...
In case you've been too buried by current projects to check out what's coming down the road in the next version of VB, you might want to check out the Overview of Visual Basic 9.0 article up on the MSDN site. I particularly like the new Relaxed Delegates feature, ok, well not the feature so much as the name. For me it conjours up visions of political types floating on rafts in a resort swimming pool, enjoying adult beverages, discussing the merits of the candidate they want to nominate. Now that ...
Microsoft recently released an Outlook 2007 update that, among other things, addresses some of the performance issues that occur when working with large .pst files. I'd tell you how well it works but when I try to download it my machine fails the genuine test for Office 2007. Now before you start thinking I'm using a pirated copy of Office 2007 or something sinister like that, relax, the problem stems from the fact that I have SharePoint Designer 2007 installed and can't seem to figure out why the ...
I came across something interesting on the Analysis Services MSDN Forum a little while ago - this post has been on my todo list for a while :). When processing a large dimension (10 million+ members) the following error was encountered. File system error: A FileStore error from WriteFile occurred. Physical file: .... At first it sounded like some sort of data corruption which was what someone else suggested and the proposed resolution of re-deploying and fully re-processing would have corrected the ...
*Moved to: Selling the benefits of Team SystemI have found that there is very little content available on the art of selling Team System for developers that want to use it. Developers need to sell it not only to their manager, but to a hole host of people, and it is no small expense to implement it. There needs to be some sort of content available to help sell this product, and I mean without trawling through hundreds of MSDN pages, case studies and blogs. Lets face it, if you tell someone a piece ...
According to eWeek, Microsoft will release the third beta, which is also the first pubic beta, for Windows Server "Longhorn" today. So far, Longhorn remains on track for RTM in the second half of 2007. More than 10,000 people have already tested the product either directly through Microsoft's technical beta program or through Community Technology Previews through TechNet or MSDN subscriptions. Windows Server "Longhorn" will build on the improvements made in Windows Server 2003 R2, and add the ability ...

Why is it that when you try to log into the MSDN forums to post a rant about one thing or another you cant manage to sign in using passport - Passport flat out sucks and it all ends with me using FireFox just so that I can log into the MSDN forums - does anyonelse get the same Internet Explorer cannot display this webpage - flamin useless.

G

Well I've been extremely busy in the last month and have not blogged much, I'm off to Disney for a few weeks, then DevTeach and after that I'll get right back to it. So after everybody and their dogs mentioned you all that VSTS "Orcas" B1 is finally available, I'm just going to say, go here for all the info. There are two (2) different VPC, one is with both TFS and VSTS and the other is only VSTS beware what you download ;-). You will also need the base differencing disk to run those images. All ...
Here's the culmination of my research into CI Factory and how I'm not using it to develop my open source RapidDB libraries. This is a fairly personal setup, as it only has a single developer (me), two development machines (currently an office desktop PC and a roaming laptop) and a build server which is not publicly accessible via the Internet. An MSDN and Microsoft Partner Action Pack subscription are busy covering my software license requirements. Summary: Development PC 1 : Desktop, XP Pro SP2, ...
If you are based in the southwest of England you are probably aware that there isnt a dot net user group and if you want to see any presentations you have to either be lucky enough and well planned to get in when MS come to Bristol but most likely theres the drive up the M4 to Reading. (I guess you could brave public transport and risk being late, getting lost or perhaps just not getting anywhere - bollox to that!!) I did post sometime ago enquiring how one would go about starting a user group - ...