Tag | Geekswithblogs Posts

Motivation Wie gehen Sie in dieser Situation vor: Eine von Ihnen verwendete .NET-Drittbibliothek liegt in einer neuen Version vor und Sie müssen die Abhängigkeiten in all Ihren Projekte aktualisieren. Je nach Projekt und Notwendigkeit hatten wir bei ESRI Deutschland dafür bisher u.a. folgende Lösungs-Szenarien: Policy-Files Sie dienen zum „Umbiegen“ der von den eigenen Projekten verwendeten Version auf die aktuelle. Das geht allerdings nur bei GAC-basierenden Assemblies und die sollte man aus diversen ...
I recently implemented Domain Events as a way of organising domain logic in our application. To summarise how they work: Every event in your application is modelled as a class which implements the empty IDomainEvent interface IDomainEvents are raised by a domain object calling a static DomainEvents.Raise<T>(T domainEvent) where T : IDomainEvent method The DomainEvents class passes raised IDomainEvent objects to the Handle<T>(T domainEvent) method of classes which implement the IDomainEventHandler<T> ...
*Make sure you read Don't Use Singleton before using a Singleton at all...Go read the whole post at http://geekswithblogs.net/B... 1: public class LazySingleton3 2: { 3: // static holder for instance, need to use lambda to construct since constructor private 4: private static readonly Lazy<LazySingleton3> _instance 5: = new Lazy<LazySingleton3>(() => new LazySingleton3()); 6: 7: // private to prevent ...
In this Issue: Gill Cleeren, Adam Kinney, Peter Torr, John Garland, Kunal Chowdhury, Telerik, WindowsPhoneGeek, Xianzhong Zhu, Jesse Liberty(-2-), and Michael Washington. Above the Fold: Silverlight: "Showing the Onscreen Keyboard in Silverlight OOB Applications" John Garland WP7: "Check if your WP7 app is a Bing Instant Answer" Adam Kinney LightSwitch: "The Visual Studio LightSwitch Economy" Michael Washington Shoutouts: Pete Brown announced a sweet deal on his next book: My Next Book: Silverlight ...
I purchased Office 365 subscription recently, and wanted to bind my own domain, because wanted to use e-mail address like alias@some_custom_domain.com If you want to use custom domains, manual page suggest to change name server records for your domain to ns1.bdm.microsoftonline.com and ns2.bdm.microsoftonline.com. After doing this you can use aliases with your domain for Exchange mail and Lync. If you don’t want to change by any reasons name servers for your domain, just go through steps: 1) open ...
I have always been slightly confused about the difference between classes and structures in C#. For many years, structures seemed identical to classes, but were simply not as extensible. Recently I had a relook at them and came up with two key identifying features that help me differentiate the two.. Where they are stored Value and Reference values So, the first main difference for me is that structure instances are stored on the stack and class instances are stored on the heap. The second main difference ...
In this Issue: Colin Eberhardt, Kunal Chowdhury, WindowsPhoneGeek, Jesse Liberty(-2-), Xianzhong Zhu, John Papa, Jeff Prosise(-2-), Above the Fold: Silverlight: "Silverlight TV 78: Designing Tiles and Splash Screens for Windows Phone (Design Tips Mini Series)" John Papa WP7: "Implementing a Windows Phone 7 Conversation View" Colin Eberhardt Shoutouts: Kunal Chowdhury gave a "MVVM from Scratch using Silverlight" session at Pune User Group's (PUG) Monthly meet, and has posted his material: Recalling ...
Last week I was at the Microsoft WPC conference in Los Angeles. I’ve been to other Microsoft developer conferences like Tech Ed and PDC before, but this was my first WPC and it was a great experience. For one thing, the target audience is blatantly business, sales, and marketing. It was a weird feeling attending a Microsoft conference and not knowing *anybody* (although some familiar faces were found). I have links below to notes I made for the individual days of the conference, but I wanted to point ...
The keynote session for the morning was a mixture of things. It started with an all-female rock band singing Cold Play’s “Viva la Vida”, then had all partners-of-the-year winners parade on stage, and then we got into the specific messaging part. There were five separate keynotes this morning from different business units within Microsoft. First up was Cloud. Note that I didn’t say Azure, although that’s part of it. Azure is the public cloud, but Microsoft talked up the Private Cloud a lot at this ...
In the past few months, we at the West Palm Beach .Net User Group have been busy soliciting your feedback on topics you would like covered at our upcoming meetings. We have also been encouraging our members to step up and share on the projects they work on and the technologies they use. The result is the schedule below which we hope brings a good variety of today’s hottest topics. We look forward to seeing you at our meetings and to receiving your feedback as we continuously strive to improve the ...
In this All Submittal Issue: Michael Washington(-2-), András Velvárt(-2-), Gill Cleeren, and Kunal Chowdhury(-2-). Above the Fold: Silverlight: "Tip: Network change events in Silverlight" Gill Cleeren WP7: "Windows Phone 7 for Silverlight Developers: Portrait and Landscape & Themes" András Velvárt LightSwitch: "Creating Visual Studio LightSwitch Custom Controls (Beginner to Intermediate)" Michael Washington From SilverlightCream.com: Creating Visual Studio LightSwitch Custom Controls (Beginner ...
As I do almost every year, I rearranged my home office. This time I moved my desk against the wall and added a shelve to support my main monitors. This allows me to work from my two macs when I am at home, and RDP into my Windows development laptop (below the monitors). I mainly use the macs for graphics work and photography now. The MacBook Air is still goes with me each day and sometimes I bring the iPad as well. Without better pen support, the iPad is just my couch app device or car device for ...
As mentioned in a previous post, I have been accepted to speak at VMworld2011 the week of August 29 in Las Vegas. Since that time I have been working on my presentation with my speaking partner and VMware SE Jeff Szastak. We have submitted the first draft of our deck in for comments and gotten some good feedback. I have now begun to incorporate those changes in to the deck as the final version is due in early August. I am excited to be going to this conference for the first time and especially so ...
I recently acquired a Samsung Omni 7 with the Windows Phone 7 OS installed. With this device I have a new found desire to learn Windows Phone 7 programming and embarked on the endeavour by reading “Programming Windows Phone 7” by Charles Petzold (ISBN 978-0-7356-4335-2). I really enjoyed going through the book. While the one I was reading had a few spelling mistakes in it (not that I am one to point any fingers) I am sure they had been rectified before it went to print (I was reading the free ebook). ...
Yesterday I started a discussion about adding a new command to nuget.exe. It ended in creating an extension to the command line that behaves in the same way without having to dive into the nuget code base or add more complexity to it. I haven’t seen any blog posts or documentation surrounding this new concept (new in nuget 1.4) of extending the command line except for Matt Hamilton’s posts on using NuGet for plug-ins and NuGet with MEF (which are not quite this concept). Here is my experience. I ...
MvcScaffolding is a tremendous productivity improvement for MVC developers. Earlier this year, Steve Sanderson posted the definitive 7-part series on MvcScaffolding which is a must-read for anyone serious about doing scaffolding. The best part about the scaffolding infrastructure is that MvcScaffolding is actually built on top of another package called T4Scaffolding. T4Scaffolding can be used as the basis for *any* scaffolding – not just MVC projects. To that end, we can enjoy the same power of MvcScaffolding ...
C# is a wonderful language for modern programming. While everything in C# has a reason and a place, occasionally, there are things that can be confusing for a developer who isn’t aware of what is happening behind the scenes. This is my third post in the Little Pitfalls series where I explore these small pitfalls; the previous Little Pitfall post can be found here. In the last Little Wonders post, we talked about the Nullable static class (not to be confused with the Nullable<T> struct) and ...
I wanted to take this time to introduce myself. My name is Roger O'Dell Jr. My development training is in .NET, but my current job requires me to work with Java and Android. I have been doing mobile development now for almost a year. And what a year it has been. I had the opportunity to go to a Microsoft Conference in Overland Park, KS last year. While I was there, I was one of the lucky few who was introduced to Windows Phone 7. Coming from an ASP.NET background, I found the new Windows Phone to ...
In this Issue: Rudi Grobler, Roy Dallal, Hannah Watkins, AfricanGeek, Kunal Chowdhury(-2-), Beth Massi, Mohamed Mosallem, Michael Crump, and Jesse Liberty. Above the Fold: Silverlight: "Communicating between two local Silverlight Applications" Michael Crump WP7: "Designing for Steam Achievements, a Windows Phone 7 app" Hannah Watkins LightSwitch: "Relating and Editing Data from Multiple Data Sources on the Same Screen" Beth Massi Shoutouts: My Friends at SilverlightShow have their top 5 posts from ...
Technorati Tags: Team Foundation Server 2010,Power Tools,TF254027 Error Recently moved from TFS 2010 server to another TFS 2010 server and trying to configure a backup plan using the Backup plan wizard that comes along with the TFS Power Tools. The tool allows you to set up Team Foundation Server backups - The tool can schedule backups for the following databases that your deployment of Team Foundation Server uses: the configuration database the database for each team project collection the databases ...
A new release of Microsoft All-In-One Code Framework is available on July 13th. We expect that its 17 new code samples would reduce developers’ efforts in solving the following typical programming tasks. Download address: http://1code.codeplex.com/r... Alternatively, you can download the code samples using Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download samples on demand, manage the downloaded samples in a centralized ...
DISCLAIMER: I did not get this product for free. I bought it with my own money. However, if Razer wants to give me a keyboard for a review then I would gladly accept it. =) Official Product Page While I have been “Searching for the Perfect Developer’s Laptop” I have discovered that PC Gamers have it pretty good. For example, check out my “A Developers Review of Cooler Master Storm Laptop Cooler SF-19” article. Did you notice that this was a Gamers product? Developers actually have something in common ...
Have you ever get the following error when you run Central Administration in SharePoint Server? I hope you haven’t yet and make yourself ready to fix this error for future Config Error There is a duplicate 'system.web.extensions/scri... defined Problem: I have installed SharePoint 2010 in a server and recently I got this error in my server when I tried to run central administration. I was stuck here to resolve this issue as it was my staging server and I can not re-build ...
In exploring the SQL Server site at microsoft.com, I came across the Learning Center option. It is a wealth of information to become familiar with the features and capabilities of the platform. It has as I mentioned, a wealth of information. Available for versions 2008 R2, 2008 and 2005. Go check it out here: http://www.microsoft.com/sq... A sample clipping of what the site displays: ...
SQL Server “Denali” CTP3 has become available for download and testing. Here is where you go for it: http://www.microsoft.com/sq... And when you get there this is what the site looks like. Once there, click on the Download CTP3 link. This will take you to another screen. Select Language and version, this will take you a sign in with your Live ID, and then you will get to the following screen … Pay close attention to the banner in red: The Akamai download manager will ...
After done mapping for my entities I wanted to test the basic CRUD operations. I stuck with a problem of inserting a data to tables in many to many relation, so I wanted to look at the generated sql by the NHibernate to find out, what is really generated to investigate the problem in my mappings. The NHibernate have a property called show-sql to show the generated statements. I enabled it in the config: var configure = new Configuration(); configure.SessionFactoryNam... configure.DataBaseIntegrati... ...
I was checking the Windows Azure Appfabric June CTP; I was looking at the Azure Service Bus queues and topics. I noticed something interesting to me and hope we can take advantage of these new capabilities in applications like RFID. Working on BizTalk RFID or any RFID project for that matter, you would have noticed using duplicate tag elimination events during tag processing. For any one new to RFID, when RFID device reads tags it can read the same tag information more than once at a given interval. ...
Okay, so the title may have been a little misleading. I'm not going to show you how to avoid warning CA0060, but how to avoid your build failing because of this warning. This is only helpful if you are running FxCop as a Post-build Event. When FxCop fails due to its inability to find indirectly referenced assemblies, it exits with error code 512 (0x200 - Assembly Reference Error). So all you need to do is check that error code, send out a simple warning message, and reset the error code to 0. The ...
If you aren't sure what is actually in the backup file, or even if you think you are sure--execute this statement from a fresh query window: RESTORE FILELISTONLY FROM DISK = 'X:\MDD\Clients\Lg\H4\H4L.bak' The information about the mdf/ldf files will show up looking like this: In this example, I was restoring a database to a different server with different filegroups, directory setups, etc.--so I had to 'MOVE' the location paths to represent the drives I had available. If I were restoring to the same ...
I'm down in Los Angeles this week for my first ever Microsoft Worldwide Partner Conference! This is the biggest industry conference I've ever attended, with more than 15000 people from around the world! It's also a bit different too because I don't know *anybody* here. WPC is more of a business/sales/marketing type of conference, not so much technical. As a result, its an entirely different crowd than the usual suspects at TechEd, PDC, etc. That's not a bad thing though! I'm meeting some great people ...
Hi there, Recently we had a requirement to integrate a RESTful Service with BizTalk Server. Well no biggie. You can use WCF – Custom Adapter and use webHTTP binding and add a webHttp Endpoint behavior. Wala. Easy to say, little bit tricky to do. That all is fine, but what if you want to have a polling receive location which needs to go and do an HTTP GET to a RESTful Service. Aahh!! That’s even more trickier. Bunch of you reading this post would have already thought about some or other way of doing ...
Technorati Tags: TFS 2010,Team Foundation Server 2010,Technology Humour A little bit of humour would not hurt... What are your selfish reasons for upgrading to TFS 2010? Cheers, Tarun ...
Introduction One of the features that I’m surprised to see hardly no one talk about is “Communication Between Local Silverlight-Based Applications”. This is not new to Silverlight as it has been around since Silverlight 3. In other words, this will allow you to have two Silverlight applications running on the same PC talk to one another without using Web Services, etc. I originally was looking into this for a pet project that I was going to use with Kinect, but found this very valuable and decided ...
In this Issue: Kunal Chowdhury(-2-), Kevin Hoffman, Pontus Wittenmark, Peter Kuhn, András Velvárt, Rudi Grobler, WindowsPhoneGeek, Jesse Liberty, Nigel Sampson, Stephen Price. Above the Fold: Silverlight: "Color FromArgb using hex values" Stephen Price WP7: "SurfCube on Mango Part 1 – Passing the Smoke Test" András Velvárt Shoutouts: Pete Brown posted about the redesign of the Silverlight.net site... I like it ... check it out for yourself: he New and Improved Silverlight.net Site Michael Washington ...

