-
Using a Scripting Language to Develop Native Windows WPF GUI Apps
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2020 - July/August
Vassili Kaplan describes how using CSCS (Customized Scripting in C#) can save time creating WPF applications.
-
CSLA .NET: A Home for Your Business Logic
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2020 - March/April
Rocky Lhotka describes CSLA .NET, the MIT-licensed open-source framework to organize your business logic, similar in concept to separating the presentation and data layers of an application. Learn to use CSLA in a simple Blazor app.
-
A Design Pattern for Building WPF Business Applications: Part 3
Last updated: Wednesday, March 17, 2021
Published in: CODE Magazine: 2019 - September/October
In the third installment of his WPF series, Paul shows you how to get feedback using an Entity Framework entity class. He also shows you how to start expanding user activities, like adding, editing, or deleting screens.
-
Using PowerShell Operators
Last updated: Monday, March 29, 2021
Published in: CODE Magazine: 2019 - July/August
You need PowerShell operators if you’re writing a script or module, and there are quite a variety to choose from. Dan takes us on a tour of some of the ones you’ll use the most.
-
A Design Pattern for Building WPF Business Applications: Part 1
Last updated: Wednesday, March 31, 2021
Published in: CODE Magazine: 2019 - May/June
Paul begins a new series of articles on how to create a WPF business application. This first one teaches how to use a message broker to eliminate strong coupling between classes, how to display status and information to the user while resources are loading, and how to load user controls onto a single window while aggregating controls and building a large screen.
-
Create a Title Bar for User Controls
Last updated: Friday, April 2, 2021
Published in: CODE Magazine: 2019 - March/April
Those helpful buttons for minimize, maximize, and close functions need to be added to your WPF pages if you don’t want to crowd your user’s screen. Paul shows you how.
-
Writing Your Own Debugger and Language Extensions with Visual Studio Code
Last updated: Wednesday, April 21, 2021
Published in: CODE Magazine: 2018 - September/October
Visual Studio Code is the hot new thing these days. Vassili tells you how to take advantage of some of its features, including CSCS, Rich Language Services, REPL language interpretation, and debugging.
-
Developing Cross-Platform Native Apps with a Functional Scripting Language
Last updated: Tuesday, May 11, 2021
Published in: CODE Magazine: 2017 - November/December
Vassili extends his own custom scripting language for mobile development and makes creating and placing widgets fast and easy.
-
Does Anybody Really Know What Time It Is: Dates and Times across Time Zones
Last updated: Tuesday, May 11, 2021
Published in: CODE Magazine: 2017 - November/December
Since cloud computing came to town, you can’t count on your system’s software and appliances all being in the same time zone. Mike addresses some thorny issues and helps you keep your data up to date.
-
Accessing Platform-Specific Functionalities Using DependencyService in Xamarin.Forms
Last updated: Tuesday, May 18, 2021
Published in: CODE Magazine: 2017 - July/August
You can avoid all that pesky overhead when dealing with multiple platforms by using Microsoft’s library of APIs, Xamarin.Forms. Wei-Meng shows you how to efficiently map to the various platforms’ respective native UI elements at run time.
-
Building an Angular Front End for an ASP.NET Web API
Last updated: Friday, May 21, 2021
Published in: CODE Magazine: 2017 - May/June
Rick follows up on his server-side Angular back end for ASP.NET Core with this interesting look at the matching front end.
-
What’s New in Visual Studio 2017
Last updated: Wednesday, May 19, 2021
Published in: CODE Magazine: 2017 - May/June
It’s so new that the dust is still settling, and VS2017 was worth the wait. Markus explores the ins and outs of his favorite new features.
-
Accessing Your Data with F# Type Providers
Last updated: Monday, May 24, 2021
Published in: CODE Magazine: 2017 - March/April
You can access just about any data with type providers, whether in XML, JSON, or APIs. Rachel shows us how, plus a nifty new Swagger type provider.
-
Data-Driven Testing with Visual Studio
Last updated: Friday, May 21, 2021
Published in: CODE Magazine: 2017 - March/April
Does the idea of using an app that’s never been tested give you the willies? It should, and Paul talks about finding the sticking points so you can be confident that your code works as intended before someone fires it up.
-
Case Study: Writing Microservices with F#
Last updated: Wednesday, June 2, 2021
Published in: CODE Magazine: 2016 - November/December
If you’re lucky enough to be involved in building a new enterprise system, you’ll want to check this out. Rachel takes a look at how the company where she works made some interesting—and forward-looking—decisions, and she shows us the benefits of microservices while she’s at it.
-
Simplest Thing Possible: Dynamic Lambda Expressions—Part 3
Last updated: Wednesday, June 2, 2021
Published in: CODE Magazine: 2016 - November/December
If you want to re-use some of the concepts John introduced in the last two issues, you’ll want to learn all about Dynamic Lambda Expressions work in .NET.
-
Getting to the ASP.NET Core
Last updated: Wednesday, June 9, 2021
Published in: CODE Magazine: 2016 - September/October
New releases ASP.NET Core and .NET Core have come up with some interesting high-level architecture that you’ll want to read about. You’ll definitely want to play with these tools after Rick shows you some cool new tricks.
-
Simplest Thing Possible: Leveraging and Querying String, Object Dictionaries (Lambda Expressions - Part 2)
Last updated: Monday, June 7, 2021
Published in: CODE Magazine: 2016 - September/October
John explores the flexibility of dynamic queries and multiple data types within the same dictionary. You’ll be amazed at how simple it really is!
-
What’s New in CODE Framework in 2016
Last updated: Thursday, June 10, 2021
Published in: CODE Magazine: 2016 - September/October, Addison Wesley Books: Smart Client Deployment with ClickOnce
If you’d like a neat summary of the many interesting and useful changes in CODE Magazine’s free development framework, you’ve come to the right place. Markus talks about themes, input validation, security, and binding, Web API service hosting, calling REST services, and interacting with the community and GitHub.
-
How to Write Your Own Programming Language in C#
Last updated: Monday, June 14, 2021
Published in: CODE Magazine: 2016 - July/August
Have you ever thought that the language you were coding in lacked some important tools? Vassili shows you how to write your own language without building a compiler.
-
Simplest Thing Possible: Dynamic Lambda Expressions
Last updated: Friday, June 11, 2021
Published in: CODE Magazine: 2016 - July/August
Lambda expressions have been around for a while, but they seem poorly understood and generally underused. You can juice up your code with these dynamic types from .NET, according to John. Find out how!
-
Why F#
Last updated: Saturday, April 22, 2023
Published in: CODE Magazine: 2016 - May/June
Functional programming is all the rage and Microsoft's foray into the functional world is called F#. Rachel introduces you to this first-class functional language with the ability to harness the rich .NET ecosystem.
-
Visual Studio 2015: Ushering in a New Paradigm
Last updated: Wednesday, June 30, 2021
Published in: CODE Magazine: 2015 - November/December
You’re going to have to hold onto your hat! Jeffrey looks at what’s new in VS 2015, and it’s all good.
-
More about Xamarin Pages
Last updated: Thursday, July 1, 2021
Published in: CODE Magazine: 2015 - September/October
Walt continues his series of articles on Xamarin, this time, exploring the nature of pages. You’ll learn what a page is, how to navigate among them, how to create sub-pages, and strategies for loading data onto pages.
-
Asynchronous Pattern Redux for XAML Developers
Last updated: Monday, July 26, 2021
Published in: CODE Magazine: 2015 - May/June
By providing the history of asynchronous and await patterns, Bill examines the benefits of using these techniques in developing new apps and when it comes to the maintenance or revision of legacy code.
-
Mobile Apps for SharePoint and Office 365: Part 2
Last updated: Thursday, July 29, 2021
Published in: CODE Magazine: 2015 - January/February
Sahil continues his interesting series by writing a fronted to the Mobile app he wrote the backend for in the November/December 2014 issue.
-
XAML Anti-Patterns: Resource Overuse
Last updated: Monday, August 2, 2021
Published in: CODE Magazine: 2015 - January/February, Markus Egger Talks Tech
In the second article of the series, Markus talks about keeping your code readable and maintainable by controlling how often and where you reuse objects.
-
Rich Messaging Endpoints with BizTalk Services
Last updated: Tuesday, December 28, 2021
Published in: CODE Magazine: 2014 - March/April
Rick Garibay takes you on a tour of cloud-based messaging services including Windows Azure BizTalk Services (WABS), Enterprise Application Integration (EAI), and Windows Azure.
-
Visual Studio 2013
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2014 - March/April
Keeping up with Visual Studio’s frequent and often simultaneous releases from multiple sources can be nearly impossible. In another of his edifying series, John Petersen gives us the scoop.
-
Windows Azure Active Directory
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2014 - March/April
Michiel van Otegem explains Software-as-a-Service by comparing various online products and shows you how to store information about users whether you use Active Directory or Windows Azure Active Directory in the cloud.
-
Using Active Directory in .NET
Last updated: Monday, January 3, 2022
Published in: CODE Magazine: 2013 - November/December
Sometimes your .NET applications need to interact with Microsoft Active Directory (AD) to authenticate users, get a list of users, retrieve groups, or determine which users are within which AD groups. There are a few different approaches you can use to retrieve information from your AD database within your domain.
-
Listing Processes Running on a Computer
Last updated: Monday, April 25, 2022
Published in: CODE Magazine: 2013 - September/October
I have a client that has a few Windows Services and some EXEs that run on a computer to perform various business functions. Every once in a while, the processes fail and need to be restarted. I helped the client write a Windows Service to monitor their running processes and ensure that they are up and running and to notify them and to attempt to restart those processes. As part of this process, I had to write a class to get a list of all of the processes running on the current computer or on another computer on their network.
-
A Windows 8 Look and Feel for WPF, Part 2
Last updated: Thursday, June 9, 2022
Published in: CODE Magazine: 2013 - January/February
In part 1 of this article, you learned how to create a Windows 8 look and feel for your WPF applications. You were shown a high-level overview of the various components that made up the shell for navigating. In part 2 of this article you will learn to create a WPF Button user control, a Message Box you can style, and a simple Message Broker System. All of these components are used to create the “Windows 8 Style” WPF shell you learned about in part 1.
-
Log Users in to Your Web Application with OpenID or OAuth
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2013 - January/February
Users already have many usernames and passwords for different popular online services, and with OpenID and OAuth, you can leverage those. Why burden users with yet another set of credentials for your site if they can use their Google or Facebook account, or any other OpenID or OAuth account? In this article, I will show you how to do this with ASP.NET 4.5, but more importantly help you understand what’s going on behind the scenes.
-
Tasks and Parallelism: The New Wave of Multithreading
Last updated: Saturday, September 26, 2020
Published in: CODE Magazine: 2012 - November/December
Since the beginning of .NET, developers have been able to take advantage of multithreading when developing applications. In fact we’ve been given more than one programming model to accommodate just about any requirement that might come across. There’s the Thread class, the Thread Pool, the Async Pattern, and the Background Worker. Well, as if that isn’t enough, we now have a couple of more patterns that bring with them another genre - parallel programming.
-
CODE Framework: Testing
Last updated: Tuesday, February 19, 2019
Published in: VFP Conversion Papers, CODE Magazine: 2012 - September/October
The CODE Framework provides a set of tools for developing n-tier, service-oriented applications. In addition, there is a set of recommended patterns and practices that provide guidance in enabling developers to achieve Rapid Application Development, Contract-First implementation, and a system that allows you to change a contract without breaking an implementation. However, one question which has been repeatedly asked throughout our trainings and seminars is, “How do I Unit Test when I’m using the CODE Framework?” This article will examine the question and attempt to answer it.
-
Extension Methods
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2012 - July/August
Many developers find that keeping up with new technologies can be challenging and a drain to limited resources. Sometimes a review of basic .NET and C# skills is useful. This review of extension methods addresses the basic concept and implementation. Thousands of implementations are most certainly found in the industry, but in this article I want to address a few popular and useful ones.
-
CODE Framework: Building Productive, Powerful, and Reusable WPF (XAML) UIs with the CODE Framework
Last updated: Tuesday, February 19, 2019
Published in: VFP Conversion Papers, CODE Magazine: 2012 - May/June, Markus Egger Talks Tech
In a prior installment of this series of articles about CODE Framework (“CODE Framework: Writing MVVM/MVC WPF Applications”, Jan/Feb 2012), I discussed how to use the WPF features of CODE Framework to create rich client applications in a highly productive and structured fashion reminiscent of creating ASP.NET MVC applications, although with WPF MVVM concepts applied. In this article, I will dive deeper into the subject and discuss the unique benefits of the CODE Framework WPF components which enable developers to create the part of the UI that is actually visible in a highly productive and reusable manner.
-
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.
-
Getting Started with RavenDB
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2012 - March/April
You might have heard some things about NoSQL; how Google and Facebook are using non-relational databases to handle their load. And in most cases, this is where it stopped. NoSQL came about because scaling relational databases is somewhere between extremely hard to impossible.
-
Smashing the Myth: Why You Must Learn F# - Even If You Aren’t Writing Rocket Science Apps
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2012 - March/April
If you are a .NET software developer, you have heard of F#. You may have read an article, seen a talk at a user group, or otherwise heard the buzz. However, if those means of reaching you have failed, at the very least, you have noticed it conspicuously appear in the list of languages you can base a solution on in Visual Studio 2010. If you write code on the .NET Framework, you would have to be living under a rock to have not heard of F#.
-
Working with Windows Phone User Interfaces, Part 2
Last updated: Sunday, December 3, 2023
Published in: CODE Magazine: 2012 - March/April
In Part 1 of this article you learned how to work with orientation changes on the Windows Phone and how to create horizontally scrolling pages using Panorama and Pivot pages. In Part 2 you’ll see how to interact with some of the built-in applications on the phone through the use of the Launcher and Chooser applications.
-
Introducing Queues and Topics in Azure Service Bus
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2011 - November/December
In 2007, Microsoft unveiled a new vision called “Software + Services” that would fundamentally change the way that both Microsoft and their customers build software and have a gradual, yet marked ripple effect throughout the software giant’s entire strategy.
-
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.
-
Getting the Most Out of the Save Pipeline in Visual Studio LightSwitch
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2011 - March/April
Visual Studio LightSwitch applications consist of three tiers: presentation, logic and data. This article discusses the logic tier and its save pipeline. The save pipeline is where developers write business logic that runs as changes are processed on the logic tier and saved to the data storage tier. The save pipeline is automatically generated with every LightSwitch application. Understanding the processing done in the save pipeline is not required to successfully build and deploy applications with LightSwitch, but adding save pipeline business logic provides additional flexibility and control when data is saved.
-
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.
-
Leveraging Razor Templates Outside of ASP.NET: They’re Not Just for HTML Anymore!
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2011 - March/April
The Razor syntax is much more than just a clean way to write ASP.NET MVC Views and WebMatrix web pages. In fact, with a working knowledge of the Razor API, you can leverage Razor templates in any application. The Razor API exposes a powerful library for parsing, compiling, and executing templates created using the Razor syntax.
-
Line-of-Business Applications Consolidation with Silverlight and Windows Communication Foundation
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2011 - March/April
It’s probably one of the most interesting moments to do a post mortem for a Silverlight project. The entire Microsoft ecosystem is boiling around the Silverlight OR HTML 5 debate fueled by the recent PDC and some statements from Microsoft officials. The interesting part about it is that it is a false debate, and like most false debates it will probably lead to nowhere. The simple truth is that Microsoft’s commitment to Silverlight has not changed a bit, and Silverlight is more healthy and strong than ever. And the fact that the same Microsoft places an important bet on HTML 5 too can only make me happy as an architect and a developer. Mostly because it assures me I’ll have my fair share of choices in the future without having to leave the development platform I like. The reality is that neither Silverlight/RIA nor HTML 5 will turn out to be the magic to fly us to the land of perfect web apps and, at least for the foreseeable future, there will always be a need for alternatives. That’s why I think the debate on Silverlight or HTML 5 is nonsense in the Microsoft ecosystem. But I digress… Let me tell you about the latest software project I participated in.
-
The Baker’s Dozen: 13 Productivity Tips for Building OLAP Databases with Microsoft SQL Server 2008 Analysis Services
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2011 - March/April
rewarding experience of writing and speaking is taking a seemingly complex topic and making it more understandable and accessible. In this article, I’ll show how to create and use OLAP databases and cubes using SQL Server Analysis Services 2008 (SSAS 2008). The benefits of OLAP are significant, even monumental - but like most technologies, reaping the benefits means considerable research and effort into leveraging the tools. In the case of OLAP databases, developers need to learn the differences between OLAP databases and relational databases, and how to use the tools that SSAS provides. In this article, I’ll walk through how to create an OLAP database and how to use the tools in Analysis Services to enhance the OLAP database. By the end, you’ll see why businesses and other organizations see the value of OLAP databases. I’ll also briefly cover some of the plans Microsoft has announced for the next generation of OLAP tools.
-
The Razor View Engine
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2011 - March/April
The new view engine for ASP.NET MVC and WebMatrix combines simplicity and functionality to facilitate clean view development. In this article, I’ll dive into the Razor View Engine, the new default view engine for the ASP.NET MVC framework and WebMatrix products. Razor’s main goal is to simplify view development and to improve developer productivity while providing a clean view infrastructure.
-
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.
-
Unit Testing CLR Assemblies Using IronRuby
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2010 - November/December
For a very long time, .NET developers have envied the simplicity and the beauty of the Ruby language. The dynamic behavior, duck typing and compact code are some of the main features of the Ruby language. Now, .NET developers can enjoy the same benefits using the IronRuby framework. This article explores the possibilities of using IronRuby in the CLR world. The main focus will revolve around the sphere of unit testing CLR assemblies using the IronRuby framework.
-
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.
-
Composite Application Library (Prism) and Silverlight
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2010 - September/October
With the advancement in the Silverlight technology starting with the 1.0 release to 2.0, 3.0, and lately 4.0, Silverlight is loudly saying WOW “Watch Out World.” Can you guess which world I am talking about here? It is the RIAs world! Really WOW!
-
Practical Messaging Scenarios with WCF 4
Last updated: Wednesday, November 30, 2022
Published in: CODE Magazine: 2010 - September/October
-
PostMortem: Harms Millennium MedSpa
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2010 - July/August, Markus Egger Talks Tech
July/August2010 Post Mortem by Markus Egger
-
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.
-
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.
-
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.
-
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.
-
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.
-
What’s New in Entity Framework 4? Part 1: API Changes
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2009 - September/October
If you have been working with the ADO.NET Entity Framework, you have probably been extremely eager to get your hands on the next version that is now part of Visual Studio 2010 and .NET 4.0. Long referred to as “EF Version 2,” this version is now called Entity Framework 4 or EF4, to align with the .NET Framework 4.0 version.
-
The State of WPF and Silverlight
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2009 - July/August, Markus Egger Talks Tech
Markus Egger discusses the current State of WPF and Silverlight and the overall importance and acceptance of these technologies.
-
Introducing IronPython
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2008 - September/October
IronPython is easy to learn yet surprisingly powerful language for .NET development. In this article, I’ll introduce you to IronPython and demonstrate it differs from C# and Visual Basic while still allowing you to leverage your existing .NET knowledge.
-
Ruby Comes to the .NET Platform
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2008 - September/October
Microsoft’s IronRuby project brings a powerful and fun dynamic language to the Windows platform. In this article, I’ll examine the history of Ruby and the IronRuby project at Microsoft. I’ll talk about why a .NET programmer may want to learn and use Ruby, and cover the core syntax of the language to get you started learning it
-
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 - Making Software a Service
Last updated: Saturday, January 18, 2020
Published in: Book Excerpts
“This excerpt is from the book, ‘Building Applications in the Cloud: Concepts, Patterns, and Projects’ by Christopher Moyer. (Pearson/Addison-Wesley Professional, April 2011, ISBN 0321720202, Copyright 2011 Pearson Education, Inc. For more information, please visit the publisher site: www.informit.com/title/0321720202)
-
Advanced .NET Debugging
Last updated: Saturday, January 18, 2020
Published in: Book Excerpts
Mario Hewardt takes a look at the internals of the CLR heap manager and the GC and some common pitfalls that can wreak havoc in your application.He shows how to utilize the debuggers and a set of other tools to illustrate how to get to the bottom of the problems.
-
ASP.NET 4 Unleashed - Chapter 1 -Overview of the ASP.NET Framework
Last updated: Wednesday, February 20, 2019
Published in: Book Excerpts
This excerpt is from the book, ‘ASP.NET 4 Unleashed, authored by Stephen Walther, Kevin Hoffman, Nate Dudek, Published Oct 14, 2010 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= 0672331128.
-
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 1- Why WPF, and What About Silverlight
Last updated: Wednesday, February 20, 2019
Published in: Book Excerpts
Adam Nathan explains how WPF 4 and Windows 7 are bringing multi-touch to the masses.
-
Chapter 1: Mashup Styles, Techniques, and Technologies
Last updated: Saturday, January 18, 2020
Published in: Book Excerpts
This chapter is an excerpt from the new book, Mashups: Strategies for the Modern Enterprise by Jeffrey Hanson, published by Addison-Wesley Professional, ISBN 032159181X Copyright 2009 Pearson Education, Inc. For more info please visit: www.informit.com/title/032159181X Safari Books Online subscribers can access the book here: http://safari.informit.com/9780321591869To begin design work on a mashup, you must determine what is to be “mashed” together. Three high-level categories of items can be mashed together-user interface artifacts (presentation), data, and/or application functionality (processes). This might include HTML snippets, on-demand JavaScript to access an external API, web service APIs from one of your corporate servers, RSS feeds, and/or other data to be mixed and mashed within the application or pages. The implementation style, techniques, and technologies used for a given mashup depend on this determination. Once the items are determined, your development team can proceed with applying languages, processes, and methodologies to the application at hand.In this chapter, I point out some of the most widely used styles, techniques, and technologies to build mashups for each of the three primary categories or items.
-
Chapter 1: RESTful Systems - Back to the Future
Last updated: Saturday, January 18, 2020
Published in: Book Excerpts
Developers are rapidly discovering the power of REST to simplify the development of even the most sophisticated Web services—and today's .NET platform is packed with tools for effective REST development. Now, for the first time, there's a complete, practical guide to building REST-based services with .NET development technologies.
-
Chapter 11: Inspect and Adapt
Last updated: Wednesday, February 20, 2019
Published in: Book Excerpts
This chapter excerpt is from the book, Practices for Scaling Lean & Agile Development: Large, Multisite, and Offshore Product Development with Large-Scale Scrum, authored by Craig Larman and Bas Vodde, published by Addison-Wesley Professional, January 26, 2010, ISBN 0321636406, Copyright 2010 by Pearson Education, Inc. For a full Table of Contents, please visit the publisher site: www.informit.com/title/0321636406
-
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 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 - 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.
-
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.
-
Graphics in Silverlight 3
Last updated: Wednesday, August 31, 2022
Published in: Book Excerpts
In this chapter, you will learn how to add rich vector graphics and images to your application.You will also learn how to optimize performance and image quality of those graphics elements.
-
Hour 1 - Getting Started with ASP.NET 4
Last updated: Saturday, January 18, 2020
Published in: Book Excerpts
Scott Mitchell introduces you to ASP.NET, shows you how to install Visual Web Developer, along with the .NET Framework and SQL Server 2008, and helps you create your first ASP.NET page.
-
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.
-
Ultra-Fast ASP.NET: Chapter 3 - Caching
Last updated: Saturday, February 23, 2019
Published in: Book Excerpts
Caching is an important cornerstone of high-performance web sites. You can use it to accomplish the following: Reduce round-trips: Content cached at the client or in proxies can eliminate web server round-trips. Content cached at the web server can eliminate database round-trips. Move content closer to clients: The farther away from clients content is located, the longer it takes to retrieve. Avoid time-consuming processes of regenerating reusable content: For content that takes a lot of time or resources to generate, system performance and scalability are improved if you can generate content once and then reuse it many times. Optimize state management: Caching state information at the client is more scalable than storing it in a central location (within certain bounds, as discussed later).
-
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
-
WPF Control Development Unleashed: Building Advanced User Experiences
Last updated: Wednesday, August 31, 2022
Published in: Book Excerpts
WPF Control Development Unleashed: Building Advanced User Experiences Chapter 2 The Diverse Visual Class Structure In the first chapter, we talked about how the construction of a framework like WPF is much like the construction of a house. If you don’t know why certain things are built the way they are, you are likely to use them improperly and break something.
-
XNA Game Studio 4.0 Programming: Developing for Windows Phone 7 and Xbox 360 - Chapter 3 -The Game Object and the Default Game Loop
Last updated: Saturday, January 18, 2020
Published in: Book Excerpts
This excerpt is from the book, ‘XNA Game Studio 4.0 Programming: Developing for Windows Phone 7 and Xbox 360, authored by Tom Miller, Dean Johnson, Published December 12, 2010 by Addison-Wesley Professional. Part of theDeveloper''s Library series.. ISBN 0672335522, Copyright 2011. For more info, please visit the publisher site http://www.informit.com/store/product.aspx?isbn=0672333457.
-
-
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