Tag | .NET Posts

I recently obtained a Samsung Omnia 7 with the WP7 OS. Straight off the bat - let me say how impressed I am with this phone and how easy it is to use. It took about 3 minutes to have all my Gmail and Facebook contacts loaded and merged and be connected to the Wifi. Another huge plus is the Zune software.This absolutely beats the ITunes for Windows software hands down when it comes to podcasts. Other pluses included the screen being so bright and the physical size of the phone which is comfortable ...
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> ...
I have a need for a highly responsive web page that must at least appear to be "pushed" information from the server as it happens, much like you'd see with an HTTP protocol based chat window. The client will utilize JavaScript, and will use JQuery and its UI plugins, and will use its AJAX support to call the requests that will only return when there is data to be "pushed". I know HTML 5 includes support for WebSockets, but I feel it is too soon to rely on them, as the spec is not yet finished and ...
*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 ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for July 11 - 17, 2011. Here are the top 5 news on SilverlightShow for last week: Microsoft Silverlight 4 Tutorials You Must Read Screencast: Modular WPF with MEF & MVVM Tutorial Part 1 The Windows Phone 7 Exam 70-599 is now available Consumerization of IT and Silverlight Line of Business Only on SilverlightShow: Brand New Windows Phone 7 eBook by the 4-time Silverlight MVP András Velvárt Visit and bookmark ...
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 ...
Introduction One of the first things I wanted to do after installing the Azure AppFabric June CTP was to create an AppFabric application that used the Bing Map SOAP services. That was when I hit my first roadblock. There is currently no option in the AppFabric Application Designer to add a reference to an external service. After asking around in the forums I learned that I should build an external service to do this. There is currently very little documentation on creating external services for Azure ...
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 ...
Setting up formatting when using a XmlWriter is pretty easy. Declare a XmlWriterSettings variable and set the formatting options you want. The two main items are for indenting and new lines. You add the XmlWriterSettings variable as the second parameter in the XmlWriter.Create function. VB.Net Example Dim mySettings As New XmlWriterSettings() mySettings.Indent = True mySettings.NewLineOnAttributes = True Using writer As XmlWriter = XmlWriter.Create("c:\test.x... settings) C# Example XmlWriterSettings ...
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 ...
Why .NET LinkedList does not support Concat and Split operations? Download SimpleLinkedList source code Concat O(1) or O(n) ? The .NET LinkedList is a circular doubly linked list, where each node holds a reference to its previous and next nodes. The last node’s next is the head node and the head node’s previous is the last one. Linked lists are attractive because of O(1) insertion and removal operations. Instead of shifting elements in array you just chain nodes in appropriate order and that’s it. ...
Today's $10 Deal of the day from Apress at http://www.apress.com/97814... is Pro WPF in VB 2010 Windows Presentation Foundation in .NET 4 "This book shows you how Windows Presentation Foundation (WPF) really works—it provides you with the no-nonsense, practical advice that you need in order to build high-quality WPF applications quickly and easily." ...
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 ...
At http://tv.jetbrains.net/vid... there is an excellent video on what is new in ReSharper 6 I am very impressed by the CSS tools. Congratulations to JetBrains! I like the "Why is ReSharper suggesting this?" - this will settle many arguments. Passionate aboutProductivity Visual Studio add-in for C#,VB.NET, XML, XAML, ASP.NET and more ...
Today's $10 Deal of the Day from Apress at http://www.apress.com/97814... is Pro ASP.NET Extensibility gives readers an in-depth insight in the new language model within ASP.NET, going beyond the introductory treatment of the topic available elsewhere by providing lots of practical tips and tricks from an experienced developer. Can't code withoutAutomated code refactorings for C#, VB.NET,ASP.NET & XAML work across languages ...
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 ...
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 ...
Yesterday I received an email from Jetbrains to notify me of the release of ReSharper 6. Highlights of ReSharper 6 include: Rich support for JavaScript, CSS, HTML, and ASP.NET MVC 3 (Razor) Bundled assembly decompiler New navigation actions and valuable additions to existing navigation features Code inspections and quick-fixes for code quality analysis in VB.NET code Multiple new code inspections and quick-fixes for C# Improved refactorings and context actions, including those helping convert LINQ ...
I’ve been looking through the temp directories on my production machines and had realized some overlooked design points in a number of programs; namely the deletion of certain temp files. One situation that particularly caught my attention was some email attachments that should have been deleted. Even though the code was actively calling File.Delete() on some email attachments, they were not being deleted. An error log showed the program was throwing an exception when attempting to delete the files. ...
Today's $10 Deal from Apress at http://www.apress.com/97814... is Beginning F# "With Beginning F#, you have a companion that that will help you explore F# and functional programming in a .NET environment. This book is both a comprehensive introduction to all aspects of the language and an incisive guide to using F# for real-world professional development." ...
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 ...
Today's $10 deal of the day at http://www.apress.com/97814... is Expert .NET Micro Framework "Expert .NET Micro Framework will teach you everything you need to know to use the Microsoft .NET Micro Framework, a small and efficient .NET runtime environment for running managed code on devices that are too small and resource constrained for Windows CE and the Compact Framework." ...
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 just wanted to add a log4net library to log all the sql commands generated by NHibernate, but there was one problem. After I downloaded this library using NuGet, I could add a code from this assembly to configure the library, intellisense worked as usual, but when I wanted to compile the project, I ended with error The name 'log4net' does not exists in the current context This was new experience to me, because I have never had that strange situation. In every other solution that I created, this ...
Today we are glad to announce HERMES, an Open Source Infrastructure for publish subscribe messaging model based on MongoDB and RESTful Services. This is 8th release of an open source project from TellagoDevLabs on Codeplex. Hermes is months of hard work by us, including Silvio Massari, Jose Romaniello and Gustavo Machado. Hermes is not BizTalk Server. BizTalk Server has pub-sub mechanism in its infrastructure but in very traditional way and it hasn’t provided a foundation that can be seamlessly used ...
Continuing my short but sweet posts regarding issues I've encountered and corrected during development...... If you are working with the Telerik MVC suite of controls within your ASP.NET MVC application you may encounter a JavaScript error similar to "Object doesn't support this property or method". The problem? Telerik controls make use of jQuery and by default will add a script registrar to your view which then automatically includes the core jQuery JavaScript files. Like many developers you may ...
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 ...
Microsoft has released a number of training kits that have hands-on labs, articles, presentations and loads of information. The have become available for a range of products. They have also been updating them as more features or service packs come out. The links to them are listed below: Visual Studio 2010 and .NET 4 Training Kit http://www.microsoft.com/do... Windows Azure Training Kit http://www.microsoft.com/do... SQL Server 2008 R2 for Developers ...
There are a few great features in the TFS Power Tools that I wasn't aware of, such as TreeDiff which let's you… Read more at http://blog.danskingdom.com... ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for July 4 - 10, 2011. Here are the top 5 news on SilverlightShow for last week: Strange times in the world of Microsoft developers New eBook released 'Silverlight in the Azure cloud' by Gill Cleeren Getting Started with Node.js and Mango How to Create a Circular Loader using XAML Update Your Windows Phone to Mango Today Visit and bookmark SilverlightShow. Stay in the 'Light ...
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 ...
At http://devnet.jetbrains.net... in the thread "ReSharper 6 and StyleCop", there is a note from Andrey Serebryansky; " I've recently talked to plug-in developers. They are currently working on a new version which will be compatible with ReSharper 6, but they can't give any estimates yet. Thank you!" So stylecop 4.6 is delayed. I am looking forward to it ...
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 ...