Tag | Microsoft Posts

At http://john-sheehan.com/blo... is an excellant compendium of cheat sheets. Proud user ofInstant C# and VB.NET code generation in Microsoft Visual Studio ...
At http://computer-forensics.s... there is a free specialised tool for imaging suspect PCs and exmining the image running under VMWare. Proud user ofAdvanced XML support inMicrosoft Visual Studio XML editor ...
There is a misunderstanding about SQL Injection attack in that some people think that that is is restricted to Microsoft. Here is a case where it happened on a PHP system. see http://www.securityfocus.co... Proud fan ofThe best C# & VB.NET refactoring plugin for Visual Studio ...
The origin of the following is now lost in the mists of time but it bears repeating. A big party is being held to honor relational database systems & their impact on the modern society. Outside the venue, the host awaits the guests. The first limousine arrives and out steps Oracle followed by 4 people Host: Who have you brought along? Oracle: I have 4 DBA’s in tow. One to install me, one to design the databases, one to administer me and the other to justify the cost. A second limo arrives and ...
So Microsoft had another Dev4Devs event and I got to present. My topic was an introduction to Reactive Extensions and I really enjoyed preparing for this one. For those who attended and those that are interested please find links to the slides and example code ...
So, you grabbed the latest Mango Build and installed it on your phone. Now your probably thinking, Why should I update to the latest Mango Beta 2 Refresh? Well, I will give you two good reasons. New Screen Shot Tool built into the Emulator Marketplace Test Kit Screen Shot Tool You may be thinking, there are a hundred ways to take a screen shot. I personally used SnagIt, but this involved a lot of steps. Load up SnagIt. Make sure my Emulator was visible. Click the “Capture Button” in SnagIt. Resize ...
Performing Composite Operations on Oracle Database is very similar to SQL Server Database. I just want to point out one mistake developers might easily make during the send port configuration. For any composite operation, the generated binding script doesn't include the composition operation tag in SOAP action header, therefore a new line needs to be manually added for each composite operation during the send port configuration. For WCF SQL Adapter, it looks like <Operation Name="CompositeOperationName" ...
Microsoft isn’t the only one who seems to be pushing native computing once again. We’re now seeing Google at the same table with the current beta release of Chrome. Yes, Chrome now supports native applications to be embedded in a web site and it’s just like embedding JavaScript. More information can be found in here: http://chrome.blogspot.com/... The native client SDK runs a sandbox environment which means Chrome handles security of the module just like ...
I’ve written about Visual Studio LightSwitch several times in this blog and in my Redmond Review column, including this month’s piece, “LightSwitch: The Answer to the Right Question.” All throughout, I’ve been pretty clear in my support of the product. A little over two weeks ago LightSwitch shipped, and I think it’s off to a very good start. To help it along, I wrote a series of five whitepapers on LightSwitch for the product team, and they were just published by Microsoft. You can find them all ...
The KB article is so short, I may as well paste it in. KB article 2021894 MSMQ ReceiveContext does not receive messages from the queue and no exception is thrown On a computer that is running Windows Server 2008 or a later version, you experience the following symptoms: In Microsoft Message Queueing (MSMQ) 4.0, the ReceiveContext feature fails silently. Additionally, the Windows Communication Foundation (WCF) application does not receive any messages from the queue. The ReceiveContext feature's Complete ...
No matter which ORM or data access technology you use, at some point you just need to do some CRUD, and you need to do it fast. In this post, I’m going to show you how to get your CRUD on with the latest version of Entity Framework in no time flat. In fact, I’d be surprised if the code to get your first CRUD operation done takes you more than a few minutes. The one thing the EF team did right with Code-First is make it really easy, but most of the “getting started” videos and documentation is packed ...
Occasionally I write a rant or two and this one has been boiling for ages. First off you need to read Mike Watson’s Blog Post on Silverlight Ambiguity in Office 365: http://jmikewatson.wordpres... So now let’s get started. First off this post has been boiling since I have heard the question in one of my sessions last year “What do you think will happen to Silverlight now that HTML 5 exists?”. I brushed it aside. I ignored it when ...
Recently I was tasked with rebuilding or migrating our Certificate Authority to a new server. The previous server was 8 years old and was holding some pretty critical information. Some of which was a Domain Controller, Certificate Authority, Email, Public Folders, Share Folders, and some Printers. Since our Public Folders were not replicating, that was the first priority. I solved that by changing the IIS port that was configured, once that was solved, the Public Folders took off. Second challenge ...
A couple of other bits of advice about getting Sync. Framework applications up onto Azure. Azure now supports new startup commands. This makes it way easier to install the necessary managed and unmanaged dll’s you need. Based on yesterdays post, I then followed - http://social.msdn.microsof... The other thing I just found out, is that you get GDI+ errors if you try and save a bitmap to a stream as a PNG on Azure. Use JPEG’s instead… ...
Recently, several enabled Remote call control (RCC) users reported that they were having issues making phone calls from Communicator. When they attempted to call a number, they got a “Cannot locate <user>” error message and when they clicked on Retry, they got another error message, “There may be an error in the address. Check the address and then try again.” After some troubleshooting, we found out our CSTA Gateway server was using an expired certificate. For communication to take place, the ...
The new version of Windows Azure Tools for Visual Studio 2010 i.e. the August 2011 release just got out. You can read and download it from http://blogs.msdn.com/b/win... My favorite pick is the ability to add MVC3 Web Roles. In the past we had to do certain work-around for running MVC3 Applications. Now, there is an ability to add MVC 3 Web Role There is now support for Universal ...
This is my first post here, and I’m really happy to be a part of this thriving community! I would like to use this post as an introduction to myself. I’m Ahmed Mohamed an Egyptian Mechanical Power Engineering student, and I’m really interested in programming, especially 2D games with Microsoft XNA. I’ve started programming 6 years ago using Visual Basic 6 as a hobby, then learned HTML, .NET, C# and C++. Slowly after getting a good grip of C#, I was very interested in XNA, and soon after it’s launch, ...
The TFS 2010 Power Tools, August 11 release shortly on its way, read more about the teaser here at Brian Harrys blog http://blogs.msdn.com/b/bha... What feature would you have liked to be included? Share this post : ...
So in the process of going live on a mobile solution that uses Microsoft Sync. Framework, on Azure. I came across this really useful guide on how to package up the various elements of the Sync. Framework to get it running on the Azure servers. http://msdn.microsoft.com/e... If you follow it to the letter, you’ll be up and running in no time ...
Update: These have been superseded and included in later Cumulative Updates. See http://wblo.gs/cu8v for checking what you got and updates, or download the tool. Also see info about the updates and extensions here.During the summer Microsoft has released two important hotfixes for the Testing tools. These two hotfixes solves 7 serious problems: # Issue solved Fix in : 1.1 Appdomain error when running a test agent on a computer with Visual Studio installed 1) 1.2 Exception with search error may happen ...
A recent picture taken by the MESSENGER spacecraft in orbit around Mercury, shows a smile! The "smiling crater" can be seen at http://messenger.jhuapl.edu... The Dawn spacecraft is now in orbit around the minor planet Vesta. NASA's web site for Dawn is at http://dawn.jpl.nasa.gov/ There is a video of Vesta rotating at http://www.youtube.com/watc... And where is New Horizons, NASA's Pluto-Kuiper Belt mission? It is now 20.68 AU from the Sun ...
Next Tuesday Microsoft will release patches to fix 22 vulnerabilities in Internet Explorer, Windows, Visio and Visual Studio. Be prepared to patch your PCs. Details are at: http://www.microsoft.com/te... http://www.computerworld.co... Passionate aboutInstant C# and VB.NET code generation in Microsoft Visual Studio ...
The IE6 Countdown continues - two more Countries (Sweden and Denmark) are now below 1%! I congratulate the users in these countries for upgrading their browsers. I note that the Czech Republic and Poland are now at the 1% level. Soon they too will have consigned IE6 the the Museum! So what are you doing to encourage your clients and your friends to upgrade to a more up to date browser? Can't code withoutInstant C# and VB.NET code generation in Microsoft Visual Studio ...
Just an update .... I'm currently working on the next presentation in the multi-part of a series on the Applied Design Patterns project called “AdventureWorksDesignPatterns” . It has been a busy summer both at work and home. Summer is "DIY" time at my house as I'm building a 16 by 20 foot raised deck. Work wise ..... Some of my team and I have been updating some of our "Demonstration" and "Proof Of Concept" applications to test out Microsoft's Windows Azure, SQL Azure and AppFabric. This is turning ...
One thing I’ve always enjoyed in Silverlight/WPF are the easing functions ( http://msdn.microsoft.com/e... ). The easing functions are commonly used to provide interesting looking animations via key frame-based interpolation. XNA has a few, limited bits of interpolation built in (primarily Lerp (i.e. linear interpolation) and SmoothStep (i.e. cubic interpolation)). For a sprite animation project that I’ve since set aside (it’s not dead, but it’s been back-burnered for a while ...
I had some really great responses to my last post regarding some bad code I've shown to interviewees - pretty much everything I intended to be bad was spotted, as well as some interesting points I hadn't considered. Here's the code again along with the bad bits as I saw them, and then I'll go over the extra points raised in the comments. The bad code: namespace MyNamespace { using System; public class Customer { public void PlaceOrder(string orderReference, OrderedProductData[] orderedProductData) ...
Hey everyone... I'm throwing a Windows Phone Garage event in conjunction with Jacksonville Code Camp!! If you're looking to learn about Making Games for Windows Phone 7 with XNA, this is the place you want to be. Here's the tentative schedule: 9am - 9:55am Intro to WP7 - includes info about the platform and very basic Silverlight & XNA content. 10am - 10:55am Getting familiar with XNA (covers differences in XNA programming model and what's in the framework) 11am - 12pm Using Phone Features w/ ...
This post is a quick one to post some SharePoint code. This post refers to the post posted by Eric Overfield. Refer to the post to get the full background, but he explains how the OnPreInit event method overrides any MasterPage assignment you might put on your Page Layout. He eludes to the fact that you can use reflector to see that the URL to a master page is overridden. I thought I would post the code. So you understand what is happening in the method and how you can set the master page url. It ...
Introduction One of the things that I recently had someone show me was using the “Copy Xaml” feature in Expression Design to create HTML5 SVG Path Data. I later found out that this was demoed at MIX11 in a session called HTML5 for Silverlight Developers. So with that said, I don’t take credit for discovering this, just documenting it for others to use. If you want to see the final product then click here. Go ahead and right click on the page and you will see it’s just path data (no image – just straight ...
This is very cool Just found this fab, tool to generate all the insert statements you need from a SQL database. If you have SQL Server 2008 R2 Installed - Run "C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Publishing\... This lets you select individual tables, views, stored procedures and script out both data and schema structures. Perfect for populating SQL Azure, when migrating from on-Premise databases ...
Recently I was working on a project where I needed to implement mapping functionality - I am not new to mapping technology, as a matter fact, a few years back I created my own Winform mapping control which interfaced with yahoo and ArcGIS maps which works great in some of my apps, however, I was looking for something more and didn’t want to re-invent the wheel – so to speak. I stumbled upon GMap.NET and as one user put it, “Absolutely fantastic piece of work”. The only thing lacking is proper documentation. ...
This morning I got the information that the Windows Azure Tools for Visual Studio 2010 - August 2011 Upgrade had been released. The version of this new upgrade is 1.4.40727.1601 with the Windows Azure SDK v1.4.20407.2049. This upgrade includes some awesome features that I was looking forward for a long time, which are: Profiling the application running in Windows Azure. New ASP.NET MVC 3 web role template. Multi-configuration files in one cloud project. More validation in the service package and ...
Recently, I have found myself using Visual Studio LightSwitch more and more. And needless to say, it got me thinking about a strategy for LightSwitch in a SharePoint environment. Yes, the product positions itself as a tool to develop LOB apps in a rather fast fashion. There will be those that will deem it as a prototype tool, many RAD tools end up being that. But, LightSwitch had this “je ne sais quoi” about it. Actually, I feel I know what it is. If you are still with me, step into this thought ...
Keeping things short and simple, here I am will demonstrate on how to setup synchronization between Microsoft Dynamics NAV 2009 R2 and Microsoft Dynamics CRM 2011 using the Connector for Microsoft Dynamics. Configuring Connector for MS Dynamics (Microsoft Dynamics CRM Adapter) Assuming that you had a smooth installation of the Connector, let’s start by configuring the CRM Adapter. For the CRM Online, make the following settings: Domain crm.dynamics.com User Name Windows Live ID for your CRM Online ...
Download Source Code Challenge Just had the first chance to apply PLINQ (Parallel LINQ) to the real task. When I am playing around with some new technology everything works fine, the real understanding comes along with challenges in a real use case. Currently I am working on application which processes large amount of text data gathering statistics on word occurrences (see: Source Code Word Cloud). Here what the simplified core of my code is doing. Enumerate through all files with *.txt extension. ...
Ever since I started working with SharePoint, I have always felt the “standard” grouping most training organizations make for people are the same old three: Admins, Devs and Users. True it fits most molds, but not as effective as truly understanding the value of roles. Now, the title of the post is in fact Lync Training Plans. The Lync Team has put together some guidance in the form of (drumroll!) Training Plans based on roles that go beyond your “User” grouping. You can download it here It is an ...
Well, since I am a bit new to this blogging thing, and especially tech blogging, I will start out with something light (and known around the web here and there). A simple fix for Outlook 2010 users still hampered an an Exchange 2003 system. It seems Outlook 2010 and Exchange 2003 have a small problem with booking resources on a meeting request. Even though Outlook says it is booked, the resource is not updated on the server….so, here's the fix. You edit the registry. start regedit and browse to: ...
I’ve been slowly creating a new WP7 game over these past few months. In the process, I began experimenting with Dxt compression. It’s a very nice feature, especially on the phone where high DPIs make Dxt’s artifacts less visible. One thing I didn’t like, though, was the way that XNA’s default Texture Processor handles resizing to power of two. When using Dxt compression with the Reach graphics profile, you need to use textures that are power of two sized (e.g. 32x64). Dxt itself requires that the ...
In the project that I’m working on (let’s call it BrainCredits v2.0), I wanted to integrate a user’s Gravatar into the system (like how StackOverflow does it). To Gravatar’s credit, they make it very easy to incorporate a user’s image – just hash the user’s email address (which I have) to the end of their URL and you’ll get the image back. The email address just has to be hashed using the MD5 algorithm, and they provide examples of how to do that in PHP. Oh, it looks so easy: echo md5( "MyEmailAddress@example.com ...
I have to update the windows service.exe and related dll by using console on remote computer. I tried net start <servicename> but it not allowed to query or issue command on the remote computer. then I tried sc & PsService from SysInternals. sc \\<ServerName> stop <ServiceName> PsService \\<ServerName> stop <ServiceName> the problem is both of them issue stop command and returned the control but I want to sure that service is stopped completely so that I can update ...
Initial situation Normally all of our installations are registered to the company name. But now we have the effect that some (developer) tool seems to overwrite this registry entries. That results in the following: License information from operation system in registry If you run winver.exe from a command line you will see this output: Copyright and vendor information from Assemblies And in new projects the information in the AssemblyInfo are: Origin of this problem We don’t know it. Maybe it is a ...
Let me state the obvious, for any application you develop you need to log information, errors, exceptions etc that can help you and others know what’s going on with your application When you create a new Windows Azure application using Visual Studio you will find the following snippet in your configuration file <system.diagnostics> <trace> <listeners> <addtype="Microsoft.Wind... Microsoft.WindowsAzure.Diag... Version=1.0.0.0, ...
I decided today to go back and take another chance to NUnit, but firstly I needed to have a possibility to integrate the NUnit and VS, because launching external program to run my tests is tiring. After few minutes I fonud a nice VS plugin to integrate a Visual Studio and NUnit: it's name is Visual NUnit. I had one problem with this extension. When I wanted to fire my first NUnit test, I had an System.BadImageFormatException exception. I had to change the tests project target platform to x86. After ...
Today at work we had an interested request come in from a client. They had an iPad and couldn’t scroll on their SharePoint 2010 website. I went ahead and pulled out my iPad 2 even though I am mostly a Microsoft guy and decided to look around on their site. Their homepage loaded fine and a couple others did also. I kept browsing and discovered one page that just cut off when you tried scrolling. I decided to try all of the iOS web browsers that are free so I downloaded them all and none of them solved ...
Visual Studio have a nice integration of Extensions. Sometime when you want a feature you can easily got extensions (plugins) from Visual Studio gallery. Sometime some user have trouble the performance in VS when they got install too many plugins.As in 2010 Visual studio not have functionality to remove all plugin component by one click. Like javascript extensions you need to remove every component of plugin one by one.For removing all extensions in Visual studio manually You need to open Window ...
In this Issue: Max Paulousky, Ollie Riches, Derik Whittaker, John Garland, WindowsPhoneGeek, Manas Patnaik, Xianzhong Zhu, John Papa, Dhananjay Kumar, Jesse Liberty, Peter Torr, Gill Cleeren, and Jonas Follesø. Above the Fold: Silverlight: "Multiple MonthView DatePicker Control in Silverlight" Manas Patnaik WP7: "Silverlight TV 79: Data Binding Debugging" John Papa From SilverlightCream.com: Windows Phone (Mango) DB Engines Performance Testing Max Paulousky's latest post is on performance testing ...
Shervin Shakibi, Microsoft Regional Director, was our speaker at the West Palm Beach .Net User Group July 2011 meeting. Shervin’s talk was demo-centric where he showcased the power of HTML 5 by example. Issues discussed at the meeting included suggestions on mitigating security concerns with HTML 5 source code accessibility as well as the status and timeline for HTML 5 readiness. Shervin’s much anticipated talk brought us over 25 members who filled our CompTec meeting room. We appreciate Shervin’s ...
To prepare a bootable CE disk for PC based system, you need to create the partition, format it and transfer the booting files. CE provides a tool CESYS.EXE to transfer boot sector and copy bootloader to target volume for BIOSLOADER. The tool is created since CE 4 and unfortunately, it is out dated and only support FAT12 or FAT16. Modern storage devices have larger capacity and prefer or require to use FAT32/ExFAT. For CE7, there is a new CESYS platform\CEPC\src\boot\tool... that ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for July 18 - 24, 2011. Here are the top 5 news on SilverlightShow for last week: Silverlight 5 for Line of Business Applications – Jeremy Likness 100+ articles in SilverlightShow new "Getting Ready for Microsoft Silverlight Exam 70-506" eBook Microsoft has 3 months to make or break Windows Phone – Part 1 Building Cross-Platform Mobile Applications with HTML5 and Mango LINQ Pad vs. Visual Studio for Learning ...
It’s official!! Microsoft released Visual Studio LightSwitch 2011 today. Here are a few places to read more about today’s release and for more information about LightSwitch 2011. Jason Zander’s blog The LightSwitch Team blog Beth Massi’s blog I’m excited about the release. Today’s timing is perfect since we have a project we’re about start and we’re going to be using LightSwitch in order to quickly get a functioning application in front of our users. Based on the initial prototyping work we’ve done ...