Tag | Microsoft Posts

Today, I was testing a Web site for deployment and encountered the problem described in the subject of this post. However, the process leading up to realizing the true problem was far from clear. This post describes my initial experience, steps I took to isolate the true problem, and what I did to fix it. To put this in context, My project is an ASP.NET 4.0 Website. Bump! While testing, I encountered a System.Web.HttpException with the following message: File does not exist. with the following stack ...
To quote Microsoft: Businesses do not need to pay a premium for a world-class CRM solution. Today, you can get a great solution that meets your specific business needs – and save a tremendous amount of money in the process. Until March 31, 2012, Microsoft will send qualified organizations USD $150 for each Microsoft Dynamics CRM Online Subscription license. Buy 50 seats, get USD $7,500. Buy 500 seats, get USD $75,000.1 This money could be used any way you like. For example, the money can be used ...

Today' Deal of the Day from O'Reilley is Microsoft Visual Basic 2010 Developer's Handbook

Book Cover

Use discount code: DDVZX for a 50% saving

Introduction Have you ever wondered how to update the Application Tile in your Windows Phone 7 Mango application? Me too. But before we dig in, let’s look at the properties of a Tile. Microsoft defines each one as listed below: Title. A string indicating the title of the application. The Title must fit on a single line of text and should not be wider than the actual Tile. Approximately 15 characters will fit in the title before being truncated. BackgroundImage. An image displayed on the front of ...
Recently I was at a client that was experiencing an odd issue: they couldn’t activate the SharePoint Server Publishing Infrastructure site collection feature. In this post I’ll walkthrough some of the processes that we went through to diagnose the error. For those wanting the short version it turns out the web application policy for “Create Subsites” had been disabled. You can jump to the Solution section jump to the solution section below. Diagnose To start we checked the ULS logs to see what showed ...
Microsoft released downloadable training materials for BizTalk 2010 for both Administrators and Developers. Training for Developers: http://www.microsoft.com/do... Training for Administrators: http://www.microsoft.com/do... ...
I am a reformed former JavaScript hater. In the 90s and early 2000s I muddled through JavaScript compatibility issues, poor performance and a lack of development & debugging tools. When ASP.NET came out, promising to hide me from the complexity of browser incompatibilities, I fully embraced server-side web development. This approach may have worked in 2002, but it does not today. The world's expectations have been reset by Ajax, Google Maps, mobile web sites, high performance JavaScript engines, ...
This post is about using the AsyncOperationService with .NET Asynchronous Pattern. Warning: this is another article that is likely to give you a headache. Its designed to provide full details of how things work. If you don’t want the headache then, skim the article and copy’n’paste the code from the “FromAsyncPattern” box below (it assumes you already have AsyncOperationService code). Subsequent articles will outline more real world uses which may (and I say “may” very tentatively) not be so headache ...
Let’s define what this should mean and be about. How can I as an IT Pro be able to use TFS for the tasks and activities I normally do. Whether it is controlling a project or creating scripts and such. The vision while it goes into execution with TFS, will include a process with SharePoint somewhere in there too. Scenario #1: Change Control, Change Management or Specific no-code Project Control. As an IT Pro, what do I do? Change Control, Change Management, Project Management. The problem? Yes, we ...
It’s been quite a while since I’ve done a GeeksWithBlogs.net Influencers review. This time, I had the opportunity to check out Red Gate’s SmartAssembly 6.1, which is a integrated collection of tools for modifying and manipulating assemblies. Now that phrase, while accurate, is quite a mouthful. So what all does it actually do? SmartAssembly has the ability to: Do strong name signing; Add automated error reporting; Add feature usage reporting; Merge dependencies (e.g. libraries) into the main assembly ...
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 I recently started working with Visual Studio 2010 and .NET 4.0 and I came across one of the new language features, String.IsNullWithWhiteSpace. Basically, it's an enhanced version of the commonly used String.IsNullOrEmpty. This new enhanced version goes a step forward and checks for whitespaces such as tabs. String myString = “ “; //returns false Bool result = String.IsNullOrEmpty(myStri... //returns true Bool result = String.IsNullOrWhiteSpace(m... ...
Apologies in advance for any problems caused as I move over to http://ericnelson.wordpress... over the next few days. I will blog again on here when the move is fully complete. I have had a superb time on http://geekswithblogs.net which I moved to back in January 2009 – but it doesn’t quite match what I am after in a blogging platform right now where as wordpress.com broadly does. This will be my second change of platform in 7 years – it was back in July 2004 I created my first technology blog over ...
In my previous post I have shown how we can use a C# function in the XSLT. Now I want to go one step further and use in the transformation the ASP.NET controls along with their events. Let's start from the sample xml data: <files> <file Id="F58C2962-AC0D-4C55-80A8... Name="file 1" Path="D:\Temp\" Extension="iso"/> <file Id="FDC1358E-D9C8-4A70-ABE0... Name="file 2" Path="D:\Temp\" Extension="jpg"/> </files> I want to create a table from it and for each ...
If your question is, what is this? or perhaps more around … what does this mean? Let me explain a bit about it. Microsoft has been providing this type of services through partners within a given competency to clients that are looking to deploy and implement Microsoft products like SharePoint, Exchange or the strategy behind Windows and Office deployments. The way it works, well you purchase your products and perhaps those products come with Software Assurance and they have training/service credits. ...

