Tag | Microsoft Posts

Most of us have probably used or know of the System.Diagnostics.Debugger... For more information on Debugger.Break checkout this link http://msdn.microsoft.com/e... Online documentation states that if no debugger is already attached, user would be prompted to attach one to executing program when the break is hit. For some reason however, this didn’t work for us when our desired breakpoint was in an OnInstall() function of an installer class. Further ...
Today a new set of tools targeting the Windows Phone 7 “Mango” release is available. This toolset is being called Windows Phone Developer Tools 7.1 This by not means can be translated into the actual product name for the final release! The download is available at Create.MSDN.com [might take a few hours to appear on that site] Direct Download Link Documentation and What’s New is on MSDN: http://msdn.microsoft.com/e... Using these tools a developer can write WP7 application for 7.0 ...
Last night I gave a talk at the St. Louis .NET User Group regarding .NET Reactive Extensions (Rx) and their basic use. While Rx has been around for a number of years and I’ve seen a number of presentations at various conferences and industry events I still feel it isn’t as widely understood or adopted to the level I feel it’s capable of. My recent interest in Rx has been due to my heavy involvement with some very complex Silverlight and RIA Services applications. In these environments (especially ...
Much has been talked about the new release of ASP.NET MVC, i.e. MVC 3 and the new Razor syntax and the ability to simplify the development. Razor uses the @ prefix for switching between code and HTML and that kind of simplifies it when compared to using <%: symbol as with the case in MVC and ASPX engines. Here is a nice article from David Ebbo on how all of these fit together Not just that, Razor comes with a lot of goodies. The Helper classes simplify in doing some of the common tasks, doing ...
I’m crazy excited about the technology industry right now. We’re seeing evolution happen in real time, and at all levels. From the major platforms, we’re seeing Google’s overall story taking shape, Microsoft playing catch-up but showing with WP7 and Windows 7 that they are very much still a competitor, and Apple continuing to bolster their empire beyond fanboys with their quality technology and innovations. Then there’s the software platforms like Facebook, Twitter, Linked In, and others that are ...
This is a placeholder for the folks who attended the Microsoft UK tech days developer track on the Windows Azure Platform and asked me to share my decks asap. I will create a much more detailed posting once both days are done. Download decks: New Old or Pink – it is all good Windows Azure Platform Roadmap The main links from the day are: Connect with my team if you are an ISV (or similar) in the UK – http://bit.ly/ukisvfirststop (Including our blog, LinkedIn group and Microsoft Platform Ready assistance ...
Just reminder of a post I wrote back in December. Don’t forget that there is a variety of free ebooks available for download on a number of different developer and IT topics. Developer subjects include Programming Windows Phone 7, Moving to Visual Studio 2010, and Introducing SQL Server 2008 R2. IT topics include Deploying Windows 7, Understanding Microsoft Virtualization Solutions and First Look at Office 2010 just to name a few. Have a day ...
VSCommands2010 adds multiple convenient features to Visual Studio 2010. For instance, one feature of VSCommands2010 I use frequently is the ability to visually "Group" partial classes in Solution Explorer. This comes in handy especially with the relatively large number of files in our .Net 4.0 solutions. I did however run into an interesting problem as I attempted to upgrade VSCommands to the latest version. Updates to the tool were successfully downloaded to disk as evidenced by the progress bar, ...
The Short Story: There is an undocumented (as of this writing) limitation to SharePoint 2010’s managed metadata columns: they only allow ~250 entries into one column, for one item. If you exceed this limit, you’ll most likely get this error: <nativehr>0x81020030&... URL 'SitePages/Test Page.aspx' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web. We haven’t identified ...
Oh this is just too cool… check out the new Debugger Canvas Power Tool for Visual Studio 2010. You have got to watch the demo video. It’s called the Debugger Canvas and the best news is that it’s going to be available for download from the Microsoft DevLabs next month. It looks like this could really revolutionize the way we debug code in Visual Studio. There is a lot to like here. I like being able to see all the code in the call stack. I like being able to save the status of an object for comparison ...
There have been some great announcements at the Tech-ed North America 2011. The announcements have been around, Enhanced User Experience Agile Planning Tools Lightweight Requirements Stakeholder Feedback Code Review Features Continuous Integration Agile Quality Assurance Aligning Quality Assurance Some buzz words you will be hearing overtime with vNext will be code review, search code blocks, my Work Hub, context switching, intellitrace in production, scom integration with TFS…. Agile Planning No ...
Mondays had been good to me recently. Mondays at work are usually quiet, and occasionally I may even be able to sneak in a nap if you want to. Yeah, I have it good. But this Monday would prove to be a bit trickier than normal. It started out normal enough, I was rushing to work, and hoping for one more day full of naps. As I settled in and logged on to my system, I saw an email from one of the clients. It said he was not able to connect to his SQL Server 2008 instance. Also, he had tried using the ...
8:39 AM Supporting the Exchange and Lync communities. Exchange 2010 News Certification News: Microsoft Certified Master:Exchange 2010 Overview of the Cert FAQ Resources: Microsoft Exchange team blog Gary Siepser’s PowerShell examples Bhargav Shukla’s blog Jedi Hammond’s blog (exchangemaster.wordpress.com) Mike Pfeiffer’s blog (mikepfeiffer.net) C7 Solutions team blog (c7solutions.com) Tim McMichael’s blog Mike Lagase’s blog Pasted from <http://www.microsoft.co... ...
Thanks to everyone who attended my Intro to F# presentation at the Cap Area Cloud Computing User Group meeting on May 19th 2011. I apologize for the slight delay in getting the presentation materials uploaded. In the Demo project source code, I have included both Normal and Async source samples. It will make it easier to understand what code changes were necessary to transform it to Async Workflow and parallelize it. In addition, I have included some F# script files (.fsx) so you can try out some ...
Microsoft has just released a new SSIS 2008 transform component called SQL Server Integration Services Balanced Data Distributor. As the download site states “this transform takes a single input and distributes the incoming rows to one or more outputs uniformly via multithreading”. Sounds like we got a component to evenly distribute some data across multiple destinations. Frankly, I though we could do this even before using either a Script Component or the Conditional Split, alas this component has ...
We had a process ot using BizTalk to take in a reference file, then send data in via a table_type parameter in a stored procedure. The stored procedure uses a MERGE statement to insert and update; the update part of which does a CHECKSUM first to determine whether an update is even necessary. Then it happened, we had a reference row that should have been updated by the latest file, but it wasn't done. We checked the incoming and outgoing BizTalk Message in and out of the pipeline; everything looked ...
Materials for the PHILLNJ.NET Presentation – August 24, 2010 On August 24, 2010 I demonstrated the “Repository Pattern” which is a Enterprise Architecture Design Pattern and the foundation of Domain Driven Design (DDD) which is primary in loose coupling your applications design. At this presentation I demonstrated the use of the “Repository Pattern” combined with other subjects such as Unit Testing, Custom Mocking with LINQ & Generics. I also gave out a limited number of CD with the code and ...
Granted, if you are just transforming data in the same SQL server, why would you do it in SSIS instead of just using Pivot and Unpivot in T-SQL query? But what about in the case where data comes from various sources? What I had fun doing was the ability to skip using Linked server, pull in data from different sources, like XML over web service. Another point that made me happy was the ability to simulate ROW_NUMBER() function with the merged data by using a Script Component. Anyway, I highly recommend ...
One of the several hats I wear at work is one of configuration manager for the internal data management application my employer uses. This app currently has 11 solutions of active code which need to be built whenever we release to the QA environment. The QA releases typically occur a minimum of 3 times per month and take approximately 30 minutes from source control "Get Latest" to the final step of the deployment onto the QA servers. A few years ago, my team automated the post-build deployment steps ...
You probably have already visited Channel 9, and if you have not I would recommend to definitely check it out. There are literally thousands of videos about development using Microsoft technologies (and more). You can watch the videos on the site using Silverlight player or you can use links on each video page for downloading. This usually works fine if you are interested in just one or a small number of videos, but it might become somewhat tedious if you want to download a bunch of them. I recently ...
Normal 0 false false false EN-US 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:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.000... mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans... mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-... ...
Its been a while since I blogged. Its been hard balancing blogging time, work and many other activities. Most my days and even evenings have been cluttered with a number of tasks ranging from mundial to critical. There is some which have been most interesting include very nice lessons I took from from some of the people I respect in the industry. I will try and highlight some of the things I did in below. 1) The DataObjects.NET contribution programme. From February this year I quickly responded to ...
For Microsoft these days, great things are happening at the macro level, and yet there’s fits-and-starts progress down below. This year’s Tech Ed North America conference represented, in event-form, that very duality. On the one hand, this was the largest Tech Ed in my memory, with 10,000 attendees. But the customary Microsoft 2-day, all-morning keynote format was shortened to a Day 1, 90-minute talk on Cloud and Visual Studio. Microsoft’s cloud push reached an almost fever pitch; but various new ...
If you are trying to get up to speed on Visual Studio 2010 and .NET Framework 4.0 you can get a training kit from Microsoft website for free. It is 411 MB exe file and after install you can navigate thru presentations, labs and demos. http://www.microsoft.com/do... N. Overview The Visual Studio 2010 and .NET Framework 4 Training Kit includes presentations, hands-on labs, and demos. This content is designed to help ...
At TechEd this year, there's only a few sessions and expo booths aimed squarely at devs rather than sysadmins and DBAs, but one of the things I picked up on was what's going into Visual Studio vNext. There's no shiny new UI features (that they've announced so far...) but they are doing a whole lot of work improving the performance and memory usage of VS - parallel builds (already supported in core MSBuild, just not used in VS up to now), and spinning off a separate process to do each build. This ...
Ok, so you have locked your SQL down. No users allowed. But then there is this information worker for whom the IT department made a special SSIS package. And they loaded the package in to the SQL server and created a SQL Agent job for it. Well no problem so far. But now the user wants to be able to start the job when ever he needs to. Hmmm, huge problem. Because you need to have SA equivalent rights. What?? Yes, you read it right. SA equivalent !! Hell no! Ok a sql geek will now say, that's wrong, ...
Well not really that long ago, this is actually a brand new for me. I just decided today to start blogging about my experiences as an IT professional. Since none of you know me, I am a systems engineer for a NJ based energy company. My main areas of expertise are in Microsoft server technologies specifically Exchange, Active Directory and plane old Windows Server along with vSphere and many more. My job responsibilities entail life-cycle management, developing infrastructure standards and solutions ...

