-
Mastering Routing and Middleware in PHP Laravel
Last updated: Thursday, December 8, 2022
Published in: CODE Magazine: 2023 - January/February
Learn about middleware and how to create routes to control incoming HTTP requests with controllers and use route groups in PHP Laravel.
-
Intro to GraphQL for .NET Developers: Schema, Resolver, and Query Language
Last updated: Thursday, March 18, 2021
Published in: CODE Magazine: 2019 - September/October
Peter introduces you to GraphQL so your REST API client list can grow and change without a lot of pain. You can use strongly typed schema, eliminated over- and under-fetching, and you can get analytics about how clients are really using your API.
-
A First Look at ASP.NET vNext
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2015 - January/February
In this article, Rick plays with the beta version of ASP.NET vNext. You’ll get to see what’s (probably) coming so you can start making plans.
-
What ASP.NET 5 Means to a Technical Manager
Last updated: Friday, July 30, 2021
Published in: CODE Magazine: 2015 - January/February
Dino explores the new ASP.NET features and takes a close look at the ways it might benefit you to upgrade (or not).
-
Angular JavaScript Jumpstart
Last updated: Tuesday, December 28, 2021
Published in: CODE Magazine: 2014 - March/April
Have you ever wondered how to use your browser (and those of your customers) as rich clients without plug-ins or ActiveX objects? Shawn Wildermuth tells you how.
-
Planning Web Solutions Today: Web Forms, ASP.NET MVC, Web API, and OWIN. Oh My!
Last updated: Wednesday, March 16, 2022
Published in: CODE Magazine: 2013 - November/December
Be aware that this is not going to be a classic how-to article that delves more or less deeply into some technical issue or feature. It is, instead, an article that aims at providing an overview of the options you have at present for architecting Web solutions.
-
The Simplest Thing Possible: A File Directory-based NuGet Feed
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2013 - January/February
Increasingly, we rely on NuGet Packages in our .NET Development efforts. When you need to add a library to your project, whether it is Entity Framework, AutoMapper, jQuery, etc., NuGet makes that task a simple one. What happens when you are on a plane, train, an automobile - in some circumstance where you are not online and consequently, not connected to your NuGet package source? This is where a local NuGet package source comes in handy. Locally, we can easily stand up an IIS-based NuGet package source. While useful, that is not the simplest thing we can do. Fortunately, the NuGet authors had the foresight and wisdom to allow us to create file directory-based NuGet package sources. This brief article will take you through the steps to create your own local NuGet package source.
-
What’s New in ASP.NET 4.5 and Visual Studio 2012
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2012 - November/December
Microsoft has added an abundance of new features and functionality to ASP.NET 4.5 and Visual Studio 2012. This article provides an overview of many of those new features and enhancements ranging from improved editors for HTML, CSS and JavaScript all the way through to publishing your work to the web.
-
Real-Time Web Apps Made Easy with WebSockets in .NET 4.5
Last updated: Saturday, September 26, 2020
Published in: CODE Magazine: 2012 - September/October
In the world of browser-based development, interoperability is king. Unfortunately, interoperability can be at the expense of performance.
-
An Introduction to ASP.NET Web API
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2012 - May/June
Microsoft recently released the ASP.NET MVC 4.0 beta and along with it, the brand spanking new ASP.NET Web API. Web API is an exciting new addition to the ASP.NET stack that provides a new, well-designed HTTP framework for creating REST and AJAX APIs (API is Microsoft’s new jargon for a service, in case you’re wondering). Although Web API currently ships and installs with ASP.NET MVC 4, you can use Web API functionality in any ASP.NET project, including WebForms, WebPages and MVC or none of the above. You can also self-host Web API in your own applications.
-
CODE Framework: Writing MVVM/MVC WPF Applications
Last updated: Tuesday, February 19, 2019
Published in: VFP Conversion Papers, CODE Magazine: 2012 - January/February, Markus Egger Talks Tech
The CODE Framework is an open-source application framework by the makers of CODE Magazine. It is entirely free of charge. It covers a wide range of features that can be applied altogether or individually in an À la carte fashion. All of these features revolve around a single concept: Building advanced business applications in a productive and maintainable fashion while maintaining great application architecture. In this article, we are focusing on a subset of the CODE Framework, specifically the components used to build WPF applications using the MVVM and MVC patterns.
-
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.
-
ASP.NET MVC and the ADO.NET Entity Framework
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2010 - September/October
Both ASP.NET MVC and the ADO.NET Entity Framework are both very popular topics right now in the developer community.Having spoken at various user group meeting and code camps it is very obvious to me what topics a lot of developers are interested in. I see that sessions about ASP.NET MVC or the Entity Framework are always packed with developers eager for more information. The focus of this article is the Entity Framework, but in the context of an ASP.NET MVC application. As such, I am assuming at least basic understanding of ASP.NET MVC but little-to-none with Entity Framework.
-
Microsoft Dynamics CRM 4.0 - A Platform for Packaged Software?
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2010 - July/August
Since its introduction in 2008, Microsoft Dynamics CRM 4.0 has been touted as a platform for rapid application development.We’ve always been hard core C# and ASP.NET snobs, but we were intrigued by the value that Dynamics CRM promised. We set out to build our next generation software product on that platform, and learned a lot about what’s real and what’s not so real. In this article, we will share the rollercoaster ride of our experience developing our software product on this new CRM “platform.”
-
Exploring the Bing API Using WCF
Last updated: Saturday, January 18, 2020
Published in: CODE Magazine: 2010 - May/June
The TV commercials took me and many others by surprise. A stream-of-conscienceless-style ad that had our brains struggling to catch up with the next topic that the next person blurted out. Funny enough, the bouncing from topic to topic by the actors in the commercial seem to be a familiar metaphor to anyone that has traversed search results at one time or another. And at the end, a familiar logo appears: Microsoft, followed by a not-so-familiar one: Bing.
-
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.
-
Using the Amazon Web Service SDK for .NET
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2010 - March/April
The richest set of cloud computing services comes from a little e-commerce company known as Amazon.com. Developers can access the Amazon Web Services (AWS) platform using numerous tools including the .NET platform.Amazon.com is a major player in the cloud computing space and has numerous services available to developers. In late 2009, Amazon released the AWS SDK for .NET. This article will demonstrate using the AWS SDK to create a custom backup service using the Amazon Simple Storage Service (S3).
-
Post Mortem: Tower48 Software Escrow
Last updated: Saturday, January 18, 2020
Published in: CODE Magazine: 2009 - September/October, Markus Egger Talks Tech
-
Twitter Programming Using WCF and REST
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2009 - September/October
Along with an easy site with which you can access your account, there are many really cool Twitter clients out there. This is thanks to an exposed API that you can use to access all of Twitter’s features. The great thing is that this API uses a technology that WCF has embraced completely; I’m talking about REST. Though you can certainly use straight network programming to access and update your Twitter account, why not use the technology that Microsoft has put all their eggs into as far as communications programming is concerned? Twitter is, after all, all about communicating, right?
-
Heard on .NET Rocks! Jim Webber on Guerilla SOA!
Last updated: Thursday, February 21, 2019
Published in: CODE Magazine: 2008 - July/August
In episode #337 (jeez, can you believe we’ve produced so many shows?) Richard and I talked to Jim Webber, Global Architecture Lead for Thoughtworks, about his favorite topic, Guerilla SOA.
-
Introduction to the Live Search API
Last updated: Wednesday, August 31, 2022
Published in: CODE Focus Magazine: 2008 - Vol. 5 - Issue 2 - Windows Live
Have you ever wanted to implement search capabilities on your own Web site but didn’t want to implement the logic and deal with issues such as storage and indexing? The Live Search team now offers two different ways to utilize Search on your site: using the Live Search Box or using the Windows Live Search API.
-
Live from the Web! Bring the Windows Live Messenger Experience to Your Web Applications
Last updated: Wednesday, August 31, 2022
Published in: CODE Focus Magazine: 2008 - Vol. 5 - Issue 2 - Windows Live
Windows Live Messenger is one of the central offerings nestled among a suite of products and services under Microsoft’s Windows Live brand.For years online chat has been progressively and swiftly revolutionizing how you communicate with your friends, family, coworkers, and businesses you deal with. It is the foundation of the original chat room concept and the heart of instant messaging applications. Online chat-also called instant messaging or just “IM”-connects people for one-to-one or group chat, for social networking purposes, or for business directives, such as enabling access to technical support, customer services, or sales. Now, Windows Live Messenger supports a rich set of features for Web applications through the Windows Live Messenger IM Control, the Windows Live Messenger Presence API, and the Windows Live Messenger Library. The collective features of these products go beyond the simplicity of a chat application, making it possible to embrace this new era of social networking by leveraging your built-in Windows Live network within any Web application.
-
Windows Live Admin Center
Last updated: Saturday, January 18, 2020
Published in: CODE Focus Magazine: 2008 - Vol. 5 - Issue 2 - Windows Live
When developing with Windows Live services, you open your application to a whole new world of software integration. In this fascinating realm of mash-up mania, developers can find tools for adding maps, searches, video, chats, and even social networking services directly into their applications and ultimately right into their users’ browsers. The benefit of adding services like Virtual Earth and Silverlight Streaming are obvious-creating dazzling content and facilitating rich user experiences. Yet services like these are still limited to specific contexts within your program. They are perfectly wonderful for beefing up the user experience in Web sites, but wouldn’t it be great if the folks at Microsoft provided a service that helps you administer user accounts and customize services around your Web site? Well indeed they have, and its name is Windows Live Admin Center (admincenter.live.com).
-
Ask the Doc Detective
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2008 - January/February
Jan/Feb 2008 Doc Detective COlumn.
-
XML Tools in Visual Studio 2008
Last updated: Tuesday, February 19, 2019
Published in: CODE Focus Magazine: 2007 - Vol. 4 - Issue 3 - Data Programability
XML is everywhere from XML Web Services to databases to config files to Office documents. This article will show you tooling support offered in Visual Studio 2008 that will make working with XML easier. It will cover editing XML files, working with XML schemas, debugging XSLT style sheets and extending Visual Studio by writing your own custom XML Designers.
-
Enterprise Application Integration with Microsoft BizTalk Server 2006-Part 1
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2007 - May/June
Enterprise Application Integration (EAI) is a collection of architectural principles combined to integrate new and existing applications both within the enterprise and in business to business or partner integration scenarios. This article (Part 1) will provide a conceptual overview of BizTalk Server 2006 and how it serves to address the problem domain common in the EAI space. In Part 2, I’ll introduce a business case for implementing an online ordering and fulfillment system and provide a step-by-step example of how to implement a solution that addresses the problem domain.
-
The Baker’s Dozen: A 13-Step Crash Course for Learning Windows Communication Foundation (WCF)
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2007 - May/June
This article will present a crash-course in the basics of Windows Communication Foundation (WCF). WCF is one of the exciting new capabilities in the .NET 3.0 Framework. It provides a unified and uniform programming model for building distributed applications. Those who previously built multiple code bases to deal with Web services and .NET remoting will surely come to appreciate the power standardization that WCF offers. WCF, like any other new technology, requires research and experimentation to become productive. This article will assume no prior experience with WCF, and will walk you through some basic exercises and steps to show WCF’s capabilities.
-
ASP.NET MVC Framework Unleashed: Chapter 1 - An Introduction to ASP.NET MVC
Last updated: Wednesday, February 20, 2019
Published in: Book Excerpts
This excerpt is from the book, ‘ASP.NET MVC Framework Unleashed, authored by Stephen Walther, Published Jul 14, 2009 by Sams. Part of the Unleashed series. ISBN 0-672-32998-0, Copyright 2010. For more info, please visit the publisher site http://www.informit.com/store/product.aspx?isbn=0672329980.
-
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.
-
Definitive XML Schema
Last updated: Tuesday, February 19, 2019
Published in: Book Excerpts, Newsletters
To leverage the full power of XML, companies need shared vocabularies to base their documents and scripts upon. XML Schema makes it possible to create those shared vocabularies-and Definitive XML Schema is the authoritative guide to the standard! Written by Priscilla Walmsley, a member of the W3C working group that created XML Schema, this book explains the W3C Recommendation with unprecedented insight and clarity–and introduces practical techniques for writing schemas to support any B2B, Web service, or content processing application.
-
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 FoxPro Web Services Revisited
Last updated: Wednesday, August 10, 2022
Published in: CODE Focus Magazine: 2007 - Vol. 4 - Issue 1 - Sedna: Beyond Visual FoxPro 9, VFP Conversion Papers
Web services with Visual FoxPro (VFP) have never been easy. The most common Web service tool for FoxPro is the SOAP Toolkit, which has been discontinued and which had a host of problems when dealing with complex types passed over Web Services. In this article I’ll show how you can leverage the powerful Web service features of .NET and the new Windows Communication Foundation in your FoxPro application through COM Interop.
-
The Baker’s Dozen: 13 Productivity Tips for Remoting in Visual Studio 2005
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2006 - May/June
This installment of the Baker’s Dozen presents an introduction to remoting and remoting interfaces.
-
Introducing Contract First
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2005 - July/August
So much of the literature about writing application now involves Web services.Many publications and blogs consider Web services to be the silver bullet because they are so easy to implement in .NET and do very easily interoperate with disconnected systems. But are people really using Web services the way they should be used? I beg to differ on that point.
-
Heard on .NET Rocks!: Managing Geographical Data with World Wind
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2005 - May/June
May/June 2005 .NET Rocks Column
-
Service-Oriented Architecture
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2005 - May/June
Service-Oriented Architecture, or SOA, is the newest acronym to become a buzzword among developers, IT Managers, and CTOs.It seems that everyone is talking about making an SOA and how much it will improve their operations, yet most people are hard-pressed to define not only what an SOA is, but also to quantify what specific value it might provide to their organizations. Many simply assert that their SOA architecture comprises a group of Web Services through which they can expose business logic over the Internet.
-
Preparing for Indigo - Choosing the Right Technology Today
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2005 - March/April
Indigo is the next generation application connectivity and services from Microsoft, superseding the variety of .NET connectivity solutions available today: ASMX Web services, Remoting, and Enterprise Services. Since .NET debuted some five years ago, all three technologies have been inundated in either hype or misconceptions. With Indigo around the corner, it is time to take a long hard look at these three technologies, and separate fact from myth so that you will be best prepared for Indigo. This article starts by examining the existing technologies, describing their merits and shortcomings, putting them in the correct perspective of a modern distributed application, and suggests where to best apply them. Then the article briefly describes the Indigo programming model, and assesses how to best mitigate the cost of the migration.
-
How Many Threads Do You Need?
Last updated: Tuesday, February 19, 2019
Published in: Publisher's Point, Markus Egger Talks Tech, VFP Conversion Papers
Markus Egger discusses the need to create multi-threaded applications.
-
Behold WSE 2.0: Removing Another Layer of WS-Pain
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2004 - May/June
The official release of Microsoft's Web Services Enhancements (WSE) toolkit promises to help developers deal with at least some of the pain and suffering accompanying the emerging Web services' standards.Updated to support the OASIS WS-Security specification and a promising WS-Policy specification, developers will be able to build standards-compliant Web services in less time and with less code.
-
Integrating the Google Web Service Into ASP.NET
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2004 - March/April
Google now offers the functionality of its search engine through a Web service.Over the past couple years, Google has become the most popular search engine used on the Web. Building upon its popularity, Google has developed additional search accessories and interfaces for both personal and commercial use. The most powerful interface offered by Google is exposure of its database and search capabilities through the use of a Web service.
-
Introducing .NET My Services
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2002 - May/June, Markus Egger Talks Tech
.NET My Services is Microsoft's first attempt at creating a professional, commercial and widely available Web Services platform.The .NET My Services umbrella hosts a number of different Web services, such as a Calendar service, a Contacts repository, and much, much more. These services are major building blocks for the "Everywhere, Anytime" vision, but best of all, they are relatively easy to implement and use in your own applications and Web sites!
-
.NET Web Services Security
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2003 - July/August
Web services are all about connecting businesses in a standard and secure manner.For a real-life Web service, security is intrinsic to every facet of operation and no party would ever agree to interact with a non-secure Web service. Unfortunately, Web services security is still in its infancy; standards such as WS-I are just emerging and there is no built-in support in the development tools for them. That being said, there are quite a few programming techniques you can use today in .NET 1.1 to secure your Web services, and do so in a way that will ease the transition to future standards and protocols.
-
Introduction to Crystal Reports .NET
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2002 - July/August
Crystal Reports is officially a member of the Visual Studio .NET product.It is included in all major editions and ships in all languages available with Visual Studio .NET. Crystal Reports .NET provides developers with the fastest, most productive way to create and integrate presentation-quality, interactive reports that scale to meet the demands of end users. This article introduces you to Crystal Reports .NET and shows you how to create reports and view them in either a Windows form or a Web form. I will also show you how to publish a report as a Web service and consume the service in a Web form.
-
ACME Insurance - Building a .NET Application
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2002 - January/February
Part 3, The User Interface and the Rating Web ServiceWe are finally going to get our feet wet in Visual Studio .NET and start writing some real code! In this article, we're going to focus on two areas of the ACME application. First, we will talk about the user interface and how it's implemented in ASP.NET ? along with a few problems we overcame by utilizing the powerful object-oriented features of .NET. Next, we'll write a web service in Visual Basic .NET to rate policies based on their class codes. To demonstrate that web services can be used in a variety of ways, we'll consume the web service in both .NET and Visual FoxPro 7.
-
Passing Data Over .NET Web Services
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2002 - January/February
Web Services is a powerful technology, even in its basic form.However, with .NET, you can easily couple Web Services with .NET's new data services to provide a powerful data delivery mechanism that works over the Web, making it possible to build distributed applications that work easily without a local data store. In this article, Rick describes various ways you can use Web Services and ADO.NET DataSets to pass data between client and server applications to build truly disconnected applications.
-
The slippery slope of Web Services hype
Last updated: Friday, October 28, 2022
Published in: CODE Magazine: 2002 - January/February
Rick Strahl Commentary JanFeb2002
-
Effective Testing Strategies
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2001 - November/December
Do you test your software before you release it? Of course you do, but are you testing it as effectively as you could be? When do you start testing? How do you know when you have tested it enough? Who does the testing? This article will explore the various strategies of creating a comprehensive testing process for your software development project.
-
Building and using a SOAP Web Service with West Wind Web Connection
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2001 - Issue 1
Imagine that you need some specific information in your application, such as a shipping rate. You now go to a special "service" search engine and look up the type of service you need over the Web.Now, imagine that you can get this information easily from the service and simply plug it directly into your application. Sound too good to be true? Believe it or not, the technologies to make this possible are available today. Web Services provide this functionality by bringing to application development the same interlinked mechanisms that have made the Web so popular for Web browsing. By sharing data over the Web in standard formats, "Web Services" is becoming the new industry buzzword. Microsoft is talking about Web Services as the second life of the Internet. Web Services will tie together applications, just as the Web Browser and URL links have tied together Web pages. "The Web At Your Service" is the new mantra. In this article, Rick discusses SOAP and Web Services, then creates a sample Web Service and integrates it into an application.