A couple of days ago, Microsoft release a Training Kit for TFS 2010.  The training kit contains presentations, demos and labs to get to know the platform better and understand the purpose and capabilities of the product.

The download is available here:  http://www.microsoft.com/download/en/details.aspx?id=27152

There are plenty of posts and articles out there that provide retrospectives of, and pay homage to, Steve Jobs’ tenure as Apple CEO. I’m not an expert on Apple or Jobs, and this is not one of those posts. But Steve Jobs’ resignation from the CEO post does mark the end of a related era I know something about. It’s the era that Bill Gates and Steve Jobs defined together. And now that both of them have ended their CEO runs and receded to roles as Chairmen of the Board, it’s important to consider just ...
Introduction: One of the concerns that I keep hearing from customers is, “We can’t deploy Silverlight because it won’t run on a tablet.” I usually reply to that question stating, “What do you mean it can’t run on a tablet?” They usually looked puzzled and say, “You mean Silverlight *CAN* run on a tablet?” Yes, there are many devices that Silverlight can run on. Today we are going to take a look at the Motion CL900 Tablet. FYI: I have no affiliation with Motion Computing. Why this tablet? When I first ...
Here is the screenshot of final output. Here is what PoC is doing 1. There is Silverlight application hosted in CRM on custom area-subarea. This in-turn needs two web resources 2. There is Custom button added in Ribbon 3. Third web resource is hosting JavaScript function 4. On click of Custom Button on CRM Ribbon function in JavaScript web resource is called which in-turn calls the method in C# code of Silverlight application. String input is passed to this method 5. C# method is converting the input ...
Today's Deal of the Day from O'Reilley is Microsoft® SharePoint® Foundation 2010 Step by Step at $11.99 Ebook Deal of the Day – $11.99 (Save 50%) Microsoft SharePoint Foundation 2010 Step by Step Use discount code: DDXSF ...
Here is the slide deck I used The following are the links I made a reference to in addition to those in the deck. MSDN LightSwitch Samples Printing from LightSwitch (Michael Washington) LightSwitch Help Site ...
Using Xslt along with XPath we can transform any xml document in the way we want and use it e.g. to create the html page. At this time, we have Xslt 2.0 and XPath 2, but unfortunatelly .Net Framework doesn't support them. We can only use Xslt 1. We have two ways to work with Xslt 2. One is to use a 3rd party library, e.g. XQSharp or Saxon. The second option is to manually implement the missed in Xslt 1 functions. How to do it I want to show in this post. First is the sample code. The goal is to create ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for August 14 - 21, 2011. Here are the top 5 news on SilverlightShow for last week: The Top 5 WPF and Silverlight Gotchas Can Microsoft ‘fix’ JavaScript and make HTML5 applications viable? The LOB Chronicles - Exploring User Experience (UX) Slides for our upcoming 'Deep-DIVE in Silverlight FIVE' webinar Mango Baby Steps: Unit Testing your WP7 app Visit and bookmark SilverlightShow. Stay in the 'Light ...
Business operation framework is the investments Microsoft is making towards SOA and becoming Cloud ready. SysOperation framework is the future replacement for RunBase batch framework. The only reason Microsoft have not depreciated RunBase Batch is because there is still a lot of existing code base using Runbase. SysOperation framework follows the MVC pattern and it ensures that the server side code is executed by the .NET framework. That’s why it is necessary to generate incremental IL when you make ...
Our SharePoint team at work noticed that our SharePoint 2010 farm wasn’t returning search results based on the contents of OneNote files that were saved in document libraries. I did a little research and found a solution, by putting together steps from different posts. First, some details: we’re running SharePoint 2010 SP1 (with the June 2011 CU) on Windows Server 2008 R2 SP1. However, this issue was seen before we applied the service packs and cumulative updates, so I’m not sure what effect, if ...
I recently had the pleasure of creating a course for Pluralsight on MVC Scaffolding. For the next 24-hours the course will be completely free! Click here to view the course now. I’ve divided the course up into three modules. In the first module, I cover everything you need to know to be quickly productive with MVC Scaffolding. This includes mastering the command line, understanding one-to-many relationships, and scaffolding Actions and Unit Tests. In the second module, I do a deep dive on customizing ...
Resolve "Tools Install Dir in registry is missing" and Remote Tools issues on Windows 7 (64-bit) system after Platform Builder is installed by exporting [HKEY_LOCAL_MACHINE\SOFTWAR... Builder] from an 32-bit system, changing "Program files" entries to "Program Files (x86)" or create REG file with content listed below and import into the registry. Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWAR... Builder] [HKEY_LOCAL_MACHINE\SOFTWAR... ...
SQL Server “Denali” is at CTP3 – and would therefore very much welcome feedback. SQL Azure continues an aggressive cycle of release - and would therefore very much welcome feedback. Which is why we have https://connect.microsoft.c... A great place to give feedback and to to see what others care about. For SQL Azure (and the Windows Azure Platform in general) we also have http://www.mygreatwindowsaz... Thanks in advance… ...
This post on the Windows Azure blog caught my eye as a) it includes UK early adopter eTVMedia and b) its an interesting look at the wider picture of adopting Windows Azure – including coming up with the business strategy and transitioning a traditional company to Software-as-a-Service (SaaS). It touches on: organizational structure: Looking at the trend to create new entities to pursue SaaS packaging and pricing: A SaaS app does not necessarily mean a move away from upfront billing changing from ...
I was recently asked to review Studio for Wijmo MVC by Component One and, overall, I am impressed. There are 2 major components of this. The first is Wijmo Complete which is a collection of over 30 UI widgets (very similar to jQuery UI). The second is Wijmo Scaffolding for MVC which builds upon the scaffolding that was released as part of the MVC 3 Tools Update (note: is does *not* build on top of powershell-based MVC Scaffolding which Microsoft released earlier this year). Some of the Wijmo widgets ...
In this Issue: Shawn Wildermuth, Beth Massi, Ryan Alford, WindowsPhoneGeek(-2-), Jeremy Likness, John Papa(-2-), Jeff Wilcox, Mike Ormond, Ollie Riches(-2-), and Mijail Cisneros. Above the Fold: Silverlight: "Silverlight 5 Incompatibility: Play by the Rules" Jeremy Likness WP7: "Windows Phone Mango Custom application Theme Step by Step" WindowsPhoneGeek LightSwitch: "How to Allow Adding of Data to an Auto-Complete Drop-down Box in LightSwitch" Beth Massi Shoutouts: Mike Ormond posted about the next ...
I’ve learned, from conference sessions and user group meetings, that Agile is best learned in action – being part of a game or activity that explains Agile, having lively discussion with people, or (best yet) being part of an Agile project. We still get a large amount of learning from books though, and so while Agile books may do a good job explaining the methodologies and techniques, its never as good as having some context to stand it up against. Enter Agile Project Management with Scrum by Ken ...
So, it took a bit of time to arrive, but 2 weeks ago I received my GWB Influencers shirt in the mail. Perfect timing for my talk at Dev4Devs at Microsoft ...
Today's $10 Deal of the day from Apress at http://www.apress.com/97814... is Beginning ASP.NET 4 in VB 2010 "The most up-to-date and comprehensive introductory ASP.NET book you'll find on any shelf, Beginning ASP.NET 4 in VB 2010 guides you through Microsoft's latest technology for building dynamic web sites. This book will enable you to build dynamic web pages on the fly, and assumes only the most basic knowledge of Visual Basic. " Can't code withoutInstant VB.NET code generation in Microsoft ...
Peter Norvig and Sebastian Thrun are offering a free on-line course on AI later this year in conjunction with Stanford University. The course is broadly based on Peter Norvig's book "Artificial Intelligence: A modern Approach" written jointly with Stuart Russell. Along with my colleagues on the Rules Fest committee, we have been following this with interest. In a few days, well over 100,000 people have signed up (112,774 at the time of writing, and still increasing fast). The course broadly overlaps ...
I had added some code behind to a SharePoint 2010 master page and it worked beautifully! I followed Andrew Connell’s blog and article on MSDN. I had actually created two more master pages with an identical code behind as they each needed the same bits. I had each inherit from the same code behind file. Everything worked great until we were having some problems with one of our developers opening a css file form the VPN. So I thought I would just change the master page in SPD temporarily to use a css ...
For a period of time, I have access to both an MSDN and a TechNet subscription. Both offer Microsoft software for download. I wondered what the similarities and differences were between the two subscriptions. I copied the two download lists into Excel and aligned them. Most of the material I would never use. Some products I have never heard of. I present the lists, current as of today, for your reviewing pleasure. TechNet MSDN Applications (63) Applications (79) Access 2.0 Access 2003 Access 2003 ...
One of the things that is important to learn when you are developing any application is how it will interact with the environment it lives in. I’m not talking about simply interacting with files or database but with major resources. With WP7 there are a number of things such as the photos, browser, maps and the phone itself that your application may be concerned with. The WP7 development API includes a number of access points to give your application greater reach. These APIs can be found here. They ...
The August ‘11 TFS Power Tools are ready for download. Brian Harry has a good summary of the update here. The big visible changes are: 1. The ability to use the shell extensions against a TFS not on the same domain as your PC. You now get a credentials prompt. 2. Work Item Search!! The Work Item Tracking toolbar now contains a search box. I know my friend and fellow MVP Etienne Tremblay has been asking for this for about 5 years! 3. Rollback IN THE UI!! TFS 2010 introduced rollback. However, you ...
In my last post I did show how you can consume much less memory if you read values into a list which have often the same value. The IndexedList class uses internally a reference cache similar to the String.Intern method. But what if we do read value types such as int, enum, int64, … into a list which do repeat themself also very often? Can we store an enum which can have four values in less memory than an integer? Sure we can. Lets have a look at the following data Row Values 0 1 1 2 2 3 3 1 4 2 ...
Oh No! Not another geek who is going to tell us how to build a virtualized lab environment! We already know all there is to know about this crap! Hah! Yes this is another geek doing this build, but rest assured, it’s not you, it’s me! This is my view and take on this subject, where this blog will function as a “diary” to log my time, remarks and build guide on how I built it. Besides, I’ve built similar environments hundreds of times so I want to add a bit of a twist J. Seeing as my move abroad is ...
MVPs Rob Miles and Andy Wigley are back! Microsoft Learning hosted a Windows Phone 7 Jump Start (plus an update course) last year and it was an absolute smash. Now that "Mango" has made such a huge splash, they have put together another great course. This two-day live virtual class, Building Applications for Windows Phone Mango Jump Start, is specially tailored for developers looking to build cool applications and games for the new Windows Phone Mango Platform. Get in the pizza/popcorn/healthy fruit, ...
Since exchange versions from 2007 and up put more emphasis on the webservices for use in the distribution of the offline address book, out of office, the scheduling assistant and autodiscover (a.k.a outlook connectivity to exchange) the correct configuration of the virtual directories and IIS components is the main key to a healthy exchange environment. It is for this reason that I have compiled a quick reference as to how these components should be configured in order to function properly and so ...
When you want to store millions of strings in a list you will notice in your memory profiler that the biggest memory consumers strings and lists are. If you e.g read many lines from a file with repetitive data inside it you can use a reference cache to consume the actual memory for the same string only once. The CLR offers String.Intern to do exactly that but the string reference cache is cross AppDomain static which is mostly never a good choice. Where could you use this? If you parse log files ...
I’m on vacation this week, and I didn’t intend to write a blog post. But after the sea changes in the mobile computing industry and, ironically, my extra time to ponder it, I really couldn’t stay silent. In the space of four days, Google may have effectively taken Android “private” and HP seems to have euthanized webOS in public. It’s really hard to believe all of this is happening. But we can at least have a go at understanding what it means and what might, or might not, come next for Microsoft ...
Jimmy Bogard has blogged about his experiences after his hosting providers switched a number of servers from external IP addresses to NAT-ted internal ones. As Jimmy speculates, this was probably because the provider had exhausted their allocation of public IP addresses. MSMQ and cached DNS To get things working, they had to restart sender and receiver MSMQ servers. To explain why, here’s some background: MSMQ makes use of two caches: A MSMQ-specific list of IP addresses and QMID values. This is ...
Last time we did have a look into the issues you get if you create many class instances. The more class instances you have the more complex is your object graph which means more work for the GC. If the GC has more work there is less CPU time for your application left which does make it slower. An easy way to fix this issue is to create a struct which is a value type which is copied by value and does not add complexity to your object graph. Common wisdom suggests that your structs should not get bigger ...
While developing applications for Windows Azure, we are all aware that we need to create Web and Worker Roles and use the Azure Compute Emulator (previously known as the Development Fabric) for running and testing applications in the local IIS server. However to run unit tests against libraries that are being consumed from your web/worker roles we need to perform some preliminary steps before we can start using the CloudStorageAccount class within our Unit Tests. The First step is to start the Storage ...
I originally started looking for how to make a TextBox have autocomplete capability. Strangely all the articles said that it couldn’t be done. The last thing you want is for your applications to make your users struggle entering information when every other application gives them a quicker entry method. So what is the solution? The TextBox tag has an InputScope property which if you set it to Text it builds a dictionary list as the user types. For the other InputScope types it mainly changes the ...
I'm not a desktop application developer. I wrote only one app using the WinForms, but I must tell, it was interesting experience. Now I'm writting second WinForms app and second time, I needed the possibility to updating the progress bar in an app. So I think this is a good opportunity to put on the blog the code snippet for that to have a place where I can have some useful code for future references. Ok, so let's go to the solution details. As every desktop application developer know (or should ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for August 8 - 14, 2011. Here are the top 5 news on SilverlightShow for last week: Understanding the Microsoft Shift on Silverlight and HTML5 Building a CRM Demo using RadControls for Silverlight and OpenAccess ORM Create PDF in Silverlight New book coming soon: Real World .NET 4 and C# Mango RTMs! Now what? Visit and bookmark SilverlightShow. Stay in the 'Light ...