Tag | Microsoft Posts

I was working locally and trying to restore a database backup from the server for development purposes. I was receiving this error when I tried to restore and overwrite an existing database: The tail of the log for the database "%ls" has not been backed up. Use BACKUP LOG WITH NORECOVERY to back up the log if it contains work that you do not want to lose. Use the WITH REPLACE or WITH STOPAT clause of the RESTORE statement to just overwrite the contents of the log. An easy fix is to click on the Options ...
I am like everyone else when it comes to Preview OS Software. I don’t want it on installed on my primary machine and I don’t want to lug around another laptop to try stuff. I am not a fan of booting of VHD (which I will explain in a second). Scott Hanselman made a great post on how to do this if you are interested however. The main issue that I see with this approach is that the bootloader on my MAIN MACHINE is replaced with the Windows 8 Preview one. Yikes! I don’t want any preview software with ...
At the Build conference this month Microsoft unveiled Windows 8, their next operating system. Windows 8 is a huge paradigm shift from previous versions of Windows and with that comes changes to the developer story. Join us for this special Winnipeg .NET User Group event where D'Arcy Lussier, Microsoft Practice Lead at Online Business Systems, shows you what the future of Windows application development looks like for the client, the server, and the cloud! We'll be giving away a free conference pass ...
So I’ve played with the developer preview of windows 8 today. I’m trying to like Metro. But, at least on the desktop, it feels wrong. In fact, its not really windows anymore. In the sense “windows” are less in favour compared to full screen apps. It really should be called Boxes 1.0 I played around a bit with the new visual studio with metro templates….. great tools as usual. But…designing metro apps feels like a subset. The variety of apps in the windows world would find it hard to translate into ...
Finally a follow-up to my original post! With more detailed instructions! I would like to note that a lot of the functionality of a Virtual Machine is not currently working, at least I have not figured it out... however it is functional! What doesn't work: Seamless Mouse Integration Video Drivers - Still can get video just is not detecting my Wide Screen How To: 1. Download Windows 8 from the Windows Dev Center http://dev.windows.com (Download Page: http://msdn.microsoft.com/e... ...
Fantastic afternoon session by Jensen Harris on how to create a successful metro app. One of the big pushes will be the Windows 8 marketplace. Part of having a successful app is ensuring it adheres to best practices on design and usability to ensure a fantastic user experience. Because Windows 8 will have such a different approach to UX, including touch-first, its important that considerations are made up front. Here are my notes. Metro Style Design Use the Templates and Guidelines Templates will ...
On August 31st I was pleasantly surprised by Microsoft when they notified me of receiving the Community Contributor Award. Here is an excerpt of the email: “Congratulations! We’re pleased to inform you that your contributions to Microsoft online technical communities have been recognized with the Microsoft Community Contributor Award. The Microsoft Community Contributor Award is reserved for participants who have made notable contributions in Microsoft online community forums such as TechNet, MSDN ...
I usually do a bullet points from major conference events like this one from Mix11. The purpose of this post is to get you up to speed quickly with news and links you may enjoy. Build – Day 1 Keynote Windows 8 takes about half the amount of RAM to run compared to Windows 7. Windows 7 usage by consumers is now greater than Windows XP. Like the Metro Interface? Well, you better as the interface is similar to the Windows Phone 7. You can unlock your touch-enabled PC by tapping certain spots on a picture. ...
You have at least 2 choices: Source 1: SQL Server 2008 Feature Pack http://www.microsoft.com/do... ... this includes Microsoft OLEDB Provider for DB2 Source 2: Available from IBM, is the IBM I Access pack http://www-03.ibm.com/syste... Remember, whichever one you use, you will need to specifiy which libraries under the detail/advance settings in ODBC ...
Demostration of Windows 8 Lots of great stuff going on with Windows 7 installs Touch First, Mouse Second – Wow, that is going to be interesting Demo of a netbook from two years ago running Windows 8 using only 380mb of RAM, nice. Steven even said it was his daily use machine for a year, Microsoft needs to buy him a nicer machine. Windows 8 Start still feels like Windows Mobile and Windows Media Center had a child We decided every time they said “SUPER”, we are drinking They are very nervous and the ...
Its coming. Brand new OS for those of us Microsoft fans and also the masses. Check out this post for the news from Build: http://blogs.msdn.com/b/b8/... Its going to have a new OS and also support new processers. Its really a great leap for the Windows OS and about time too. And the touch experience should be awesome, building on lessons learned ...
That is a very good question..to which only Microsoft has the answer!:-) In the meantime, suffice it to say that every once in awhile, Visio loses track of your Glue/SnapTo settings which you'll need to restore. Here's what to do: 1. In Visio, navigate to "Home", open "View", expand "Visual Aids"2. Once in "Visual Aids", Check or Re-Check the "Glue"box. 3. Under the "Snap To" category, be sure shape intersections, shape handles, shape vertices, and connection points are all checked. 4. Under the ...
What's a Windows Phone Camp? A free, full day event chock-full of everything you need to know to develop a Windows Phone application. Whether you're a seasoned veteran or just getting started with .NET development this full-day event is for you. Interested in profit? We'll also lead discussions on how to monetize your applications and generate profits with your apps. Don't miss the new Windows Phone 7.5 (codename "Mango") features as well - with detailed sessions in the afternoon around Fast Application ...
We're 10 minutes away from the Build keynote, and I'm going to be live blogging the event. Now, to be clear, you shouldn't just read this - I mean, the keynotes are streaming live online. But I want to capture my thoughts on the announcements as they happen. So without further ado, let's start!And we're done! Great keynote, lots of content! However, we still don't have our schedule! LOL...off for lunch.11:16 - The path to RTM: Beta, RC, RTM, GA - Driven by quality and not a date, I'm ok with that.11:11 ...
Introduction · CQL is a SQL-like language (SELECT..FROM..WHERE) for static analysis of .NET code. · It is a nice complement to code contracts, & is usable in unit tests. If you've ever looked at creating custom FxCop rules using the archaic and undocumented Introspection API (see http://www.binarycoder.net/... ), then you will appreciate the elegant CQL syntax for static analysis! · supported by NDepend http://www.NDepend.com How It Works · Lets dive into a contrived example ...
Today was Day 0 of the Microsoft Build conference here in Anaheim - a day for attendees to travel, get their registration done early, and set up their session schedule for the remainder of the week.But this conference is quite different. Microsoft is holding its cards very tightly around Windows 8, and no information will really be available until after the initial keynote tomorrow. Normally when you register for a conference you already have access to the sessions - not so here. In fact the Build ...
Download Demo - LINQpad Query In this blog post I’ll be showing you how to query TFS using LINQpad. 1. Download LINQpad Those who are familiar with LINQpad know its benefits and ease of use, i would urge others to try it. You can download LINQpad and read more about it from here => http://www.linqpad.net/ 2. Download TFS SDK I have a blog post on where and how to download the TFS SDK from => here 3. Querying TFS using LINQpad Open LINQpad Select Query Properties by selecting Query from menu ...
This morning, I published MVVM Light V4 beta1 in the form of an MSI. The installation instructions are detailed on the MVVM Light installation page. Please make sure to uninstall previous versions before you install V4 beta1. There are quite a few changes in this version, and I plan to blog about various features in the coming days. As usual, stay tuned! Read the rest of this entry » ...
In the world of custom web application development a critical component of our success is the hosting environment and services. We can choose to deploy our web applications using 3rd party hosting providers such as GoDaddy.com, Rackspace, DiscountASP.NET, or another provider, or we can choose to deploy to on premise servers either virtual or physical. In either case the web application must be serviced up to consumers by a web server software such as Internet Information Service (IIS), which is included ...
Advice concerning ApplicationException is somewhat conflicting. If you look at the MSDN Framework 2.0 advice, it would appear that user defined exceptions should inherit from it, however for the current advice see the framework 4.0 advice at http://msdn.microsoft.com/e... In particular you should note the statement "If you are designing an application that needs to create its own exceptions, you are advised to derive custom exceptions from the ...
//BUILD - 2 Well... here I am in Anaheim, on 9/11, a day early for the Billy Hollis PreCon tomorrow. Sitting here wondering what this week is going to bring. I believe there are a few people I count as friends that know the information already, but I'm not one, and there are darned few. The people with Blue Badges have kept their word and kept very quiet. About the only thing I can say for sure is that most of the main players changed their signature blocks about the time that the whole "wait until ...
On the 9th Sep, the SQL Azure team announced that the new version of SQL Azure had just been release. In this version not only the SQL Azure engine had been upgraded, the SQL Azure Management Portal had been upgraded massively. Below are the features and improvements available in this release: Foundational updates for scalability and performance. Co-administrator support, which enables customers to specify multiple database administrators. Increased capability for using spatial data types, which ...
Although Android tablets have been gaining increasing market share, they are still not as popular as the iPad, could Microsoft challenge the tablet market with their new OS Windows 8? It certainly looks very likely, Microsoft have always had success with successive operating systems after a major revamp, take Windows Vista and Windows 7 as an example, the latter builds on the success or rather the failure of the previous OS. Windows 8 looks to establish itself as the OS of choice for tablets by building ...
I’ve upgraded Enterprise Library form 4. to 5 and replaced references to the DLLs (in particular we are using EnterpriseLibrary.Logging”) Compiler doesn’t report any errors about missing dependencies however at run time I’ve got Could not load file or assembly 'Microsoft.Practices.Servic... I had to add the library explicitly. It will be good if the error will be shown during the build. Related links http://stackoverflow.com/qu... ...
Recently I attended Microsoft HTML5 WebCamp where I had a chance to get insights on all new features HTML5 has to offer. Couple things to mention: - Canvas - a new HTMl5 feature that uses JavaScript to draw bitmap graphics on a web page. Simple approach (less JS coding) makes this interesting: empty space is treated as a painter canvas and a painter brush is replaced with JavaScript. - SVG (Scalable Vector Graphics) is another graphic tool widely publicized. It is not new, it has been around for ...
2011 has been a very exciting year for me so far. I was awarded the Microsoft Silverlight MVP. I was renewed as the DZone MVB. I was awarded as a GeeksWithBlog Influencer. I won the CodeProject Windows Phone 7 Competition. I’ve been invited to speak about Silverlight at UserGroups as well as several major conferences such as SSWUG, CodeStock and devLINK. My first e-Book on Producing and Consuming Silverlight in an OData application was published. I’ve been asked to be a technical editor for two Silverlight ...
Introduction You might have noticed that the Silverlight 5 (Release Candidate) is out. One of the new features included in the RC is the ability to call P/Invoke. In this short demo, we will write a Silverlight 5 application that uses the feature. Tools needed: Visual Studio 2010 SP1 or Visual Web Developer Express 2010 SP1 is required to develop a Silverlight 5 RC Application. After you have installed VS2010 SP1 or Visual Web Developer Express 2010 SP1, then you will need to download and install ...
Well, quite a lot actually. The fact that the official agenda is completely empty (they're not even telling us who is doing the keynote ontheir website) leaves us with wondering what will happen. Of course, this means that people are getting more and more anxious to see what is going on and the blogosphere is filled with rumors. Which ones will be true is something we'll learn next week. I expect we'll get a lot of information about Jupiter. The new development platform is something that interests ...
DECLARE @RegLoc VARCHAR(100) select @RegLoc='SOFTWARE\Microsoft... NT\CurrentVersion' EXEC [master].[dbo].[xp_regread] @rootkey='HKEY_LOCAL_MACHINE', @key=@RegLoc, @value_name='ProductName' The above code will return the installed version of windows on which the current instance of Sql Server is running. references: http://www.mssqlcity.com/Ar... ...
Para los que quieren smartphones con Mango, cada vez hay más a la venta. La compañía Taiwanesa HTC es la segunda en sacar lanzar smartphones con Windows Mango. Mango es la última versión del sistema operativo para celulares de Microsoft. Este sistema operativo ahora si podrá competir contra iPhones y smartphones con Android. Los dispositivos HTC Radar y Titan saldrán primero a la venta en Europa y Asia, para nuestros países latino americanos Nokia parece prometedora. Microsoft debe ahora apurarse ...
I went through a lot api's for windows phone 7 and couldnt find a single way to include my unmanaged code in it. Is there any way to do the same. If not why is it so ? Even in .net, microsoft allows unmanaged code to be included.
While testing the performance characteristics of the SQL Azure backup tool I am building (called Enzo Backup for SQL Azure), I decided to try Spotlight (R) on Azure in order to obtain specific performance metrics from a virtual machine (VM) running on Microsoft's data center. Indeed, my backup solution comes with a cloud agent (running as a worker role in Azure) that performs backup and restore operations entirely in the cloud. Due to the nature of this application, I needed to have an understanding ...
I have to say that it has been awhile (just over a year actually) since I've updated my blog. I feel embarassed. On the other hand, I have been quite busy - so it's not like I don't do it because I am lazy (well I am somewhat lazy), but it's because time is somewhat a scarce resource. But... I will try to see if I can muster up some moments to be active with my blog. With that said, last month (August 5th and 6th) St. Louis held the 4th annual conference of the St. Louis Day of .NET. It was a rousing ...
(Warning: This is semi-advanced stuff. It’s not hard, per se, but it involves editing important project files manually, which, if done wrong, can render them useless making it so that your code won’t compile (and may not even load into Visual Studio). So back up everything or (better still) commit it to your source control repository before doing anything so that in case you mess something up, you can easily recover! You have been warned.) I’ve been steadily becoming more familiar with MSBuild over ...
I have introduced a method to detect the stack size and other stack info during runtime in this article http://geekswithblogs.net/K... But what if we want to determine the stack size on arbitrary thread or for whatever reason, writing a code is not an option but wish to peek the stack size via debugger? Fortunately, there is a debugger extension (CeDebugX) provides many power tools, such as !stacktrace or !stackeval to get the stack info for ...
At http://99-bottles-of-beer.n... an old drinking song that printed out by an award-winning piece of code obfuscation cited in a Wikipedia article at http://en.wikipedia.org/wik... inspired a comparison of programs written in various languages to print this song. The Cobol (and to a lesser extent C#) programs were easy to understand whereas other languages such as J*** were not. There was even a highly obfuscated one in JavaScript! At http://blogs.msdn.com/b/alf... ...
I've just opened a project on CodePlex - http://algonet.codeplex.com/ !!! This project will implement various algorithms related to artificial intelligence, numerical analysis, NLP, object recognition and quantitative finance. It will initially target C#, and eventually F#. First exercise - port Java AIMA 3 to C# from http://code.google.com/p/ai... AIMA3 so far I've ported the utils - helpers, data structures and basic linear algebra classes Matrix class - Implemented ICloneable, ISerializable.GetObjectData ...
When developing WCF services that interact with a custom Security Token Service (STS), you will need to create at least one X.509 certificate. If you have access to a trusted certificate authority – e.g. a Windows Active Directory domain – then this task is pretty simple. But if you don’t, or maybe you would just rather create a set of self-signed certificates, here is an approach that works well for me. This particular scenario utilizes three separate certificates. The first one is named “localhost” ...
Scott Guthrie of Microsoft has blogged about "HTML Editor Smart Tasks and Event Handler Generation (ASP.NET vNext Series)" at http://weblogs.asp.net/scot... Well worth a read! Next version of Visual Studio looks to be keeping up the improvement in developer productivity ...
At http://csharperimage.jeremy... there is an interesting discussion on whether to use Prperties or to publicly expose fields. Whilst I will admit there be cases where every last CPU cycle must be conserved, I conclude that StyleCop's instruction to use Properties rather than publicly expose field must normally be followed. What do you think? Can't code withoutAdvanced XML support inMicrosoft Visual Studio XML editor ...
I received a surprise mail from Microsoft saying that I’ve been recognized as Microsoft Community Contributor for the year 2011. I am delighted that my contributions in TFS and ALM space have been recognised by Microsoft. Congratulations! We’re pleased to inform you that your contributions to Microsoft online technical communities have been recognized with the Microsoft Community Contributor Award. The Microsoft Community Contributor Award is reserved for participants who have made notable contributions ...
Today, O' Reilly are offering three book deals: 1) JavaScript Web Applications Use discount code: DD388 $13.99 (Save 50%) 2) Programming Microsoft ASP.NET 4 Use discount code: DDGRM $23.99 (Save 50%) 3) Big Data Now: Current Perspectives from O'Reilly Radar Price: FREE! (this third book is not available as a PDF so download one of the following readers) http://www.mobipocket.com/e... https://addons.mozilla.org/... Can't code withoutIn-depth ...
I use JetBrains ReSharper tool for a long time – it’s a very useful thing, that can help me to be more efficiently. Some time ago James Kovac made a training course for Pluralsight about everyday usage of ReSharper. I learn it, and I strongly recommend it to any ReSharper user. It contains a set of tip about navigating, code generation, refactoring, etc. A good news, that this ReSharper training course available for free to any ReSharper user! If you want to get an access, contact sales@jetbrains.com ...
Today the release candidate of Microsoft’s Silverlight 5 was released to the public. If you want to know “What’s new in Silverlight 5” then check out this page on Silverlight.net and continue reading the article below. Getting Started First, we are going to need to download the required tools to install the Silverlight 5 RC. Before getting started, please note that you can install the Silverlight 5 RC on top of the final release of Silverlight 4. If you have the Silverlight 5 Beta installed, then ...
I have recently started to update a very successful SAP CRM integration I originally built 5 or 6 years ago. We have recently started the implementation of CRM 2011 so the business has decided to take the opportunity to change the data that they want to synchronize between the 2 systems. Luckily the integration is both modular and to a large degree dynamic. The core logic should remain relatively untouched and only the SAP and CRM connection dlls should need any real work. The changes to the SAP ...
Introduction By now, most of you have heard that Windows Phone 7 – Mango release will support Local Databases (SQL CE) using Linq to SQL. But what you probably haven’t heard much about is how to extract the .SDF that is created in isolated storage to your local computer and view the contents. I find this extremely important for debugging application and making sure my database is setup exactly like I want it. So, that is what we are going to do today. Getting Started with a sample application: For ...
In this Issue: Alex Golesh(-2-, -3-), Andrea Boschin, Peter Kuhn, Shawn Wildermuth, WindowsPhoneGeek(-2-), Jesse Liberty, Pete Vickers, Sumit Dutta, Asim Sajjad, Chad Campbell, Vikram Pendse, Michael Crump, and David Kelley. Above the Fold: Silverlight: "Silverlight 5 : Low-Latency Sound Effects" Vikram Pendse WP7: "Windows Phone codenamed "Mango" Training Course" Alex Golesh Shoutouts: Michael Palermo's latest Desert Mountain Developers is up My friends at SilverlightShow posted their top 5 for ...
I found a blog post by Davy Brion (one of my favorite bloggers on the ‘net) that spoke about the .NET world’s current state. He mentioned that Microsoft’s products (such as WebMatrix and LightSwitch) are mainly geared toward what he calls “low-end” developers. At the same time, Microsoft is backing off on other products that more experienced and seasoned programmers like, such as IronRuby, IronPython, and the DLR (Dynamic Language Runtime). I certainly agree with some of his points. Applications ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for August 22 - 28, 2011. Here are the top 5 news on SilverlightShow for last week: Who says Silverlight can’t run on a tablet Papa's Perspective: Fundamental MVVM apps portal – a Silverlight based app store Tablet Development with Microsoft Silverlight Free SilverlightShow Webinar: WCF RIA POCO Domain Services Visit and bookmark SilverlightShow. Stay in the 'Light ...
From Joe Healy’s Dev Fish Blog but worth repeating!! What’s a Windows Phone Camp? For those who went to our "Windows Phone Garage" series last year, its one of those. For those new to the scene, its a free, full day event chocked full of everything you need to know to develop a Windows Phone application. Whether you’re a seasoned veteran or just getting started with phone app development this full-day event is for you. Interested in profit? We’ll also lead discussions on how to monetize your applications ...