I was going to highlight the messed up parts, but then the entire page would be yellow.

Instructions FAIL

In this All-Submittal (but not all current submittals) Issue: Rod Falanga, Colin Eberhardt, and Kunal Chowdhury(-2-, -3-). Above the Fold: Silverlight/VS2010: "Creating Silverlight Application on network share : The Official Microsoft Silverlight Site" Rod Falanga WP7: "Windows Phone 7 (Mango) Tutorial - 22 - Local Database Support, Create DataContext" Kunal Chowdhury Just plain interesting:: "From Silverlight To HTML5" Colin Eberhardt Shoutouts: The SilverlightShow folks announced some training ...
C# is a wonderful language for modern programming. While everything in C# has a reason and a place, occasionally, there are things that can be confusing for a developer who isn’t aware of what is happening behind the scenes. This is my third post in the Little Pitfalls series where I explore these small pitfalls; the previous Little Pitfall post can be found here. This week we’re going to look at operator overloading. Yes, I bolded that because it is very important to note we overload operators, ...
One of the tough tasks in web development and in particular CSS styling, is to find the RGB and hexadecimal value of uncommon colours. As a web developer working in CSS, I longed to give that nice blue/green tinge colour for my UI and always struggled with the hexadecimal value. Particularly in finding the same for colours I find in other sites. Thanks to the IE9 Developer Toolbar which has this nice colour picker, one can find the hexadecimal code (and the RGB equivalent) from any web page. To demonstrate, ...
Hace unos días recibi un email de Microsoft con noticias sobre Visual Studio, y algo que me encanto fue ver que por fin tenemos soporte para HTML y CSS 3 en el editor de VS. Así que, me di la tarea de leer el contenido de los blogs recomendados en el artículo y tome la decision de traducir el contenido del blog de Scott Hanselman’sa español (por supuesto con algunos cambios), para que toda la comunidad que no tiene aún un buen conocimiento de inglés pueda aprovechar el contenido. Inicamos… La gente ...
UPDATE! July 8th, 2011 -- I’ve been reading Chris Poteet’s blog for a while (probably since Day of .Net Ohio in 2008 or 2009) and he recently started a new blog covering odd user interface quirks and inconsistencies with SharePoint. He’s titled the blog, Unexpected Error. Well, today Chris was kind enough to mention me for follow Friday on Twitter and I followed the link to his blog again – and was stunned to see that I had written a post this week that is pretty much the same one he wrote two weeks ...
For a generic guide on using a custom diff tool in TFS from My Eclipse:http://msdn.microso... Combine this information with the guide provided on Beyond Compare's website: Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* 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-qformat:yes; mso-style-parent:""; ...
I found out last night that I have been awarded with the Microsoft MVP Award for my contribution to the Silverlight community. It is a honor, a privilege and one of the biggest moments in my professional life. I cannot tell you how excited that I am to be acknowledged by Microsoft for doing something that I love. According to Microsoft, this award is given by Microsoft to outstanding members of Microsoft's technical communities based on contributions made during the previous 12 months to offline ...
IE9 Toolbar’s Browser Mode allows us to test for different versions of IE. This feature has been there right from IE8 Developer Toolbar. But, I always thought that the testing was just limited to the different versions of IE i.e. IE7, IE8 and IE9. One of the advantages of having a technical boss is that, he points to the right set of information when needed. @harishV pointed out that you can test even for other browsers such as Chrome, Firefox, Safari from within the IE9 Developer Toolbar. For the ...
There comes a time when computers die. So it was with our HP MediaSmart Home Server. At the age of 4, I was not expecting it to die. Oops. It has never really been an easy life before the death of that machine. It’s anemic 512MB of memory got upgraded to 2GB. The 500MB primary drive got expanded with two 1TB drives. The power supply fan started sounding like my lawn mower, so it had to be replaced. Things seemed stable until the primary drive croaked – and me unable to locate the recovery disk – ...
Ron Jeffries challenged me to show how Flow-Design and Event-Based Components can help software development. This is the problem he posed in the Software Craftsmanship discussion group: Solve bowling scoring. Here is the specification. Note that this is a simpler version than the one Bob Martin often uses. I'll take questions if you have any. Given a list of the rolls of a legal game of ten pin bowling, which you may assume are provided without error or omission, produce the total, final, score of ...
Today the first stable release of the Community TFS 2010 Build Extensions shipped on the CodePlex site. Visual Studio ALM MVP Mike Fourie (aka Mr MSBuild Extension Pack) has been the leader of this project and has done a tremendous job, both in contributing functionality as well as coordinating the work for the first release. Great work Mike! I (as well as several others) have contributed a small part of the activities, I plan to be working on the upcoming releases as well. The build extensions contain ...
Introduction The official Kinect SDK has been out for a while now and I haven’t seen many people actually doing “how-to” post to get others started developing for it. I decided that I would help kick-start the movement by creating a series called, “Kinecting the Dots”. This is going to be a series of blog posts covering questions or concerns that I’ve seen in the community. I am planning on answering questions so if you have one that you want answered then please contact me by using the form above. ...
One of the things that I have really enjoyed in the process of working with SQL Azure is the SQL Azure Management options. Mind you, it does not have a built-in backup tool, yes there are other options. redgate SQL Azure Backup Currently, Red Gate has a SQL Azure Backup tool (since it is Beta, it is free for the time being). Obviously, in order to use the tool the network/ip address from which you will be connecting has to be enrolled into the Azure Firewall for your account. The first step … connect. ...
The message may also say something line: Unable to update app: Error posting to URL: https://appengine.google.co... 409 Conflict Another transaction by user Your.Name is already in progress for app: your-appName, version: x. That user can undo the transaction with "appcfg rollback". Basically this means that in the midst of your previous deployment of the application, the process was interrupted. The Google SDK interprets this as a deployment ...
In this Issue: SLMPerf, Peter Kuhn, Kunal Chowdhury(-2-, -3-), WindowsPhoneGeek, Mike Taulty, Beth Massi, Andrea Boschin, and Alex Golesh. Above the Fold: Silverlight: "Reactive Extensions RTW" Mike Taulty WP7: "Windows Phone 7 (Mango) Tutorial - 21 - Small Demo of Accelerometer Application" Kunal Chowdhury Training: "Using SharePoint Data in your LightSwitch Applications" Beth Massi Shoutouts: My friends at SilverlightShow released their list of the top 5 posts on SilverlightShow for June 20 - 26, ...