At http://www.ssmstoolspack.com/  there is SSMS Tools Pack which is an add-in for Microsoft SQL Server Management Studio (SSMS) 2005, 2008, 2008 R2, 2011 (Denali) CTP1 and their respective Express versions.

The setup has separate sections for SQL 2005, SQL2005 Express, SQl 2008 and even for SQL 2011.

Welcome to my new blog. This blog will be where I share with all of you everything new that I learn about software development in general. I have been in the industry for about ten years, but recently came to the conclusion that I needed to really focusing on developing my skills more than I had been. Not that I hadn't been before. When a Microsoft conference would come around I would always catch the keynote, watch several of the sessions, and spend my evenings learning about the newest technologies ...
It has been a couple of weeks since I last posted about TechDays. Today I completed the final review of all the decks for the Windows Azure developer tracks for Monday and Tuesday. All except for the keynote (always troublesome) and the roadmap session (equally troublesome) are now final – which gives me a warm and likely misplaced feeling that we are in good shape. Yesterday we had the T-1 week meeting in which everyone was smiling. Good stuff. In my case, it was also my first experience of using ...
Abby is a fellow evangelist at Microsoft with a specific focus on working with startups in the USA. Abby has some great insights into how to be a successful startup. Now my team in the UK are focused primarily on ISVs (Independent Software Vendors) but it turns out that a pretty high percentage of startups are … you guessed it… ISVs. If you happen to be an ISV and a startup in the UK, then I would definitely recommend you spend 13 minutes with the following: Lean Startup 101 for Developers Lean Startup ...
In case you missed it, the Windows Phone Hackathon was last night. TechEd attendees and community folks from around Atlanta showed up to get some free training on Windows Phone development (Silverlight, XNA, Azure) and have some Q&A with various subject matter experts (and free help with their projects.) We had a really good turnout, with most people in the Silverlight room learning about making apps. We had a few folks in the XNA room, some who were brand new to XNA and others who were already ...
I’ve created an extension method to Find Sibling Activity by name Based on example from http://msdn.microsoft.com/e... public static TActivity FindSiblingActivity<TAct... Activity sender,string activityName) where TActivity:Activity { //CodeActivity thisActivityInstance = sender as CodeActivity;sender. Activity parent = sender.Parent; var retActivity=parent.GetActiv... as TActivity; Debug.Assert(sender.IsDynam... ...

