Tag | .NET Posts

The Azure Table service, provides a semi-structured storage in the form of tables that contain a collection of entities, these entities have primary keys and set of properties. A property is a name, typed-value pair. Every entity in table storage has two key properties, Partition Key and the Row key which together uniquely identify each entity in the table. The Table Service API is compliant with REST API provided by WCF Data Services. In order to use the WCF Data Services Client Library to access ...
I have always been a fan of Google Reader. I have been using it since it first came out and have never tried another feed reader. Yesterday they decided to update the UI to fit their new G+ look and in my opinion, made the application almost impossible to use. I have three main machines I use on a daily basis. A Dell XPS desktop with dual 24 inch monitors, a Toshiba Protégé with a 13 inch display, and a 11 inch MacBook Air. When I am at my desk all day, the Dell is awesome for getting development ...
Much has been the expectation about Silverlight 5 ever since the fire-starter in December 2010 Silverlight 5 has been the expectation of every SL developer ever since the SL4 release and the huge momentum surrounding HTML5 on the web. While HTML5 is definitely promising, Silverlight and other proprietary plugins have their own strengths in terms of rich capabilities such as Digital Rights Management which have evolved to a great extent. In MIX 2011, Scott Guthrie unveiled Silverlight 5 Beta among ...
I wanted to have a VM that I could access remotely and thought why not take advantage of the VM role. So I just documented my steps, for those of you might be interested, but more importantly for myself, if I have to do this again. the server image that is used for the VM role in windows Azure consists of a base VHD and may or may not have differencing VHD. to create the base VHD you can use Hyper-V Manager. Creating the Base VM image In Hyper-V manager connect to your server , right-click the server ...
Check out the Top Five most popular news at SilverlightShow for October 24 - 30, 2011. Here are the top 5 news on SilverlightShow for last week: Photoshop in METRO style Nokia giving away 25,000 Lumia 800 Windows Phones to developers Windows 8 Development Platform Clarified New Line of Business Features in Silverlight 5 – Using pInvoke Nokia’s First Two Windows Phones Are Here. And They’re Awesome Visit and bookmark SilverlightShow. Stay in the 'Light ...
With SSRS we can quickly generate reports that can be exported to multiple formats. What happens when you want to extend your report with custom code? Friday November 11th 2011 (this Veteran's Day) I'll be talking about just that in Eden Prairie MN during: http://sqlsaturday.com/99/e... Perhaps you need a custom authentication layer, custom access to data requiring .Net code, or you want to extend some of the controls that come out of the box with SSRS. In this session we will see an example ...
Introduction I’m sure by now you have heard that the Kinect SDK has been released by Microsoft. I recently had a chance to Guest Blog for the Microsoft MVP Award Program Blog on “Getting the Most out of the Kinect SDK”. Now before we get started learning about it, let’s look at what it is: *Kinect for Xbox 360, or simply Kinect (originally known by the code name Project Natal),[8] is a motion sensing input device by Microsoft for the Xbox 360 video game console. Based around a webcam-style add-on ...
For a full explanation and step-by-step guide to setup a linked server through Sql Management Studio (SMS), check out this reference: http://www.databasejournal.... Here it is in a nutshell: If you are setting up a linked server for another sql server 2005/2008 box, just remember to (1) name the Linked server the same name as its network name, (2) select and provide under the security option ,"Be made ...
During the last months, I was (for some reasons that are not related to programming) working for a dev shop where software development was done the 'traditional' way: You just write your application's production code, do it as good as you can, and hopefully it will be good enough and no problems will occur in production (this is HDD: Hope-driven development). Anyway, after I had finished this contract, I felt the need to review some core aspects of what I think is Test-driven development. And while ...
In the past weeks I have discussed about the Preview ASP.NET MVC 4. So, now I will show another great features in ASP.NET MVC 4. After installing, you will have new ASP.NET MVC4 Web Application template when creating new project in VS.NET 2010. Once you click OK the following dialog box will appear If you have experience with ASP.NET MVC3, you will realize that the selected template int he previous screen, Mobile Application, wasn't there up to now. So, in ASP.NET MVC4 we have new Mobile Application ...
This is part 2 of a 2 part series exploring the MEF.We covered some of the basics in Part 1 In this part we'll cover the following: Catalogs Recomposition Export Providers Catalogs: Catalogs provide one way for MEF to discover components that it can compose. In it's most basic form it contains a registration of types. A container by itself is just an empty repository. The catalog is the one that collects and returns ComposablePartDefinitions i.e (objects of types that you have registered with MEF) ...
Azure for the ITPro View more presentations from Enrique Lima ...
If Dr. Seuss explained the Cloud View more presentations from Enrique Lima ...
SharePoint LOB Development using Visual Studio LightSwitch View more presentations from Enrique Lima ...
On CodePlex there is a new project at http://nsession.codeplex.com for sharing session state between classic ASP and ASP.NET "The objective of this project is to allow ASP Classic to access ASP.NET out-of-process session stores in the same way that ASP.NET accesses them, and thus share the session state with ASP.NET. In the initial release, we only support the ASP.NET state server as it is a popular choice and it offers better performance than the SQL Server session store. Please see the Documentation ...
Sometime ago, say around mid April, 2011 I posted about Installing SharePoint 2010 on Windows 7 by going in a different path than using the standalone installation. This post is about what happens after the installation and initial configuration of your Windows 7 “development farm” gets the bits, and goes through the Central Admin and management perspective to get you to the first screen that says “Hi, SharePoint here, would you like to play a game of chess” (yeah, it does not really say that, but ...
· For the last decade, the majority of my dev work has leveraged the .NET Framework for construction of information systems. However, my interest has lain in numerical computing. · Is it possible to have an increasingly higher level of abstraction and at the same time achieve underlying high performance computing? The prevailing winds say no: C# is aimed at productivity, and C++ is for performance. Garbage collection was great, but do we still need it with the availability of smart pointers? Would ...
We have gone through several iterations of the Windows Azure Platform Training Kit in the past, and while it was not a complex process to get up and running for me, well that was not the story for many. I had the chance of participating in a Windows Azure Bootcamp, and while the attendees were aware of the requirements on the systems, well it was not as easy to get going. You can get the October refresh here: http://www.microsoft.com/do... I believe that is the reason for ...
Once the installer for the AdventureWorks Community Sample Database has finished, we then need to complete the process (not mandatory, but nice to do to play with the OLAP content). The first thing we need to do is make sure we note the location of the script files and samples. The path if you are working with SQL Server 2008 R2 is as follows: “C:\Program Files\Microsoft SQL Server\100\Tools\Samples\Ad... 2008R2 Analysis Services Project\enterprise” I am working with the developer edition, ...
For a while now, if we have been around SQL Server we got used to the different sample databases that were provided. From Pubs to Northwind to AdventureWorks. In order to get the AdventureWorks samples we need to go to CodePlex and download the one that corresponds to the version of SQL Server we are working with. The link to the download site here : http://msftdbprodsamples.co... Now, on to the installation. Once you download the appropriate file, double click and launch ...
DropBox changed some details in the API and upgrade to version 1.0 a couple days ago. Together with the DropBox team it was possible to be the first open source project which is compatible with the new and more saver API version. The SharpBox 1.2 release brings the changes we made together into an official binary distribution. We decided to do a major release because of some breaking changes in the code. The most important change will be that the class ICloudStoragCredentials does not more exists. ...
Level: Beginner In working with the Silverlight 4 DataGrid control, I found that documentation and online examples tend to focus on validation either at the cell level, or row level. However, there could be a case where validation is required after all rows have been entered, and comparisons between rows may need to be made. One example I can think of is the case where a list of products, including SKU information, is entered by the user. The SKU code is not derived automatically, but must be unique ...
Motivation During programming suddenly this error (“Failure has occurred while loading a type”) was thrown by accessing a artifact of a referenced library. In such cases I take the assembly fusion logger fuslogvw to search for problems of loading assemblies. Sometimes an old version from a not expected folder is binded. But all bindings were correct. Problem After several hour I got the right hint. Because the assembly is a COM+ one, there are some registration things in die background – and I don’t ...
Today O'Reilly have two excellent deals! Data Science Starter Kit Fundamentals of Microsoft .NET Programming Grasp the basic concepts that drive all Microsoft® .NET-based languages—and prepare yourself to learn .NET programming. If you have absolutely no previous experience, no problem—simply start here! This ebook provides the foundation for all other .NET programming language books in the Start Here! series. You’ll explore programming concepts and techniques with clear explanations, easy-to-follow ...
If you develop applications in SQL Azure, you may end up in a situation where your code needs to know if it is operating in the root database or in a Federation Member, or if it is connected to a regular user database. Two ways can be used to make this determination: using system tables, or using the USE FEDERATION command. Using System Tables This approach is the easiest to implement since it relies a SQL call only, without much logic in your application code. Assuming your code is currently connected ...
Introduction In case you missed it, I have a 10-part series on Silverlight 5 on SilverlightShow.net. In this extensive guide to Silverlight 5, I give a step-by-step introduction to Silverlight 5, and dives into the features most important to a Silverlight developer. You can check out the first 3 parts now and I will be adding a new one each week. The Roadmap for this Series I’ve included the Roadmap for the series below as you may want to visit other sections as you learn Silverlight 5. I picked ...
The much ballyhooed release of Nokia’s first Windows Phone handsets finally took place Wednesday at the Nokia World event in London. There had been a lot of anticipation building up to this “reveal,” and it is genuinely a watershed moment for the Windows Phone platform. That’s because Nokia’s adoption of Windows Phone brings several firsts: For the first time, a major mobile phone player has standardized on Windows Phone as its exclusive smartphone platform. For the first time (apparently) an OEM ...
Memory leaks can cause strange and unexpected behaviors in your applications. Of course in this day of managed code we don’t see it as often as we used to and many of us are getting rusty in our skill to eliminate these problems. Recently I ended up with a misbehaving Outlook 2007 add-in which resulted in time spent with Microsoft support. The first thing that came out of that was a way to detect if an Outlook 2007 is experiencing memory leaks. Below is a command line command that seems to report ...
If you are active on Facebook, there is very less chance that you missed on the recent Facebook UI update “Social Graph” or more popularly referred as “Timeline” (a screenshot of how the Timeline profile UI looks, here below) This Timeline UI has been quite popular and is supported in most of the modern browsers including IE9, Chrome 14 & Firefox 6 and above. I am a power consumer of web and use IE9 as my primary browser. Timeline UI works excellent in IE9. I have also downloaded the IE10 Platform ...
I am playing more with the Windows Developer Preview and simply love the backward compatibility it has for applications that used to work in Windows 7. And one of the applications critical to my day-to-day life is Visual Studio. Visual Studio 2010 with SP1 and ASP.NET MVC 3 Tools is my everyday requirement. Windows Developer Preview when installed from the MSDN Center has two flavors. One with the Developer Tools which I would assume, most of us developers would want and the other one, which is simply ...
If you, like me, have ever looked over the MSDN documentation and though how nice it would be to have that type of documentation for your codebase, SandCastle is the tool you’ve been looking for. SandCastle is a Codeplex project initiated by Microsoft in order to provide MSDN-esque documentation for .NET projects or asssemblies. The documentation can come in several formats such as CHM files or a website. GhostDoc and SandCastle Help File Builder To get started with SandCastle for documentation, ...
Today I was working on hooking up some CLR sprocs in SQL Server. My friend Greg Low (SolidQ Australia) pointed out that even vb clr sprocs are case sensitive. I loaded an assembly like so: CREATE ASSEMBLY AuditingSPROCS from 'C:\Development\AuditingSPR... WITH PERMISSION_SET = SAFE Now for the fun. I had to tweak this a bit. The items in [] below are the namespace and class name. That is followed by a . and the sproc name: CREATE PROCEDURE SelectReportsAll AS EXTERNAL NAME AuditingSPROCS .[Auditing.StoredProcedures... ...
Today's $10 Deal of the Day from APress at http://www.apress.com/97814... is Beginning WF Windows Workflow in .NET 4.0 "Indexed by feature so you can find answers easily and written in an accessible style, Beginning WF shows how Microsoft's Workflow Foundation (WF) technology can be used in a wide variety of applications." ...
Today's 50% off deal from O'Reilly at http://shop.oreilly.com/pro... is Coding Faster: Getting More Productive with Microsoft® Visual Studio® "Expert advice to help you work smarter and increase your productivity with Visual Studio. Take a detailed look into Visual Studio—and learn practical techniques to help you work more efficiently. This fully revised and expanded version of Visual Studio Tips: 251 Ways to Improve Your Productivity includes a comprehensive collection of tips ...
Here are a few steps you can follow if you want to restrict access to Sitecore’s Interface on content delivery environments. 1) Open Internet Information Services (IIS) Manager 2) Expand your Content Delivery website 3) Click on the Sitecore folder 4) Double Click on Authentication in the middle content pane 5) In the Authentication Pane right click Anonymous Authentication and click Disable 6) Try visiting the Sitecore login page on the Content Delivery site and verify that you get an access denied ...
Welcome All So it has been a long time coming but finally I am coming out of my shell (publicly from the dark room) and giving back to the community. FYI I have been using computers since my first "Computer" a Sinclair ZX 81 back in 1981 There has been a long love afair ever since. My Goal is to provide understanding on the technical day to day struggle as we code our way through our lives Cheers Justin ...
Recently I heard from a reader of the blog about an alternative to GhostDoc - the Atomineer Utils Addin at http://www.atomineerutils.com/ Besides working with C# and Vb.NET it does also handle C++ and J***. Should you be a J*** fan then this could be a very useful utility. There is a feature comparison with respect to ghostDoc at http://www.atomineerutils.c... There is a 30-day evaluation available at http://www.atomineerutils.c... The single-user license of $9.99 and the annual ...
I have previously blogged about that excellent tool Notepad++. Recently during discussion with a colleague I discovered that Notepad++ can be extended by means of a plug-in to be a Hexadecimal editor. For more details see http://www.mydigitallife.in... You can download Notepadd++ from http://sourceforge.net/proj... and plug-ins from http://sourceforge.net/proj... The licence is GPL, however this utility ...
UPDATED Jul 3rd 2013: Added Art of Unit Testing Version 2 UPDATED Apr 11th 2013: Added Instant TFS 2012 and Project Server 2012 Integration How-to UPDATED Jan 12th 2013: Added Prof TFS Server 2012, TFS 2012 Starter, Pro ALM with VS 2012 and VS 2012 Cookbook UPDATED Dec 8th 2011: Added Kanban book by David Anderson “Send me a list of books to read” – that is what I am often asked. No more, as this list is an answer to those request! I have divided it into different subject areas, and each area hold ...
DropkicK (DK) has been in development for over two years and has been used for production deployments for over a year. Dru Sellers originally posted about DK back in 2009. While DK isn’t yet as super easy to grok as some of the other ChuckNorrisFramework tools and offers little in the idea of conventions, it is still a stellar framework to use for deployments. DK works well in environments where you know all of the environments you will deploy to ahead of time (although not required due to the ability ...
74 Developers, 13 Charities helped, 0 slices of pizza served. GiveCamp is a national organization to help people organize development events for charity. Dallas GiveCamp is one of those events where Developers give back by building websites or solutions for charity. This years Dallas GiveCamp was held at CTRECH Hilton. With classrooms and whiteboards available to each charity group individually, we had the most hours worked on site that I have seen in past years. Many people where here all night ...
“Because everyone wants to kick their database, but sometimes kicking your database is a good thing!” Many would not argue that you should version your code, and few would argue against versioning your code in a way that can lead back to a specific point in source control history. However, most people don’t really think of doing the same thing with your database. That’s where RoundhousE (RH) comes in. I have been working on RH for over two years now and people always wander what it is, why and what ...
Although the collections classes introduced in .NET 2, 3.5 and 4 cover most scenarios, there are still some .NET 1 collections that don't have generic counterparts. In this post, I'll be examining what they do, why you might use them, and some things you'll need to bear in mind when doing so. BitArray System.Collections.BitArray is conceptually the same as a List<bool>, but whereas List<bool> stores each boolean in a single byte (as that's what the backing bool[] does), BitArray uses ...
I’ve just published an article on deadlettering on “Deadlettering in Azure AppFabric Service Bus Brokered Messaging”. It looks at how deadlettering can be used to handle poison messages, and messages that do not meet business rules. The article will be included in the next release of “The Developer’s Guide to AppFabric”, a free e-book on Azure AppFabric development. The latest edition of the e-book is available for download here ...
Today's 50% off Deal of the Day from O'Reilly is Developer's Guide to Collections in Microsoft® .NET "Put .NET collections to work—and manage issues with GUI data binding, threading, data querying, and storage. Led by a data collection expert, you'll gain task-oriented guidance, exercises, and extensive code samples to tackle common problems and improve application performance. This one-stop reference is designed for experienced Microsoft Visual Basic® and C# developers—whether you’re already using ...
NuGet is a topic that I have been hearing about for a while, especially from Clark Sell. I figured it was about time to take a dive into it and see what it was all about. The description of NuGet makes it seem like magic to add dependencies to your code projects. Of course there is always an explanation for how the trick works. In this case it is by using a package and a definition of how resources should be added to your project. One of the interesting aspects of using NuGet is the UI. The fact ...
In the closing keynote at TechEd Africa 2011, Clifford de Wit (Microsoft South Africa) made improvements on his previous years attempt to geekily give away a prize, but unfortunately still got it wrong… here’s why. At Teched 2010 Clifford gave away an amazing prize of a wheel barrow full of tech goodies – if my memory serves me right, it included a laptop, xbox, kinect as well as a whole bunch of other fun stuff – a geeks delight. Unfortunately he was given some flack on how he decided to pick the ...
Being web application developer, over 10 years. I was involved in so many external and internal website development. I would be documenting all my web page performance improvements and tools I have used. Best Practices http://developer.yahoo.com/... - This are some of the best practices from Yahoo web team. They tool called Yslow which records real time performance and gives the grading for the sites. A to F. A and B being extremely good. Fiddler - IE plug in to view all the HTTP request. ...
You must have heard about it. Windows 8 will all about Metro. Sure, you can run ‘old-school’ applications on the platform, but most attention these days is about the new user interface. The UI is based on the design language Metro, a design philosophy we first saw in Windows Phone. Nowadays you see more and more of Metro. The Microsoft website is loosely based on it, the Zune mediaplayer uses it and so on. So it wasn’t a surprise to see that Windows 8 is all about Metro. In this screenshot you see ...
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 ...