Tag | Microsoft Posts

Today the Microsoft announced that the In-Place Upgrade feature had had some improvements. The major one would be, now the user could be able to change the VM Size by In-Place Upgrade, without redeploying the whole service. What We Did Before Before this improvement, since the VM Size was defined in the CSDEF file, we have to redeploy the service to change the VM Size property. This means we would remove the existing roles and VMs and then ask the Windows Azure to reallocate the new VMs with the ...
For (almost) all developers, there’s no greater feeling, then knowing your source code is (relatively) safe. The same counts for T-SQL script. Especially if you know that you need the same code next year (argh). So first thing I did after the initial release of scripts, was looking for a way to check-in T-SQL from SQL Server Management Studio (SSMS). So a colleague of mine, Dries (Blog | Twitter), dropped by with a solution: TFS MSSCCI Provider 2010 from the Visual Studio Gallery. It’s a free plugin ...
Policy injection block has been deprecated in Enterprise Library 5.0, however the ExceptionHandling application block contains ExceptionHandlingCallHandler which was usually found useful when used in conjunction with the Policy Injection App Block. The purpose of this CallHandler is to handle exceptions using the policies defined in app.config/web.config for the ExceptionHandling app block. One possible way of using the ExceptionHandlingCallHandler is to use the ExceptionHandlingCallHandler attribute ...
At http://www.netmagazine.com/... there is a very interesting article on browser take-up rates. (And of course keep on eye on the IE6 Countdown site at http://www.ie6countdown.com - are you encouraging people to upgrade from IE6/7?) ...
Everyone, Thursday, all day there is an MSDN webcast on building Windows Phone 7.5 apps. If you haven’t tried your hand at developing for the WP platform, I highly recommend watching this either live, or when they become available as individual streaming downloads. You may not own a Windows Phone, and that’s cool and all, but being a .NET developer puts you in a great spot to make applications or games that can reach millions. The great part is, if you don’t have a phone, YOU DON’T NEED ONE to write ...
When using the storage client library to access Azure Storage, it is recommended that we make use of the Async calls to execute queries against the Azure Tables/Blobs. TableClient and BlobClient expose methods to execute queries asynchronously, for e.g. blobClient.BeginListContain... : which retrieves the list of Blob Containers in our storage. cloudTableClient.BeginListT... : which retrieves the list of tables in Azure strorage and many more Then there is CloudTableQuery class ...
If you are planning to deploy your application with SQL CE as your application backend then here are the steps you need to perform. If you’re planning to deploy your application with SQL Server, than please read this post, How to Deploy an ASP.NET MVC 3 App to Web Hosting with "\bin Deployment" I assume that you have your ASP.NET MVC 3 application ready to be deployed with SQL CE 4.0 and EF 4.1. But make sure you have add assembly and for SQL CE 4.0 using NuGet. I recommend you to use NuGet here ...
UPDATE The below sample just showcases the locality sample. The complete set of attributes exposed which include PostalCode, CountryRegion, Address etc., are available at http://msdn.microsoft.com/e... This is the third in the series of posts I am doing on HTML5 for ASP.NET Developers Geolocation is one of the popular features of HTML5 that’s being touted as a favorite for building location aware applications. It helps to a great extent not just for Web Applications that run ...
This would be the first in the series of posts I plan to do for HTML5 for ASP.NET Developers The first thing that everyone would have experienced is the HTML5 header tag. The regular header tag that Visual Studio creates for ASP.NET Webforms is <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml... This would be the header tag present in the Master Page or the actual ASPX Page when you don’t inherit from a Master Page. Till HTML5 specifications ...
Last week, at the PASS (Professional Association for SQL Server) Summit in Seattle, Microsoft held a coming out party, not only for SQL Server 2012 (formerly “Denali”), but also for the company’s “Big Data” initiative. Microsoft’s banner headline announcement: it is developing of a version of Apache Hadoop that will run on Windows Server and Windows Azure. Hadoop is the open source implementation of Google’s proprietary MapReduce parallel computation engine and environment, and it's used (quite widely ...
There is no one best branching strategy, the branching strategy that best fits the requirements of your enterprise is the best strategy for you. The ALM rangers have comprehensive guidelines to help you decide what might work best with your enterprise. A couple of parameters you need to consider while thinking about the branching strategy are, What is the length of the Iteration your team will be delivering in. Agile – Weeks, Waterfall – Months. Would you have multiple versions of the applications ...
Hace algún tiempo me consultaban como comunicar un dispositivo móvil con un servicio WCF[Windows Communication Foundation] , sin embargo me escribieron indicándome que habían seguido los pasos de algunos post pero no tenían éxito al generar el proxy que permite al dispositivo comunicarse con el servicio WCF. Trate de revisar el caso ya que aparentemente revisando los pasos todo estaba correcto y efectivamente no se generaba el proxy y devuelve un error de : C:\Program Files\Microsoft.NET\SDK\Com... ...
De vuelta al Blog a documentar todo lo que estuvimos trabajando , esta vez pues con Kinect investigando su uso en áreas como Gaming Solution, acá unas pruebas en las oficinas con Ricardo Masabel y un juego de la ruleta usando XNA , Kinect y librerías Open NI, bueno y seguimos esperando el SDK de Microsoft para Kinect. YouTube - Kinect Roulette .Exacto Soluciones Gaming Solutions ...
With TechEd Africa starting in two days time I thought I would briefly blog about two useful extensions I use for VS2010 when presenting. They are Presentation Zoom by Chris Granger ZoomEditorMargin by Benjamin Gopp The Presentation Zoom extension creates a global zoom level so that if you zoom a single window, all editor instances will be updated to that zoom level. Before I had this extension I had a few circumstances where I was not aware of the resolution restrictions of the projector until 5 ...
Blue Syntax is pleased, and very excited, to announce the general availability of Enzo Backup for SQL Azure. It took a monumental effort to put this product together. The hardest part was designing the backup and restore routines in a way that would not constently trigger the throttling safegaurds in SQL Azure. In addition to the typical retry logic, adaptive loading algorithms that know how to "slow down" the data read/load based on specific error conditions was also incorporated, while keeping ...