Just surfed on this free book for Programming Windows Phone 7.
Its all free including sample code and an emulator.

Enjoy

With the NetFx 4.0 platform update, the WF state machine is back…

Microsoft .NET Framework 4 Platform Update 1 - The .NET Endpoint - Site Home - MSDN Blogs

I wanted to replace .Net Remoting calls with WCF. Article “From .NET Remoting to the Windows Communication Foundation (WCF)” was very useful for me. It was misleading reference to Attribute ReturnUnknownExceptionsAsFa... which doesn’t exist any more.It has been changed to IncludeExceptionDetailInFau... I wanted to use WCF Binary Encoding when Host in Windows 2003 Server(IIS6) instead of text encoding, that is coming out-of-the-box I found the blog WCF: Enable Binary Encoding Over Http and literally ...
Microsoft has released an updated virtual machine for Visual Studio 2010 RTM including TFS, Microsoft Test Manager, all the bits. Also includes sample projects and hands on labs. The previous version expires June 1st, this one is good until November 1st, 2011. As usual Brian Keller has all the details including download instructions! Technorati Tags: TFS 2010 ...
If you're in Seattle or will be in Seattle, well ok ... actually Redmond, the 2nd week of June, and you've got some time and money to invest in your career, Alex Golesh announced a great opportunity. Alex is a Silverlight MVP, and way back in February of 2010, I saw the WP7 emulator running on his laptop at the MVP Summit... that means he's been involved since before they told all of us at the Summit that we were now WP7 devs! Lots (maybe all, for all I know) of the WP7 training you'll find at at ...
In many scenarios I found useful to store data in FromToRange template class. It is more descriptive than generic Tuple Class /// <summary> /// Summary description for FromToRange. /// </summary> public class FromToRange<T> { public T From; public T To; /// <summary> /// </summary> /// <param name="from"></param> /// <param name="to"></param> public FromToRange(T from, T to) { From = from; To = to; } #region Static Public methods #endregion //Static ...
This error plagued me some time ago but then some change in the called service(i think they sped up processing...) was the solution. But in my new project it happend again. We call a WebService hostet on WebLogic. No problem if the traffic is low and only few calls are made. But then calls increased and *boom*. Not again! It took us several days to tackle it, trying things like the "keepAlive"-customWCF-binding (see earlier post) and lots of config-changes on WebLogic and so on. Nothing seemed to ...
Working on prod issue for one of our customer using BizTalk 2006 R2 RFID, we started running into a strange issue where we are reading the vehicle and driver information. We started seeing all of our drivers tags are getting rejected after the 1st successfully read but all the Vehicle tag get processed without any issues. Just for your info each driver keep driving new vehicle each time so that’s clue for you. So on further investigation we found duplicate elimination event works fine for Vehicle ...
This has been a fantastic week of XNA activity and news. Standing ovation the the XNA Team for the interaction they’ve been having with the community as well as the new features they’ve been rolling out for Xbox LIVE Indie Game developers. Simply outstanding and I can’t wait to see what might be coming next. It’s also been a fun week to watch people’s Dream Build Play projects inch ever closer to completion. With the submission deadline coming up in June this is the crunch time for many developers. ...
The 1.0.1 version of the Build Folder Extension is now out and can be downloaded from the Visual Studio Code Gallery at http://visualstudiogallery.... Source code, discussions and issue tracking can be found at the codeplex site at http://tfsbuildfolders.code... Context menu The context menu has been extended with the following commands, shown below: Queue New Build… : This pops up the traditional queue build dialog Queue Default Build(s): ...

