Tag | Windows Posts
Developer’s Guide To Collections in Microsoft® .NET, by Calvin Janes, discusses the various collections available in the built-in NET libraries, as well as the advantages and disadvantages of using each type of collection. Other areas are also covered including how collections utilize memory, how to use LINQ with collections, using threading with collections, serializing collections, and how to bind collections to controls in Windows Forms, WPF and Silverlight. For developers looking for a simple ...
I just published the BDD code for XAF. You can find it at http://bddxaf.codeplex.com. I am working on the write up of the steps to setup and use the BDD techniques described in my earlier post, but wanted to get the code out in your hands immediately. Thanks ...
The latest version of the AppFabric ServiceBus now has support for queues and topics. Today I will show you a bit about using queues and also talk about some of the best practices in using them. If you are just getting started, you can check out this site for more info on Windows Azure. One of the 1st things I thought if when Azure was announced back when was how we handle fault tolerance. Web sites hosted in Azure are no much of an issue unless they are using SQL Azure and then you must account ...
Searchable: FTP Upload ftpWebRequest Proxy FTP command is not supported when using HTTP proxy In the article below I will cover 2 topics 1. C# & Windows Command-Line FTP Upload with No Proxy Server 2. C# & Windows Command-Line FTP Upload with Proxy Server Not covered here: Secure FTP / SFTP Sample Attributes: · UploadFilePath = “\\servername\folder\file.n... · Proxy Server = “ftp://proxy.server/” · FTP Target Server = ftp.target.com · FTP User = “User” · FTP Password = “Password” with No ...
A very intriguing issue came to me to debug .Net code called from X++ code in AX 2012. This was indeed a challenge to be nailed down. Luckily the tools and some concepts helped me to achieve this task. Here it goes... We need to do a seamless debugging from AX debugger to Visual Studio back and forth. To enable this we need to first see if the dll to be debug is present in GAC then we might need to uninstall it from it due to the order of preference .NET loads the assemblies. The assemblies are first ...
I was listening to .NET Rocks episode #713 and it got me thinking about a number of SharePoint related topics. I have been working with SharePoint since the 2001 product came out and have watched it evolve over the years. Today SharePoint is one of the most powerful and flexible products in the market. Of course that doesn’t mean there isn’t room for improvement (a lot of improvement in fact) and with much power comes much responsibility. My main gripe these days is that you have to develop on a ...
Problem Normally I try to have my continuous integration as most a possible toolset free to ensure that no local stuff could have an impact to my build. My Silverlight app references a special compile target in a folder outside my developer tree: <Import Project="$(MSBuildExtension... /> So I copied the stuff from this folder to a local one and changed the call to this target in my csproj: <Import Project="..\..\..\tools\Web... ...
Microsoft is hosting another Windows Phone Accelerator lab this December 13-15 in Dallas: Do you have the next million dollar idea that you just can’t find the time to finish? Do you already have an app for Android and iPhone that you want to expand into new markets? It’s time to turn your napkin sketches and leverage your hard work into real, sellable apps for Windows Phone in ONE WEEK! Join us for a special Windows Phone event you don’t want to miss - Windows Phone Accelerator! In this 3-day developer ...
At my current position, I’ve been doing quite a bit of Silverlight development and have also been working with TFS2010 build services to enable continuous integration. One of the critical pieces of a successful continuous build setup (and also one of the benefits of having one) is that the build system should be able to “get latest” against the source repository and immediately build with no errors. This can break down both in an automated build scenario and a “new guy” scenario when the solution ...
If you have not developed with styles in Silverlight/XAML then it can be challenging and resources can be sparse depending on how deep you get. One thing that you need to understand is what level you can apply styles and how much they can cascade. What I am finding is that this doesn’t go to the level that we are used to in HTML and CSS. While styles can be defined at a page level if you want to share styles throughout your application they should be defined in the App.xaml file. This is of course ...
So in my previous posts I showed you how I used EDMX to quickly build my business objects within XPO and XAF. But how do you test whether your business objects are actually doing what you want and verify that your business logic is correct? Well I was reading my monthly MSDN magazine last last year and came across an article about using SpecFlow and WatiN to build BDD tests. So why not use these same techniques to write SpecFlow style scripts and have them generate EasyTest scripts for use with XAF. ...
We are excited to share great news and updates regarding the West Palm Beach .Net User Group. Our upcoming meeting will feature Joe Healy from Microsoft as speaker for the November 29th, 2011 6:30 PM meeting. He will be covering the Kinect SDK and answering all our questions regarding the latest Windows Phone 7 Release. We will be also raffling many valuable items as part of our usual free raffle and hope each of our members leaves with a freebie. We are also honored to share that we will be hosting ...
Poland now joins the countries shown as using less than 1% IE6 on the map at http://www.ie6countdown.com/ Austria should be shown in green but the legend for China obscures it ...
This is what I think about Microsoft Windows Phone. If Microsoft were in our shoes looking at various phones available their configurations, memory, front facing cameras etc. Microsoft disappointed the USA customer base again by not getting Nokia Lumia 800. The Past: If we talk few years ago, few business people were on their Blackberry’s and few Gadget lovers were on crappy Windows OS devices. The world was all going right till Apple came with a revolutionary device iPhone, which completely changed ...
Today we had an interesting problem with file copying. We wanted to use xcopy to copy a file from one location to another and rename the copied file but do this impersonating another user. Getting the impersonation to work was fairly simple, however we then had the challenge of getting xcopy to work. The problem was that xcopy kept prompting us with a prompt similar to the following… Does file.xxx specify a file name or directory name on the target (F = file, D = directory)? At which point we needed ...
Today's $10 Deal of the day from APress at http://www.apress.com/97814... is "Pro ASP.NET 4 in C# 2010". "ASP.NET 4 is the principal standard for creating dynamic web pages on the Windows platform. Pro ASP.NET 4 in C# 2010 raises the bar for high-quality, practical advice on learning and deploying Microsoft's dynamic web solution." Alan Freeman is an excellent author - I recommend this book to all C# development teams ...
In this Issue: Brian Noyes, Michael Crump, WindowsPhoneGeek, Erno de Weerd, Jesse Liberty, Derik Whittaker, Sumit Dutta, Asim Sajjad, Dhananjay Kumar, Kunal Chowdhury, and Beth Massi. Above the Fold: Silverlight: "Working with Prism 4 Part 1: Getting Started" Brian Noyes WP7: "Getting Started with the Coding4Fun toolkit Tile Control" WindowsPhoneGeek LightSwitch: "How to Connect to and Diagram your SQL Express Database in Visual Studio LightSwitch" Beth Massi Shoutouts: Michael Palermo's latest Desert ...
Files downloaded using Internet Explorer retain Internet Zone permission level and hence are “Blocked” by default on Windows 7 machines. Honestly, while an added overhead for developers; I really appreciate this feature as it provides a good protection layer for casual web users. My workaround is to simply unblock the downloaded zip file (if download was a zip file) which, in turn, unblocks the files stored within. Today however, I was left with a situation where I had to “Open” and “Copy” the content ...
Problem Normally PostSharp runs fine on unattended build servers. So on our global Jenkins continuous integration server PostSharp does the job. But on my local TeamCity continuous integration server I got the following error: POSTSHARP error PS0127: The aspect 'EsriDE.Commons.Logging.Aop... uses non-licensed features (Basic Features). Please visit http://www.sharpcrafters.com/ to acquire a license of PostSharp. POSTSHARP error PS0154: Information regarding the previous ...
Performance testing is almost always conducted to address one or more risks related to expense, opportunity costs, continuity, and/or corporate reputation. But not everyone thinks their application requires investment in performance testing. We presented few of our clients who were heavily focussed on functional requirements but did not care too much about the Non-functional requirements with a short questionnaire, User’s will be happy if the website loaded in <= ___ seconds. How many extra seconds ...
I ran into a frustrating scenario today, while working with SharePoint 2010’s Managed Client Object Model. My application queries a SharePoint document library using the file’s name (the FileLeafRef field). Given that this field is unique, I was expecting only one result with the following code: 1 CamlQuery qry = new CamlQuery(); 2 3 //filter the results to only get back the item with the filename we're looking for 4 qry.ViewXml = string.Format( 5 "<Query><Where>... ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for October 31 - November 06, 2011. Here are the top 5 news on SilverlightShow for last week: Silverlight Best Practices: Data-Centric Applications Top 5 SilverlightShow Ebooks for October, 2011 Do LOB Applications Require Good Usability? Silverlight Navigation Framework tip: using the XAML escape sequence Silverlight Skills Carry Over to Windows 8 'Metro Style' Apps Visit and bookmark SilverlightShow. Stay ...
The first of the build guides just got published! And you can find it in the "Build Guide" section or by following link: Click here... Exerp: In this first part of the build guide series we look at building a Microsoft Windows 2008 R2 server. Whilst installing the basic operating system on a server is fairly straightforward it is as good a place as any to start as we lay the foundations for the rest of our infrastructure. In future parts of this series we will look at automating this install as much ...
Problem Our global Jenkins continuous integration server throws this error during compile step. My local TeamCity continuous integration server runs fine. What is the difference. Background I integrate some static code analysis steps via MSBuild-targets in the csproj files. To allow a fast developing without a code analysis for ever compiling I bound these targets only to RELEASE-configuration. With the MSBuild element <ImportGroup> only one condition must be specified. So my construct was: ...
In this Issue: Colin Eberhardt, WindowsPhoneGeek, John Papa, Jesse Liberty, Derik Whittaker, Sumit Dutta, Asim Sajjad, Dhananjay Kumar, Charles Petzold, Peter Kuhn, and Ollie Riches. Above the Fold: Silverlight: "Display Total Records After Applying PagedCollectionView Filter" Asim Sajjad WP7: "Announcing: Phone as a Remote Control" Peter Kuhn Metro/WinRT: "Asynchronous Processing in Windows 8" Charles Petzold Shoutouts: Michael Palermo's latest Desert Mountain Developers is up Michael Washington's ...
Here you will find a sample java program to generate sparse ARFF file. The following italic text text has been taken from: http://www.cs.waikato.ac.nz... Sparse ARFF files are very similar to ARFF files, but data with value 0 are not be explicitly represented.Sparse ARFF files have the same header (i.e @relation and @attribute tags) but the data section is different. Instead of representing each value in order, like this: @data 0, X, 0, Y, "class A" 0, 0, W, 0, "class B" the non-zero ...
The future of SQL Server Management Studio looks pretty promising. I downloaded SQL Server Denali CTP 3 the other day and was really happy to see that they've finally implemented dockable windows. I always find myself trying to drag the tabs out of SSMS 2008 to my 2nd monitor. Check it out if you get the chance. Just wanted to spread the word ...
I've got a bunch of technical books I'd like to get rid of. Some are more current than others. 3D Programming For Windows Introducing LINQ VB.NET Class Design Handbook ASP.NET MVC 1.0 ASP.NET MVC In Action FBML Essentials Test Driven Development in Microsoft .NET The Rational Guide To Building Technical User Communities Expression Web Step By Step Applications = Code + Markup I don't really feel like dealing with the hassle of ebay (or Amazon), and I'd hate to just throw them away. Craigslist / Freecycle ...
Today's 50% off deal of the day from Microsoft Press at http://shop.oreilly.com/pro... is Windows® Internals, 5th Edition "See how the core components of the Windows operating system work behind the scenes—guided by a team of internationally renowned internals experts. Fully updated for Windows Server® 2008 and Windows Vista®, this classic guide delivers key architectural insights on system design, debugging, performance, and support—along with hands-on experiments to experience ...
The following sections are covered in the Interaction Design book – the sections in blue are examinable for 2011, the sections in pink are not examinable. A brief example of questions to be expected in the Exam Below are some example questions extracted from previous exam papers and assignments…. I have outlined just the basic section headers, you will need to be able to expand on these… Define Interaction Design (Chapter 1) Interactive Design is the process of designing interactive products to support ...
Yikes... left off all my information last night! In this Issue: Jay Kimble, Charles Petzold, Peter Kuhn, Adam Kinney, Ollie Riches, Abhinaba Basu, Mike Taulty, Erik Mork, Kunal Chowdhury, Cheryl Simmons, Beth Massi, Joost van Schaik, Timmy Kokke, David Catuhe, Igor, and Dhananjay Kumar. Above the Fold: Silverlight: "New version of Babylon engine for Silverlight 5 and Silverlight 5 Toolkit" David Catuhe WP7: "A behavior to show the Windows Phone 7 camera as background" Joost van Schaik Beth Massi: ...
In this article, you will learn the basic information in Visual Studio LightSwitch application. You will know how to create basic application in LightSwitch. Now, I will show you how to add custom control in LightSwitch. Let us create a demo LightSwitch application with the name "WorkingWithCustomControlsI... as shown in the figure. Follow the [No: #] to complete the application creation. The Entity Designer: Let us create a table. This the new screen of Beta 2 which is not available in Beta ...
Here is a technique to bind a List (of objects) to a DataGridView so that the public Properties appear as columns. In this example, the columns are binded to the individual public property of the object. The column Random Number is binded to the public property RandomNumber while the column Square Root to the public property SqRt. Create a class that contains the public properties that appear as columns in the dataGridView 1: using System; 2: using System.Collections.Generic; 3: using System.Linq; ...
A new version of SourceMonitor (V3.2.0.208?) is available from http://www.campwoodsw.com/s... "The freeware program SourceMonitor lets you see inside your software source code to find out how much code you have and to identify the relative complexity of your modules. For example, you can use SourceMonitor to identify the code that is most likely to contain defects and thus warrants formal review. SourceMonitor, written in C++, runs through your code at high speed, typically at least ...
So, I love how hindsight is 20/20. I love when I carefully (okay sorta carefully) write code, step through it in the debugger, check values, properly catch errors and dispose of objects and you STILL have some stupid error that humbles me a little. Yeah, welcome to my world. In fact I almost didn’t post this blog because I felt pretty foolish, but I figured if I made the mistake maybe someone else did too and I’m all about looking like an idiot if it helps someone else succeed. This is also the part ...
For good or bad, Microsoft’s Entity Framework (EF) has become one of the most widely used ORM tools out there. While some may state that it's not among the better ones (or that it's not even a real ORM), it’s definitely the most convenient one: its Visual Studio integration and consequently its integration with the MS SQL Server database is unparalleled. This is especially relevant to people who haven’t used the concept of object-relational mapping before - there's almost no initial learning curve ...
The updates are installed, all you want to do now is get connected, authenticated and get going. The first step needed here is to open Visual Studio 2010, once opened then you need to get to Team Explorer. Once there, you will click on the Connect to Team Project button on the toolbar. If you had a connection defined to another TFS environment, this will be adding one more, so you click on Servers… On the next dialog, you will click on Add… Then you will proceed to provide the details of your Team ...
Once you have configured your online preview, then you can proceed to connect to it using Visual Studio 2010. In order to get Live ID authentication working and such, there is an update you need to apply. This is something that can be accessed through the Administration page, and then clicking on download software. Clicking on that link will take you to the Visual Studio ALM + Team Foundation Server Blog. From this page, you will be able to download the needed component to connect and authenticate ...
A while back read a book called the “pragmatic programmer”. Great book and I highly recommend – A section in the book was titled “Power Editing” and a suggestion they made was to have one editor. The motivation being that it is better to know one editor very well, and use it for all editing tasks: code, documentations, memos, etc. I buy into this concept – up to this point I work primarily in Visual Studio and do any other text editing in notepad or programmers notepad and while I have been able ...
NOTE: The variable PropExists as bool has been already created The Property of interest is BTS.RetryCount The Message is Message_In The list from Using Operators in Expressions (http://msdn.microsoft.com/... has the typical list of stuff that you expect in C#, multiplication, bit operations (shift left and right) and Boolean operators, but a couple of extremely useful constructs are available that are unique to BizTalk. The most important of these (in my humble opinion) is ...
Aims of this Chapter Consider what doing interaction design involves Explain some advantages of involving users in development Explain the main principles of a user-centred approach Ask and provide answers for some important questions about the interaction design process Introduce the idea of a lifecycle model to represent a set of activities and how they are related Describe some lifecycle models from software engineering and HCI and discuss how they relate to the process of ID Present a lifecycle ...
In this Issue: Michael Washington, WindowsPhoneGeek, Jeremy Likness, Mike Taulty, Erno de Weerd, Jesse Liberty, Derik Whittaker, Sumit Dutta, Asim Sajjad, Dhananjay Kumar, and Avi Pilosof. Above the Fold: Silverlight: "Using Jounce Navigation to Create OOB Child Windows in Silverlight 5" Jeremy Likness WP7: "Video on How to work with WCF Services in Windows Phone 7" Dhananjay Kumar Metro/WinRT/WIndows 8: "Development Tip – Tab Control" Avi Pilosof LightSwitch: "Connecting To A .CSV or Excel File ...
So you have started using DevExpress XPO/XAF and now you would like to see how to use the EDMX (Entity Data Model XML) visual designer within Visual Studio to draw your entities and relationships. First let’s explain the steps we are going to do and what is taking place, then I’ll give you the steps to accomplish this. The EDMX design surface is what is currently being used to generate Entity Framework code. What we have done is to intercept the saving of the diagram and use this to generate XPO/XAF ...
Check out the Fault Tolerance Framework: http://windowsazurecat.com/... This is really sweet. You can download the source code, then open it in VS and build it. Then plug into your app to get fault tolerance for SQL Azure, Windows Azure storage, Service Bus and Caching Service. Once you have it built and referenced in your project, it only takes a few minutes to plumb your application to use it. Next week (hopefully) I will post a new WPF app that uses ServiceBus ...
Aims of this chapter Describe different kinds of requirements Enable you to identify examples of different kinds of requirements from a simple description Explain how different data gathering techniques may be used during the requirements activity Enable you to develop a scenario, a use case, and an essential use case from a simple description Enable you to perform hierarchical task analysis on a simple description Summary What, How and Why The process works in a cycle.. Why bother? The importance ...
Normal 0 false false false EN-US X-NONE X-NONE /* 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; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans... mso-ascii-font-family:Calibri; ...
Aims of this chapter Explain what expressive interfaces are and the effects they can have on people Outline the nature of user frustration and how to reduce it Describe how technologies can be designed to change people’s attitudes and behaviour Debate the pro’s and con’s of applying anthropomorphism in interaction design Describe the affective aspects used in interface agents and interactive physical toys Present models and frameworks of affect that can be applied to interaction design Enable you ...
Just a gentle reminder that this blog has moved to http://ericnelson.wordpress... (as I still get folks contacting me via here) and a shout out for a great initiative (probably!) I’m pulling together to offer six weeks of FREE technical and commercial help to UK companies to explore the Windows Azure Platform starting in Jan 2012. Check out http://www.sixweeksofazure.... ...
In this Issue: Andrea Boschin, Mark Monster, Antoni Dol, Chaitanya Venneti, Erik Arthur and Jeffrey Ferman, David Kelley, Jose Fajardo(-2-), Andy Beaulieu, Rudi Grobler, Chad Campbell, and Andrej Tozon. Above the Fold: VS2011: "Visual Studio XAML Designer: New Grid Features" WP7: "Statistics for your Windows Phone application (Google Analytics)" Mark Monster Metro/WinRT/Windows8: "Physics Games: Multi-targeting Windows 8 + Windows Phone 7" Andy Beaulieu Shoutouts: Michael Palermo's latest Desert ...
In the recent update of Visual Studio 2010 productivity power tool there are few new interesting features introduced. You can download the Productivity tool from http://bit.ly/9nybU6 . There are certain new features like Quick Find which allows you find and advance find dialog option with in code editor with nice highlighting features, nice enhancement of add reference window. Kunal Chowdhury has some nice blog post where he talked about above two new productivity tool features. You can find the ...