Invalid value for 'OSVersion'

 Thanks to Mike Wade @ Microsoft

I would recommend clearing the environment variable, or better yet, adding the following to the project file:

  <PropertyGroup>
    <OSVersion></OSVersion>
  </PropertyGroup>

This will fully override the environment variable and blank it out.  The task should then set this to a better default value.

I'm a big fan of automated testing which actually proves something. Unit tests may prove all the components in a solution work independently, but that doesn't mean you have a working solution. Integration tests give you confidence in the whole solution, but the cost of having a test suite with a lot of external dependencies is the risk of false build failures and long-running test suites. To get something in between, we have acceptance tests written in SpecFlow which run tests at the highest layer ...
I am really enjoying getting more and more into the new async ctp. Something that stumped me up to now, was how do I run a void method asynchronously. For instance, suppose I have the following workflow that I want to run. private void DoWorkFlowSync() { txtStatus.Text = "Step 1"; Step1Workflow(); txtStatus.Text = "Step 2"; Step2Workflow(); txtStatus.Text = "Step 3"; Step3Workflow(); txtStatus.Text = "Done"; } private void Step1Workflow() { Thread.Sleep(1000); } private void Step2Workflow() { Thread.Sleep(1000); ...
This is an error message that we can find when we connect to SQL Server: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) Hmm… We sometimes spend for hours to fix this issue and In this brief tutorial, I will ...
Error: There is a temporary failure. Please retry later. (The request failed, because you exceeded quota limits for this hour. If you experience this often, upgrade your subscription to a higher one). Additional Information : Throttling due to resource : Connections." If you Google this issue, you only find different blogs and forums where geeks discussing this issue and giving suggestion to each other. Even when I counter this issue I also review my application architecture and I re-write the Azure ...
Hi Everyone, This is a place for .NET lovers like us can go and learn more about all Microsoft Cloud technologies. This website makes it more easy, simple and actually fun to know what the technologies are, how they work and what we can do for it in the perception of both business and personal entities. Here is what you have to do (to make it much easier, follow the steps) 1. Go to http://www.microsoftvirtual... this website 2. Login with your Windows Live ID (Create one if you ...
Hi Everyone, The only and main purpose of this blog is to educate all .NET pre-Beginners, who love to do .NET Programming but don't know where, what and how to do. Now you have a place to share and ask for that little thing that is holding you to move on your development. I was in your place 2 years ago, dont know anything about it, doesnt know where to start. I did googled(Bing'd) a lot, found so may articles, blogs about .NET and got very excited about it. Now I wanted to get all that information ...
Soon, the latest ASP.NET MVC will be launched. I cant wait to try as whole. This is the preview of this new product- Web Platform Installer – Installs the MVC4 Project Templates.- Nuget package – perfect for upgrading an existing MVC3 project- Stand Alone Installer- Installs the MVC4 Project Templates. This is the cool design with new features In addition to CSS design there is improved functionality in the new template. The template support technique called adaptive rendering to support theme on ...
This issue is related to permission on MachineKeys folder. I think this is right place where you should know what the determination of MachineKeys folder is. What is MachineKeys Folder? The MachineKeys folder stores certificate pair keys for both the computer and users. Both Certificate services and Internet Explorer use this folder. Possible reasons for getting this error message in your application are, may be your application using a certificate or your application trying to access a private key. ...
In the last few weeks I have had the pleasure of familiarising myself with various async patterns in C#. After going through the different approaches one gets a feel for how far we have come since the .Net 1 days. One particular pattern that I was not familiar with implementing but which has been available since the beginning of .Net is what I call the Async Begin / End Pattern. Since my interest is really making calls asynchronously so that I don’t block the UI thread - from what I can tell this ...
Hani Amr Normal Hani Amr 1 4 2011-10-12T15:22:00Z 2011-10-12T15:26:00Z 1 91 525 Microsoft Corporation 4 1 615 14.00 Clean Clean false false false false EN-US X-NONE AR-SA /* 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-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; ...
Here are a bunch of links for BUILD material related to Game Dev. Go Nuts, Be Awesome. Downloads: Windows 8 Developer Preview Visual Studio 11 Developer Preview MSDN: Direct3D 11.1 DXGI 1.2 WDDM 1.2 Feature Level 11.1 DirectXMath Channel9: Direct3D PLAT-751T 3D Graphics for Metro Style Apps and Games PLAT-752T Tuning GPU usage for any form factor HW-218T: Understanding the Windows 8 graphics driver model TOOL-761T: A lap around DirectX game development tools XINPUT PLAT-754T: From touch to gamepads: ...

Hi All ,

MSDN Magazines

Please Refer the URL to browse 

MSDN Magazines  : http://msdn.microsoft.com/en-us/magazine/default.aspx

 

Thanks

Abhishek Lohani

I am here to take your attention on size of .Net object when we call a service. This will help when you want to find out the size of .net object in a service call. This might happen when you face a buffer overrun problem. While trying to debug a service call, where we suspect a buffer overrun situation, we wanted to find out the size of object being returned by a service call. However finding size of .net object is not trivial and if you thought that you can do it with sizeof(object), and then you ...
Hello Everyone, I thought I’d take a minute to update everyone on my upcoming talks and events that I will be attending. I have talks ranging from Kinect, Silverlight, HTML5 to OData! Wow, that’s a wide range of technology and I’m very passionate about everyone of them. Let’s get started. DevReach - October 17th through the 18th in Sofia, Bulgaria. I will not be speaking at this event only attending. I am very excited because this will be my first time visiting Bulgaria. I am looking forward to meeting ...
As the song says “War! What is it good for?”. Well, maybe not absolutely nothing, but it is definitely a distraction. Whether we are talking about Apple vs. Microsoft, C++ vs. Java vs. .NET, Lotus Notes vs. Microsoft Exchange, Nikon vs. Canon, Cubs vs. White Sox or Bears vs. Packers our world is filled with fan boys ready to go to battle. Just cheering for your favorite isn’t a problem. It is when you have a driving need to put the other guy down and prove that you are behind the winner. Let’s take ...
Issue: .Net rounding does not work as you would expect. -2.5 rounds to -2 and not -3. What?! Yes! By default .Net uses MidpointRounding.ToEven which will round it to -2. BUT if you round off -3.5 it works as you would expect to -4. If you round off -6.5 you think it would also round off to -7, but you would be wrong, -6! What about 2.5, the default rounds off the 2 and not 3 as you would expect. So what is going on? You can read more about it at http://msdn.microsoft.com/e... ...
I’m very excited to announce that we’ll be bringing the Prairie Developer Conference to Alberta in early 2012! I started Prairie Developer Conference in Regina in 2010 as an option to high cost remote conferences, and its become a huge success! With the announcement that Microsoft TechDays won’t be returning to Alberta this year, I think Prairie Dev Con can definitely fill that gap and provide Albertans with a fantastic professional development opportunity! Here are the details: When: March 13 – ...
Recently I was copying a composite property which I will just have to refer to as Team. (This was on client's code so I have to change all the names) In class A, Team looked like: return this.Tom + "-" + this.Dick + "-" + this.Harry; In class B, Tom, Dick and Harry were called UncleTom, UncleDick and UncleHarry. When I copied the composite property from class A to class B, highlighted Tom in this.Tom and pressed control-J, ReSharper went straight to this.UncleTom - "clever" ReSharper! Really I should ...
I have dabbled in async programming in the past but never put any real effort into understanding how things worked. With the new async features in .Net 5 I thought I would give it a look. Here is a quick example of one of the features you can expect in the new framework and how it can make our life easier. The best way to illustrate this is to make a simple WPF application as follows… In the past If we had the following small WPF application with just one window / form… The XAML code for the window ...
First let me say that this is a “what I like” post and not a comparison of platforms. The Windows Phone is the first smart phone that I have owned (no, I’m not 100 or 15 years old). Now that I have done the full disclosure I did want to talk about the features of the Windows Phone that I really enjoy. I have had the Samsung Focus since shortly after it came out. I have found it extremely capable and enjoy the performance of the device. It is light, durable and bright. My wife has the LG Quantum that ...
Oracle Dynamic SQL – Drop Table, Copy Table, Purge Tables CREATEORREPLACEPROCEDURE COMPLIANCE11.table_drop (table_name VARCHAR2) IS dml_str VARCHAR2 (500); BEGIN dml_str := 'DROP TABLE ' || table_name ; EXECUTEIMMEDIATE dml_str ; END; void the_Table_Housekeeping() { try { string JobDateTime_string = _jobDateTime.ToString("yyyy... JobDateTime_string = JobDateTime_string.Replace(... ""); JobDateTime_string = JobDateTime_string.Replace(... ""); Microsoft_Enterprise_Librar... ...
Click this link: http://sharepoint.microsoft... Notice at the bottom left-hand side of the page there is a SharePoint Saturday mention with the latest events. Now send a shout out to Susan Lennon, Michael Lotter, Eric Harlan, Dux Raymon Sy, Kris Wagner, Josh Carlisle, and every other person who put in some form of effort to the SharePoint Saturday brand. We all worked hard for 3 years or more organizing, volunteering, speaking, sponsoring, or spreading the word ...
The SQL Server team or group of teams responsible for the learning content has done a fantastic job continually of providing great ways to work with their content. This time it is through the Virtual Labs made available to ramp on Denali. How to get it? Go to the Learning Center’s Virtual Lab Link. http://www.microsoft.com/sq... ...
Full Disclosure: I was one of the technical reviewers on this book. I think my friend Tomislav did a great job on this book and it would make a valuable addition to the bookshelf of anyone that is working with MDX. I really enjoyed reading this and there were even a couple of interesting techniques that I have added to my toolkit. As far as I know there are not any other MDX books on the market quite like this one. It's more aimed at the intermediate level of MDX user and assumes that you have some ...
As a developer of Microsoft technologies I alway think about what programming model and tools are provided by the platform. On Microsoft new operation system Windows 8 developer write two type of applications first one is Metro Style Apps and second one is Desktop Apps. Metro Style Apps Metro style apps are full screen apps tailored to your users' needs, tailored to the device they run on, tailored for touch interaction, and tailored to the Windows user interface. Desktop Apps Normal Windows applications ...
I am very glad when I used Microsoft new Operation System. Following are the screens shots that I captured from Windows 8. Figure 1: New Windows 8 Metro Style Figure 2: New Microsoft IE 10 in Windows 8 Metro Style I am searching my blog on "google" :) Figure 3: New Metro Style Control Panel Figure 4: Weather Reporting Application in Metro Style View Figure 5: All Time Favorite MS Paint in Windows 8 I will share more experiences of Windows 8 in future so keep catching me guys ...
One tries to be a responsible citizen and report malicious behavior to the “appropriate authorities.” Of course, in the end, it’s really about filling out forms and being told to go fuck yourself. After filling out their forms, they said: The Microsoft Malware Protection Center (MMPC) strives to keep you informed about the status of your submission. This email communicates what we currently know about the file(s) you submitted. You can view your submission online at http://www.microsoft.com/se... ...
While the development server in Visual Studio 2010 is great for most work, it does have 1 shortcoming in that if you start adding content types that are not part of the base set of known Mime types built in, you won’t affect the proper header response that is emitted to the client/browser. For example MP4 files, out of the box the development web server emits application/octet-stream or something like that. What we really need is video/mp4. Now, with IIS Express, you can easily switch over to use ...
In the hours since Steve Jobs death was announced, the world has seemingly fallen into a conjoined state of mourning…well, at least according to my Twitter feed. Quotes Steve made over the years fill the stream, along with reports of people gathering at Apple stores with some garnering memorials outside their doors. Very rarely has someone from the corporate world garnered such a response to their passing. Even more rarely does a corporate individual get a statement from the US President. But its ...
Today is a weird day. I just got the news, as I woke up, that Steve Jobs passed away last night. This news affected me more than I thought it would. I felt the need to write about these emotions, and about my history with Apple. This is probably more for myself than for the reader, so feel free to skip ahead if you don’t like this, but it felt appropriate to keep a few thoughts at this time. Read the rest of this entry » ...
Introduction To save on hosting costs and simplify maintenance, Software as a Service (SaaS) providers typically rely on schema separation to host multiple customers' records. This implementation relies on a specific SQL Server and SQL Azure feature called a schema object. A schema object behaves like a container, or a namespace in programmatic terms, allowing multiple tables (and other objects) to be stored with the same name in a single database. However schema separation comes with its own set ...
I was informed that my presentation on “Getting Started with the Kinect SDK” is now live on UserGroup.tv. The video quality is not that great, but that is my fault. Our camera quit working and someone had to record the session with an iPad2. Abstract: This talk is also designed for people who want to get started developing with the official Microsoft Kinect SDK. I will walk the user through downloading the bits and starting a new project. We will take a look at several great free open-source tools ...
Is your WFC Service hitting the Maximum Limits set on the default service configurations? Open up the artificial constraints of the WCF Service Debugging WCF Services and message sizes. Caveat emptor: If you need to increase the size of the of the contracts, it probably indicates that you should reexamine the design of your data contract. In any case, to “Open Up” the service, you will need to set on both the client and server side configurations: 1. Timeouts 2. Message Sizes 3. Max Objects In Graph ...