News is a bit old now, but I have been awarded an MVP from Microsoft for the second year in a row.

The MVP programme is a superb offering from Microsoft, and it's a great community to be a part of, so thanks again guys!

 

 

At the UK Connected Systems User Group meeting yesterday we had a good session from Imran on Azure AppFabric. We ran out of evening before the end of the session, so I didn't get to raise this question, but it's a crucial point for me. The Service Bus exists to easily expose internal services to the outside world. It's an easy sell to tech guys, but I haven't yet worked with a client's security team who are open to the concept. I think the security guys have a good point: the status quo for exposing ...
I have an utility, that reads a CSV files into ADO.Net , modifies it and Saves as another .CSV file. Unfortunately Microsoft.Jet.OLEDB provider corrupts some string column, incorrectly interpreting them as decimals. Thanks to the article http://www.aspdotnetcodes.c... I was able to specify schemaIni before reading the file using the function public static void SaveSchemaIni(string path, string schemaIniContent) { FileInfo fileinfo = new FileInfo(path); string ...
Below are a few links, that can help, if you need Restore SQL Server Database from suspect MyITforum.com : How to recover user databases from a “Suspect” status( http://www.myitforum.com/ar... ) http://forums.devx.com/arch... You could also try detaching the DB, then do a single file attach only using the db, dropping the log file. That solved the suspect issue for one of our DBs. Somewhere in the SQL message logs it indicated that the LOG file was corrupted ...
Every year Microsoft organizes software contest Imagine Cup where young technologists around the world participate based on a theme: to help resolve some of the world’s toughest challenges. This year, a team from Bangladesh is also going to participate in Imagine Cup final round, which has been selected among hundreds of teams in Bangladesh, through different phases. As one of the judges of Imagine Cup 2011 to select finalists from Bangladesh, I was very excited to see the efforts that were given ...
Over the last few months we have been developing custom SharePoint timer jobs. Since the jobs run under a Windows Service it makes it difficult to debug them. The saving grace we found is called ULS. It gives you a logging location that is consistent with the native timer jobs and an API which resembles most other logging frameworks. In order write events you first need to include the Microsoft.SharePoint.Admini... assembly. Then it is simply a matter of getting an instance of a SPDiagnosticsService ...