-
Using the WPF TreeView with Multiple Levels
Last updated: Thursday, December 30, 2021
Published in: CODE Magazine: 2014 - January/February
When your WPT TreeView needs to go deeper than two levels, you might run into a snag. Paul shows us how to use the HierarchicalDataTemplate to get around this problem.
-
A Windows 8 Look and Feel for WPF, Part 1
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2012 - November/December
Many people will not be able to upgrade to Windows 8 right away for various reasons. However, there is nothing to stop you from designing your WPF applications to have a similar look and feel.
-
Debugging Hard to Reproduce Issues
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2012 - July/August
Software developers live and breathe debugging. It’s an essential and integral part of our day-to-day job. Whenever we are confronted with any bug in code, our typical first question is, “How can I reproduce this issue?” Any problems that cannot be reproduced are generally considered tricky to resolve. In order to really understand the challenges with debugging hard to reproduce issues, let’s walk through a few scenarios here.
-
CODE Framework: Building Services and SOA Business Layers
Last updated: Tuesday, February 19, 2019
Published in: VFP Conversion Papers, CODE Magazine: 2012 - March/April, Markus Egger Talks Tech
In the last issue of CODE Magazine, we took a look at CODE Framework’s WPF features. This time, we are going to look at a completely different area of the framework: Creating business logic and middle tiers as SOA services. SOA is the cornerstone of many modern applications, creating systems that are more maintainable, flexible, and suitable for a wide range of scenarios, ranging from Windows to Web and Mobile scenarios using a wide variety of technologies, and outperforming conventional multi-tiered applications in a range of metrics. Using CODE Framework, it also becomes easy and extremely productive to build SOA layers.
-
Using the Visual Studio New Project Dialog Box
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2011 - November/December
Continuing on our odyssey exploring the features of Visual Studio 2010, we turn our attention to the New Project dialog box. You noticed a difference no doubt, but may not be aware of just <i>how much </i>it has changed. Sit back, relax, open up Visual Studio 2010 and follow along as we dive into the details.
-
Using Visual Studio 2010 New IntelliSense Features
Last updated: Saturday, January 18, 2020
Published in: CODE Magazine: 2011 - July/August
-
From Zero to Business Application in 15 Minutes
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2011 - March/April
Visual Studio LightSwitch is a new product in the Visual Studio family aimed at developers who want to quickly create data-centric business applications for the desktop and the cloud.LightSwitch is an extensible development environment and application framework that simplifies the development process because it lets you concentrate on the business logic and does a lot of the remaining work for you. LightSwitch is perfect for small business or departmental productivity applications that need to get done fast. In this article I will walk you through creating a business application from beginning to end using Visual Studio LightSwitch.Visual Studio LightSwitch is a new product in the Visual Studio family aimed at developers who want to quickly create data-centric business applications for the desktop and the cloud.LightSwitch is an extensible development environment and application framework that simplifies the development process because it lets you concentrate on the business logic and does a lot of the remaining work for you. LightSwitch is perfect for small business or departmental productivity applications that need to get done fast. In this article I will walk you through creating a business application from beginning to end using Visual Studio LightSwitch.
-
Inside Visual Studio LightSwitch
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2011 - March/April
Microsoft Visual Studio LightSwitch uses a model-centric architecture for defining, building, and executing a 3-tier LightSwitch application.
-
Building Line-of-Business RIA in Silverlight Using Microsoft SQL Server 2008 Reporting Services
Last updated: Saturday, January 18, 2020
Published in: CODE Magazine: 2011 - January/February
While the development community has accepted the inevitable future of Line-of-Business RIAs and indispensable role of Silverlight in their creation, many of them have started looking for ways to use Microsoft SQL Server Reporting Services in Silverlight applications. It is logical: Reporting Services is reasonably capable and the most-used reporting engine on the market. Millions of developers are Reporting Services professionals and of course they would like to continue using the tool in their RIAs as well.
-
WPF and Silverlight Super-Productivity: ListBoxes
Last updated: Tuesday, February 19, 2019
Published in: VFP Conversion Papers, Markus Egger Talks Tech, CODE Magazine: 2011 - January/February
ListBoxes suck. Except that statement is not true anymore. Not in WPF and Silverlight anyway, where ListBoxes have evolved from simplistic controls to true workhorse objects. ListBoxes have been around since the beginning of Windows (and other GUIs) and have served a pervasive yet simple purpose, which can be summed up as “show me a list of labels in a list with a scroll bar.” A premise that has its uses but is not sophisticated enough for advanced data presentation, which is why developers often use special controls such as “data grids” or “list views” among others. In WPF and Silverlight, however, ListBoxes are so flexible and powerful that they are the first choice for just about anything. In fact, WPF originally shipped without a data grid control since ListBoxes all but eliminated that need. Developer perception, however, was different and the power of the ListBoxes went largely unnoticed. That is reason enough for me to write an article that displays the ease, flexibility, and power of ListBoxes.
-
Beyond the Boundaries of Visual Studio 2010 with WebUI Test Studio
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2010 - November/December
Advertorial
-
Add Some Spark to Your OData: Creating and Consuming Data Services with Visual Studio and Excel 2010
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2010 - September/October
The Open Data Protocol (OData) is an open REST-ful protocol for exposing and consuming data on the web. Also known as Astoria, ADO.NET Data Services, now officially called WCF Data Services in the .NET Framework. There are also SDKs available for other platforms like JavaScript and PHP. Visit the OData site at www.odata.org.
-
Ask the Doc Detective
Last updated: Thursday, May 12, 2022
Published in: CODE Magazine: 2010 - May/June
-
New Features in WCF 4 that Will Instantly Make You More Productive
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2010 - May/June
WCF 4 is all about productivity.
-
Reflections on a Decade of Visual Studio
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2010 - May/June
Reviewing where we’ve been over the last decade in the world of .NET and Visual StudioAt the brink of a new release of .NET and Visual Studio, you may wonder where all of this new technology is taking us. Not only do we now have a number of new flavors of Visual Studio targeted to release on April 12, 2010, we also get to enjoy a plethora of new technologies such as Silverlight 4 and RIA Services, as well as new hardware platforms to consider, such as Windows Phone 7 Series. Understanding the future usually begins with a reflection upon the past so let’s take a look at how Visual Studio has changed in the last decade.
-
SharePoint Applied: BCS with Visual Studio 2010
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2010 - May/June
Business Connectivity Services (BCS) is a set of out-of-the-box features, services and tools that enhance SharePoint by streamlining the creation of solutions with deep integration of external data and services into SharePoint!SharePoint 2007 had a similar technology called BDC. But BDC was much more primitive compared to BCS.
-
Creating Self-Scaling Applications with Azure Services
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2010 - March/April
Microsoft’s Azure platform has finally been released into production. This new entry into the cloud computing market provides .NET developers with a scalable, robust platform for developing applications.After over a year in CTP, Azure is finally ready for prime time. At PDC 2009, Microsoft announced the release of new components, such as the management API, that make Azure worth considering for use in production environments. In this article, I’ll demonstrate how to use the different components of Azure Services to build a self-scaling application.
-
Ensuring Quality Code
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2010 - March/April
Every developer needs to test their code, or have it tested by someone.I don’t know about you, but I am horrible at testing my own code. Does this mean that I do not need to test my code? Heck, no! It is always best if you do not rely on your end user to test your code. This can end up with a very frustrated user, and your user can lose faith in your ability to get their project done.
-
Supercharging ASP.NET MVC with MvcContrib
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2010 - March/April
Hot on the heels of the groundbreaking release of ASP.NET MVC CTP 1 in December of 2007, an open source project called MvcContrib came to life.MvcContrib has enjoyed tens of thousands of downloads since it started in December of 2007. In this article, I will explain MvcContrib; it’s major components, how to use it, and how to get involved in its continued development.
-
Generating Code Using Visual Studio 2008 and 2010
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2010 - January/February
Visual Studio 2010 makes T4 easier to find and supplies a powerful new feature called preprocessed templates. Kathleen shows you how to use T4 in Studio 2005 and beyond.Microsoft included its T4 generation language in the box in Visual Studio 2008 and added important new features in Visual Studio 2010. Visual Studio 2010 makes generation easier to find and supplies a powerful new feature called preprocessed templates.Code generation lets you automatically create significant portions of your application. It has the potential to decrease bugs and increase your ability to alter code across your application as needs change. Microsoft’s generation language is T4 and it is included in the box starting with Visual Studio 2008. Visual Studio 2010 makes T4 easier to find and supplies a powerful new feature called preprocessed templates. I’ll show you how to use T4 in Studio 2005 and beyond.
-
My Top Three Favorite Things About SharePoint 2010
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2010 - January/February
Aside from the obvious summary here, Sahil goes into details about why you should also be happy about these three SharePoint 2010 features. In his words, these features give a SharePoint architect so much more flexibility in implementing and delivering SharePoint projects that they will invariably prove to be extremely valuable.SharePoint 2007 has been a very successful product for many reasons. Perhaps it is the good applicability of .NET to SharePoint. Maybe it is the fact that SharePoint gives you so much beyond plain vanilla ASP.NET, that it gets both techies and business users excited.Having been available for about three years now, there has been time for developers to discover a few rough edges to the product as well.
-
Practical Uses of Lambdas
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2010 - January/February
Deborah covers many of the different ways you can use lambda expressions to work with your lists and make your code easier to read and write.Lambdas provide shortcuts for sorting, filtering, finding and working with information in lists, making your code easier to read and write.
-
Get Ready for Visual Basic 10
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2009 - November/December
Check out the new features in Visual Basic 10, the latest version of VB coming out with Visual Studio 2010 and .NET 4.0.
-
What’s New in Visual C# 4.0?
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2009 - November/December
Visual C# version 4.0 offers new features that make it easier for you to work in dynamic programming scenarios.Besides dynamic programming, you have support for optional and named parameters, better COM interop support, and contra-variance and covariance. This article will show you how each of these features work and provide suggestions of how they can be applied to help you be more productive.
-
Heard on .NET Rocks! Future of Web Development Panel
Last updated: Saturday, January 18, 2020
Published in: CODE Magazine: 2009 - January/February
-
A Pragmatic Approach to WPF Accessibility
Last updated: Wednesday, August 31, 2022
Published in: CODE Focus Magazine: 2008 - Vol. 5 - Issue 4 - Windows Accessibility Focus
As is often the case, applications are not typically designed with accessibility in mind.Usually, applications are designed to satisfy business requirements. If those business requirements do not include accessibility, more likely than not, the application as a whole will be inaccessible to important segments of users. There are, however, steps you can take to mitigate this common lack of foresight in requirements analysis.
-
Heard on .NET Rocks! Andy Leonard on Unit Testing Your Database
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2008 - May/June
May/June 2008 .NET Rocks! column
-
The Provider Model
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2007 - November/December
In this article you will learn how to isolate yourself from change by taking advantage of the Provider Model.Designing your applications using the Provider Model will allow you to swap components out at runtime, thus allowing you to upgrade them easily.
-
2 - Introduction to SharePoint Development in Visual Studio 2010
Last updated: Saturday, January 18, 2020
Published in: Book Excerpts
This excerpt is from the book, ‘SharePoint 2010 Development with Visual Studio 2010’ By Eric Carter, Boris Scholl, Peter Jausovec, Published Aug 26, 2010 by Addison-Wesley Professional. Part of the Microsoft .NET Development Series series. . ISBN 13: 978-0-321-71831-0, Copyright 2011. For more info please visit the publisher site: http://www.informit.com/store/product.aspx?isbn=0321718313
-
C# 4.0 Unleashed - Chapter 2 -Introducing the C# Programming Language
Last updated: Thursday, February 21, 2019
Published in: Book Excerpts
This excerpt is from the book, C# 4.0 Unleashed, authored by Bart De Smet, Published Jan 4, 201 by Sams. Part of the Unleashed series. ISBN 0672335522, Copyright 2011. For more info, please visit the publisher site http://www.informit.com/store/product.aspx?isbn= 0672330792.
-
Chapter 1 - Three Years of Silverlight
Last updated: Wednesday, August 31, 2022
Published in: Book Excerpts
This excerpt is from the book, ‘Silverlight 4 Unleashed’ By Laurent Bugnion, Published Oct 21, 2010 by Sams. Part of the Unleashed series. ISBN 13: 978-0-672-33336-1, Copyright 2011. For more info please visit the publisher site: http://www.informit.com/store/product.aspx?isbn=0672333368
-
Chapter 10: It’s Your Turn!
Last updated: Tuesday, February 19, 2019
Published in: Book Excerpts
A key aspect of building a great Windows Phone 7 game experience is leveraging the platform’s features. Push notifications can be used to send updates and alerts in a variety of ways: in-game (also known as “raw”) updates, pop-up toasts, and tile updates.
-
Chapter 12: Delegates and Lambda Expressions
Last updated: Wednesday, August 31, 2022
Published in: Book Excerpts
PREVIOUS CHAPTERS DISCUSSED extensively how to create classes using many of the built-in C# language facilities for object-oriented development. The objects instantiated from classes encapsulate data and operations on data. As you create more and more classes, you see common patterns in the relationships between these classes.
-
Chapter 17
Last updated: Wednesday, August 31, 2022
Published in: Book Excerpts
This chapter covers the steps necessary to dynamically populate a repeating table. Displaying data from a data source in a repeating table is fairly straightforward using rules and filters. However, in this overall scenario, you need to populate a repeating group in your form with data from a data source. The data is dependent on another selection in your form.
-
Chapter 2: Creating Versatile Types
Last updated: Wednesday, February 20, 2019
Published in: Book Excerpts
Whenever you create your own classes, you need to consider the circumstances under which they could be used. For example, will two instances of your Item struct ever be compared for equality? Will your Person class need to be serializable, or sortable?
-
Chapter 3 - Planning Your Testing
Last updated: Wednesday, August 31, 2022
Published in: Book Excerpts
-
Chapter 3 - The Anatomy of a Visual Basic Project
Last updated: Wednesday, February 20, 2019
Published in: Book Excerpts
Although you can create lots of kinds of projects both for Windows and the Web with Visual Basic 2010, there is a common set of files for each project. In this chapter you learn which files give the structure to each project and how the files influence the building of an application. You also get an overview of references, namespaces, classes, modules, and Visual Basic keywords.
-
Chapter 4 - LINQ to Objects
Last updated: Wednesday, February 20, 2019
Published in: Book Excerpts
This excerpt is from the book >NET 4.0 Generics Beginner's Guide authored by Sudipta Mukherjee.ISBN 1849690782, Copyright 2012, Release Date January 2012. For more info, please visit the publisher site http://www.packtpub.com/net-generics-4-0-beginners-guide/book .
-
Chapter 8
Last updated: Friday, February 22, 2019
Published in: Book Excerpts
C# is an evolving language. This chapter looks at the new features added into C# 4.0 that combine to improve code readability and extend your ability to leverage LINQ to Object queries over dynamic data sources. The examples in this chapter show how to improve the coding model for developers around reading data from various sources, including text files and how to combine data from a COM-Interop source into a LINQ to Objects query.
-
Chapter 9 - Case Study: Generating a Connection String Manager
Last updated: Saturday, January 18, 2020
Published in: Book Excerpts
Peter Vogel walks you through an end-to-end solution for code generation that concentrates on integrating with Visual Studio and working with the CodeElement objects.
-
Designing Silverlight Business Applications: Chapter 7 of Best Practices for Using Silverlight Effectively in the Enterprise
Last updated: Saturday, January 18, 2020
Published in: Book Excerpts
By Jeremy Likness , Published Mar 29, 2012 by Addison-Wesley Professional. Part of theMicrosoft Windows Development Series series. Copyright 2012, ISBN-10: 0-321-81041-4 ISBN-13: 978-0-321-81041-0 Chapter 7: Designing Silverlight Business Applications: the Model-View-ViewModel (MVVM)
-
Effective C#: 50 Specific Ways to Improve Your C#, Second Edition, 2nd Edition #32 and #34
Last updated: Wednesday, February 20, 2019
Published in: Book Excerpts
C# has matured over the past decade: It's now a rich language with generics, functional programming concepts, and support for both static and dynamic typing. This palette of techniques provides great tools for many different idioms, but there are also many ways to make mistakes. In Effective C#, Second Edition, respected .NET expert Bill Wagner identifies fifty ways you can leverage the full power of the C# 4.0 language to express your designs concisely and clearly.
-
Hour 1 - Jumping in with Both Feet: A Visual Basic 2010 Programming Tour
Last updated: Saturday, January 18, 2020
Published in: Book Excerpts
-
Hour 3 - Understanding Classes and Objects the C# Way
Last updated: Saturday, January 18, 2020
Published in: Book Excerpts
This chapter teaches the basics of both object-oriented and component-oriented programming, moving on to creating a class in C# and examining how it fulfills the goals of object-oriented and component-oriented programming.
-
Visual Studio Team Foundation Server 2012: Adopting Agile Software Practices: From Backlog to Continuous Feedback, 3rd Edition - Chapter 2 - Scrum, Agile Practices, and Visual Studio
Last updated: Saturday, January 18, 2020
Published in: Book Excerpts
-
Visual Studio Unleashed - Chapter 2 - The Visual Studio IDE
Last updated: Saturday, January 18, 2020
Published in: Book Excerpts
This excerpt is from the new book, ‘Microsoft Visual Studio 2010 Unleashed’, authored by Mike Snell and Lars Powers, published in the Sams Unleashed Series, August 2010, ISBN 0672330814, Copyright 2010. For more info, please visit the publisher site http://www.informit.com/store/product.aspx?isbn=0672330814
-
-
What’s New in ASP.NET 4.0, Part One: Core Engine Features
Last updated: Tuesday, February 19, 2019
Published in: The Web View
Microsoft released the .NET Runtime 4.0 and with it comes a brand spanking new version of ASP.NET - version 4.0 - which provides an incremental set of improvements to an already powerful platform. .NET 4.0 is a full release of the .NET Framework, unlike version 3.5, which was merely a set of library updates on top of the .NET Framework version 2.0. Because of this full framework revision, there has been a welcome bit of consolidation of assemblies and configuration settings. The full runtime version change to 4.0 also means that you have to explicitly pick version 4.0 of the runtime when you create a new Application Pool in IIS, unlike .NET 3.5, which actually requires version 2.0 of the runtime.
-
What’s New in ASP.NET 4.0, Part Two: WebForms and Visual Studio Enhancements
Last updated: Saturday, January 18, 2020
Published in: The Web View